{"_id":"@cuppachino/openapi-fetch","_rev":"7-0bad9833cc80e09b5c581b28a2080ce3","name":"@cuppachino/openapi-fetch","dist-tags":{"latest":"2.2.0"},"versions":{"2.0.2":{"name":"@cuppachino/openapi-fetch","description":"An updated fork of ajaishankar's openapi-typescript-fetch","version":"2.0.2","publishConfig":{"access":"public"},"engines":{"node":">= 12.0.0","npm":">= 7.0.0"},"author":{"name":"Ajai Shankar"},"license":"MIT","type":"module","main":"./dist/cjs/index.js","module":"./dist/esm/index.js","exports":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs","browser":"./dist/esm/index.js","default":"./dist/cjs/index.cjs"},"repository":{"type":"git","url":"https://github.com/https://github.com/cuppachino/openapi-typescript-fetch"},"keywords":["fetch","client","swagger","typescript","ts","openapi","openapi 3","node"],"bugs":{"url":"https://github.com/https://github.com/cuppachino/openapi-typescript-fetch/issues"},"homepage":"https://github.com/https://github.com/cuppachino/openapi-typescript-fetch#readme","devDependencies":{"@changesets/cli":"^2.26.1","@types/jest":"^29.5.0","@types/node":"^18.15.5","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","codecov":"^3.8.3","eslint":"^7.32.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","msw":"^0.35.0","prettier":"^2.8.6","remark":"^14.0.2","remark-cli":"^11.0.0","remark-lint-emphasis-marker":"^3.1.1","remark-lint-list-item-indent":"^3.1.1","remark-lint-strong-marker":"^3.1.1","remark-preset-lint-consistent":"^5.1.1","remark-preset-lint-recommended":"^6.1.2","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2","whatwg-fetch":"^3.6.2"},"prettier":{"trailingComma":"all","singleQuote":true,"semi":false},"remarkConfig":{"settings":{"emphasis":"*","strong":"*"},"plugins":["remark-preset-lint-consistent","remark-preset-lint-recommended",["remark-lint-emphasis-marker","*"],["remark-lint-strong-marker","*"]]},"scripts":{"clean":"rimraf ./dist","build":"npm run clean && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json && node ./scripts/os.js","lint":"eslint . --fix","format":"remark . --quiet --frail --output","test":"tsc --noEmit --project tsconfig.json && jest","version-package":"changeset version && pnpm lint","release":"pnpm build && pnpm test && changeset publish","test:coverage":"npm run build && jest --no-cache --coverage && codecov","test:coverage:local":"npm run build && jest --no-cache --collectCoverage"},"types":"./dist/cjs/index.d.ts","_id":"@cuppachino/openapi-fetch@2.0.2","_integrity":"sha512-RFVHInXAsj3GrVupYRUzKbqtYUzLAaTZw3WTU2lD91SHsKAvf0dipyq3KASrieNhu+N4Xc3nGYiUIC7mXqDvEw==","_resolved":"C:\\Users\\Jacob\\AppData\\Local\\Temp\\2cba2addeda07861a1493b9105543b8f\\cuppachino-openapi-fetch-2.0.2.tgz","_from":"file:cuppachino-openapi-fetch-2.0.2.tgz","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-RFVHInXAsj3GrVupYRUzKbqtYUzLAaTZw3WTU2lD91SHsKAvf0dipyq3KASrieNhu+N4Xc3nGYiUIC7mXqDvEw==","shasum":"1177098e76621bd5246264034c94676d7cb9729a","tarball":"https://registry.npmjs.org/@cuppachino/openapi-fetch/-/openapi-fetch-2.0.2.tgz","fileCount":8,"unpackedSize":37867,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCw451310odPnjccfadgIfo/uD5zl4nfmboBTVGZRdQ2wIgfJKHE+xG8Y1WbaDd27WNBWs0sgvN6MUlQv3DQH5FAUM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHNlQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEnw//W2UmqrAzfL8T/bYC/3m8tkNEhRF6MbMVwMJtmsItfZlO90Kc\r\nqW89sJdj7QzEb8UcKB3MfmyXuH3C8YnWXC9sdA0wZxfv8T2usgqLLvAzXGWa\r\nx7MeYirvvV7TFa5Wp9iWuPgyPqht7fW4CO7Uqsg0HRZlpk512SiFhFOIDB4C\r\n1SnPyF1u7gyIZCp4OsSCsNxLPJvW2kgbC0GrRZNKPjavyA7fuCWyjuczAu7X\r\n9Fft8TX93r0gNBK30+PnWNDqagltqLbE6JT31DrBfXrJjDKvs2r4EVF+SXhr\r\nbPh+BcYqpOQlGJyxAyIPNJuFF/Fc9qxF8+hFkA6bv2nEbVI6jb580z/dLAEk\r\ndUFCDw7250hSoncWjp53NgbfrpHAAYxH43/StQ7kzlO+K/S/c/tOilrD3RwY\r\nxa2wOTwpo2PIZnj3YQNshT3ZsCcb1Mh1McGm3Je2WxB8ugXJz7P5MKjDG2h0\r\nXrxNXtWuYqZrEm5B7lXqTVBq6Zy1ZSinu1yQVRDodlfpSJwT73kTrefSn8C0\r\n3gS5qEFao4Ii86hn/BvlYqE+DbCcSR7uGrNQ5HB5t++kinIziCGot7tJ8vsn\r\nxayegv+33yerJS6OL6HAOtp+VHyhsw+5aVPbEeUcdJF72c85lIWvxV1OQS9r\r\nciDU6XOeNcrxfu+6uYn77zSG7wTMUFENedE=\r\n=7/ce\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cuppachino","email":"cuppachino.dev@gmail.com"},"directories":{},"maintainers":[{"name":"cuppachino","email":"cuppachino.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-fetch_2.0.2_1679612240163_0.042252472147404685"},"_hasShrinkwrap":false},"2.0.3":{"name":"@cuppachino/openapi-fetch","description":"An updated fork of ajaishankar's openapi-typescript-fetch","version":"2.0.3","publishConfig":{"access":"public"},"engines":{"node":">= 12.0.0","npm":">= 7.0.0"},"author":{"name":"Ajai Shankar"},"license":"MIT","type":"module","main":"./dist/cjs/index.js","module":"./dist/esm/index.js","exports":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs","browser":"./dist/esm/index.js","default":"./dist/cjs/index.cjs"},"repository":{"type":"git","url":"git+https://github.com/cuppachino/openapi-typescript-fetch.git"},"keywords":["fetch","client","swagger","typescript","ts","openapi","openapi 3","node"],"bugs":{"url":"https://github.com/cuppachino/openapi-typescript-fetch/issues"},"homepage":"https://github.com/cuppachino/openapi-typescript-fetch#readme","devDependencies":{"@changesets/cli":"^2.26.1","@types/jest":"^29.5.0","@types/node":"^18.15.5","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","codecov":"^3.8.3","eslint":"^7.32.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","msw":"^0.35.0","prettier":"^2.8.6","remark":"^14.0.2","remark-cli":"^11.0.0","remark-lint-emphasis-marker":"^3.1.1","remark-lint-list-item-indent":"^3.1.1","remark-lint-strong-marker":"^3.1.1","remark-preset-lint-consistent":"^5.1.1","remark-preset-lint-recommended":"^6.1.2","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2","whatwg-fetch":"^3.6.2"},"prettier":{"trailingComma":"all","singleQuote":true,"semi":false},"remarkConfig":{"settings":{"emphasis":"*","strong":"*"},"plugins":["remark-preset-lint-consistent","remark-preset-lint-recommended",["remark-lint-emphasis-marker","*"],["remark-lint-strong-marker","*"]]},"scripts":{"clean":"rimraf ./dist","build":"npm run clean && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json && node ./scripts/os.js","lint":"eslint . --fix","format":"remark . --quiet --frail --output","test":"tsc --noEmit --project tsconfig.json && jest","version-package":"changeset version && pnpm lint","release":"pnpm build && pnpm test && changeset publish","test:coverage":"npm run build && jest --no-cache --coverage && codecov","test:coverage:local":"npm run build && jest --no-cache --collectCoverage"},"types":"./dist/cjs/index.d.ts","_id":"@cuppachino/openapi-fetch@2.0.3","_integrity":"sha512-zl4wA2djeO/egSKU55sfpC4HqIHdG+04nggkrdzhH/N7Ak4dvlnwlSRykyPfNDsbPolLSiYqkhC1sdlXuqVSAg==","_resolved":"/tmp/82adcba7caae800c5ed63cdf6503fb8d/cuppachino-openapi-fetch-2.0.3.tgz","_from":"file:cuppachino-openapi-fetch-2.0.3.tgz","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-zl4wA2djeO/egSKU55sfpC4HqIHdG+04nggkrdzhH/N7Ak4dvlnwlSRykyPfNDsbPolLSiYqkhC1sdlXuqVSAg==","shasum":"6dd0bd59dbaaddc457d56955d7d45d12638610af","tarball":"https://registry.npmjs.org/@cuppachino/openapi-fetch/-/openapi-fetch-2.0.3.tgz","fileCount":8,"unpackedSize":37570,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDCwTZi4H5fma5OjufblEJfHcFKbLZttUFVR7ho+kMfmAiBMvGgymX+LKMIRmXu8kG0VsZCdqNzTV4SGcdJCmdk5dA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHOiHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5FA//WC/ioI77l0fwoh+58K5FZM0IpDr7MrQwNAtRQaB37gfdB0gf\r\n9e9wb/AAJI/DVdfqXt5w5j0uuah2x7eQXErpd0SPi/GgaTBwcOGu8EnqGGgH\r\n6PIGKGiBetQgFAnoZK+mTjRt2CUbEoI37InbAFClmaECON0tVqrnBecpXLzr\r\nbtCmC62wHKG82A1wvlSz0jRfFsK6/QXBDpXqCDokKrp9nT+JEClOpD6BLddq\r\nV1Rd/Wl87xTwJQe2nmEMgCKhZJoDBs+iI99F1/uhxUPwqvdABM8wNM+jT0/J\r\nyNd+zwGs/TpFzTNwxIrm1pHL5vBVytrJzGRQyn6U1w3DLjR02Cc+GxFn4N1W\r\nOWicR1C+mIuipoMzMb+1U8S0+lZsHIQOyhdQD8ZrLrqc9RCzis/L5w0LBoS/\r\nxTSf1uwjEudHOTK46vyNmJoqayowDcctOerBybBkLFnBJmh9FE8c015M0760\r\nRXyrtjwLaDTq1NHjcPWtn0ZPaL7vSkHS9KTgiiTPHUOgwLXTGJvwn9mgSrFf\r\nXx71oPvmx9D0x4ZdRV5RKtPiW8HsQKvjxKgCM67gpDClb9wtXFUJSOClN6T6\r\nRqhJxCcAWAidSB96qyCuiXAy52E3xbAFpDfQHCi2HxNdShA9Me2buY0oc1xB\r\nMeXZngj+yfywPwH6FN+YfxEoXvNa9bdqp80=\r\n=Fwxj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cuppachino","email":"cuppachino.dev@gmail.com"},"directories":{},"maintainers":[{"name":"cuppachino","email":"cuppachino.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-fetch_2.0.3_1679616135733_0.4832301947411479"},"_hasShrinkwrap":false},"2.0.4":{"name":"@cuppachino/openapi-fetch","description":"An updated fork of ajaishankar's openapi-typescript-fetch","version":"2.0.4","publishConfig":{"access":"public"},"engines":{"node":">= 12.0.0","npm":">= 7.0.0"},"author":{"name":"Ajai Shankar"},"license":"MIT","type":"module","main":"./dist/cjs/index.js","module":"./dist/esm/index.js","exports":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs","browser":"./dist/esm/index.js","default":"./dist/cjs/index.cjs"},"repository":{"type":"git","url":"git+https://github.com/cuppachino/openapi-typescript-fetch.git"},"keywords":["fetch","client","swagger","typescript","ts","openapi","openapi 3","node"],"bugs":{"url":"https://github.com/cuppachino/openapi-typescript-fetch/issues"},"homepage":"https://github.com/cuppachino/openapi-typescript-fetch#readme","devDependencies":{"@changesets/cli":"^2.26.1","@types/jest":"^29.5.0","@types/node":"^18.15.5","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","codecov":"^3.8.3","eslint":"^7.32.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","msw":"^0.35.0","prettier":"^2.8.6","remark":"^14.0.2","remark-cli":"^11.0.0","remark-lint-emphasis-marker":"^3.1.1","remark-lint-list-item-indent":"^3.1.1","remark-lint-strong-marker":"^3.1.1","remark-preset-lint-consistent":"^5.1.1","remark-preset-lint-recommended":"^6.1.2","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2","whatwg-fetch":"^3.6.2"},"prettier":{"trailingComma":"all","singleQuote":true,"semi":false},"remarkConfig":{"settings":{"emphasis":"*","strong":"*"},"plugins":["remark-preset-lint-consistent","remark-preset-lint-recommended",["remark-lint-emphasis-marker","*"],["remark-lint-strong-marker","*"]]},"scripts":{"clean":"rimraf ./dist","build":"npm run clean && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json && node ./scripts/os.js","lint":"eslint . --fix","format":"remark . --quiet --frail --output","test":"tsc --noEmit --project tsconfig.json && jest","version-package":"changeset version && pnpm lint","release":"pnpm build && pnpm test && changeset publish","test:coverage":"npm run build && jest --no-cache --coverage && codecov","test:coverage:local":"npm run build && jest --no-cache --collectCoverage"},"types":"./dist/cjs/index.d.ts","_id":"@cuppachino/openapi-fetch@2.0.4","_integrity":"sha512-jSNzYaS8QSIf9rKq+f5X7GKP6D7/SKbl9woPfrOP0y5a0N0QQkBRPMfoOoyQxBbrQJiI+N6w6Ng324PfuHZ0AQ==","_resolved":"/tmp/9503d72b31c35e556c1960af94baa64a/cuppachino-openapi-fetch-2.0.4.tgz","_from":"file:cuppachino-openapi-fetch-2.0.4.tgz","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-jSNzYaS8QSIf9rKq+f5X7GKP6D7/SKbl9woPfrOP0y5a0N0QQkBRPMfoOoyQxBbrQJiI+N6w6Ng324PfuHZ0AQ==","shasum":"9bf7c37dee7447a3315d8366bc469b5b792fe0d3","tarball":"https://registry.npmjs.org/@cuppachino/openapi-fetch/-/openapi-fetch-2.0.4.tgz","fileCount":8,"unpackedSize":37576,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHZEG1UZhJhXtFZGMaNChV33bFJuSUcnFbNDZWO70p3AiEAzR7HTE3du/ClbFnyKSwA3oadAbDOxg1zt9xnKe0Os5I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHOxNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGIw/9FDnYTFPK7PnRQYTSluGwHpndk8Fim7H0hFyokfj7AIjy0mU6\r\n/DCgM750EP6rzZodLUBG6SJ3G2JpNRzEjVHQq2LZmTsCkoutoTv9WQsNiX9s\r\nU3EFqMRJpOoYv6lyJ+YcCo6BhsExjLiEa+lV+kP9VAIFby57sIsjkVZKzJDy\r\nCEkEyzpr9c5eqKe/LXiWwHUpCIFsb7m0SewgdjT6NeKjCvG3iks9p8C9sL/5\r\no2dOCVynimqzOT93YUvNdN570QJ5vwX4vOSHAn7N9BoPC8lr0Tkc1SCHWLv6\r\n583m8hi8MSTqHLFPJrJSn0yq6VCTOEMb7IMOnX4dMGNAugBYLW+y13YhQ3Q0\r\nWCGp1HJRGiyARIJ8N09h1WBViTupVVOlqsVpUuyVm705UDOMT9bBFTHiEeUn\r\nRuCZ96tdiMd2/R+AHY27vtNbQwYKz+NblXxmAvZp0VqVDL29IVHJKMZemSkN\r\nwo30IuwlSSS9jbSYTTp/ULXII6f9wriCzmeSWlhtv0EGbnbYsasffFvSa/c/\r\nMUF5EfXmnl/1VJ9RK9dH2fBpuA3neo8C+J4Kwto8E7vrmSe+unMS7pS2ISZ+\r\n4G061PZT5PPyhWLblK3/iMJaLUfdiuSY8BrBSSP2eNhXnZLM5lQpgsA9o2nA\r\nygB7pX7midTemAn5tc+3sEEEQ/UKXMX0Nlk=\r\n=Zi0d\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cuppachino","email":"cuppachino.dev@gmail.com"},"directories":{},"maintainers":[{"name":"cuppachino","email":"cuppachino.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-fetch_2.0.4_1679617101434_0.670661132270624"},"_hasShrinkwrap":false},"2.0.5":{"name":"@cuppachino/openapi-fetch","description":"An updated fork of ajaishankar's openapi-typescript-fetch","version":"2.0.5","publishConfig":{"access":"public"},"engines":{"node":">= 12.0.0","npm":">= 7.0.0"},"author":{"name":"Ajai Shankar"},"license":"MIT","type":"module","main":"./dist/cjs/index.js","module":"./dist/esm/index.js","exports":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs","browser":"./dist/esm/index.js","default":"./dist/cjs/index.cjs"},"repository":{"type":"git","url":"git+https://github.com/cuppachino/openapi-typescript-fetch.git"},"keywords":["fetch","client","swagger","typescript","ts","openapi","openapi 3","node"],"bugs":{"url":"https://github.com/cuppachino/openapi-typescript-fetch/issues"},"homepage":"https://github.com/cuppachino/openapi-typescript-fetch#readme","devDependencies":{"@changesets/cli":"^2.26.1","@types/jest":"^29.5.0","@types/node":"^18.15.5","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","codecov":"^3.8.3","eslint":"^7.32.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","msw":"^0.35.0","prettier":"^2.8.6","remark":"^14.0.2","remark-cli":"^11.0.0","remark-lint-emphasis-marker":"^3.1.1","remark-lint-list-item-indent":"^3.1.1","remark-lint-strong-marker":"^3.1.1","remark-preset-lint-consistent":"^5.1.1","remark-preset-lint-recommended":"^6.1.2","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2","whatwg-fetch":"^3.6.2"},"prettier":{"trailingComma":"all","singleQuote":true,"semi":false},"remarkConfig":{"settings":{"emphasis":"*","strong":"*"},"plugins":["remark-preset-lint-consistent","remark-preset-lint-recommended",["remark-lint-emphasis-marker","*"],["remark-lint-strong-marker","*"]]},"scripts":{"clean":"rimraf ./dist","build":"npm run clean && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json && node ./scripts/os.js","lint":"eslint . --fix","format":"remark . --quiet --frail --output","test":"tsc --noEmit --project tsconfig.json && jest","version-package":"changeset version && pnpm lint","release":"pnpm build && pnpm test && changeset publish","test:coverage":"npm run build && jest --no-cache --coverage && codecov","test:coverage:local":"npm run build && jest --no-cache --collectCoverage"},"types":"./dist/cjs/index.d.ts","_id":"@cuppachino/openapi-fetch@2.0.5","_integrity":"sha512-BfkR0sMlsN49kHcYeS6uwhuU3jB6EqC/3riAfQOsePoQPKbbj6ioVMpSwyif0T1l3J3H6RQMNjBSWrZT8F1DBw==","_resolved":"/tmp/948e02ed523cb1876d0a36e95eaecde2/cuppachino-openapi-fetch-2.0.5.tgz","_from":"file:cuppachino-openapi-fetch-2.0.5.tgz","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-BfkR0sMlsN49kHcYeS6uwhuU3jB6EqC/3riAfQOsePoQPKbbj6ioVMpSwyif0T1l3J3H6RQMNjBSWrZT8F1DBw==","shasum":"a4d0fefa73e3c009f943eade4c336f57f0085b86","tarball":"https://registry.npmjs.org/@cuppachino/openapi-fetch/-/openapi-fetch-2.0.5.tgz","fileCount":8,"unpackedSize":38486,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzoLI/zBOJfef36yr0CbJIdi33NjxAb1Z51G+FLZYkPgIgKhZLqJT/thWY++TjQ92uy9+j8GtDaqnkHTNZ5m41yMY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHTBeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmov6g//cSigx+yTVR/45CzL8uhV1gAheqPdqFsQw/AxddRhL2gTQHw6\r\n92CZQXNeDJIj/744l1Jdw9/woBcpu/iEry09L9CmfgJjH4tPsx19bkMyU7eL\r\nxGN9Nkb0aAartGtZiA8ZSGhwlp0M3tXDe5Igyk20FpVfqOSRXHvfT0oKocIj\r\nV87vDC/ulUyqCnEbCW+m5ZZYFcaqvqYp5fwUuToF3u+j7O21tcf+kb/oCxWS\r\nOZ3iPVQsR+fwuJdKlDkuKU9fBBPWbJGCRsfHaXNi6Eit7H6vNTumAVHQR5NX\r\nOebZI4LWFz2t5T8VbY2Gjz2txDAMtH/wrRcqMzhuQgdoIg4IpLjH0k/2hI4h\r\nQiaSTYQgqihLttzn3l9ynik7yYtmU4HbVlpl3yyDLDrqXi1Sr+MX1CB9BWr9\r\nUEaX4IO+xwxhrWNAGiOmXx1fHnSlFeclN6dWGeBQLpGpB/n+ej5Z/fYsrYiW\r\nfg0Gu9x1oFgu8h3ZK2tsHkLx9g8/4lIVzh8hSlr5gEIyYeyC0Us84MIF7Ydl\r\nNXDBMZJZRF4Op5dQWdjxY8jiEmYeDBay6WKuVf9fbFX7UB14oDrCO3lGXH07\r\nKNOqdQGidYNc+N8be3Ez9ewaCrGXABCF1M737eWEqXdk+BLo2pCPmeHJIp3r\r\njMHRLrHOeTKB2Cg8+6ttYWu5HsyG/+xGlN8=\r\n=hqtg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cuppachino","email":"cuppachino.dev@gmail.com"},"directories":{},"maintainers":[{"name":"cuppachino","email":"cuppachino.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-fetch_2.0.5_1679634525895_0.2120265123464864"},"_hasShrinkwrap":false},"2.0.6":{"name":"@cuppachino/openapi-fetch","description":"An updated fork of ajaishankar's openapi-typescript-fetch","version":"2.0.6","publishConfig":{"access":"public"},"engines":{"node":">= 12.0.0","npm":">= 7.0.0"},"author":{"name":"Ajai Shankar"},"license":"MIT","type":"module","main":"./dist/cjs/index.cjs","module":"./dist/esm/index.js","exports":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs","browser":"./dist/esm/index.js","default":"./dist/cjs/index.cjs"},"repository":{"type":"git","url":"git+https://github.com/cuppachino/openapi-typescript-fetch.git"},"keywords":["fetch","client","swagger","typescript","ts","openapi","openapi 3","node"],"bugs":{"url":"https://github.com/cuppachino/openapi-typescript-fetch/issues"},"homepage":"https://github.com/cuppachino/openapi-typescript-fetch#readme","devDependencies":{"@changesets/cli":"^2.26.1","@types/jest":"^29.5.0","@types/node":"^18.15.5","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","codecov":"^3.8.3","eslint":"^7.32.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","msw":"^0.35.0","prettier":"^2.8.6","remark":"^14.0.2","remark-cli":"^11.0.0","remark-lint-emphasis-marker":"^3.1.1","remark-lint-list-item-indent":"^3.1.1","remark-lint-strong-marker":"^3.1.1","remark-preset-lint-consistent":"^5.1.1","remark-preset-lint-recommended":"^6.1.2","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2","whatwg-fetch":"^3.6.2"},"prettier":{"trailingComma":"all","singleQuote":true,"semi":false},"remarkConfig":{"settings":{"emphasis":"*","strong":"*"},"plugins":["remark-preset-lint-consistent","remark-preset-lint-recommended",["remark-lint-emphasis-marker","*"],["remark-lint-strong-marker","*"]]},"scripts":{"clean":"rimraf ./dist","build":"npm run clean && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json && node ./scripts/os.js","lint":"eslint . --fix","format":"remark . --quiet --frail --output","test":"tsc --noEmit --project tsconfig.json && jest","version-package":"changeset version && pnpm lint","release":"pnpm build && pnpm test && changeset publish","test:coverage":"npm run build && jest --no-cache --coverage && codecov","test:coverage:local":"npm run build && jest --no-cache --collectCoverage"},"types":"./dist/cjs/index.d.ts","_id":"@cuppachino/openapi-fetch@2.0.6","_integrity":"sha512-Vc3/xZZdvjRFpG1wHhMlqFei2gIRUk61lsRLSOSnQZ8i3NS7Zdb56nls/u0xZ1ecqDlcqpkHRtkkiWM6U4tCkQ==","_resolved":"/tmp/1cbbaf4b9f58c0e93c848a147e739be8/cuppachino-openapi-fetch-2.0.6.tgz","_from":"file:cuppachino-openapi-fetch-2.0.6.tgz","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-Vc3/xZZdvjRFpG1wHhMlqFei2gIRUk61lsRLSOSnQZ8i3NS7Zdb56nls/u0xZ1ecqDlcqpkHRtkkiWM6U4tCkQ==","shasum":"d3a759ae5978ed7a61b03a38735b0d3500fdbaa5","tarball":"https://registry.npmjs.org/@cuppachino/openapi-fetch/-/openapi-fetch-2.0.6.tgz","fileCount":9,"unpackedSize":47674,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9MWePUUpu/UlkV7gLHtAbmxbkkRyp8D4L2EULsgkrLQIhAIt6VEOjrTdm5/9mZRjQSHXwHj+6Q7sqWFluNgh9RwYK"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHXmEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoz1w/9HUzIvm5qu1g4EQ6YKolQIV9i7DMsYSc5JxsW+fZJ7GjJsCG3\r\noi2MMYPLDm9vyr08oeCTgXt4eSc4t87iBWz6dGbknzzCcqEeRjyuNVIBL17X\r\nqHT1wxsHE2ZxfSILGiTuRIQXX0vGSSqyiAK9sRjNHOz/O36UF9z3nXkFIeBI\r\noF3BtsNxSP5wDWMj0P219iZ8UX9zaqOuPXsMvZ9nBX4hUyRyAj2euH7T/Zbb\r\nmI6+4ELsbQcuvW1TBKxBrAp2wTON6llvrWHKp3OA4fT4H/PpeaKD7tT3YVL2\r\nKR4Xei0uqLfPz84q0ef9052LVnTXPzq7MW9T0ZvveAUNVNmLvitCB9alGuiV\r\nhrqsQ5XsdpbV/wRKqoxwCMWxIpyIisdbCnEvH3FIY+zTK9LrtwWYypnI7djJ\r\n0ZDWskxCTVsokIFLhCsWSkXVlUoZllxz03nCllbtFPn2VHvbtm5MGnHm/KKI\r\nZNZvboSdmsWzLhcT5a16claHpHEqv6Ch/WLwNnratfcpH3i+xQ+u4UVSQScL\r\nDXYAwy4bObVl3h5+6VEUA5uDBxSJ5Lw+vrQ+HnT3RCAHUxaoNI7+E3jeFjtI\r\ne8pYF/tBr7DiyhRM23Gl1a5KeY13hszukbxhMOWAbvKJnjQyFJk0L834sVlq\r\nZqz1VKrypJImEF06jrF6ag7Q6aiDoMOOzpc=\r\n=adrV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cuppachino","email":"cuppachino.dev@gmail.com"},"directories":{},"maintainers":[{"name":"cuppachino","email":"cuppachino.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-fetch_2.0.6_1679653252584_0.1964446986386046"},"_hasShrinkwrap":false},"2.1.1":{"name":"@cuppachino/openapi-fetch","description":"An updated fork of ajaishankar's openapi-typescript-fetch","version":"2.1.1","publishConfig":{"access":"public"},"engines":{"node":">= 12.0.0","npm":">= 7.0.0"},"author":{"name":"Ajai Shankar"},"license":"MIT","type":"module","main":"./dist/cjs/index.cjs","module":"./dist/esm/index.js","exports":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs","browser":"./dist/esm/index.js","default":"./dist/cjs/index.cjs"},"repository":{"type":"git","url":"git+https://github.com/cuppachino/openapi-typescript-fetch.git"},"keywords":["fetch","client","swagger","typescript","ts","openapi","openapi 3","node"],"bugs":{"url":"https://github.com/cuppachino/openapi-typescript-fetch/issues"},"homepage":"https://github.com/cuppachino/openapi-typescript-fetch#readme","devDependencies":{"@changesets/cli":"^2.26.1","@types/jest":"^29.5.0","@types/node":"^18.15.5","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","codecov":"^3.8.3","eslint":"^7.32.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","msw":"^0.35.0","prettier":"^2.8.6","remark":"^14.0.2","remark-cli":"^11.0.0","remark-lint-emphasis-marker":"^3.1.1","remark-lint-list-item-indent":"^3.1.1","remark-lint-strong-marker":"^3.1.1","remark-preset-lint-consistent":"^5.1.1","remark-preset-lint-recommended":"^6.1.2","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2","whatwg-fetch":"^3.6.2"},"prettier":{"trailingComma":"all","singleQuote":true,"semi":false},"remarkConfig":{"settings":{"emphasis":"*","strong":"*"},"plugins":["remark-preset-lint-consistent","remark-preset-lint-recommended",["remark-lint-emphasis-marker","*"],["remark-lint-strong-marker","*"]]},"scripts":{"clean":"rimraf ./dist","build":"npm run clean && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json && node ./scripts/os.js","lint":"eslint . --fix","format":"remark . --quiet --frail --output","test":"tsc --noEmit --project tsconfig.json && jest","version-package":"changeset version && pnpm lint","release":"pnpm build && pnpm test && changeset publish","test:coverage":"npm run build && jest --no-cache --coverage && codecov","test:coverage:local":"npm run build && jest --no-cache --collectCoverage"},"types":"./dist/cjs/index.d.ts","_id":"@cuppachino/openapi-fetch@2.1.1","_integrity":"sha512-BUy+kqTHNAvqGMKwgCXtVI6RuyYTm4dXleWFj3MXHjlrspuWIepW9E/xVtCB6IuzKRNeXOCLr/7rKbV3BbtkXQ==","_resolved":"/tmp/6600943f1ea62e2b5a32a1659162dd56/cuppachino-openapi-fetch-2.1.1.tgz","_from":"file:cuppachino-openapi-fetch-2.1.1.tgz","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-BUy+kqTHNAvqGMKwgCXtVI6RuyYTm4dXleWFj3MXHjlrspuWIepW9E/xVtCB6IuzKRNeXOCLr/7rKbV3BbtkXQ==","shasum":"ec0f0f626ba6e2ef867645ddf3258a5b7ab42843","tarball":"https://registry.npmjs.org/@cuppachino/openapi-fetch/-/openapi-fetch-2.1.1.tgz","fileCount":9,"unpackedSize":49202,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIETDhBxVJfjDCpG1zPcXF1C/cjMfnTL1bm+xvAXkqW5YAiA2zKmKoT+JBvPVSTmIh8n3uEOLnRkyPBmXy5gGNzWfxQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIfs4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5jw/8DU/NWHHQDt5r2/uP3w96R4SJ6t7z/W0VUSSfEtapXwQwbC1Q\r\nL+Z5zzjuBo/j4R7eBGNKOD6wCvEortGPMO9E/pHcLHBN+PBZUojFXZ4n447o\r\nAukFfVZowWCwqNsbIPDx15HRfzrj+v2B9n83tZNheHKybL8E3FAfaRlbwmB2\r\n1DuNoKK3kjJZruNyEZ/jIc+hofCYaGVEOqujSc+gQo8yjupoH0ArkduMEhIk\r\nM7rLEbW3392yf3r2yBJ3UFouFtuS+NpMAu2uQ7iFqXCNZY/Q5UtJmXdY/OtP\r\nxLOPO9LXYdlGvH+I0R86d1aX40tFIqOOuC9pxysAPQUADbgBXaT/jXPEia3D\r\n53+qZo1OLDi9yBCC0++fW5pCfYQv4VqmryCsGdnI/B+PASThfTwqHbvAXLyT\r\ngc2nojX/I0AYo0VQOwVqfUvyXXH1Ta+BtwhxfTNJfTc7xXQeC3Q0B4/KwUSo\r\njkETiJcAMnNf9Y9DjUAqC+No6Yufa+QWX2wAddkXh0GHPGiBD44I7MxPG1Mf\r\nDZqxN9yI//1/I64uPy9uDZJSmSqaJTrk5OBsmHSYmRZkgklBqgHgu3LVkxYr\r\npJMV6Lc3VIEDCkTfV067ZZt6gaWz/h4MAprFMZIOMfT1zvJa2CbG3D7z2bDq\r\nFEfyb1vKNBNbWTHAwA98I1Td2J27kCnpZ3Y=\r\n=4+Sx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cuppachino","email":"cuppachino.dev@gmail.com"},"directories":{},"maintainers":[{"name":"cuppachino","email":"cuppachino.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-fetch_2.1.1_1679948600401_0.5235898097362337"},"_hasShrinkwrap":false},"2.1.2":{"name":"@cuppachino/openapi-fetch","description":"An updated fork of ajaishankar's openapi-typescript-fetch","version":"2.1.2","publishConfig":{"access":"public"},"engines":{"node":">= 12.0.0","npm":">= 7.0.0"},"author":{"name":"Ajai Shankar"},"license":"MIT","type":"module","main":"./dist/cjs/index.cjs","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs","browser":"./dist/esm/index.js","default":"./dist/cjs/index.cjs"},"repository":{"type":"git","url":"git+https://github.com/cuppachino/openapi-typescript-fetch.git"},"keywords":["fetch","client","swagger","typescript","ts","openapi","openapi 3","node"],"bugs":{"url":"https://github.com/cuppachino/openapi-typescript-fetch/issues"},"homepage":"https://github.com/cuppachino/openapi-typescript-fetch#readme","devDependencies":{"@changesets/cli":"^2.26.1","@types/jest":"^29.5.0","@types/node":"^18.15.5","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","codecov":"^3.8.3","eslint":"^7.32.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","msw":"^0.35.0","prettier":"^2.8.6","remark":"^14.0.2","remark-cli":"^11.0.0","remark-lint-emphasis-marker":"^3.1.1","remark-lint-list-item-indent":"^3.1.1","remark-lint-strong-marker":"^3.1.1","remark-preset-lint-consistent":"^5.1.1","remark-preset-lint-recommended":"^6.1.2","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2","whatwg-fetch":"^3.6.2"},"prettier":{"trailingComma":"all","singleQuote":true,"semi":false},"remarkConfig":{"settings":{"emphasis":"*","strong":"*"},"plugins":["remark-preset-lint-consistent","remark-preset-lint-recommended",["remark-lint-emphasis-marker","*"],["remark-lint-strong-marker","*"]]},"scripts":{"clean":"rimraf ./dist","build":"npm run clean && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json && node ./scripts/os.js","lint":"eslint . --fix","format":"remark . --quiet --frail --output","test":"tsc --noEmit --project tsconfig.json && jest","version-package":"changeset version && pnpm lint","release":"pnpm build && pnpm test && changeset publish","test:coverage":"npm run build && jest --no-cache --coverage && codecov","test:coverage:local":"npm run build && jest --no-cache --collectCoverage"},"_id":"@cuppachino/openapi-fetch@2.1.2","_integrity":"sha512-0YcoPrPlhQqzVqKw6pjrPZJPJN3D+wgFR2vFrQWT60NEl5Go/ujq5hBMfd1/Br8IZnrafFZgI06EUG4fJnzxEg==","_resolved":"/tmp/ca6f69bfc494dc210fee8d1ba5370aed/cuppachino-openapi-fetch-2.1.2.tgz","_from":"file:cuppachino-openapi-fetch-2.1.2.tgz","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-0YcoPrPlhQqzVqKw6pjrPZJPJN3D+wgFR2vFrQWT60NEl5Go/ujq5hBMfd1/Br8IZnrafFZgI06EUG4fJnzxEg==","shasum":"544407d7d8cea7ec59d8fc7e198037903c7664d5","tarball":"https://registry.npmjs.org/@cuppachino/openapi-fetch/-/openapi-fetch-2.1.2.tgz","fileCount":9,"unpackedSize":49234,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5vUz9twdmTercYqPGOQimmKoZ2J+XJZOcJ9Y+HUN5PAiEAqoukz3+Lou2HU9lWje/IuRYPmOLAZtOCKgEpISdUXGA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkI1+LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkbA/9HNMCXY6BqQT4oWXxccMKe2Y6mn2SHciXCQ5DSwmiShEYvCPE\r\nks27p3VJGgya2yRhbUdrwMhwe5cut0aAdCeGNxdeeEsuHITqAwh5t2NzBfgy\r\nOpFNGHkjuoKssEx7N3rBAJFiz7aDMo8EGRyem1W391JSgBe41cmtdeqUQdho\r\nmI5PLBzsXQiu/v7rvurLNUguEYDVBk6kNxJx0kLxBj9yS38h9EnVKOdF0qwR\r\nbKmla85KP/7bSMZbBIum731nUBgiVqHgqpSc2mGEmvlusqH8LXdjzoFMutDN\r\nHb7gNSgcca3WNk7T9ldSAUzcWJ8D86JbxiKXaWbZ/O1LiB7mY/QwQutbNKLY\r\noMdgCuVMAp4K9m2VSsDSJE6EayEemaeMJVHzMknD8ku7IqqEV43PBOLrKZgb\r\nX/Pq+zdjml4i5rPHjh3f+RBdI5RRHAuvKNdNHcxkIVejUr8jEW8gTIVFfAMh\r\nUhEKZSYCg2+IATsw5M4J5UccmgLxiFJ1OnNr1k12CIoV3tIQx3QorawIptrb\r\nqkovIF1TzIJiTrz2gwjhlmsUFpy5YDVeG1T0ciBuDTUYBb0pTK4CGbGuDA+g\r\nfUexgXJN2fwcPH9VKIXX8G1qLm2IYaN2hHL25VRRBCAugrXtdjeBdEdGqbIV\r\nAr2jRbnQSOX9+462Y4WUJataMzbZzczItQs=\r\n=Gz/c\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cuppachino","email":"cuppachino.dev@gmail.com"},"directories":{},"maintainers":[{"name":"cuppachino","email":"cuppachino.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-fetch_2.1.2_1680039819261_0.8498988364257858"},"_hasShrinkwrap":false},"2.2.0":{"name":"@cuppachino/openapi-fetch","description":"An updated fork of ajaishankar's openapi-typescript-fetch","version":"2.2.0","publishConfig":{"access":"public"},"engines":{"node":">= 12.0.0","npm":">= 7.0.0"},"author":{"name":"Ajai Shankar"},"license":"MIT","type":"module","main":"./dist/cjs/index.cjs","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs","browser":"./dist/esm/index.js","default":"./dist/cjs/index.cjs"},"repository":{"type":"git","url":"git+https://github.com/cuppachino/openapi-typescript-fetch.git"},"keywords":["fetch","client","swagger","typescript","ts","openapi","openapi 3","node"],"bugs":{"url":"https://github.com/cuppachino/openapi-typescript-fetch/issues"},"homepage":"https://github.com/cuppachino/openapi-typescript-fetch#readme","devDependencies":{"@changesets/cli":"^2.26.1","@types/jest":"^29.5.0","@types/node":"^18.15.5","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","codecov":"^3.8.3","eslint":"^7.32.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","msw":"^0.35.0","prettier":"^2.8.6","remark":"^14.0.2","remark-cli":"^11.0.0","remark-lint-emphasis-marker":"^3.1.1","remark-lint-list-item-indent":"^3.1.1","remark-lint-strong-marker":"^3.1.1","remark-preset-lint-consistent":"^5.1.1","remark-preset-lint-recommended":"^6.1.2","rimraf":"^3.0.2","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2","whatwg-fetch":"^3.6.2"},"prettier":{"trailingComma":"all","singleQuote":true,"semi":false},"remarkConfig":{"settings":{"emphasis":"*","strong":"*"},"plugins":["remark-preset-lint-consistent","remark-preset-lint-recommended",["remark-lint-emphasis-marker","*"],["remark-lint-strong-marker","*"]]},"scripts":{"clean":"rimraf ./dist","build":"npm run clean && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json && node ./scripts/os.js","lint":"eslint . --fix","format":"remark . --quiet --frail --output","test":"tsc --noEmit --project tsconfig.json && jest","version-package":"changeset version && pnpm lint","release":"pnpm build && pnpm test && changeset publish","test:coverage":"npm run build && jest --no-cache --coverage && codecov","test:coverage:local":"npm run build && jest --no-cache --collectCoverage"},"_id":"@cuppachino/openapi-fetch@2.2.0","_integrity":"sha512-qH0/SFKDQDGTlU+BBukgw349vT2O00JnA+QCMFX8AfcEZKxLb+xrxIcQSqoHr44k29g/ylPGZ/Q+uGRckVPfDA==","_resolved":"/tmp/6bcc1190b9149e345a6354a195522349/cuppachino-openapi-fetch-2.2.0.tgz","_from":"file:cuppachino-openapi-fetch-2.2.0.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-qH0/SFKDQDGTlU+BBukgw349vT2O00JnA+QCMFX8AfcEZKxLb+xrxIcQSqoHr44k29g/ylPGZ/Q+uGRckVPfDA==","shasum":"5b19a9ac7d172d1b080a8044b3b3fe7b99302b05","tarball":"https://registry.npmjs.org/@cuppachino/openapi-fetch/-/openapi-fetch-2.2.0.tgz","fileCount":9,"unpackedSize":49909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjBZ4xg7FhtdyUjisE8fAwF1TgQO1WSUwUlqarv5BCigIgUdU8zxEDsBRRzwaZgvoCcAjnS7VfCtFr+O6C1/kql9s="}]},"_npmUser":{"name":"cuppachino","email":"cuppachino.dev@gmail.com"},"directories":{},"maintainers":[{"name":"cuppachino","email":"cuppachino.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-fetch_2.2.0_1716147511938_0.9830805640524791"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-23T22:57:20.050Z","2.0.2":"2023-03-23T22:57:20.344Z","modified":"2024-05-19T19:38:32.299Z","2.0.3":"2023-03-24T00:02:15.898Z","2.0.4":"2023-03-24T00:18:21.618Z","2.0.5":"2023-03-24T05:08:46.081Z","2.0.6":"2023-03-24T10:20:52.733Z","2.1.1":"2023-03-27T20:23:20.591Z","2.1.2":"2023-03-28T21:43:39.437Z","2.2.0":"2024-05-19T19:38:32.106Z"},"maintainers":[{"name":"cuppachino","email":"cuppachino.dev@gmail.com"}],"description":"An updated fork of ajaishankar's openapi-typescript-fetch","homepage":"https://github.com/cuppachino/openapi-typescript-fetch#readme","keywords":["fetch","client","swagger","typescript","ts","openapi","openapi 3","node"],"repository":{"type":"git","url":"git+https://github.com/cuppachino/openapi-typescript-fetch.git"},"author":{"name":"Ajai Shankar"},"bugs":{"url":"https://github.com/cuppachino/openapi-typescript-fetch/issues"},"license":"MIT","readme":"# 📘️ @cuppachino/openapi-fetch\n\n## Changes from upstream\n\n*   ✅ Fixed ESM/CJS support for browsers and node.\n*   ✅ Zero-parameter requests do not require an empty object argument.\n\n[![version(scoped)](https://img.shields.io/npm/v/@cuppachino/openapi-fetch.svg)](https://www.npmjs.com/package/@cuppachino/openapi-fetch)\n\nA typed fetch client for [openapi-typescript](https://github.com/drwpow/openapi-typescript)\n\n## Installation\n\n```ps1\npnpm add @cuppachino/openapi-fetch\n```\n\n```ps1\nnpm i @cuppachino/openapi-fetch\n```\n\n```ps1\nyarn add @cuppachino/openapi-fetch\n```\n\n### Features\n\nSupports JSON request and responses\n\n*   ✅ [OpenAPI 3.0](https://swagger.io/specification)\n*   ✅ [Swagger 2.0](https://swagger.io/specification/v2/)\n\n## Usage\n\n### Generate typescript definition from schema\n\n```bash\nnpx openapi-typescript https://petstore.swagger.io/v2/swagger.json --output petstore.ts\n\n# 🔭 Loading spec from https://petstore.swagger.io/v2/swagger.json…\n# 🚀 https://petstore.swagger.io/v2/swagger.json -> petstore.ts [650ms]\n```\n\n### Typed fetch client\n\n```ts\nimport 'whatwg-fetch'\n\nimport { Fetcher } from '@cuppachino/openapi-fetch'\n\nimport { paths } from './petstore'\n\n// declare fetcher for paths\nconst fetcher = Fetcher.for<paths>()\n\n// global configuration\nfetcher.configure({\n  baseUrl: 'https://petstore.swagger.io/v2',\n  init: {\n    headers: {\n      ...\n    },\n  },\n  use: [...] // middlewares\n})\n\n// create fetch operations\nconst findPetsByStatus = fetcher.path('/pet/findByStatus').method('get').create()\nconst addPet = fetcher.path('/pet').method('post').create()\n\n// fetch\nconst { status, data: pets } = await findPetsByStatus({\n  status: ['available', 'pending'],\n})\n\nconsole.log(pets[0])\n```\n\n### Typed Error Handling\n\nA non-ok fetch response throws a generic `ApiError`\n\nBut an Openapi document can declare a different response type for each status code, or a default error response type\n\nThese can be accessed via a `discriminated union` on status, as in code snippet below\n\n```ts\nconst findPetsByStatus = fetcher.path('/pet/findByStatus').method('get').create()\nconst addPet = fetcher.path('/pet').method('post').create()\n\ntry {\n  await findPetsByStatus({ ... })\n  await addPet({ ... })\n} catch(e) {\n  // check which operation threw the exception\n  if (e instanceof addPet.Error) {\n    // get discriminated union { status, data } \n    const error = e.getActualType()\n    if (error.status === 400) {\n      error.data.validationErrors // only available for a 400 response\n    } else if (error.status === 500) {\n      error.data.errorMessage // only available for a 500 response\n    } else {\n      ...\n    }\n  }\n}\n```\n\n### Middleware\n\nMiddlewares can be used to pre and post process fetch operations (log api calls, add auth headers etc)\n\n```ts\n\nimport { Middleware } from '@cuppachino/openapi-fetch'\n\nconst logger: Middleware = async (url, init, next) => {\n  console.log(`fetching ${url}`)\n  const response = await next(url, init)\n  console.log(`fetched ${url}`)\n  return response\n}\n\nfetcher.configure({\n  baseUrl: 'https://petstore.swagger.io/v2',\n  init: { ... },\n  use: [logger],\n})\n\n// or\n\nfetcher.use(logger)\n```\n\n### Server Side Usage\n\nThis library can be used server side with [node-fetch](https://www.npmjs.com/package/node-fetch)\n\nNode CommonJS setup\n\n```ts\n// install node-fetch v2\nnpm install node-fetch@2\nnpm install @types/node-fetch@2\n\n// fetch-polyfill.ts\nimport fetch, { Headers, Request, Response } from 'node-fetch'\n\nif (!globalThis.fetch) {\n    globalThis.fetch = fetch as any\n    globalThis.Headers = Headers as any\n    globalThis.Request = Request as any\n    globalThis.Response = Response as any\n}\n\n// index.ts\nimport './fetch-polyfill'\n```\n\n### Utility Types\n\n*   `OpArgType` - Infer argument type of an operation\n*   `OpReturnType` - Infer return type of an operation\n*   `OpErrorType` - Infer error type of an operation\n*   `FetchArgType` - Argument type of a typed fetch operation\n*   `FetchReturnType` - Return type of a typed fetch operation\n*   `FetchErrorType` - Error type of a typed fetch operation\n*   `TypedFetch` - Fetch operation type\n\n```ts\nimport { paths, operations } from './petstore'\n\ntype Arg = OpArgType<operations['findPetsByStatus']>\ntype Ret = OpReturnType<operations['findPetsByStatus']>\ntype Err = OpErrorType<operations['findPetsByStatus']>\n\ntype Arg = OpArgType<paths['/pet/findByStatus']['get']>\ntype Ret = OpReturnType<paths['/pet/findByStatus']['get']>\ntype Err = OpErrorType<paths['/pet/findByStatus']['get']>\n\ntype FindPetsByStatus = TypedFetch<operations['findPetsByStatus']>\n\nconst findPetsByStatus = fetcher.path('/pet/findByStatus').method('get').create()\n\ntype Arg = FetchArgType<typeof findPetsByStatus>\ntype Ret = FetchReturnType<typeof findPetsByStatus>\ntype Err = FetchErrorType<typeof findPetsByStatus>\n```\n\n### Utility Methods\n\n*   `arrayRequestBody` - Helper to merge params when request body is an array [see issue](https://github.com/ajaishankar/openapi-typescript-fetch/issues/3#issuecomment-952963986)\n\n```ts\n\nconst body = arrayRequestBody([{ item: 1}], { param: 2})\n\n// body type is { item: number }[] & { param: number }\n```\n\nHappy fetching! 👍\n","readmeFilename":"README.md"}