{"_id":"@arionhardison/wizard-api-client","_rev":"5-9e29647935a27bdfe830665cf3cef25a","name":"@arionhardison/wizard-api-client","dist-tags":{"latest":"1.7.0"},"versions":{"1.2.1":{"name":"@arionhardison/wizard-api-client","version":"1.2.1","keywords":["api","client","typescript","hms","wizard","five-step-wizard","healthcare","education"],"author":{"name":"HMS Team"},"license":"MIT","_id":"@arionhardison/wizard-api-client@1.2.1","maintainers":[{"name":"arionhardison","email":"arion@codify.inc"}],"homepage":"https://github.com/ArionHardison/HMS-API-client#readme","bugs":{"url":"https://github.com/ArionHardison/HMS-API-client/issues"},"dist":{"shasum":"6b0b500881b407b518ed8c7cc58edfb0a3c51221","tarball":"https://registry.npmjs.org/@arionhardison/wizard-api-client/-/wizard-api-client-1.2.1.tgz","fileCount":4422,"integrity":"sha512-fuIAXgmR+MCvNvCKErOKDw4c1L6DmcuOJNxM/jua75CwtDkhjByen8QcCAwcK5OBodHpxLtwq6bFZZfZvOqWhg==","signatures":[{"sig":"MEUCIE1kuS7a4R4cFkaqHSPGeMSTwWxxQLMw5AfADA1k9a8HAiEA1ZMkpqJUPlPqWE6POkVJTMdhIOJuepL0Rx3WkWhT9i8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7628577},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"}},"gitHead":"9304ab5edcd36ac5f610688bb5fcc4d165db4be2","scripts":{"dev":"vite","lint":"eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","test":"vitest","build":"npm run build:lib && npm run build:vue","clean":"rm -rf dist","preview":"vite preview","test:ui":"vitest --ui","docs:api":"redoc-cli build ./spec/openapi.json --output docs/api.html","generate":"npm run generate:client && npm run generate:types && npm run generate:docs","prebuild":"npm run clean && npm run generate:lib","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","build:lib":"npm run build:cjs && npm run build:esm","build:vue":"vite build","sync:auto":"npm run sync:check && npm run generate && npm run test:contract","docs:serve":"npx http-server docs -p 8080","sync:check":"node scripts/check-api-changes.js","type-check":"vue-tsc --noEmit","docs:client":"typedoc src/api --out docs/client","generate:lib":"npm run generate:client && npm run generate:types","generate:docs":"npm run docs:api && npm run docs:client","test:contract":"vitest run tests/contract","test:coverage":"vitest --coverage","version:check":"node scripts/check-breaking-changes.js","generate:types":"openapi-typescript ./spec/openapi.json -o ./src/generated/api-types.ts","prepublishOnly":"npm run build","generate:client":"openapi --input ./spec/openapi.json --output ./src/generated/client --client axios --useOptions --indent 2","migration:generate":"node scripts/generate-migration-guide.js"},"_npmUser":{"name":"arionhardison","email":"arion@codify.inc"},"repository":{"url":"git+https://github.com/ArionHardison/HMS-API-client.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript client library for HMS API with Five-Step Wizard integration","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zod":"^3.23.0","axios":"^1.6.0","form-data":"^4.0.5","@vueuse/core":"^10.5.0","@vueuse/integrations":"^10.5.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.3","vue":"^3.4.0","jest":"^29.7.0","vite":"^5.0.0","pinia":"^2.1.7","eslint":"^8.50.0","undici":"^6.25.0","vitest":"^1.0.0","ts-jest":"^29.1.0","typedoc":"^0.25.0","vue-tsc":"^1.8.0","redoc-cli":"^0.13.21","typescript":"~5.4.5","vue-router":"^4.2.5","@types/jest":"^29.5.0","@types/node":"^20.10.0","http-server":"^14.1.1","@vue/tsconfig":"^0.4.0","openapi-types":"^12.1.3","swagger-jsdoc":"^6.2.8","@vue/test-utils":"^2.4.1","@vitejs/plugin-vue":"^4.5.0","openapi-typescript":"^6.7.0","openapi-typescript-codegen":"^0.25.0","@openapitools/openapi-generator-cli":"^2.7.0"},"peerDependencies":{"vue":"^3.4.0","pinia":"^2.1.0 || ^3.0.0","vue-router":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/wizard-api-client_1.2.1_1778701158718_0.6190458674765915","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@arionhardison/wizard-api-client","version":"1.2.2","keywords":["api","client","typescript","hms","wizard","five-step-wizard","healthcare","education"],"author":{"name":"HMS Team"},"license":"MIT","_id":"@arionhardison/wizard-api-client@1.2.2","maintainers":[{"name":"arionhardison","email":"arion@codify.inc"}],"homepage":"https://github.com/ArionHardison/HMS-API-client#readme","bugs":{"url":"https://github.com/ArionHardison/HMS-API-client/issues"},"dist":{"shasum":"a8f1355ea2d383cc90ea215b5c3b9e74710da144","tarball":"https://registry.npmjs.org/@arionhardison/wizard-api-client/-/wizard-api-client-1.2.2.tgz","fileCount":4422,"integrity":"sha512-KF9zQLfE9loxUo8AYk3qB+sIxTUy8espgwR4HYquxxAeUrTHvqknh7w0+3VhPXZJP41BnAE+9WwzMYQkCpA5kw==","signatures":[{"sig":"MEUCIEWWzQt01HvvHh5Wj21D8hvuoykjja+BTd4PgiVeaK8HAiEAiQnM/E0odY0JM+CIpe3O3ZWFDZHThdD4usMle+WoBpo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7628576},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"}},"gitHead":"9304ab5edcd36ac5f610688bb5fcc4d165db4be2","scripts":{"dev":"vite","lint":"eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","test":"vitest","build":"npm run build:lib && npm run build:vue","clean":"rm -rf dist","preview":"vite preview","test:ui":"vitest --ui","docs:api":"redoc-cli build ./spec/openapi.json --output docs/api.html","generate":"npm run generate:client && npm run generate:types && npm run generate:docs","prebuild":"npm run clean && npm run generate:lib","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","build:lib":"npm run build:cjs && npm run build:esm","build:vue":"vite build","sync:auto":"npm run sync:check && npm run generate && npm run test:contract","docs:serve":"npx http-server docs -p 8080","sync:check":"node scripts/check-api-changes.js","type-check":"vue-tsc --noEmit","docs:client":"typedoc src/api --out docs/client","generate:lib":"npm run generate:client && npm run generate:types","generate:docs":"npm run docs:api && npm run docs:client","test:contract":"vitest run tests/contract","test:coverage":"vitest --coverage","version:check":"node scripts/check-breaking-changes.js","generate:types":"openapi-typescript ./spec/openapi.json -o ./src/generated/api-types.ts","prepublishOnly":"npm run build","generate:client":"openapi --input ./spec/openapi.json --output ./src/generated/client --client axios --useOptions --indent 2","migration:generate":"node scripts/generate-migration-guide.js"},"_npmUser":{"name":"arionhardison","email":"arion@codify.inc"},"repository":{"url":"git+https://github.com/ArionHardison/HMS-API-client.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript client library for HMS API with Five-Step Wizard integration","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zod":"^3.23.0","axios":"^1.6.0","form-data":"^4.0.5","@vueuse/core":"^10.5.0","@vueuse/integrations":"^10.5.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.3","vue":"^3.4.0","jest":"^29.7.0","vite":"^5.0.0","pinia":"^2.1.7","eslint":"^8.50.0","undici":"^6.25.0","vitest":"^1.0.0","ts-jest":"^29.1.0","typedoc":"^0.25.0","vue-tsc":"^1.8.0","redoc-cli":"^0.13.21","typescript":"~5.4.5","vue-router":"^4.2.5","@types/jest":"^29.5.0","@types/node":"^20.10.0","http-server":"^14.1.1","@vue/tsconfig":"^0.4.0","openapi-types":"^12.1.3","swagger-jsdoc":"^6.2.8","@vue/test-utils":"^2.4.1","@vitejs/plugin-vue":"^4.5.0","openapi-typescript":"^6.7.0","openapi-typescript-codegen":"^0.25.0","@openapitools/openapi-generator-cli":"^2.7.0"},"peerDependencies":{"vue":"^3.4.0","pinia":"^2.1.0 || ^3.0.0","vue-router":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/wizard-api-client_1.2.2_1778701298428_0.08673348307261608","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@arionhardison/wizard-api-client","version":"1.3.0","keywords":["api","client","typescript","hms","wizard","five-step-wizard","healthcare","education"],"author":{"name":"HMS Team"},"license":"MIT","_id":"@arionhardison/wizard-api-client@1.3.0","maintainers":[{"name":"arionhardison","email":"arion@codify.inc"}],"homepage":"https://github.com/ArionHardison/HMS-API-client#readme","bugs":{"url":"https://github.com/ArionHardison/HMS-API-client/issues"},"dist":{"shasum":"3660046de21cf9a3a06993e62eb1e2f7a831086e","tarball":"https://registry.npmjs.org/@arionhardison/wizard-api-client/-/wizard-api-client-1.3.0.tgz","fileCount":4440,"integrity":"sha512-2prSSBxmRb191bfKIXICbVFOVFoHZwJFdO38YWksjFezzQA7LSlLG69bt8DOv/WVa3yjQNzHs0hClZzjhhpJZA==","signatures":[{"sig":"MEUCIQD7mLN+AL6K6pa6YZtyDpQRkO5gYCTaZ+doHceWPRynDgIgEdfjz5cOGGMf3J2RvrbUmqWJBYqW9DYooTjrbYycTzI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7681898},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"}},"gitHead":"040faba5801a0aaf71f4b36a82f2f631db5b1a27","scripts":{"dev":"vite","lint":"eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","test":"vitest","build":"npm run build:lib && npm run build:vue","clean":"rm -rf dist","preview":"vite preview","test:ui":"vitest --ui","docs:api":"redoc-cli build ./spec/openapi.json --output docs/api.html","generate":"npm run generate:client && npm run generate:types && npm run generate:docs","prebuild":"npm run clean && npm run generate:lib","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","build:lib":"npm run build:cjs && npm run build:esm","build:vue":"vite build","sync:auto":"npm run sync:check && npm run generate && npm run test:contract","docs:serve":"npx http-server docs -p 8080","sync:check":"node scripts/check-api-changes.js","type-check":"vue-tsc --noEmit","docs:client":"typedoc src/api --out docs/client","generate:lib":"npm run generate:client && npm run generate:types","generate:docs":"npm run docs:api && npm run docs:client","test:contract":"vitest run tests/contract","test:coverage":"vitest --coverage","version:check":"node scripts/check-breaking-changes.js","generate:types":"openapi-typescript ./spec/openapi.json -o ./src/generated/api-types.ts","prepublishOnly":"npm run build","generate:client":"openapi --input ./spec/openapi.json --output ./src/generated/client --client axios --useOptions --indent 2","migration:generate":"node scripts/generate-migration-guide.js"},"_npmUser":{"name":"arionhardison","email":"arion@codify.inc"},"repository":{"url":"git+https://github.com/ArionHardison/HMS-API-client.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript client library for HMS API with Five-Step Wizard integration","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zod":"^3.23.0","axios":"^1.6.0","form-data":"^4.0.5","@vueuse/core":"^10.5.0","@vueuse/integrations":"^10.5.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.3","vue":"^3.4.0","jest":"^29.7.0","vite":"^5.0.0","pinia":"^2.1.7","eslint":"^8.50.0","undici":"^6.25.0","vitest":"^1.0.0","ts-jest":"^29.1.0","typedoc":"^0.25.0","vue-tsc":"^1.8.0","redoc-cli":"^0.13.21","typescript":"~5.4.5","vue-router":"^4.2.5","@types/jest":"^29.5.0","@types/node":"^20.10.0","http-server":"^14.1.1","@vue/tsconfig":"^0.4.0","openapi-types":"^12.1.3","swagger-jsdoc":"^6.2.8","@vue/test-utils":"^2.4.1","@vitejs/plugin-vue":"^4.5.0","openapi-typescript":"^6.7.0","openapi-typescript-codegen":"^0.25.0","@openapitools/openapi-generator-cli":"^2.7.0"},"peerDependencies":{"vue":"^3.4.0","pinia":"^2.1.0 || ^3.0.0","vue-router":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/wizard-api-client_1.3.0_1778963000780_0.18019914770052603","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@arionhardison/wizard-api-client","version":"1.5.0","keywords":["api","client","typescript","hms","wizard","five-step-wizard","healthcare","education"],"author":{"name":"HMS Team"},"license":"MIT","_id":"@arionhardison/wizard-api-client@1.5.0","maintainers":[{"name":"arionhardison","email":"arion@codify.inc"}],"homepage":"https://github.com/ArionHardison/HMS-API-client#readme","bugs":{"url":"https://github.com/ArionHardison/HMS-API-client/issues"},"dist":{"shasum":"e98ce1dae94528a00d03358f0db8bfea083b466e","tarball":"https://registry.npmjs.org/@arionhardison/wizard-api-client/-/wizard-api-client-1.5.0.tgz","fileCount":4446,"integrity":"sha512-40ows36j55ZsOkjwbHY8j9amvPZvZTmVdiTieH6MN9tlURC3H8HQ+GwFnDEIw0vZPHkeW3yMtnkG1EKS1CHuZA==","signatures":[{"sig":"MEYCIQCLL5xoWmbMkn6aI5LixOOB063xG41Ot2HGR+1wX8IvQQIhAJ9GznbrTfeLnWkVsMZ3Ntj0RZJounZTVTj0X4XcW86I","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7726066},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/index.js"}},"gitHead":"c1fec75a67d24254cb37aa7f6a68cd0277fd9f5c","scripts":{"dev":"vite","lint":"eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","test":"vitest","build":"npm run build:lib && npm run build:vue","clean":"rm -rf dist","preview":"vite preview","test:ui":"vitest --ui","docs:api":"redoc-cli build ./spec/openapi.json --output docs/api.html","generate":"npm run generate:client && npm run generate:types && npm run generate:docs","prebuild":"npm run clean && npm run generate:lib","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","build:lib":"npm run build:cjs && npm run build:esm","build:vue":"vite build","sync:auto":"npm run sync:check && npm run generate && npm run test:contract","docs:serve":"npx http-server docs -p 8080","sync:check":"node scripts/check-api-changes.js","type-check":"vue-tsc --noEmit","docs:client":"typedoc src/api --out docs/client","generate:lib":"npm run generate:client && npm run generate:types","generate:docs":"npm run docs:api && npm run docs:client","test:contract":"vitest run tests/contract","test:coverage":"vitest --coverage","version:check":"node scripts/check-breaking-changes.js","generate:types":"openapi-typescript ./spec/openapi.json -o ./src/generated/api-types.ts","prepublishOnly":"npm run build","generate:client":"openapi --input ./spec/openapi.json --output ./src/generated/client --client axios --useOptions --indent 2","migration:generate":"node scripts/generate-migration-guide.js"},"_npmUser":{"name":"arionhardison","email":"arion@codify.inc"},"repository":{"url":"git+https://github.com/ArionHardison/HMS-API-client.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript client library for HMS API with Five-Step Wizard integration","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zod":"^3.23.0","axios":"^1.6.0","form-data":"^4.0.5","@vueuse/core":"^10.5.0","@vueuse/integrations":"^10.5.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.3","vue":"^3.4.0","jest":"^29.7.0","vite":"^5.0.0","pinia":"^2.1.7","eslint":"^8.50.0","undici":"^6.25.0","vitest":"^1.0.0","ts-jest":"^29.1.0","typedoc":"^0.25.0","vue-tsc":"^1.8.0","redoc-cli":"^0.13.21","typescript":"~5.4.5","vue-router":"^4.2.5","@types/jest":"^29.5.0","@types/node":"^20.10.0","http-server":"^14.1.1","@vue/tsconfig":"^0.4.0","openapi-types":"^12.1.3","swagger-jsdoc":"^6.2.8","@vue/test-utils":"^2.4.1","@vitejs/plugin-vue":"^4.5.0","openapi-typescript":"^6.7.0","openapi-typescript-codegen":"^0.25.0","@openapitools/openapi-generator-cli":"^2.7.0"},"peerDependencies":{"vue":"^3.4.0","pinia":"^2.1.0 || ^3.0.0","vue-router":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/wizard-api-client_1.5.0_1779137974043_0.5446924554409218","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"@arionhardison/wizard-api-client","version":"1.7.0","description":"TypeScript client library for HMS API with Five-Step Wizard integration","main":"dist/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"npm run build:lib && npm run build:vue","build:lib":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","build:vue":"vite build","dev":"vite","preview":"vite preview","clean":"rm -rf dist","prebuild":"npm run clean && npm run generate:lib","generate:lib":"npm run generate:client && npm run generate:types","test":"vitest","test:ui":"vitest --ui","test:coverage":"vitest --coverage","test:contract":"vitest run tests/contract","type-check":"vue-tsc --noEmit","lint":"eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","prepublishOnly":"npm run build","generate":"npm run generate:client && npm run generate:types && npm run generate:docs","generate:client":"openapi --input ./spec/openapi.json --output ./src/generated/client --client axios --useOptions --indent 2","generate:types":"openapi-typescript ./spec/openapi.json -o ./src/generated/api-types.ts","generate:docs":"npm run docs:api && npm run docs:client","docs:api":"redoc-cli build ./spec/openapi.json --output docs/api.html","docs:client":"typedoc src/api --out docs/client","docs:serve":"npx http-server docs -p 8080","sync:check":"node scripts/check-api-changes.js","sync:auto":"npm run sync:check && npm run generate && npm run test:contract","version:check":"node scripts/check-breaking-changes.js","migration:generate":"node scripts/generate-migration-guide.js"},"keywords":["api","client","typescript","hms","wizard","five-step-wizard","healthcare","education"],"author":{"name":"HMS Team"},"license":"MIT","dependencies":{"@vueuse/core":"^10.5.0","@vueuse/integrations":"^10.5.0","axios":"^1.6.0","form-data":"^4.0.5","zod":"^3.23.0"},"devDependencies":{"@openapitools/openapi-generator-cli":"^2.7.0","@types/jest":"^29.5.0","@types/node":"^20.10.0","@vitejs/plugin-vue":"^4.5.0","@vue/test-utils":"^2.4.1","@vue/tsconfig":"^0.4.0","eslint":"^8.50.0","http-server":"^14.1.1","jest":"^29.7.0","msw":"^2.14.3","openapi-types":"^12.1.3","openapi-typescript":"^6.7.0","openapi-typescript-codegen":"^0.25.0","pinia":"^2.1.7","redoc-cli":"^0.13.21","swagger-jsdoc":"^6.2.8","ts-jest":"^29.1.0","typedoc":"^0.25.0","typescript":"~5.4.5","undici":"^6.25.0","vite":"^5.0.0","vitest":"^1.0.0","vue":"^3.4.0","vue-router":"^4.2.5","vue-tsc":"^1.8.0"},"peerDependencies":{"pinia":"^2.1.0 || ^3.0.0","vue":"^3.4.0","vue-router":"^4.2.0"},"repository":{"type":"git","url":"git+https://github.com/ArionHardison/HMS-API-client.git"},"bugs":{"url":"https://github.com/ArionHardison/HMS-API-client/issues"},"homepage":"https://github.com/ArionHardison/HMS-API-client#readme","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_id":"@arionhardison/wizard-api-client@1.7.0","gitHead":"319b3715b09bb6dbfc29bca4d803c985687b1db0","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-ud8GmYTv1W1H1h6njpqxK4lGu+L97KU1rw1BztHH5tqetovzbKHx2/Q/6wyKc8NzaXHbf9BOw90YE3TvCjKATw==","shasum":"1aed6384eeb6132c4c6ad50a85d95093aaeac6fd","tarball":"https://registry.npmjs.org/@arionhardison/wizard-api-client/-/wizard-api-client-1.7.0.tgz","fileCount":4458,"unpackedSize":7757040,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCkYqlEvbOo1A6cHYJH8sVTgeiTy62nRHrHiqEFyb5GpwIgLSjkRwK2wMxiJjNK98mR0gvZKiMvYZtiAFig4vwKKKM="}]},"_npmUser":{"name":"arionhardison","email":"arion@codify.inc"},"directories":{},"maintainers":[{"name":"arionhardison","email":"arion@codify.inc"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wizard-api-client_1.7.0_1779885729321_0.5354795179374574"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-13T19:39:18.557Z","modified":"2026-05-27T12:42:09.667Z","1.2.1":"2026-05-13T19:39:19.096Z","1.2.2":"2026-05-13T19:41:38.766Z","1.3.0":"2026-05-16T20:23:21.066Z","1.5.0":"2026-05-18T20:59:34.300Z","1.7.0":"2026-05-27T12:42:09.548Z"},"bugs":{"url":"https://github.com/ArionHardison/HMS-API-client/issues"},"author":{"name":"HMS Team"},"license":"MIT","homepage":"https://github.com/ArionHardison/HMS-API-client#readme","keywords":["api","client","typescript","hms","wizard","five-step-wizard","healthcare","education"],"repository":{"type":"git","url":"git+https://github.com/ArionHardison/HMS-API-client.git"},"description":"TypeScript client library for HMS API with Five-Step Wizard integration","maintainers":[{"name":"arionhardison","email":"arion@codify.inc"}],"readme":"# Five-Step Wizard TypeScript Client\n\nA comprehensive TypeScript client library for the Five-Step Wizard API, providing type-safe access to the wizard endpoints with support for asynchronous processing and real-time updates.\n\n## Features\n\n- ✅ Complete TypeScript definitions for all wizard models and endpoints\n- ✅ Support for asynchronous processing with job progress tracking\n- ✅ WebSocket-based real-time updates for long-running operations\n- ✅ Full versioning and snapshot system for deal objects\n- ✅ Built-in authentication and token management\n- ✅ Comprehensive error handling\n- ✅ Supports browser environments\n- ✅ Vue integration with example components\n\n## Installation\n\n```bash\nnpm install @wizard/api-client\n```\n\n## Quick Start\n\n```typescript\nimport { wizardApiClient, wizardSteps } from '@wizard/api-client';\n\n// Start a new wizard\nasync function startWizard(problem: string, category: string) {\n  try {\n    const response = await wizardApiClient.startWizard({\n      problem,\n      category,\n      metadata: {\n        user_role: 'patient',\n        session_id: 'abc123'\n      }\n    });\n    \n    if (response.data.success) {\n      console.log('Wizard started successfully!');\n      console.log('Deal ID:', response.data.data.deal.id);\n      \n      // Check if processing is asynchronous\n      if (response.data.data.is_async) {\n        console.log('Job ID:', response.data.data.job_id);\n        \n        // Poll for job completion\n        const jobStatus = await wizardApiClient.pollJobStatus(response.data.data.job_id);\n        console.log('Job completed:', jobStatus);\n        \n        // Get the updated deal\n        const dealResponse = await wizardApiClient.getDeal(response.data.data.deal.id);\n        console.log('Updated deal:', dealResponse.data.data);\n      } else {\n        console.log('Deal:', response.data.data.deal);\n      }\n    } else {\n      console.error('Failed to start wizard:', response.data.message);\n    }\n  } catch (error) {\n    console.error('API error:', error);\n  }\n}\n```\n\n## Step Processing with Type-Safe Handlers\n\nThe client provides type-safe step handlers for each wizard step:\n\n```typescript\nimport { wizardSteps, WizardStep } from '@wizard/api-client';\n\n// Process Step 1: Define Problem\nasync function processStep1(dealId: string, problem: string, category: string) {\n  try {\n    // Monitor progress\n    const deal = await wizardSteps.defineProblems.process(\n      dealId,\n      {\n        problem,\n        category,\n        sub_category: 'Autoimmune'\n      },\n      (progress) => {\n        console.log(`Processing: ${progress}%`);\n      }\n    );\n    \n    console.log('Step 1 completed:', deal);\n    return deal;\n  } catch (error) {\n    console.error('Error processing step 1:', error);\n  }\n}\n\n// Process Step 2: Codify Solution\nasync function processStep2(dealId: string, solutions: any[]) {\n  try {\n    const deal = await wizardSteps.codifySolution.process(\n      dealId,\n      {\n        solution_options: solutions,\n        selected_solution: 0\n      },\n      (progress) => {\n        console.log(`Processing: ${progress}%`);\n      }\n    );\n    \n    console.log('Step 2 completed:', deal);\n    return deal;\n  } catch (error) {\n    console.error('Error processing step 2:', error);\n  }\n}\n```\n\n## Real-Time Updates with WebSockets\n\nThe client supports WebSocket-based real-time updates for job progress:\n\n```typescript\n// Add a listener for job updates\nconst removeListener = wizardApiClient.addJobListener(\n  jobId,\n  (jobStatus) => {\n    console.log('Job progress:', jobStatus.progress);\n    console.log('Job status:', jobStatus.status);\n    console.log('Job message:', jobStatus.message);\n    \n    if (jobStatus.status === 'completed') {\n      console.log('Job completed successfully!');\n    } else if (jobStatus.status === 'failed') {\n      console.error('Job failed:', jobStatus.error);\n    }\n  }\n);\n\n// Later, remove the listener when no longer needed\nremoveListener();\n```\n\n## Version Management\n\nThe client provides full support for the versioning system:\n\n```typescript\n// Get all snapshots for a deal\nconst snapshotsResponse = await wizardApiClient.getDealSnapshots(dealId);\nconst snapshots = snapshotsResponse.data.data;\n\n// Get a specific snapshot\nconst snapshotResponse = await wizardApiClient.getDealSnapshot(dealId, version);\nconst snapshot = snapshotResponse.data.data;\n\n// Compare two snapshots\nconst comparisonResponse = await wizardApiClient.compareDealSnapshots(\n  dealId,\n  baseVersion,\n  compareVersion\n);\nconst differences = comparisonResponse.data.data.differences;\n\n// Restore a deal to a specific version\nconst restoredResponse = await wizardApiClient.restoreDealSnapshot(dealId, version);\nconst restoredDeal = restoredResponse.data.data;\n\n// Create a new snapshot manually\nconst newSnapshotResponse = await wizardApiClient.createDealSnapshot(\n  dealId,\n  \"Manual checkpoint before changes\"\n);\n```\n\n## Vue Integration\n\nThe client comes with a complete Vue component example:\n\n```typescript\n// Import the wizard Vue component\nimport WizardExample from '@wizard/api-client/examples/wizard-example.vue';\n\n// Use it in your Vue app\n<template>\n  <WizardExample />\n</template>\n```\n\n## Full API Reference\n\n### Wizard API Client Methods\n\n| Method | Description |\n|--------|-------------|\n| `startWizard(data)` | Start a new wizard session |\n| `defineProblems(dealId, data)` | Process Step 1: Define Problem |\n| `codifySolution(dealId, data)` | Process Step 2: Codify Solution |\n| `setupProgram(dealId, data)` | Process Step 3: Setup Program |\n| `executeProgram(dealId, data)` | Process Step 4: Execute Program |\n| `verifyOutcome(dealId, data)` | Process Step 5: Verify Outcome |\n| `getJobStatus(jobId)` | Get the status of a job |\n| `pollJobStatus(jobId, interval, timeout)` | Poll for job completion |\n| `getDeal(dealId)` | Get a deal by ID |\n| `getDealSnapshots(dealId)` | Get all snapshots for a deal |\n| `getDealSnapshot(dealId, version)` | Get a specific snapshot |\n| `compareDealSnapshots(dealId, baseVersion, compareVersion)` | Compare two snapshots |\n| `restoreDealSnapshot(dealId, version)` | Restore a deal to a specific version |\n| `createDealSnapshot(dealId, comment)` | Create a new snapshot manually |\n| `getWizardResponse(dealId)` | Get the complete wizard response |\n| `addJobListener(jobId, listener)` | Add a listener for job updates |\n\n### Type-Safe Step Handlers\n\n| Handler | Description |\n|---------|-------------|\n| `wizardSteps.defineProblems` | Handler for Step 1: Define Problem |\n| `wizardSteps.codifySolution` | Handler for Step 2: Codify Solution |\n| `wizardSteps.setupProgram` | Handler for Step 3: Setup Program |\n| `wizardSteps.executeProgram` | Handler for Step 4: Execute Program |\n| `wizardSteps.verifyOutcome` | Handler for Step 5: Verify Outcome |\n\n### Main Data Types\n\n| Type | Description |\n|------|-------------|\n| `DealData` | Core deal data structure |\n| `ProgramData` | Program data structure |\n| `ProtocolData` | Protocol data structure |\n| `DealSnapshotData` | Deal snapshot data |\n| `JobStatusData` | Job status data |\n| `StepResultData` | Step processing result |\n| `VersionComparisonData` | Snapshot comparison data |\n\n### Enums\n\n| Enum | Description |\n|------|-------------|\n| `WizardStep` | Wizard step identifiers |\n| `FeasibilityRating` | Solution feasibility ratings |\n| `PayoutStatus` | Payout status options |\n| `JobStatus` | Job processing status |\n\n## Advanced Configuration\n\nYou can create custom client instances with specific configurations:\n\n```typescript\nimport { WizardApiClient } from '@wizard/api-client';\n\n// Create a custom client\nconst customClient = new WizardApiClient({\n  baseURL: 'https://custom-api.example.com/api',\n  timeout: 60000, // 60 seconds\n  withCredentials: true,\n  headers: {\n    'X-Custom-Header': 'value'\n  }\n});\n```\n\n## Error Handling\n\nThe client provides consistent error handling:\n\n```typescript\ntry {\n  const response = await wizardApiClient.getDeal('non-existent-id');\n  // Process successful response\n} catch (error) {\n  if (error.response) {\n    // Server returned an error response\n    console.error('API Error:', error.response.data.message);\n    \n    // Handle validation errors\n    if (error.response.status === 422 && error.response.data.errors) {\n      Object.entries(error.response.data.errors).forEach(([field, messages]) => {\n        console.error(`${field}: ${messages.join(', ')}`);\n      });\n    }\n  } else if (error.request) {\n    // Request was made but no response received (network error)\n    console.error('Network error: No response received');\n  } else {\n    // Other errors\n    console.error('Error:', error.message);\n  }\n}\n```\n\n## Development\n\n### Building the client\n\n```bash\nnpm run build\n```\n\n### Running tests\n\n```bash\nnpm test\n```\n\n## HMS API Client\n\nThis package also includes the HMS API client for accessing other HMS API endpoints:\n\n```typescript\nimport { hmsApiClient } from '@wizard/api-client';\n\n// Use the HMS API client\nconst response = await hmsApiClient.auth.login({\n  email: 'user@example.com',\n  password: 'password123'\n});\n```\n\nFor more information on the HMS API client, see the previous documentation.\n\n## Publishing\n\nThis package is published to **GitHub Packages** as `@arionhardison/wizard-api-client`.\n\n### Trigger\n\nPublishes are driven by `.github/workflows/publish.yml` and fire on either:\n\n- A tag push matching `v*.*.*` (the canonical path)\n- `workflow_dispatch` — manual ad-hoc rerun via the Actions tab\n\nThe workflow runs `npm ci`, `npm run test`, `npm run build`, then publishes to\n`https://npm.pkg.github.com` using the built-in `GITHUB_TOKEN` — no extra\nsecrets to configure on the repo.\n\n### Cutting a release\n\n```bash\n# 1. Bump the version in package.json (semver: patch / minor / major).\n#    Edit \"version\" in package.json directly, or:\nnpm version patch --no-git-tag-version\n\n# 2. Commit the bump.\ngit add package.json package-lock.json\ngit commit -m \"release: vX.Y.Z\"\n\n# 3. Tag and push.\ngit tag vX.Y.Z\ngit push origin main --tags\n```\n\nThe tag push triggers the workflow; on success the new version appears at\n`https://github.com/ArionHardison/HMS-API-client/packages`.\n\n### Consuming the package\n\nGitHub Packages requires authenticated reads. Consumers need:\n\n1. An `.npmrc` (project-level or `~/.npmrc`) routing the scope to GH Packages:\n\n   ```ini\n   @arionhardison:registry=https://npm.pkg.github.com\n   //npm.pkg.github.com/:_authToken=${NPM_TOKEN}\n   ```\n\n2. An `NPM_TOKEN` env var holding a GitHub Personal Access Token (classic)\n   with the `read:packages` scope. In CI/CD, inject it via the platform's\n   secret store. Inside GitHub Actions in the same org, `secrets.GITHUB_TOKEN`\n   is sufficient; for cross-org or Vercel deployments, set `NPM_TOKEN` as a\n   project env var.\n\n3. Then:\n\n   ```bash\n   npm install @arionhardison/wizard-api-client\n   ```\n\n## License\n\nMIT","readmeFilename":"README.md"}