{"_id":"@cacic-fct/account-manager-m2m-contracts","_rev":"8-15c5999a3a270085ea619ebc526ffa19","name":"@cacic-fct/account-manager-m2m-contracts","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@cacic-fct/account-manager-m2m-contracts","version":"0.1.0","license":"AGPL-3.0-only","_id":"@cacic-fct/account-manager-m2m-contracts@0.1.0","maintainers":[{"name":"renanyudi","email":"renanyaguinuma@hotmail.com"}],"dist":{"shasum":"c9c41a67943ccbb6e9f757da3824269dd727bea0","tarball":"https://registry.npmjs.org/@cacic-fct/account-manager-m2m-contracts/-/account-manager-m2m-contracts-0.1.0.tgz","fileCount":8,"integrity":"sha512-WetpuCAidV0kj9NbXRPnfsrEB2spYcS/lv+MtuCiYu3iiVmCj2OgNTL8fhUE7rU+5xa8O7JmEaFNbhgLvgnh1g==","signatures":[{"sig":"MEUCIQCv0zFjVUBN4bB1bpleRsBer60wx6mzjM6B1b6rb3u0+QIgdPs0ZVbxZQz2yf4SEByUGKT6tQgJG4Y7fmcG6980uQ4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10750},"main":"./index.js","type":"commonjs","types":"./index.d.ts","shasum":"c9c41a67943ccbb6e9f757da3824269dd727bea0","exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"_npmUser":{"name":"renanyudi","email":"renanyaguinuma@hotmail.com"},"_integrity":"sha512-WetpuCAidV0kj9NbXRPnfsrEB2spYcS/lv+MtuCiYu3iiVmCj2OgNTL8fhUE7rU+5xa8O7JmEaFNbhgLvgnh1g==","repository":{"url":"git+https://github.com/cacic-fct/account-manager.git","type":"git","directory":"libs/m2m-contracts"},"_npmVersion":"10.8.3","description":"Framework-agnostic CACiC Account Manager M2M API contracts.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/account-manager-m2m-contracts_0.1.0_1782332697985_0.09921469558428875","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@cacic-fct/account-manager-m2m-contracts","version":"0.1.1","license":"AGPL-3.0-only","_id":"@cacic-fct/account-manager-m2m-contracts@0.1.1","maintainers":[{"name":"renanyudi","email":"renanyaguinuma@hotmail.com"}],"homepage":"https://github.com/cacic-fct/account-manager#readme","bugs":{"url":"https://github.com/cacic-fct/account-manager/issues"},"dist":{"shasum":"118a708c60242e8670fb87285340bacaffb648a1","tarball":"https://registry.npmjs.org/@cacic-fct/account-manager-m2m-contracts/-/account-manager-m2m-contracts-0.1.1.tgz","fileCount":8,"integrity":"sha512-SIdm6j4wMO1PiW1pwG2RDm0n6//dgBMWb+Oiwk6KREaqlfFGHJqzrsAFZs7tHD09CU44wYJAb4BxCXozAYH3LA==","signatures":[{"sig":"MEUCIDiGTLZVhypQrJQ/eQW0otW+zlCH7p8N8nKoUAg59troAiEAm9elpZfdJgV7Qcxrc5TfulWaUYSS/rJwUDoe4lYIcmo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cacic-fct%2faccount-manager-m2m-contracts@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17573},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"gitHead":"94b2a29cae741384b597063222c765f8d5deb541","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7a865256-1aaa-4fd9-a3fa-5443a67cbf62"}},"repository":{"url":"git+https://github.com/cacic-fct/account-manager.git","type":"git","directory":"libs/m2m-contracts"},"_npmVersion":"11.17.0","description":"Framework-agnostic CACiC Account Manager M2M API contracts.","directories":{},"sideEffects":false,"_nodeVersion":"26.4.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/account-manager-m2m-contracts_0.1.1_1782423131139_0.5949547186358384","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@cacic-fct/account-manager-m2m-contracts","version":"0.1.2","license":"AGPL-3.0-only","_id":"@cacic-fct/account-manager-m2m-contracts@0.1.2","maintainers":[{"name":"renanyudi","email":"renanyaguinuma@hotmail.com"}],"homepage":"https://github.com/cacic-fct/account-manager#readme","bugs":{"url":"https://github.com/cacic-fct/account-manager/issues"},"dist":{"shasum":"f23b742e277ba079153328bc13f9eaf89662e47a","tarball":"https://registry.npmjs.org/@cacic-fct/account-manager-m2m-contracts/-/account-manager-m2m-contracts-0.1.2.tgz","fileCount":8,"integrity":"sha512-vCIT2NsuhFs7ja4g0Pfyv4Zkk7keYBRiFZSYbAts2gHi4OT8AZM5h6mHcD02XRVnnI8i7Uhxzfn8pTLYiV1yfQ==","signatures":[{"sig":"MEYCIQCY7DUAoHoxSRsjlIDcRCw/sEHKgUNEuzmt3QA55+QFaQIhAK+ZLwCASz0jT7xRbod9AB1xe+VCAvBmZDHNWgXJ7CAB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cacic-fct%2faccount-manager-m2m-contracts@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27719},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"gitHead":"8535ec767339fbaa0e68ea6a8412e5312e54af8c","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7a865256-1aaa-4fd9-a3fa-5443a67cbf62"}},"repository":{"url":"git+https://github.com/cacic-fct/account-manager.git","type":"git","directory":"libs/m2m-contracts"},"_npmVersion":"11.17.0","description":"Framework-agnostic CACiC Account Manager M2M API contracts.","directories":{},"sideEffects":false,"_nodeVersion":"26.4.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/account-manager-m2m-contracts_0.1.2_1782524051159_0.24117260912275706","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@cacic-fct/account-manager-m2m-contracts","version":"0.1.3","license":"AGPL-3.0-only","_id":"@cacic-fct/account-manager-m2m-contracts@0.1.3","maintainers":[{"name":"renanyudi","email":"renanyaguinuma@hotmail.com"}],"homepage":"https://github.com/cacic-fct/account-manager#readme","bugs":{"url":"https://github.com/cacic-fct/account-manager/issues"},"dist":{"shasum":"6b8cf123cd6a03fe3d4810f493e403f54c39594a","tarball":"https://registry.npmjs.org/@cacic-fct/account-manager-m2m-contracts/-/account-manager-m2m-contracts-0.1.3.tgz","fileCount":9,"integrity":"sha512-2/eStdi3I1IeNB7wWa82EGiWSFk9JXvF9IdZzIngoqcr2WeOuLkylkxPpfkTMnCMJsUFHQ6GDxj76/jrO+eP5g==","signatures":[{"sig":"MEYCIQDh/JmtFMFWhm94t76oaZUq/BJgznV0HgxPGErHHUrw8wIhAOLeAd+5cOqABCERXM//FYJl5yrkWSTACjseh+0Y8zrF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cacic-fct%2faccount-manager-m2m-contracts@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":29975},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./proto/cacic/m2m/account_manager/v1.proto":"./proto/cacic/m2m/account_manager/v1.proto"},"gitHead":"2b58f14203d45755decf64a188c712cc53890001","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7a865256-1aaa-4fd9-a3fa-5443a67cbf62"}},"repository":{"url":"git+https://github.com/cacic-fct/account-manager.git","type":"git","directory":"libs/m2m-contracts"},"_npmVersion":"11.17.0","description":"Framework-agnostic CACiC Account Manager M2M API contracts.","directories":{},"sideEffects":false,"_nodeVersion":"26.5.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/account-manager-m2m-contracts_0.1.3_1785115154242_0.015437702794972807","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@cacic-fct/account-manager-m2m-contracts","version":"0.1.4","license":"AGPL-3.0-only","_id":"@cacic-fct/account-manager-m2m-contracts@0.1.4","maintainers":[{"name":"renanyudi","email":"renanyaguinuma@hotmail.com"}],"homepage":"https://github.com/cacic-fct/account-manager#readme","bugs":{"url":"https://github.com/cacic-fct/account-manager/issues"},"dist":{"shasum":"a27b966abec5209f26de4cb674a7fd274c2afbe7","tarball":"https://registry.npmjs.org/@cacic-fct/account-manager-m2m-contracts/-/account-manager-m2m-contracts-0.1.4.tgz","fileCount":9,"integrity":"sha512-6xnZi9y1nCR8B88ORwgNXzFbyJW90Lh+W6X58JUqHXFPTpMjLt+zkeLb4mNFU1LTMfFGB4rtt3Qiy9Q9rjv9lA==","signatures":[{"sig":"MEQCIBn3zwva4oYzqFhLTtNlC9Ks0lMtmqi3E0dESf3wS415AiANMRseA7tpcKWELordJctBCM+uHWR9YaRpGH32ZWCuFQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cacic-fct%2faccount-manager-m2m-contracts@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":29972},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./proto/cacic/m2m/account_manager/v1.proto":"./proto/cacic/m2m/account_manager/v1.proto"},"gitHead":"7a217b8fb65893858584311fadfe639a14584573","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7a865256-1aaa-4fd9-a3fa-5443a67cbf62"}},"repository":{"url":"git+https://github.com/cacic-fct/account-manager.git","type":"git","directory":"libs/m2m-contracts"},"_npmVersion":"11.19.0","description":"Framework-agnostic CACiC Account Manager M2M API contracts.","directories":{},"sideEffects":false,"_nodeVersion":"26.7.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/account-manager-m2m-contracts_0.1.4_1786554611356_0.9411896519712295","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@cacic-fct/account-manager-m2m-contracts","version":"0.1.5","license":"AGPL-3.0-only","_id":"@cacic-fct/account-manager-m2m-contracts@0.1.5","maintainers":[{"name":"renanyudi","email":"renanyaguinuma@hotmail.com"}],"homepage":"https://github.com/cacic-fct/account-manager#readme","bugs":{"url":"https://github.com/cacic-fct/account-manager/issues"},"dist":{"shasum":"696de41b0806f81e40d1093bfaa23dedd649db81","tarball":"https://registry.npmjs.org/@cacic-fct/account-manager-m2m-contracts/-/account-manager-m2m-contracts-0.1.5.tgz","fileCount":9,"integrity":"sha512-gbjMETOqBVVHvpu4BcoqEFXfQU9RsCNgc0m+cCYnjpynYZgHZXsGsEvIK9GCgSWLih1UUYBORJuFGZXxccEL1w==","signatures":[{"sig":"MEUCICq6MI2ynRhsMGBV4b/lVconu2Wlxam5QkmiMYlxQgcdAiEAkq0LBYLr4C6YM2xa858WBvxPJgDxIr37NCwdl1ggVCI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cacic-fct%2faccount-manager-m2m-contracts@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30408},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./proto/cacic/m2m/account_manager/v1.proto":"./proto/cacic/m2m/account_manager/v1.proto"},"gitHead":"1c725a737bde79ff1162e332827022b9a1ce6946","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7a865256-1aaa-4fd9-a3fa-5443a67cbf62"}},"repository":{"url":"git+https://github.com/cacic-fct/account-manager.git","type":"git","directory":"libs/m2m-contracts"},"_npmVersion":"11.19.0","description":"Framework-agnostic CACiC Account Manager M2M API contracts.","directories":{},"sideEffects":false,"_nodeVersion":"26.7.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/account-manager-m2m-contracts_0.1.5_1787234051500_0.7425298496920276","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@cacic-fct/account-manager-m2m-contracts","version":"0.2.0","license":"AGPL-3.0-only","_id":"@cacic-fct/account-manager-m2m-contracts@0.2.0","maintainers":[{"name":"renanyudi","email":"renanyaguinuma@hotmail.com"}],"homepage":"https://github.com/cacic-fct/account-manager#readme","bugs":{"url":"https://github.com/cacic-fct/account-manager/issues"},"dist":{"shasum":"1e370f1e75e5ba8f6038786d08027afe71daea67","tarball":"https://registry.npmjs.org/@cacic-fct/account-manager-m2m-contracts/-/account-manager-m2m-contracts-0.2.0.tgz","fileCount":9,"integrity":"sha512-RXilPadSIgHkbdFNjg/DSfifno2i7ZnsFTW4jLIcbQyAQ8DtqhP2vjwe8Fmo9+Kymook+A9TwdCXogkSw5xypA==","signatures":[{"sig":"MEUCIGrx5AnYRHYAYE5C1EiAZUg3z6o/TcvsIz6fI5tb11jRAiEAjz27QOA+e9jilol80rtBrYwIJnlSUnLbxeemJ68Sg0A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIHySNQKQoHtdKHY/+BtE694YUvUNdpDanz53D+yb36q7AiEAg+Sqg8CDVCtyjrDxAvb2odZqH0/mfAUU8SP4aUQWlhU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cacic-fct%2faccount-manager-m2m-contracts@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25572},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./proto/cacic/m2m/account_manager/v1.proto":"./proto/cacic/m2m/account_manager/v1.proto"},"gitHead":"47c2826ade4f68fc3d8ed00d2b70cb724ae47747","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7a865256-1aaa-4fd9-a3fa-5443a67cbf62"}},"repository":{"url":"git+https://github.com/cacic-fct/account-manager.git","type":"git","directory":"libs/m2m-contracts"},"_npmVersion":"11.19.0","description":"Framework-agnostic CACiC Account Manager gRPC contracts.","directories":{},"sideEffects":false,"_nodeVersion":"26.8.1","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/account-manager-m2m-contracts_0.2.0_1788838200106_0.40608847853628904","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"_id":"@cacic-fct/account-manager-m2m-contracts@0.2.1","bugs":{"url":"https://github.com/cacic-fct/account-manager/issues"},"dist":{"shasum":"cc3c80aa912d2911afd6a6493eb6f01857b7440c","tarball":"https://registry.npmjs.org/@cacic-fct/account-manager-m2m-contracts/-/account-manager-m2m-contracts-0.2.1.tgz","fileCount":16,"integrity":"sha512-9nwFWcxkbhjwI05uHeWwOkN8WMjU8tIVg6Z1004r0+n7B7SNZtMMs2o9U3U3RlTK+I94xPoZPu2YLnqo9CxYNA==","signatures":[{"sig":"MEQCIAIS9uduwyoE/u4Fr6ZxSHq9aC7XEkWQp+uRFXJknfcpAiAPHmjcg1lVnV3oFohF5T8yjXjPA7WUQDaAoihv5F9j9A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDADLXX9xNvx7IpHhwcVjixGqcUuKB+PIg+Vhfd0I0sOAiBPphpI8EYW72JdKw7zirM4t0FyjBeQDJ1LaOoUjzO4Sw=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cacic-fct%2faccount-manager-m2m-contracts@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":44882},"main":"./cjs/index.js","name":"@cacic-fct/account-manager-m2m-contracts","type":"module","types":"./index.d.ts","exports":{".":{"import":{"types":"./index.d.ts","default":"./index.js"},"default":"./index.js","require":{"types":"./cjs/index.d.ts","default":"./cjs/index.js"}},"./proto/cacic/m2m/account_manager/v1.proto":"./proto/cacic/m2m/account_manager/v1.proto"},"gitHead":"8424767703e617d5f6345f545e73d6f8c098805f","license":"AGPL-3.0-only","version":"0.2.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7a865256-1aaa-4fd9-a3fa-5443a67cbf62"}},"homepage":"https://github.com/cacic-fct/account-manager#readme","repository":{"url":"git+https://github.com/cacic-fct/account-manager.git","type":"git","directory":"libs/m2m-contracts"},"_npmVersion":"11.19.1","description":"Framework-agnostic CACiC Account Manager gRPC contracts.","directories":{},"maintainers":[{"name":"renanyudi","email":"renanyaguinuma@hotmail.com"}],"sideEffects":false,"_nodeVersion":"26.10.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/account-manager-m2m-contracts_0.2.1_1791065741813_0.5176953121654226"}}},"time":{"created":"2026-06-24T20:24:57.786Z","modified":"2026-10-03T22:15:42.204Z","0.1.0":"2026-06-24T20:24:58.127Z","0.1.1":"2026-06-25T21:32:11.308Z","0.1.2":"2026-06-27T01:34:11.297Z","0.1.3":"2026-07-27T01:19:14.401Z","0.1.4":"2026-08-12T17:10:11.505Z","0.1.5":"2026-08-20T13:54:11.672Z","0.2.0":"2026-09-08T03:30:00.193Z","0.2.1":"2026-10-03T22:15:41.904Z"},"bugs":{"url":"https://github.com/cacic-fct/account-manager/issues"},"license":"AGPL-3.0-only","homepage":"https://github.com/cacic-fct/account-manager#readme","repository":{"url":"git+https://github.com/cacic-fct/account-manager.git","type":"git","directory":"libs/m2m-contracts"},"description":"Framework-agnostic CACiC Account Manager gRPC contracts.","maintainers":[{"name":"renanyudi","email":"renanyaguinuma@hotmail.com"}],"readme":"# @cacic-fct/account-manager-m2m-contracts\n\nFramework-agnostic contracts for CACiC Account Manager machine-to-machine APIs.\n\nThe package exports the canonical gRPC contract, privacy setting keys, M2M role names,\nrequest/response types, privacy directive constants, PURR-style header\nand cookie names, and shared CACiC analytics tracking cookie names used by\nAccount Manager.\n\n## Install\n\nInstall from the public npm registry with Bun:\n\n```bash\nbun add @cacic-fct/account-manager-m2m-contracts\n```\n\n## Use\n\nNew machine-to-machine integrations should load\n`proto/cacic/m2m/account_manager/v1.proto`, use the `AccountManagerM2M` service,\nand send a Keycloak service-account bearer token in gRPC metadata.\n\nBrowser-facing privacy and analytics integrations remain REST-based through\n`CACIC_TRACKING_ROUTES` and the authenticated `/api/privacy/*` endpoints; they\nare separate from the privileged M2M transport.\n\n```ts\nimport {\n  M2M_PRIVACY_ROLES,\n  M2M_USER_ROLES,\n  CACIC_TRACKING_ROUTES,\n  PRIVACY_SETTING_TYPES,\n} from '@cacic-fct/account-manager-m2m-contracts';\n\nconst trackingRefreshUrl = CACIC_TRACKING_ROUTES.session;\nconst privacyReadRole = M2M_PRIVACY_ROLES.READ;\nconst userLookupRole = M2M_USER_ROLES.READ;\nconst analyticsSetting = PRIVACY_SETTING_TYPES.ANALYTICS_TRACKING;\n```\n\n## Building\n\nRun `bunx nx build m2m-contracts` to build the library.\n\nThe built package also includes the canonical\n`proto/cacic/m2m/account_manager/v1.proto` gRPC contract. Runtime services should use\nthat contract over an internal, scoped network and continue sending Keycloak\nservice-account tokens in gRPC metadata.\n\n## Publishing\n\nThis package has an independent release cycle. Bump this package's own\n`version` before merging changes that should be published.\n\nRun `bun run publish:m2m-contracts` from the repository root when publishing\nmanually. The CI workflow publishes this package to npm through Trusted\nPublishing.\n","readmeFilename":"README.md"}