@abgov/adsp-sdk-mcp-server 1.32.1 → 1.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"openapi":"3.0.0","info":{"title":"Verify service","version":"1.0.0","description":"The Verify service generates random codes that expire in 10 mins and provides verification of such codes. Codes can be used to verify that a user has access to a particular email address or SMS number."},"paths":{"/verify/v1/codes/{key}":{"post":{"tags":["Verify"],"description":"Generates a new code at a key, or verifies a code against the code at a key.\n\nWithout a `code` in the body, the operation generates a new random code at the key, replacing any existing code there, and requires the code-generator role. With a `code` in the body, the operation verifies it and requires the code-verifier role. Each failed verification is counted, and the code at the key is cleared after 10 failures; generate a new code at the key to continue.\n\nCodes are isolated by tenant. Tenant users and service accounts generate and verify codes in the tenant of their token, and core (platform) users with the role in the core realm use a separate core namespace. A code generated in one tenant can't be verified from another; the verification responds 200 with `verified: false`. Core users can set the `tenantId` query parameter to the tenant that audit records of the operation are attributed to; it doesn't change the core namespace of the code.\n\nOperations are recorded in the audit service under the verify-service namespace, with the key but never the code.\n","parameters":[{"name":"key","description":"Key for the code to generate or verify, for example an identifier of the email address or SMS number being verified. Unique within the tenant.\n","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":50,"example":"email-test.user@gov.ab.ca"}},{"name":"expireIn","description":"Number of minutes the generated code is valid for. Defaults to 10. Only used when generating a code; ignored when verifying.\n","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":10,"example":15}},{"name":"tenantId","description":"Tenant that audit records of the operation are attributed to, for core (platform) users acting on behalf of a tenant. Ignored for tenant users, whose records are attributed to the tenant of their token. Codes of core users are stored in the core namespace regardless of this parameter.\n","in":"query","required":false,"schema":{"type":"string","example":"urn:ads:platform:tenant-service:v2:/tenants/61f2e3a8c9b1d2e3f4a5b6c7"}}],"requestBody":{"required":false,"description":"Omit the body, or the code, to generate a code. Include a
|
|
1
|
+
{"openapi":"3.0.0","info":{"title":"Verify service","version":"1.0.0","description":"The Verify service generates random codes that expire in 10 mins and provides verification of such codes. Codes can be used to verify that a user has access to a particular email address or SMS number."},"paths":{"/verify/v1/codes/{key}":{"post":{"tags":["Verify"],"description":"Generates a new code at a key, or verifies a code against the code at a key.\n\nWithout a `code` in the body, the operation generates a new random code at the key, replacing any existing code there, and requires the code-generator role. With a `code` in the body, the operation verifies it and requires the code-verifier role. Each failed verification is counted, and the code at the key is cleared after 10 failures; generate a new code at the key to continue.\n\nCodes are isolated by tenant. Tenant users and service accounts generate and verify codes in the tenant of their token, and core (platform) users with the role in the core realm use a separate core namespace. A code generated in one tenant can't be verified from another; the verification responds 200 with `verified: false`. Core users can set the `tenantId` query parameter to the tenant that audit records of the operation are attributed to; it doesn't change the core namespace of the code.\n\nOperations are recorded in the audit service under the verify-service namespace, with the key but never the code.\n","parameters":[{"name":"key","description":"Key for the code to generate or verify, for example an identifier of the email address or SMS number being verified. Unique within the tenant.\n","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":50,"example":"email-test.user@gov.ab.ca"}},{"name":"expireIn","description":"Number of minutes the generated code is valid for. Defaults to 10. Only used when generating a code; ignored when verifying.\n","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":10,"example":15}},{"name":"tenantId","description":"Tenant that audit records of the operation are attributed to, for core (platform) users acting on behalf of a tenant. Ignored for tenant users, whose records are attributed to the tenant of their token. Codes of core users are stored in the core namespace regardless of this parameter.\n","in":"query","required":false,"schema":{"type":"string","example":"urn:ads:platform:tenant-service:v2:/tenants/61f2e3a8c9b1d2e3f4a5b6c7"}}],"requestBody":{"required":false,"description":"Omit the body, or the code, to generate a code. Include a code to verify it; an empty code fails verification.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Code to verify against the code at the key. Required to verify a code."}}},"examples":{"generate":{"summary":"Generate a code","value":{}},"verify":{"summary":"Verify a code","value":{"code":"CF4HKR"}}}}}},"responses":{"200":{"description":"Code generated, with the generated code in the response; or code verified, with the result of the verification in the response.\n","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GeneratedCode"},{"$ref":"#/components/schemas/VerifyResult"}]},"examples":{"generated":{"summary":"Generated code","value":{"key":"email-test.user@gov.ab.ca","code":"CF4HKR","expiresAt":"2026-10-01T15:14:05.000Z"}},"verified":{"summary":"Verification result","value":{"verified":true}}}}}},"400":{"$ref":"#/components/responses/VerifyBadRequest"},"401":{"$ref":"#/components/responses/VerifyUnauthorized"},"403":{"$ref":"#/components/responses/VerifyForbidden"}}}}},"components":{"securitySchemes":{"accessToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"VerifyBadRequest":{"description":"Request is invalid, for example the key is longer than 50 characters, expireIn is not a positive integer, code is not a string, a core user's tenantId is not a tenant ID, or the body is not valid JSON.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyError"},"example":{"errorMessage":"Validation failed with error(s): expireIn (query) - Invalid value"}}}},"VerifyForbidden":{"description":"User does not have the role required for the operation: code-generator to generate a code, or code-verifier to verify a code.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyError"},"example":{"errorMessage":"User Test Service Account (ID: 3f2b8c1e-5d4a-4f6b-9c7e-1a2b3c4d5e6f) not permitted to verify code."}}}},"VerifyUnauthorized":{"description":"Request does not include a valid bearer token from the core realm or a tenant realm.","content":{"text/plain":{"schema":{"type":"string"},"example":"Unauthorized"}}}},"schemas":{"GeneratedCode":{"type":"object","properties":{"key":{"type":"string","description":"Key the code was generated at, as given in the path.","readOnly":true},"code":{"type":"string","description":"Random 6 character code, using characters that are easy to tell apart.","readOnly":true},"expiresAt":{"type":"string","format":"date-time","description":"Time after which the code is cleared and can no longer be verified.","readOnly":true}},"required":["key","code","expiresAt"],"example":{"key":"email-test.user@gov.ab.ca","code":"CF4HKR","expiresAt":"2026-10-01T15:14:05.000Z"}},"VerifyError":{"type":"object","properties":{"errorMessage":{"type":"string"}}},"VerifyResult":{"type":"object","properties":{"verified":{"type":"boolean","description":"True if the code matches the code at the key. False if it doesn't match, or if there is no code at the key because it expired, was never generated, or was cleared after 10 failed verifications.\n","readOnly":true}},"required":["verified"],"example":{"verified":true}}}},"security":[{"accessToken":[]}],"tags":[{"name":"Verify","description":"API to generate and verify time limited codes."}]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/adsp-sdk-mcp-server",
|
|
3
|
-
"version": "1.32.
|
|
3
|
+
"version": "1.32.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Government of Alberta - MCP server for ADSP documentation and Node SDK reference lookup.",
|
|
6
6
|
"repository": "https://github.com/GovAlta/adsp-monorepo",
|
package/provenance.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"kind": "release",
|
|
3
|
-
"builtAt": "2026-11-16T21:
|
|
4
|
-
"sourceCommit": "
|
|
5
|
-
"latestRelease": "1.32.
|
|
3
|
+
"builtAt": "2026-11-16T21:42:52.755Z",
|
|
4
|
+
"sourceCommit": "a505637edb60957de8d587bdc1d022ccd7c1c060",
|
|
5
|
+
"latestRelease": "1.32.1",
|
|
6
6
|
"docsCommit": "f5ec796791f7d2f031ce8973881d8511d04ea92b",
|
|
7
7
|
"sdk": {
|
|
8
8
|
"version": "2.36.1",
|