{"_id":"@axiumine/marketplace-common","_rev":"16-59d2b4cf8c67de8c371dd853692954f3","name":"@axiumine/marketplace-common","dist-tags":{"latest":"4.6.0"},"versions":{"1.0.0":{"name":"@axiumine/marketplace-common","version":"1.0.0","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@1.0.0","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"375a5d8d5eca4d7170f4be9caa04130e22bcefe9","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-1.0.0.tgz","fileCount":312,"integrity":"sha512-100xoP0Q4mxalBB3T6sAp+HWG1r+dqiwOhB0d3iBBq8RdTMNtrFmT8tUZ1pxX5XQbMMFpti3yLR5+BT3xmhkYA==","signatures":[{"sig":"MEYCIQCpkQ0+9111+8AxHw9lToPBZSg3EYbZ8j35Y/vQ0GF1MAIhAOYEf6MSh6bOPzEEc9oit+rvzZQQUGX9l63O+axlaQYc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":917321},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./others/operatorOnlyFields":{"types":"./dist/others/operatorOnlyFields.d.mts","import":"./dist/others/operatorOnlyFields.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./others/isIntrospectionBypassAllowed":{"types":"./dist/others/isIntrospectionBypassAllowed.d.mts","import":"./dist/others/isIntrospectionBypassAllowed.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"6d090c1b7661d19ed6d6bc6c585d9d0cb6ceef18","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^6.0.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":"*","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_1.0.0_1787774638180_0.5807866418756844","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@axiumine/marketplace-common","version":"1.0.1","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@1.0.1","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"35539dda27385be149c3fa211bb00104a4851549","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-1.0.1.tgz","fileCount":312,"integrity":"sha512-dyaZ70w5Nz3IuAuLuo3FME1ogI+f/SEu0W1CozuS39UbfwBvLzTkfuCQjydqeKFg6lM252GE30pqPrCQdq07zA==","signatures":[{"sig":"MEYCIQCrVg3hNcm7rl3CwclICaCu155pDufXnR9WZlp36iNfbgIhANOoBlQ3Jn0zQeowCPsYXKYbu3K+xHcIHTp6DVyGrzSn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":916721},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./others/operatorOnlyFields":{"types":"./dist/others/operatorOnlyFields.d.mts","import":"./dist/others/operatorOnlyFields.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./others/isIntrospectionBypassAllowed":{"types":"./dist/others/isIntrospectionBypassAllowed.d.mts","import":"./dist/others/isIntrospectionBypassAllowed.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"b04d18ee4e1fa462cdf7cff73db0b30f156b6d1c","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^6.0.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":"*","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_1.0.1_1787832167250_0.6068308868777719","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@axiumine/marketplace-common","version":"2.0.0","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@2.0.0","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"f5c96630ef79a4a7191e47ae5c6e93fa3d7d5824","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-2.0.0.tgz","fileCount":312,"integrity":"sha512-SDi/0yhczu3UhY8/yb3n4IK8Ay3VMt+N+tczcwetmTnBhn4pi1nbCsG9VupVFoVwzzlRMh5Ur+lhF7v5UiFjmw==","signatures":[{"sig":"MEQCIHmcTiIWPh72iT32cOLOmkKWU1K0L2FyRZzS2iWh4HdnAiB6QFKL553C5iTpdmg6f+LEpqooqb2PCmt5vEXHHVoHTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":918075},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./others/operatorOnlyFields":{"types":"./dist/others/operatorOnlyFields.d.mts","import":"./dist/others/operatorOnlyFields.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./others/isIntrospectionBypassAllowed":{"types":"./dist/others/isIntrospectionBypassAllowed.d.mts","import":"./dist/others/isIntrospectionBypassAllowed.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"c38e2dac68022e8b3d9a0241479e02eae42a811f","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.0.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_2.0.0_1787863022594_0.22803421235139387","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@axiumine/marketplace-common","version":"2.0.1","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@2.0.1","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"4f029c1df742b2b141f18271d11089eab183ff11","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-2.0.1.tgz","fileCount":312,"integrity":"sha512-AU5FgVx3aF1uKt6eObAEWIahjrOyA4YDwemjOHaznZMQNS+rHi+V+fQGiTP9awUm2uhAjLTopVJb47MYIWAxIQ==","signatures":[{"sig":"MEYCIQD3jVg+8EL//8ku+y2e2zkveTugLS/HEvgjX71oU8B+4QIhANTaL+0WKtGPFTSSQ2DXvDi+VuDynqlKt3hyUr30pK9r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":921452},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./others/operatorOnlyFields":{"types":"./dist/others/operatorOnlyFields.d.mts","import":"./dist/others/operatorOnlyFields.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./others/isIntrospectionBypassAllowed":{"types":"./dist/others/isIntrospectionBypassAllowed.d.mts","import":"./dist/others/isIntrospectionBypassAllowed.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"f9ffe34388255c76a6a88e246c7555a176173604","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.0.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_2.0.1_1787899313420_0.005828672238094024","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@axiumine/marketplace-common","version":"2.0.2","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@2.0.2","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"8a35821e1dbf1981c601e81e9317a5f665799686","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-2.0.2.tgz","fileCount":312,"integrity":"sha512-k6XSoQd2zmWBPCrP3qGaK6RoSM+w9dZfcqnlRczQXeX9CIkYNWArD6Juaq+MlJYAlfg9+GkOXxEq6WV5PxBiUQ==","signatures":[{"sig":"MEQCIEFweFU3SLKiIfqZEwoQLe3vp/DvYb1AcWr/pJSK/hdqAiBaXO3hrp5MfH+mRgnopmZaWv02b0Z+j6hz9v0R+EETAQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":924244},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./others/operatorOnlyFields":{"types":"./dist/others/operatorOnlyFields.d.mts","import":"./dist/others/operatorOnlyFields.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./others/isIntrospectionBypassAllowed":{"types":"./dist/others/isIntrospectionBypassAllowed.d.mts","import":"./dist/others/isIntrospectionBypassAllowed.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"a152d259263abbd0d1f5321dc88f195ded5aff8f","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_2.0.2_1787937358329_0.553201683612291","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@axiumine/marketplace-common","version":"2.0.3","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@2.0.3","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"6350c7d81c2a0fdcb15022855bb8329a0d6f921a","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-2.0.3.tgz","fileCount":315,"integrity":"sha512-1sUvjgztbdBny/4vu1vz+/d55aAsWGOWBUSOiGbQl0whRldRmSEzjbCUt8O6fvAfV74pSc5+/WqrFofF2ZHP1Q==","signatures":[{"sig":"MEYCIQCADHkZK+blzl1huMXG94AjvB2A8ENgwz1L5JDOdV3D5gIhANhfjxbuFLMjrLbAQHzBs1VtLByd4xXeVwOJNlhQ327m","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":929747},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/readKek":{"types":"./dist/others/readKek.d.mts","import":"./dist/others/readKek.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./others/operatorOnlyFields":{"types":"./dist/others/operatorOnlyFields.d.mts","import":"./dist/others/operatorOnlyFields.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./others/isIntrospectionBypassAllowed":{"types":"./dist/others/isIntrospectionBypassAllowed.d.mts","import":"./dist/others/isIntrospectionBypassAllowed.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"083ac3a779ee44d16dbdaa798cebad259c8beeb3","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_2.0.3_1787942780610_0.20425900408616338","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@axiumine/marketplace-common","version":"3.0.0","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@3.0.0","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"7fa13f020ba1829790dc32ef8056a61c4843413b","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-3.0.0.tgz","fileCount":318,"integrity":"sha512-RKkxleL2S0ER2BsWhYhfvco9fftWDt52gOXOQkHnhowyFCYHcZvoAdL33PFzY36DD7OT2fwO0Mxk9cv7Ol3azg==","signatures":[{"sig":"MEQCIGGOOYKoGV8DVhaxHIen0fWLArMrwy9tA3xtsmWqh7QzAiBzO6182Y6rLc6rKh8WfxWjBtz96aIE89DUa+KeLKMVaQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":984444},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/readKek":{"types":"./dist/others/readKek.d.mts","import":"./dist/others/readKek.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/accountScrub":{"types":"./dist/others/accountScrub.d.mts","import":"./dist/others/accountScrub.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/adminOnlyFields":{"types":"./dist/others/adminOnlyFields.d.mts","import":"./dist/others/adminOnlyFields.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./others/isIntrospectionBypassAllowed":{"types":"./dist/others/isIntrospectionBypassAllowed.d.mts","import":"./dist/others/isIntrospectionBypassAllowed.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"5826aa49746de30f0386d5f92c5ea6574dcbe628","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_3.0.0_1788076122753_0.752962767813075","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@axiumine/marketplace-common","version":"3.1.0","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@3.1.0","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"5a3b33479cdbd6fbcd0fc68319073abc5abe88ef","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-3.1.0.tgz","fileCount":321,"integrity":"sha512-OaQBUibp5J0/MoE65aBylZ6Lnl8rrfCxDRu9jMoG762SUJ1OnHi46HI7o9xgybbaoMci/ZvliBQYcOgVE6ZHLQ==","signatures":[{"sig":"MEYCIQDfuBm+mwMsHG4MQwJ3WDUjiuTFfzFwvicpU6a8xYw2agIhAKyOpr/5UaKVY79oyMx9VtKGXtDv8IBsI0YzK8vSBDZL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":994938},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/readKek":{"types":"./dist/others/readKek.d.mts","import":"./dist/others/readKek.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/accountScrub":{"types":"./dist/others/accountScrub.d.mts","import":"./dist/others/accountScrub.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/adminOnlyFields":{"types":"./dist/others/adminOnlyFields.d.mts","import":"./dist/others/adminOnlyFields.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/unpublishOwnerStorefront":{"types":"./dist/others/unpublishOwnerStorefront.d.mts","import":"./dist/others/unpublishOwnerStorefront.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./others/isIntrospectionBypassAllowed":{"types":"./dist/others/isIntrospectionBypassAllowed.d.mts","import":"./dist/others/isIntrospectionBypassAllowed.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"f2a3acfc1a589958c7d77e10ed3e73cc7e20a112","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_3.1.0_1788089702961_0.5766867111487928","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@axiumine/marketplace-common","version":"4.0.0","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@4.0.0","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"68fb636d21b2985040031334ed68c21ef4dd5be1","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-4.0.0.tgz","fileCount":318,"integrity":"sha512-lxdOZz3qEPzAbX0dmpdTgm69ujD+NngeIFzcyfaVveczq/F3JqstSNYRt3cA3jVAvH5flCeqLsuWB46SS4f2Xw==","signatures":[{"sig":"MEQCIEZXdy3ccjaekrQ3lsoGJvmOrOMlCGwNoS+Wbi/CefXYAiALLtbUrHbRbZjZUohlN1m9lLQbRpfd7x/CchXyO6DP9Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":978109},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/readKek":{"types":"./dist/others/readKek.d.mts","import":"./dist/others/readKek.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/accountScrub":{"types":"./dist/others/accountScrub.d.mts","import":"./dist/others/accountScrub.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/adminOnlyFields":{"types":"./dist/others/adminOnlyFields.d.mts","import":"./dist/others/adminOnlyFields.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/unpublishOwnerStorefront":{"types":"./dist/others/unpublishOwnerStorefront.d.mts","import":"./dist/others/unpublishOwnerStorefront.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"0d45f682b5113aa7562aecab4556f4efcdc2e7f7","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_4.0.0_1788174699369_0.21615518536061873","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"@axiumine/marketplace-common","version":"4.1.0","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@4.1.0","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"bd4e56d5a91deede4953289938b899530de69ea8","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-4.1.0.tgz","fileCount":321,"integrity":"sha512-ddwC7oPVh2DvX6z6kyYPLBfFXvTiEBLbezFsyED//YlIlGa97JLCAmUkobpF1Y315sdS4ylRa4UF1tFI0sXJOQ==","signatures":[{"sig":"MEUCIQCY9vnAwserEULJk4TrR/JaA9wJZGrmo+3xqSvbewMCqAIgMJdwnjYhhwm59VzsKw4HF9JclVDtwXvtmStttvDuYzk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":986707},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/readKek":{"types":"./dist/others/readKek.d.mts","import":"./dist/others/readKek.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/accountScrub":{"types":"./dist/others/accountScrub.d.mts","import":"./dist/others/accountScrub.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/adminOnlyFields":{"types":"./dist/others/adminOnlyFields.d.mts","import":"./dist/others/adminOnlyFields.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRedisNamespace":{"types":"./dist/others/assertRedisNamespace.d.mts","import":"./dist/others/assertRedisNamespace.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/unpublishOwnerStorefront":{"types":"./dist/others/unpublishOwnerStorefront.d.mts","import":"./dist/others/unpublishOwnerStorefront.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"d7f2f180b07a02376da0d28f49d9a7bfd53ee568","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_4.1.0_1788199125167_0.7383792774490496","host":"s3://npm-registry-packages-npm-production"}},"4.2.0":{"name":"@axiumine/marketplace-common","version":"4.2.0","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@4.2.0","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"f6731ce1df61570f66c46a8baf552698805f9107","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-4.2.0.tgz","fileCount":324,"integrity":"sha512-UBMpcpdmAtgs8uX/dZIpNxb8G5I1TpSuu2MWXWc4qzO2QKJfcuvBnaejpseXrNuTJHCsQ/ja3QYhniHgr+wkwg==","signatures":[{"sig":"MEUCIDs5o3Pk7ebkPURae4Y7yKKcTeO8n9F0vDmm+SBRXCNAAiEAv9w8uIpO+xw2Z3C0o+xIwAXHn7LYouST6NlyBsZIu/Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1006183},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/readKek":{"types":"./dist/others/readKek.d.mts","import":"./dist/others/readKek.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/accountScrub":{"types":"./dist/others/accountScrub.d.mts","import":"./dist/others/accountScrub.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./others/assertEnvShape":{"types":"./dist/others/assertEnvShape.d.mts","import":"./dist/others/assertEnvShape.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/adminOnlyFields":{"types":"./dist/others/adminOnlyFields.d.mts","import":"./dist/others/adminOnlyFields.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRedisNamespace":{"types":"./dist/others/assertRedisNamespace.d.mts","import":"./dist/others/assertRedisNamespace.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/unpublishOwnerStorefront":{"types":"./dist/others/unpublishOwnerStorefront.d.mts","import":"./dist/others/unpublishOwnerStorefront.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"b1fe29027623940a4e9a8e3e13a6fd12c45aed58","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_4.2.0_1788206860522_0.793913917633561","host":"s3://npm-registry-packages-npm-production"}},"4.2.1":{"name":"@axiumine/marketplace-common","version":"4.2.1","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@4.2.1","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"59fa914d928ec14a54d550c1d226bdc7b72dbda2","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-4.2.1.tgz","fileCount":324,"integrity":"sha512-1z17Zo3pgcYM06dOKo8/A47j2GmvvH6mKUbXbuZlOxCFT3/76zSQK5XX36EjFhw9gaCLu+O1iHA234Hksl6/1A==","signatures":[{"sig":"MEQCIDpjhPTxbZ9BlouxORCVpk1GGIxhHG3gYAH//O4naBsLAiBWJpnVqN1b3GisAkjdpZQOwsS1477I7GfXYe/YvXJhPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1010816},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/readKek":{"types":"./dist/others/readKek.d.mts","import":"./dist/others/readKek.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/accountScrub":{"types":"./dist/others/accountScrub.d.mts","import":"./dist/others/accountScrub.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./others/assertEnvShape":{"types":"./dist/others/assertEnvShape.d.mts","import":"./dist/others/assertEnvShape.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/adminOnlyFields":{"types":"./dist/others/adminOnlyFields.d.mts","import":"./dist/others/adminOnlyFields.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRedisNamespace":{"types":"./dist/others/assertRedisNamespace.d.mts","import":"./dist/others/assertRedisNamespace.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/unpublishOwnerStorefront":{"types":"./dist/others/unpublishOwnerStorefront.d.mts","import":"./dist/others/unpublishOwnerStorefront.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"1a35fc594db78c59b03d9f86d8108e31a341604f","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_4.2.1_1788209001377_0.7417306988823498","host":"s3://npm-registry-packages-npm-production"}},"4.3.0":{"name":"@axiumine/marketplace-common","version":"4.3.0","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@4.3.0","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"a6976e6d37d630ebfae9d4e59a8c8e25335078b4","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-4.3.0.tgz","fileCount":327,"integrity":"sha512-uAWFXhD+a5eTmBOYUQLduJKBoiHpsxRCrDoVx7DIsrXl0gvfYxT25NwCw3q3UzIMily5jDS26W/41lz6mIWSlw==","signatures":[{"sig":"MEYCIQCPHDxCJhXm+FSP4IDiQEGwhAfXe1Mcyh5WfjXgB5F2JQIhAPt08vIS4zWxsiU9XyhQpDxNhGS+7DUWV118JGP4+g71","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1025064},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/readKek":{"types":"./dist/others/readKek.d.mts","import":"./dist/others/readKek.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/accountScrub":{"types":"./dist/others/accountScrub.d.mts","import":"./dist/others/accountScrub.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./others/assertEnvShape":{"types":"./dist/others/assertEnvShape.d.mts","import":"./dist/others/assertEnvShape.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/adminOnlyFields":{"types":"./dist/others/adminOnlyFields.d.mts","import":"./dist/others/adminOnlyFields.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRedisNamespace":{"types":"./dist/others/assertRedisNamespace.d.mts","import":"./dist/others/assertRedisNamespace.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./others/clamSignatureFreshness":{"types":"./dist/others/clamSignatureFreshness.d.mts","import":"./dist/others/clamSignatureFreshness.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/unpublishOwnerStorefront":{"types":"./dist/others/unpublishOwnerStorefront.d.mts","import":"./dist/others/unpublishOwnerStorefront.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"da99577d1082d7cf81b668daabbc5d683bbcfe85","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage && node scripts/coverage-audit.mjs","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_4.3.0_1788698853728_0.4900758929603939","host":"s3://npm-registry-packages-npm-production"}},"4.4.0":{"name":"@axiumine/marketplace-common","version":"4.4.0","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@4.4.0","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"bd1a5c87955177152a9cf216471e17293cf3e934","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-4.4.0.tgz","fileCount":333,"integrity":"sha512-K2RtChwisbrNcdhlujkxsXMKdSWOzz9c9bBvZ/AbsenhiSr49YOqt71Vhel9h9r7rXSGTxBkOrC919CeOPPHxw==","signatures":[{"sig":"MEQCIFK0hkdufFSvxIu0OXR4U9CDW40d2zYvIVISu0/qlhrzAiBCKGFaBM7PJ56xLdjTA8fFT0hhStWMGR9MFzEZgN6jnQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCUKBzSPYGF608tIDsKjoJHlSMPpIMdLUd1brNeCd6WrQIgDExJg1WJiaLngAaOgZD0eeRZaEkKZaFya/bjRgLhhWY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1037744},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/readKek":{"types":"./dist/others/readKek.d.mts","import":"./dist/others/readKek.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/accountScrub":{"types":"./dist/others/accountScrub.d.mts","import":"./dist/others/accountScrub.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/retentionKeys":{"types":"./dist/others/retentionKeys.d.mts","import":"./dist/others/retentionKeys.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./others/assertEnvShape":{"types":"./dist/others/assertEnvShape.d.mts","import":"./dist/others/assertEnvShape.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/adminOnlyFields":{"types":"./dist/others/adminOnlyFields.d.mts","import":"./dist/others/adminOnlyFields.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/registrationKeys":{"types":"./dist/others/registrationKeys.d.mts","import":"./dist/others/registrationKeys.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRedisNamespace":{"types":"./dist/others/assertRedisNamespace.d.mts","import":"./dist/others/assertRedisNamespace.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./others/clamSignatureFreshness":{"types":"./dist/others/clamSignatureFreshness.d.mts","import":"./dist/others/clamSignatureFreshness.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/unpublishOwnerStorefront":{"types":"./dist/others/unpublishOwnerStorefront.d.mts","import":"./dist/others/unpublishOwnerStorefront.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"bc7ae6853c610a850e9e2b9f9c69142ed675b2c7","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage && node scripts/coverage-audit.mjs","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","typecheck":"tsc -p tsconfig.test.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^1.25.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^3.3.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@types/node":"^26.1.1","@sentry/node":"^10.69.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^3.5.5","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_4.4.0_1789895294040_0.8181709399407588","host":"s3://npm-registry-packages-npm-production"}},"4.5.0":{"name":"@axiumine/marketplace-common","version":"4.5.0","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","_id":"@axiumine/marketplace-common@4.5.0","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"homepage":"https://github.com/Axiumine/marketplace-common#readme","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"dc49960af89d56fd6d09235a1fc2ddf88031b7b4","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-4.5.0.tgz","fileCount":333,"integrity":"sha512-6/EiBoHHf3spT1sozXi/MfU9nFHijtMIRtCCP2d3FuHZFU9o90Bf3bnUfi6vpXMpcYV4D6Njdth2VxD5ngNjmA==","signatures":[{"sig":"MEQCIH5cHX6nRvGFbjCphqQa5Pw4hnfCPJonJbIRdFEGKpC0AiAo3bQuwNbC2poLkei5DOAzb9kr2OfkcuhjuPB9DvxrTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCv3nUAlTuzpijdlkOfYb97g6r4S8e0a4V8N9YcHOIPzQIhAPgmK4jIiGXKk4bmYY8SyqkHnRd7G3TDb8Ju3JjNtcQB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1037961},"type":"module","engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/readKek":{"types":"./dist/others/readKek.d.mts","import":"./dist/others/readKek.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/accountScrub":{"types":"./dist/others/accountScrub.d.mts","import":"./dist/others/accountScrub.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/retentionKeys":{"types":"./dist/others/retentionKeys.d.mts","import":"./dist/others/retentionKeys.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./others/assertEnvShape":{"types":"./dist/others/assertEnvShape.d.mts","import":"./dist/others/assertEnvShape.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/adminOnlyFields":{"types":"./dist/others/adminOnlyFields.d.mts","import":"./dist/others/adminOnlyFields.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/registrationKeys":{"types":"./dist/others/registrationKeys.d.mts","import":"./dist/others/registrationKeys.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRedisNamespace":{"types":"./dist/others/assertRedisNamespace.d.mts","import":"./dist/others/assertRedisNamespace.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./others/clamSignatureFreshness":{"types":"./dist/others/clamSignatureFreshness.d.mts","import":"./dist/others/clamSignatureFreshness.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/unpublishOwnerStorefront":{"types":"./dist/others/unpublishOwnerStorefront.d.mts","import":"./dist/others/unpublishOwnerStorefront.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"004469d555345f367fd9c70501b6a2a7d477530e","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage && node scripts/coverage-audit.mjs","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","typecheck":"tsc -p tsconfig.test.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"resolutions":{"qs":"^6.15.2"},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^2.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^4.0.1","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.1.1","@sentry/node":"10.75.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^4.0.0","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"tmp":"tmp/marketplace-common_4.5.0_1790002095015_0.7894317789802163","host":"s3://npm-registry-packages-npm-production"}},"4.6.0":{"_id":"@axiumine/marketplace-common@4.6.0","bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"dist":{"shasum":"09d080246cea9b9a25bac6bc0250a5dce76152fd","tarball":"https://registry.npmjs.org/@axiumine/marketplace-common/-/marketplace-common-4.6.0.tgz","fileCount":336,"integrity":"sha512-T1r+z3ekBeQP5F/5llN8iEdNL3AZ8EX6yfMHr5G9QhAhLhinoEVE7nCEJPMchkhVVTXuYA6/j/p5qMgJ0sSo+w==","signatures":[{"sig":"MEYCIQCg+CqpQUeRMTujzN9xF+25+mMVRMEXhsCOleoolhuVxAIhAPLuzRKnOSr6GnzKZR0FjiWjZHQh0HVJJas9VIGcOojh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICn6Wzcg0iLwrlT6FGcmGeWH4Ogf7FDfy+BdgiUxCB9GAiBx/Q31cb5QrMPkidp4u+vm7Ktj/euFWX6mlZWEc0q+sA=="}],"unpackedSize":1086524},"name":"@axiumine/marketplace-common","type":"module","author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"engines":{"node":"^24.18.0"},"exports":{"./others/Tier":{"types":"./dist/others/Tier.d.mts","import":"./dist/others/Tier.mjs"},"./others/readKek":{"types":"./dist/others/readKek.d.mts","import":"./dist/others/readKek.mjs"},"./others/sha256Hex":{"types":"./dist/others/sha256Hex.d.mts","import":"./dist/others/sha256Hex.mjs"},"./others/assertTier":{"types":"./dist/others/assertTier.d.mts","import":"./dist/others/assertTier.mjs"},"./others/loadKeygrip":{"types":"./dist/others/loadKeygrip.d.mts","import":"./dist/others/loadKeygrip.mjs"},"./others/readKeygrip":{"types":"./dist/others/readKeygrip.d.mts","import":"./dist/others/readKeygrip.mjs"},"./others/sessionKeys":{"types":"./dist/others/sessionKeys.d.mts","import":"./dist/others/sessionKeys.mjs"},"./models/MongoDB/Item":{"types":"./dist/models/MongoDB/Item.d.mts","import":"./dist/models/MongoDB/Item.mjs"},"./models/MongoDB/User":{"types":"./dist/models/MongoDB/User.d.mts","import":"./dist/models/MongoDB/User.mjs"},"./others/IRefreshData":{"types":"./dist/others/IRefreshData.d.mts","import":"./dist/others/IRefreshData.mjs"},"./others/accountScrub":{"types":"./dist/others/accountScrub.d.mts","import":"./dist/others/accountScrub.mjs"},"./others/watchKeygrip":{"types":"./dist/others/watchKeygrip.d.mts","import":"./dist/others/watchKeygrip.mjs"},"./models/MongoDB/Admin":{"types":"./dist/models/MongoDB/Admin.d.mts","import":"./dist/models/MongoDB/Admin.mjs"},"./others/retentionKeys":{"types":"./dist/others/retentionKeys.d.mts","import":"./dist/others/retentionKeys.mjs"},"./others/ITombstoneData":{"types":"./dist/others/ITombstoneData.d.mts","import":"./dist/others/ITombstoneData.mjs"},"./others/assertEnvShape":{"types":"./dist/others/assertEnvShape.d.mts","import":"./dist/others/assertEnvShape.mjs"},"./models/MongoDB/Company":{"types":"./dist/models/MongoDB/Company.d.mts","import":"./dist/models/MongoDB/Company.mjs"},"./others/adminOnlyFields":{"types":"./dist/others/adminOnlyFields.d.mts","import":"./dist/others/adminOnlyFields.mjs"},"./others/assertTurnstile":{"types":"./dist/others/assertTurnstile.d.mts","import":"./dist/others/assertTurnstile.mjs"},"./others/sessionLifetime":{"types":"./dist/others/sessionLifetime.d.mts","import":"./dist/others/sessionLifetime.mjs"},"./encryption/isCiphertext":{"types":"./dist/encryption/isCiphertext.d.mts","import":"./dist/encryption/isCiphertext.mjs"},"./others/ReuseEventAction":{"types":"./dist/others/ReuseEventAction.d.mts","import":"./dist/others/ReuseEventAction.mjs"},"./others/hashSessionToken":{"types":"./dist/others/hashSessionToken.d.mts","import":"./dist/others/hashSessionToken.mjs"},"./others/recordReuseEvent":{"types":"./dist/others/recordReuseEvent.d.mts","import":"./dist/others/recordReuseEvent.mjs"},"./others/refreshRateLimit":{"types":"./dist/others/refreshRateLimit.d.mts","import":"./dist/others/refreshRateLimit.mjs"},"./others/registrationKeys":{"types":"./dist/others/registrationKeys.d.mts","import":"./dist/others/registrationKeys.mjs"},"./others/sentryBeforeSend":{"types":"./dist/others/sentryBeforeSend.d.mts","import":"./dist/others/sentryBeforeSend.mjs"},"./models/MongoDB/ShopOwner":{"types":"./dist/models/MongoDB/ShopOwner.d.mts","import":"./dist/models/MongoDB/ShopOwner.mjs"},"./others/newSessionLineage":{"types":"./dist/others/newSessionLineage.d.mts","import":"./dist/others/newSessionLineage.mjs"},"./others/constantTimeEquals":{"types":"./dist/others/constantTimeEquals.d.mts","import":"./dist/others/constantTimeEquals.mjs"},"./others/keygripFingerprint":{"types":"./dist/others/keygripFingerprint.d.mts","import":"./dist/others/keygripFingerprint.mjs"},"./encryption/decryptDocument":{"types":"./dist/encryption/decryptDocument.d.mts","import":"./dist/encryption/decryptDocument.mjs"},"./encryption/encryptDocument":{"types":"./dist/encryption/encryptDocument.d.mts","import":"./dist/encryption/encryptDocument.mjs"},"./encryption/encryptedFields":{"types":"./dist/encryption/encryptedFields.d.mts","import":"./dist/encryption/encryptedFields.mjs"},"./encryption/fieldEncryption":{"types":"./dist/encryption/fieldEncryption.d.mts","import":"./dist/encryption/fieldEncryption.mjs"},"./encryption/wrapKeygripKeys":{"types":"./dist/encryption/wrapKeygripKeys.d.mts","import":"./dist/encryption/wrapKeygripKeys.mjs"},"./others/IKeygripKeyMaterial":{"types":"./dist/others/IKeygripKeyMaterial.d.mts","import":"./dist/others/IKeygripKeyMaterial.mjs"},"./others/revokeSessionFamily":{"types":"./dist/others/revokeSessionFamily.d.mts","import":"./dist/others/revokeSessionFamily.mjs"},"./encryption/retireKeygripKey":{"types":"./dist/encryption/retireKeygripKey.d.mts","import":"./dist/encryption/retireKeygripKey.mjs"},"./models/MongoDB/ItemCategory":{"types":"./dist/models/MongoDB/ItemCategory.d.mts","import":"./dist/models/MongoDB/ItemCategory.mjs"},"./others/Redis/IRedisDataUser":{"types":"./dist/others/Redis/IRedisDataUser.d.mts","import":"./dist/others/Redis/IRedisDataUser.mjs"},"./others/assertRedisNamespace":{"types":"./dist/others/assertRedisNamespace.d.mts","import":"./dist/others/assertRedisNamespace.mjs"},"./others/assertRefreshLineage":{"types":"./dist/others/assertRefreshLineage.d.mts","import":"./dist/others/assertRefreshLineage.mjs"},"./others/assertUnderRateLimit":{"types":"./dist/others/assertUnderRateLimit.d.mts","import":"./dist/others/assertUnderRateLimit.mjs"},"./others/authBoundaryContract":{"types":"./dist/others/authBoundaryContract.d.mts","import":"./dist/others/authBoundaryContract.mjs"},"./others/refreshSessionTokens":{"types":"./dist/others/refreshSessionTokens.d.mts","import":"./dist/others/refreshSessionTokens.mjs"},"./encryption/rotateKeygripKeys":{"types":"./dist/encryption/rotateKeygripKeys.d.mts","import":"./dist/encryption/rotateKeygripKeys.mjs"},"./encryption/unwrapKeygripKeys":{"types":"./dist/encryption/unwrapKeygripKeys.d.mts","import":"./dist/encryption/unwrapKeygripKeys.mjs"},"./others/Redis/IRedisDataAdmin":{"types":"./dist/others/Redis/IRedisDataAdmin.d.mts","import":"./dist/others/Redis/IRedisDataAdmin.mjs"},"./others/findAccountForSession":{"types":"./dist/others/findAccountForSession.d.mts","import":"./dist/others/findAccountForSession.mjs"},"./others/throwRefreshRaceRetry":{"types":"./dist/others/throwRefreshRaceRetry.d.mts","import":"./dist/others/throwRefreshRaceRetry.mjs"},"./others/checkShopOwnerApproval":{"types":"./dist/others/checkShopOwnerApproval.d.mts","import":"./dist/others/checkShopOwnerApproval.mjs"},"./others/clamSignatureFreshness":{"types":"./dist/others/clamSignatureFreshness.d.mts","import":"./dist/others/clamSignatureFreshness.mjs"},"./schema/interfaces/ILoginInput":{"types":"./dist/schema/interfaces/ILoginInput.d.mts","import":"./dist/schema/interfaces/ILoginInput.mjs"},"./encryption/EncryptionAlgorithm":{"types":"./dist/encryption/EncryptionAlgorithm.d.mts","import":"./dist/encryption/EncryptionAlgorithm.mjs"},"./encryption/setupFieldEncryption":{"types":"./dist/encryption/setupFieldEncryption.d.mts","import":"./dist/encryption/setupFieldEncryption.mjs"},"./others/assertPasswordByteLength":{"types":"./dist/others/assertPasswordByteLength.d.mts","import":"./dist/others/assertPasswordByteLength.mjs"},"./others/unpublishOwnerStorefront":{"types":"./dist/others/unpublishOwnerStorefront.d.mts","import":"./dist/others/unpublishOwnerStorefront.mjs"},"./others/Redis/IRedisDataShopOwner":{"types":"./dist/others/Redis/IRedisDataShopOwner.d.mts","import":"./dist/others/Redis/IRedisDataShopOwner.mjs"},"./others/assertHashFieldTTLSupport":{"types":"./dist/others/assertHashFieldTTLSupport.d.mts","import":"./dist/others/assertHashFieldTTLSupport.mjs"},"./others/Redis/IRedisDataUserCommon":{"types":"./dist/others/Redis/IRedisDataUserCommon.d.mts","import":"./dist/others/Redis/IRedisDataUserCommon.mjs"},"./others/Redis/IRedisDataAdminCommon":{"types":"./dist/others/Redis/IRedisDataAdminCommon.d.mts","import":"./dist/others/Redis/IRedisDataAdminCommon.mjs"},"./others/Redis/IRedisDataUserForNode":{"types":"./dist/others/Redis/IRedisDataUserForNode.d.mts","import":"./dist/others/Redis/IRedisDataUserForNode.mjs"},"./others/checkShopOwnerEmailVerified":{"types":"./dist/others/checkShopOwnerEmailVerified.d.mts","import":"./dist/others/checkShopOwnerEmailVerified.mjs"},"./others/resolveAuthorizationSession":{"types":"./dist/others/resolveAuthorizationSession.d.mts","import":"./dist/others/resolveAuthorizationSession.mjs"},"./others/revokeAllSessionsForAccount":{"types":"./dist/others/revokeAllSessionsForAccount.d.mts","import":"./dist/others/revokeAllSessionsForAccount.mjs"},"./models/MongoDBInterfaces/IUserModel":{"types":"./dist/models/MongoDBInterfaces/IUserModel.d.mts","import":"./dist/models/MongoDBInterfaces/IUserModel.mjs"},"./others/Redis/IRedisDataAdminForNode":{"types":"./dist/others/Redis/IRedisDataAdminForNode.d.mts","import":"./dist/others/Redis/IRedisDataAdminForNode.mjs"},"./others/checkUserAuthorizationDisDel":{"types":"./dist/others/checkUserAuthorizationDisDel.d.mts","import":"./dist/others/checkUserAuthorizationDisDel.mjs"},"./models/MongoDBInterfaces/IAdminEmail":{"types":"./dist/models/MongoDBInterfaces/IAdminEmail.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminEmail.mjs"},"./models/MongoDBInterfaces/IAdminModel":{"types":"./dist/models/MongoDBInterfaces/IAdminModel.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminModel.mjs"},"./models/MongoDBInterfaces/IItemSchema":{"types":"./dist/models/MongoDBInterfaces/IItemSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemSchema.mjs"},"./models/MongoDBInterfaces/IUserSchema":{"types":"./dist/models/MongoDBInterfaces/IUserSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IUserSchema.mjs"},"./models/MongoDBInterfaces/IAdminSchema":{"types":"./dist/models/MongoDBInterfaces/IAdminSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IAdminSchema.mjs"},"./models/MongoDBInterfaces/IUserAddress":{"types":"./dist/models/MongoDBInterfaces/IUserAddress.d.mts","import":"./dist/models/MongoDBInterfaces/IUserAddress.mjs"},"./others/Redis/IRedisDataShopOwnerCommon":{"types":"./dist/others/Redis/IRedisDataShopOwnerCommon.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerCommon.mjs"},"./schema/types/fragments/GraphQLItemFrag":{"types":"./dist/schema/types/fragments/GraphQLItemFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemFrag.mjs"},"./models/MongoDBInterfaces/ICompanySchema":{"types":"./dist/models/MongoDBInterfaces/ICompanySchema.d.mts","import":"./dist/models/MongoDBInterfaces/ICompanySchema.mjs"},"./others/Redis/IRedisDataShopOwnerForNode":{"types":"./dist/others/Redis/IRedisDataShopOwnerForNode.d.mts","import":"./dist/others/Redis/IRedisDataShopOwnerForNode.mjs"},"./models/MongoDBInterfaces/IShopOwnerModel":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerModel.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerModel.mjs"},"./models/MongoDBInterfaces/IShopOwnerSchema":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerSchema.mjs"},"./schema/types/fragments/GraphQLAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLAddressFrag.mjs"},"./models/MongoDBInterfaces/IUserPersonalData":{"types":"./dist/models/MongoDBInterfaces/IUserPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IUserPersonalData.mjs"},"./schema/types/fragments/GraphQLPositionFrag":{"types":"./dist/schema/types/fragments/GraphQLPositionFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLPositionFrag.mjs"},"./schema/GraphQLInput/GraphQLInputUserAddress":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserAddress.mjs"},"./models/MongoDBInterfaces/IItemCategorySchema":{"types":"./dist/models/MongoDBInterfaces/IItemCategorySchema.d.mts","import":"./dist/models/MongoDBInterfaces/IItemCategorySchema.mjs"},"./schema/types/fragments/GraphQLBaseAddressFrag":{"types":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLBaseAddressFrag.mjs"},"./schema/types/fragments/GraphQLItemCategoryFrag":{"types":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.d.mts","import":"./dist/schema/types/fragments/GraphQLItemCategoryFrag.mjs"},"./models/MongoDBInterfaces/IShopOwnerPersonalData":{"types":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.d.mts","import":"./dist/models/MongoDBInterfaces/IShopOwnerPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputUserPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputUserPersonalData.mjs"},"./schema/GraphQLInput/GraphQLInputShopOwnerPersonalData":{"types":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.d.mts","import":"./dist/schema/GraphQLInput/GraphQLInputShopOwnerPersonalData.mjs"}},"gitHead":"3cbdc1bded8b242413112176f24d97132cbce214","license":"GPL-3.0-or-later","private":false,"scripts":{"scc":"scc . --exclude-dir=node_modules,dist,.git -w --sort --directory-walker-job-workers=32 --count-as=mts:TypeScript","cloc":"cloc . --exclude-dir=node_modules,dist,.git,upload","lint":"eslint --fix . && prettier --write .","test":"vitest run","build":"yarn run build:esm","qodana":"./qodana.sh","update":"yarn upgrade-interactive --latest --network-timeout 100000","upload":"npm publish --registry=https://registry.npmjs.org/","prepare":"yarn run hooks:install && rm -rf dist && yarn run build","semgrep":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:all":"yarn test:cov && yarn test:contract && yarn test:int && yarn test:types","test:cov":"vitest run --coverage && node scripts/coverage-audit.mjs","test:int":"vitest run -c vitest.integration.config.mts","build:all":"yarn run build:cjs && yarn run build:esm","build:cjs":"yarn run tsc -p tsconfig.cjs.json && find dist/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && cp -R dist/cjs/* dist/ && rm -rf dist/cjs","build:esm":"yarn run tspc -p tsconfig.json","typecheck":"tsc -p tsconfig.test.json","lint:check":"eslint . && prettier --check .","semgrep:ci":"docker run --rm --network none -e HOME=/tmp -u \"$(id -u):$(id -g)\" -v \"$PWD\":/src -w /src semgrep/semgrep:1.172.0 semgrep scan --metrics=off --disable-version-check --scan-unknown-extensions --error --sarif --output semgrep.sarif --config semgrep/ $(find src -type f \\( -name '*.mts' -o -name '*.cts' -o -name '*.ts' -o -name '*.mjs' -o -name '*.cjs' -o -name '*.js' \\))","test:types":"vitest run -c vitest.types.config.mts","test:watch":"vitest","prepare:all":"echo 'read REAMDE' && rm -rf dist && yarn run build:all","hooks:install":"git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true","test:contract":"yarn build && vitest run -c vitest.contract.config.mts","test:mutation":"stryker run"},"version":"4.6.0","_npmUser":{"name":"gio_tdw","email":"info@thedoctorweb.com"},"homepage":"https://github.com/Axiumine/marketplace-common#readme","repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"_npmVersion":"12.0.1","description":"Marketplace common","directories":{},"maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"resolutions":{"qs":"^6.15.2"},"_nodeVersion":"24.18.0","dependencies":{"graphql-scalars":"^2.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"uuid":"^14.0.1","dotenv":"^17.2.0","eslint":"^10.8.0","vitest":"^4.1.10","graphql":"^16.11.0","mongodb":"^7.5.0","ts-node":"^10.9.2","mongoose":"^9.1.1","prettier":"^3.9.6","ts-patch":"^4.0.1","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.1.1","@sentry/node":"10.75.0","@node-rs/bcrypt":"^1.10.7","eslint-plugin-n":"^18.2.2","@eslint/eslintrc":"^3.3.5","reflect-metadata":"^0.2.2","@axiumine/koa-utils":"^7.1.0","@vitest/coverage-v8":"^4.1.10","@stryker-mutator/core":"^9.6.1","eslint-plugin-promise":"^7.2.1","eslint-config-prettier":"^10.1.8","@typescript-eslint/parser":"^8.36.0","mongodb-client-encryption":"^7.2.1","@axiumine/eslint-config-be":"^2.0.1","typescript-transform-paths":"^4.0.0","@stryker-mutator/vitest-runner":"^9.6.1","@typescript-eslint/eslint-plugin":"^8.36.0","eslint-plugin-simple-import-sort":"^14.0.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"dotenv":"*","graphql":"*","mongodb":"*","mongoose":"*","@node-rs/bcrypt":"*","reflect-metadata":"*","@axiumine/koa-utils":">=6","mongodb-client-encryption":"*"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/marketplace-common_4.6.0_1790154240926_0.8809588133293105"}}},"time":{"created":"2026-08-26T20:03:58.041Z","modified":"2026-09-23T09:04:01.234Z","1.0.0":"2026-08-26T20:03:58.399Z","1.0.1":"2026-08-27T12:02:47.403Z","2.0.0":"2026-08-27T20:37:02.744Z","2.0.1":"2026-08-28T06:41:53.576Z","2.0.2":"2026-08-28T17:15:58.488Z","2.0.3":"2026-08-28T18:46:20.792Z","3.0.0":"2026-08-30T07:48:42.901Z","3.1.0":"2026-08-30T11:35:03.107Z","4.0.0":"2026-08-31T11:11:39.554Z","4.1.0":"2026-08-31T17:58:45.325Z","4.2.0":"2026-08-31T20:07:40.659Z","4.2.1":"2026-08-31T20:43:21.538Z","4.3.0":"2026-09-06T12:47:33.899Z","4.4.0":"2026-09-20T09:08:14.193Z","4.5.0":"2026-09-21T14:48:15.133Z","4.6.0":"2026-09-23T09:04:01.028Z"},"bugs":{"url":"https://github.com/Axiumine/marketplace-common/issues"},"author":{"url":"https://giovannimanzoni.com","name":"Giovanni Manzoni","email":"dev@giovannimanzoni.com"},"license":"GPL-3.0-or-later","homepage":"https://github.com/Axiumine/marketplace-common#readme","repository":{"url":"git+https://github.com/Axiumine/marketplace-common.git","type":"git"},"description":"Marketplace common","maintainers":[{"name":"gio_tdw","email":"info@thedoctorweb.com"}],"readme":"# @axiumine/marketplace-common\n\n[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/Axiumine/marketplace-common/badge)](https://scorecard.dev/viewer/?uri=github.com/Axiumine/marketplace-common)\n\n> ⚠️ **Work in progress — this software is not tested yet.** It has never run outside a developer\n> workstation: no real deployment, no load test, no security review, no upgrade path. Parts of the\n> platform are deliberately unbuilt, and anything here — schemas, endpoints, configuration, file\n> layout — can still change without notice. Whatever automated gates this repo runs, treat the result\n> as unproven: do not point it at real users or real data.\n> Read [`docs/PRODUCTION_HARDENING.md`](https://github.com/Axiumine/fullstack-marketplace-blueprint/blob/main/docs/PRODUCTION_HARDENING.md) before taking any of it further.\n\nShared building blocks for the [Marketplace platform](https://github.com/Axiumine/fullstack-marketplace-blueprint) —\nMongoose models, GraphQL field fragments, Redis session DTOs and the authorization helpers its nine backend services\nhave in common. It is a library, not a service: nothing here listens on a port.\n\n```bash\nyarn add @axiumine/marketplace-common\n```\n\nNode `^24.18.0`, ESM only.\n\n## What is in it\n\n| Area | Path | Contents |\n|---|---|---|\n| Models | `models/MongoDB/*` | `Admin`, `ShopOwner`, `Company`, `User`, `Item`, `ItemCategory` — six Mongoose models against six collections |\n| Interfaces | `models/MongoDBInterfaces/*` | `IXxxModel` (a `Document`, with methods) and `IXxxSchema` (the plain data shape), split per model |\n| GraphQL | `schema/types/fragments/*`, `schema/GraphQLInput/*` | field-config objects meant to be **spread** into a consumer's own `GraphQLObjectType` — not standalone types |\n| Redis DTOs | `others/Redis/*` | `IRedisData…Common` → `…ForNode` / `IRedisData…`, the session payload shapes |\n| Auth helpers | `others/*` | `resolveAuthorizationSession`, `findAccountForSession`, `refreshSessionTokens`, `assertTier`, `checkUserAuthorizationDisDel`, `assertTurnstile`, `assertUnderRateLimit`, `sha256Hex`, `constantTimeEquals`, `TIER` |\n| Session keys | `others/sessionKeys`, `others/hashSessionToken` | `sessionKey` — the one shape a session key has — plus the `readSessionHash`, `readSessionField` and `deleteSession` helpers every service builds a Redis session key through, never a template literal of its own |\n\n## Importing\n\n⚠️ **There is no root entry, deliberately.** No barrel exists and none is wanted, so\n`import x from '@axiumine/marketplace-common'` throws `ERR_PACKAGE_PATH_NOT_EXPORTED`. Import the subpath you need:\n\n```ts\nimport { ShopOwner } from '@axiumine/marketplace-common/models/MongoDB/ShopOwner';\nimport { TIER } from '@axiumine/marketplace-common/others/Tier';\nimport { assertTier } from '@axiumine/marketplace-common/others/assertTier';\n```\n\nThe `exports` map is exhaustive and enumerates every importable path; a file compiled into `dist/` but missing from\nthat map is not reachable.\n\n## Peer dependencies\n\nProvided by the consuming service, not bundled: `mongoose`, `graphql`, `@node-rs/bcrypt`, `@axiumine/koa-utils`,\n`reflect-metadata`, `dotenv`. Auth and error helpers throw through `@axiumine/koa-utils`.\n\nThe Redis client is a **parameter**, never an import — `ISessionReadStore` / `ISessionWriteStore` declare the four\ncommands used and nothing more, so importing a Mongoose model from here does not make a Redis install a precondition.\n\n## Design notes worth knowing before you extend it\n\n- **A company *is* a shop.** There is no `shop` model and there will not be one; the chain is\n  `shopOwner ──idShopOwner──> company ──idCompany──> item`.\n- **The catalogue is domain-neutral.** `Item` and `ItemCategory` presume nothing about what is sold. `Item` carries no\n  `price` and never will — cart, order, delivery and payment are permanently out of scope on this platform (ADR-038,\n  2026-08-27), so a price would be a guess at a currency, a precision, a VAT treatment and a discount model at once,\n  with nothing that will ever resolve it.\n- **Role is which collection you authenticate against**, not a field. There is no `role` and no permission enum\n  anywhere; each tier has its own collection, its own service pair and its own `tier` value in the session, and\n  `assertTier` is what refuses a foreign-tier token — with a 403, and treating a missing `tier` as invalid rather than\n  as a wildcard.\n- **`ItemCategory` is capped at two levels**, and that cap lives in the Admin resource service's resolvers — a Mongoose\n  path and a MongoDB validator each see exactly one document, and \"my parent must itself be top-level\" needs two.\n  `idParent` looking unconstrained here is not permission for a third level.\n\n## Development\n\n```bash\nyarn build          # ESM build (tspc → dist/, one step, no post-processing)\nyarn typecheck      # tsc over src/, test/ and the vitest configs, no emit\nyarn lint:check     # eslint, then prettier --check\nyarn test:cov       # unit tests, 100% required on every metric\nyarn test:contract  # exports-map integrity against a fresh dist/\nyarn test:int       # against a real MongoDB (MONGO_TEST_* env block)\nyarn test:types     # expectTypeOf compile-time contracts\nyarn test:mutation  # Stryker, break threshold 100\n```\n\nCoverage and mutation are both gated at 100 and are enforced by git hooks. Never lower a threshold to get a commit\nthrough — add the missing assertion.\n\n## License\n\nGPL-3.0-or-later — see [LICENSE](./LICENSE).\n","readmeFilename":"README.md"}