@noresponse/mcp 0.12.1 → 0.13.1
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.
- package/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/bin/mcp-server.js +99 -43
- package/bin/mcp-server.js.map +49 -45
- package/manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ The server uses the API key you give it and stores nothing. API key rotation and
|
|
|
16
16
|
| `query_assessments` | Page through one account's unexpired assessments, newest first. | `POST /v1/assessments/query` |
|
|
17
17
|
| `get_account` | Read an account's one current risk: the score, a decision (`allow`, `step_up`, `review`, `block`, or `held` while a held flow waits) for each flow, and the assessment it comes from. Needs the `history` scope. | `GET /v1/accounts/{account_id}` |
|
|
18
18
|
| `list_account_assessments` | Page through one account's unexpired assessments, newest first, with the account id in the URL. Needs the `history` scope. | `GET /v1/accounts/{account_id}/assessments` |
|
|
19
|
-
| `list_linked_accounts` | List the other accounts in this environment that submitted an email, phone or username this account submitted, with both submitted witnesses. Needs `history`, or `investigate` with `evidence`. | `GET /v1/accounts/{account_id}/
|
|
19
|
+
| `list_linked_accounts` | List the other accounts in this environment that submitted an email, phone or username this account submitted, with both submitted witnesses. Needs `history`, or `investigate` with `evidence`. | `GET /v1/accounts/{account_id}/links` |
|
|
20
20
|
| `list_changed_accounts` | List the accounts whose risk changed, oldest change first; pass `next_cursor` back as `changed_since` to poll, and `unenforced` true for only the accounts that need action. Needs the `history` scope. | `GET /v1/accounts` |
|
|
21
21
|
| `record_enforcement` | Record what you did to an account in your identity provider for one flow at one `risk_version`, applied or failed. A repeat answers the stored record. Needs the `history` scope. | `POST /v1/accounts/{account_id}/enforcements` |
|
|
22
22
|
| `delete_assessment` | Delete one assessment in the key's environment, with its evidence and outcomes, and score its account again. The answer names the assessment the account's risk now comes from. A repeat answers 404. Needs the `delete` scope; marked destructive. | `DELETE /v1/assessments/{assessment_id}` |
|
package/bin/mcp-server.js
CHANGED
|
@@ -48136,9 +48136,9 @@ var init_config = __esm(() => {
|
|
|
48136
48136
|
SDK_METADATA = {
|
|
48137
48137
|
language: "typescript",
|
|
48138
48138
|
openapiDocVersion: "1",
|
|
48139
|
-
sdkVersion: "0.
|
|
48139
|
+
sdkVersion: "0.13.1",
|
|
48140
48140
|
genVersion: "internal",
|
|
48141
|
-
userAgent: "noresponse-sdk/mcp-typescript 0.
|
|
48141
|
+
userAgent: "noresponse-sdk/mcp-typescript 0.13.1 internal 1 @noresponse/mcp"
|
|
48142
48142
|
};
|
|
48143
48143
|
});
|
|
48144
48144
|
|
|
@@ -50454,7 +50454,7 @@ var init_account = __esm(() => {
|
|
|
50454
50454
|
risk_version: int().describe("The version of the account's current risk. It increases every time the account's current risk or decisions_by_flow changes, and does not decrease. Of two copies of an account, the one with the higher risk_version is newer. account.risk_changed carries the risk_version that its change made."),
|
|
50455
50455
|
schema_version: literal("1").default("1").optional().describe("Version of the body shape."),
|
|
50456
50456
|
updated_at: string2().describe("updated_at of that assessment's latest revision.")
|
|
50457
|
-
}).describe("Body of the 200 answer to GET /v1/accounts/{account_id}: the one current risk of one of the calling workspace's accounts. It is the risk of the account's latest assessment that has a decision (status complete or partial), by created_at and then assessment_id, scored exactly as GET /v1/assessments/{assessment_id} scores that assessment, plus the account's own reason shared_api_key when a key issued to the account was used from many IP addresses or countries (POST /v1/
|
|
50457
|
+
}).describe("Body of the 200 answer to GET /v1/accounts/{account_id}: the one current risk of one of the calling workspace's accounts. It is the risk of the account's latest assessment that has a decision (status complete or partial), by created_at and then assessment_id, scored exactly as GET /v1/assessments/{assessment_id} scores that assessment, plus the account's own reason shared_api_key when a key issued to the account was used from many IP addresses or countries (POST /v1/keys/usage). Its assessments are the account's history (GET /v1/accounts/{account_id}/assessments).");
|
|
50458
50458
|
});
|
|
50459
50459
|
|
|
50460
50460
|
// src/models/hookpoint.ts
|
|
@@ -51373,7 +51373,7 @@ var init_assessmentdetail = __esm(() => {
|
|
|
51373
51373
|
init_signal();
|
|
51374
51374
|
init_status();
|
|
51375
51375
|
AssessmentDetail$zodSchema = object({
|
|
51376
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
51376
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
51377
51377
|
assessment_id: string2().describe("Opaque, server-assigned assessment id: 'asm_' and a 26-character Crockford base32 ULID. Unique within the workspace; another workspace's assessment id answers 404."),
|
|
51378
51378
|
assessment_url: string2().optional().describe("Server-relative path of the authoritative assessment, GET /v1/assessments/{assessment_id}."),
|
|
51379
51379
|
assessment_version: int().describe("Monotonic revision of this assessment. 1 on the synchronous answer; each material change while the assessment is served (an async continuation settling a source, a change of recommendation, confidence or status) increments it. Expiry does not increment it: an expired assessment is gone, not revised, and the expiry webhook carries the last served version."),
|
|
@@ -51427,7 +51427,7 @@ var init_assessment = __esm(() => {
|
|
|
51427
51427
|
init_flow();
|
|
51428
51428
|
init_status();
|
|
51429
51429
|
Assessment$zodSchema = object({
|
|
51430
|
-
account: Account$zodSchema.optional().describe("Body of the 200 answer to GET /v1/accounts/{account_id}: the one current risk of one of the calling workspace's accounts. It is the risk of the account's latest assessment that has a decision (status complete or partial), by created_at and then assessment_id, scored exactly as GET /v1/assessments/{assessment_id} scores that assessment, plus the account's own reason shared_api_key when a key issued to the account was used from many IP addresses or countries (POST /v1/
|
|
51430
|
+
account: Account$zodSchema.optional().describe("Body of the 200 answer to GET /v1/accounts/{account_id}: the one current risk of one of the calling workspace's accounts. It is the risk of the account's latest assessment that has a decision (status complete or partial), by created_at and then assessment_id, scored exactly as GET /v1/assessments/{assessment_id} scores that assessment, plus the account's own reason shared_api_key when a key issued to the account was used from many IP addresses or countries (POST /v1/keys/usage). Its assessments are the account's history (GET /v1/accounts/{account_id}/assessments)."),
|
|
51431
51431
|
depth: Depth$zodSchema.describe("How long the synchronous answer waits for sources. quick waits only for the fast sources, those that answer within 500 ms of ingress (or deadline_ms when lower); full waits for the whole budget, up to 3000 ms. Sources still running at the cut continue asynchronously and update the assessment either way."),
|
|
51432
51432
|
detail: AssessmentDetail$zodSchema.describe("One assessment's own facts: its score and recommendation, the signals behind them, the lanes still running and its timing. risk here is this assessment's own score; the account's current risk is the account member of the assessment. risk and recommendation are present for complete and partial; assessment_url is present for pending."),
|
|
51433
51433
|
flow: Flow$zodSchema.describe("The event an assessment is made for: account_creation (a user creates an account), login (a user returns to an existing account) or purchase (a payment or a credit grant). The account's risk is reported with the decision for this flow."),
|
|
@@ -52263,7 +52263,7 @@ var init_credentialassociation = __esm(() => {
|
|
|
52263
52263
|
init_credentialassociationactor();
|
|
52264
52264
|
init_credentialassociationretiredby();
|
|
52265
52265
|
CredentialAssociation$zodSchema = object({
|
|
52266
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
52266
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
52267
52267
|
actor: CredentialAssociationActor$zodSchema,
|
|
52268
52268
|
created_at: string2(),
|
|
52269
52269
|
id: string2(),
|
|
@@ -52628,12 +52628,12 @@ var init_accountbinding = __esm(() => {
|
|
|
52628
52628
|
init_zod();
|
|
52629
52629
|
init_accountbindingactor();
|
|
52630
52630
|
AccountBinding$zodSchema = object({
|
|
52631
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
52631
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
52632
52632
|
actor: AccountBindingActor$zodSchema,
|
|
52633
52633
|
assessment_id: string2().describe("Opaque, server-assigned assessment id: 'asm_' and a 26-character Crockford base32 ULID. Unique within the workspace; another workspace's assessment id answers 404."),
|
|
52634
52634
|
assessment_version: int().describe("Monotonic revision of this assessment. 1 on the synchronous answer; each material change while the assessment is served (an async continuation settling a source, a change of recommendation, confidence or status) increments it. Expiry does not increment it: an expired assessment is gone, not revised, and the expiry webhook carries the last served version."),
|
|
52635
52635
|
created_at: string2(),
|
|
52636
|
-
provisional_account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
52636
|
+
provisional_account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id.")
|
|
52637
52637
|
}).describe("Binding appends an assessment revision and preserves earlier versions. Continuations use the same assessment. Erasing either the provisional or canonical name erases the canonical account, including the bound assessment.");
|
|
52638
52638
|
});
|
|
52639
52639
|
|
|
@@ -52643,7 +52643,7 @@ var init_accountdecisionsnapshot = __esm(() => {
|
|
|
52643
52643
|
init_zod();
|
|
52644
52644
|
init_account();
|
|
52645
52645
|
AccountDecisionSnapshot$zodSchema = object({
|
|
52646
|
-
account: Account$zodSchema.describe("Body of the 200 answer to GET /v1/accounts/{account_id}: the one current risk of one of the calling workspace's accounts. It is the risk of the account's latest assessment that has a decision (status complete or partial), by created_at and then assessment_id, scored exactly as GET /v1/assessments/{assessment_id} scores that assessment, plus the account's own reason shared_api_key when a key issued to the account was used from many IP addresses or countries (POST /v1/
|
|
52646
|
+
account: Account$zodSchema.describe("Body of the 200 answer to GET /v1/accounts/{account_id}: the one current risk of one of the calling workspace's accounts. It is the risk of the account's latest assessment that has a decision (status complete or partial), by created_at and then assessment_id, scored exactly as GET /v1/assessments/{assessment_id} scores that assessment, plus the account's own reason shared_api_key when a key issued to the account was used from many IP addresses or countries (POST /v1/keys/usage). Its assessments are the account's history (GET /v1/accounts/{account_id}/assessments)."),
|
|
52647
52647
|
assessment_version: int().describe("Monotonic revision of this assessment. 1 on the synchronous answer; each material change while the assessment is served (an async continuation settling a source, a change of recommendation, confidence or status) increments it. Expiry does not increment it: an expired assessment is gone, not revised, and the expiry webhook carries the last served version."),
|
|
52648
52648
|
changed_at: string2(),
|
|
52649
52649
|
feedback_outcome_id: string2().optional().describe("Opaque, server-assigned id of one recorded outcome: 'out_' and a 26-character Crockford base32 ULID. Unique within the workspace."),
|
|
@@ -52697,7 +52697,7 @@ var init_accountoutcome = __esm(() => {
|
|
|
52697
52697
|
init_accountoutcomeactor();
|
|
52698
52698
|
init_outcome();
|
|
52699
52699
|
AccountOutcome$zodSchema = object({
|
|
52700
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
52700
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
52701
52701
|
actor: AccountOutcomeActor$zodSchema,
|
|
52702
52702
|
effective_outcome_id: string2().optional().describe("Opaque, server-assigned id of one recorded outcome: 'out_' and a 26-character Crockford base32 ULID. Unique within the workspace."),
|
|
52703
52703
|
expires_at: string2(),
|
|
@@ -52826,7 +52826,7 @@ var init_decisionreceipt = __esm(() => {
|
|
|
52826
52826
|
init_flow();
|
|
52827
52827
|
init_status();
|
|
52828
52828
|
DecisionReceipt$zodSchema = object({
|
|
52829
|
-
account: Account$zodSchema.optional().describe("Body of the 200 answer to GET /v1/accounts/{account_id}: the one current risk of one of the calling workspace's accounts. It is the risk of the account's latest assessment that has a decision (status complete or partial), by created_at and then assessment_id, scored exactly as GET /v1/assessments/{assessment_id} scores that assessment, plus the account's own reason shared_api_key when a key issued to the account was used from many IP addresses or countries (POST /v1/
|
|
52829
|
+
account: Account$zodSchema.optional().describe("Body of the 200 answer to GET /v1/accounts/{account_id}: the one current risk of one of the calling workspace's accounts. It is the risk of the account's latest assessment that has a decision (status complete or partial), by created_at and then assessment_id, scored exactly as GET /v1/assessments/{assessment_id} scores that assessment, plus the account's own reason shared_api_key when a key issued to the account was used from many IP addresses or countries (POST /v1/keys/usage). Its assessments are the account's history (GET /v1/accounts/{account_id}/assessments)."),
|
|
52830
52830
|
assessment_id: string2().describe("Opaque, server-assigned assessment id: 'asm_' and a 26-character Crockford base32 ULID. Unique within the workspace; another workspace's assessment id answers 404."),
|
|
52831
52831
|
assessment_version: int().describe("Monotonic revision of this assessment. 1 on the synchronous answer; each material change while the assessment is served (an async continuation settling a source, a change of recommendation, confidence or status) increments it. Expiry does not increment it: an expired assessment is gone, not revised, and the expiry webhook carries the last served version."),
|
|
52832
52832
|
flow: Flow$zodSchema.describe("The event an assessment is made for: account_creation (a user creates an account), login (a user returns to an existing account) or purchase (a payment or a credit grant). The account's risk is reported with the decision for this flow."),
|
|
@@ -52880,7 +52880,7 @@ var init_accountexport = __esm(() => {
|
|
|
52880
52880
|
"investigator_reviews_require_review_export"
|
|
52881
52881
|
]);
|
|
52882
52882
|
AccountExport$zodSchema = object({
|
|
52883
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
52883
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
52884
52884
|
assessment_outcomes: array(ExportAssessmentOutcome$zodSchema),
|
|
52885
52885
|
assessments: array(AssessmentRevision$zodSchema),
|
|
52886
52886
|
bindings: array(AccountBinding$zodSchema),
|
|
@@ -53223,7 +53223,7 @@ var init_assessmentlist = __esm(() => {
|
|
|
53223
53223
|
init_zod();
|
|
53224
53224
|
init_assessmentdetail();
|
|
53225
53225
|
AssessmentList$zodSchema = object({
|
|
53226
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
53226
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
53227
53227
|
items: array(AssessmentDetail$zodSchema),
|
|
53228
53228
|
next_cursor: string2().optional().describe("Opaque cursor for the next page, bound to your workspace and the account_id it was issued for. Pass it back unchanged in the next query; a tampered, foreign or expired cursor answers 400 invalid_cursor."),
|
|
53229
53229
|
retention_days: int().default(365).describe("Your current retention period, so a consumer knows how far back history reaches. Every item expires no later than its created_at plus this many days."),
|
|
@@ -53574,7 +53574,7 @@ var init_credentialpage = __esm(() => {
|
|
|
53574
53574
|
init_zod();
|
|
53575
53575
|
init_credentialassociation();
|
|
53576
53576
|
CredentialPage$zodSchema = object({
|
|
53577
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
53577
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
53578
53578
|
items: array(CredentialAssociation$zodSchema),
|
|
53579
53579
|
next_cursor: string2().optional().describe("Opaque, expiring cursor bound to this environment, operation and every filter. Keep the filters unchanged.")
|
|
53580
53580
|
}).describe("Retained credential associations, ordered by id. Page with the authenticated cursor. Associations are removed on account erasure.");
|
|
@@ -53750,7 +53750,7 @@ var init_accountdecisionlist = __esm(() => {
|
|
|
53750
53750
|
init_zod();
|
|
53751
53751
|
init_accountdecisionsnapshot();
|
|
53752
53752
|
AccountDecisionList$zodSchema = object({
|
|
53753
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
53753
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
53754
53754
|
items: array(AccountDecisionSnapshot$zodSchema),
|
|
53755
53755
|
next_cursor: string2().optional().describe("Opaque, expiring cursor bound to the workspace, environment, account and history kind. Absent at the end.")
|
|
53756
53756
|
}).describe("Page through recorded account decisions.");
|
|
@@ -53926,7 +53926,7 @@ var init_accountenforcementlist = __esm(() => {
|
|
|
53926
53926
|
init_zod();
|
|
53927
53927
|
init_enforcement();
|
|
53928
53928
|
AccountEnforcementList$zodSchema = object({
|
|
53929
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
53929
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
53930
53930
|
items: array(Enforcement$zodSchema),
|
|
53931
53931
|
next_cursor: string2().optional().describe("Opaque, expiring cursor bound to the workspace, environment, account and history kind. Absent at the end.")
|
|
53932
53932
|
}).describe("Page through account enforcements.");
|
|
@@ -54172,7 +54172,7 @@ var init_linkedaccount = __esm(() => {
|
|
|
54172
54172
|
init_zod();
|
|
54173
54173
|
init_sharedidentifier();
|
|
54174
54174
|
LinkedAccount$zodSchema = object({
|
|
54175
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
54175
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
54176
54176
|
shared_identifiers: array(SharedIdentifier$zodSchema).describe("One entry per shared kind, in the order email, phone, username. Each entry uses the strictest basis that links the two accounts: exact, then canonical, then mailbox.")
|
|
54177
54177
|
});
|
|
54178
54178
|
});
|
|
@@ -54248,7 +54248,7 @@ async function $do11(client$, request, options) {
|
|
|
54248
54248
|
charEncoding: "percent"
|
|
54249
54249
|
})
|
|
54250
54250
|
};
|
|
54251
|
-
const path$ = pathToFunc("/v1/accounts/{account_id}/
|
|
54251
|
+
const path$ = pathToFunc("/v1/accounts/{account_id}/links")(pathParams$);
|
|
54252
54252
|
const query$ = encodeFormQuery({
|
|
54253
54253
|
cursor: payload$.cursor,
|
|
54254
54254
|
limit: payload$.limit
|
|
@@ -54362,7 +54362,7 @@ var init_accountoutcomepage = __esm(() => {
|
|
|
54362
54362
|
init_zod();
|
|
54363
54363
|
init_accountoutcome();
|
|
54364
54364
|
AccountOutcomePage$zodSchema = object({
|
|
54365
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
54365
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
54366
54366
|
effective_outcome_id: string2().optional().describe("Opaque, server-assigned id of one recorded outcome: 'out_' and a 26-character Crockford base32 ULID. Unique within the workspace."),
|
|
54367
54367
|
items: array(AccountOutcome$zodSchema),
|
|
54368
54368
|
next_cursor: string2().optional().describe("Opaque, expiring cursor bound to this environment, operation and every filter. Keep the filters unchanged.")
|
|
@@ -55305,7 +55305,7 @@ var init_accountdirectorysearchrequest = __esm(() => {
|
|
|
55305
55305
|
init_identifierexpression();
|
|
55306
55306
|
init_identifiersearch();
|
|
55307
55307
|
AccountDirectorySearchRequest$zodSchema = object({
|
|
55308
|
-
account_id: string2().optional().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
55308
|
+
account_id: string2().optional().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
55309
55309
|
cursor: string2().optional().describe("Opaque, expiring cursor bound to workspace, environment, operation and all filters, including expression scope, ordered structure and original term values. Keep grouping, operand order, matching modes and values unchanged; an omitted match is equivalent to exact. The page limit may change."),
|
|
55310
55310
|
email: string2().optional().describe("Assessments of every account that one of its retained admitted assessments sent this mailbox as identifiers.email, matched as lists match an email entry: case-insensitive, a +tag removed and, at gmail.com and googlemail.com, the dots of the local part ignored. Only assessments stored since email list matching began carry the mailbox. An address that is not a valid mailbox is refused with 400."),
|
|
55311
55311
|
email_domain: string2().optional().describe("Every account that one of its retained admitted assessments sent an email of this domain or its subdomains, matched as lists match an email_domain entry and with the same identifier-read permission as email. A value that is not a registrable domain is refused with 400. Mutually exclusive with email, identifier and identifier_expression."),
|
|
@@ -55671,7 +55671,7 @@ var AccountBindingRequest$zodSchema;
|
|
|
55671
55671
|
var init_accountbindingrequest = __esm(() => {
|
|
55672
55672
|
init_zod();
|
|
55673
55673
|
AccountBindingRequest$zodSchema = object({
|
|
55674
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
55674
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id.")
|
|
55675
55675
|
}).describe("One-time association to an opaque stable customer account. The assessment is its natural idempotency key. Repeating the same binding returns its first receipt; a conflicting target is refused. No arbitrary account merging.");
|
|
55676
55676
|
});
|
|
55677
55677
|
|
|
@@ -55968,7 +55968,7 @@ var init_assessmentrequest = __esm(() => {
|
|
|
55968
55968
|
init_flow();
|
|
55969
55969
|
init_responsemode();
|
|
55970
55970
|
AssessmentRequest$zodSchema = object({
|
|
55971
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
55971
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
55972
55972
|
auth_context: AuthContext$zodSchema.optional().describe("Normalised claims from a session your backend has already verified with WorkOS, Clerk, Auth0 or any OIDC provider. Pass the output of the SDK's auth adapters, not a raw token."),
|
|
55973
55973
|
client_context: AssessmentRequestClientContext$zodSchema.optional().describe("Optional context observed by the client of the user. The server parses these hints into coarse features, leaves raw user_agent and opaque ids out of every answer, and weighs a mismatch with the other evidence."),
|
|
55974
55974
|
deadline_ms: int().optional().describe("Optional tighter budget, 50 to 3000 ms, measured from the moment the request reaches NoResponse. Absent means the 3000 ms ceiling; a value above it is refused with 400 rather than clamped."),
|
|
@@ -56360,7 +56360,7 @@ var init_assessmentquery = __esm(() => {
|
|
|
56360
56360
|
init_zod();
|
|
56361
56361
|
init_responsemode();
|
|
56362
56362
|
AssessmentQuery$zodSchema = object({
|
|
56363
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
56363
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
56364
56364
|
cursor: string2().optional().describe("next_cursor from the previous page, unchanged. Opaque, MAC'd and bound to the workspace and account_id."),
|
|
56365
56365
|
limit: int().default(20),
|
|
56366
56366
|
response_mode: ResponseMode$zodSchema.optional().describe("standard returns the consolidated risk response; detailed adds merged provider-neutral facts when the key has detailed scope. There is no raw mode.")
|
|
@@ -56867,7 +56867,7 @@ var init_assessmentsearchrequest = __esm(() => {
|
|
|
56867
56867
|
init_responsemode();
|
|
56868
56868
|
init_status();
|
|
56869
56869
|
AssessmentSearchRequest$zodSchema = object({
|
|
56870
|
-
account_id: string2().optional().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
56870
|
+
account_id: string2().optional().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
56871
56871
|
asn: int().optional(),
|
|
56872
56872
|
band: Band$zodSchema.optional(),
|
|
56873
56873
|
changed: boolean2().optional().describe("true returns only assessments whose latest stored revision's decision differs from their first answer's decision (see decision); false only the others. An assessment whose first answer or latest revision has no decision yet is not changed. Cannot be combined with revision first."),
|
|
@@ -57131,7 +57131,7 @@ async function $do26(client$, request, options) {
|
|
|
57131
57131
|
charEncoding: "percent"
|
|
57132
57132
|
})
|
|
57133
57133
|
};
|
|
57134
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
57134
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/streams/{environment}")(pathParams$);
|
|
57135
57135
|
const headers$ = new Headers(compactMap({
|
|
57136
57136
|
"Content-Type": "application/json",
|
|
57137
57137
|
Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
|
|
@@ -57318,7 +57318,7 @@ async function $do27(client$, request, options) {
|
|
|
57318
57318
|
charEncoding: "percent"
|
|
57319
57319
|
})
|
|
57320
57320
|
};
|
|
57321
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
57321
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/retention/{environment}")(pathParams$);
|
|
57322
57322
|
const headers$ = new Headers(compactMap({
|
|
57323
57323
|
Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
|
|
57324
57324
|
}));
|
|
@@ -57530,7 +57530,7 @@ var init_auditeventlist = __esm(() => {
|
|
|
57530
57530
|
items: array(AuditEvent$zodSchema),
|
|
57531
57531
|
next_cursor: string2().optional().describe("Opaque cursor for the next page, MAC'd by the server and bound to the workspace it was issued for. Pass it back unchanged as cursor; a tampered, foreign or expired cursor answers 400 invalid_cursor."),
|
|
57532
57532
|
workspace_id: string2().describe("The workspace id, which is also its live environment's workspace id; the test environment's is the same id with :test appended. A workspace created through the API is tnt_ and a 26-character ULID.")
|
|
57533
|
-
}).describe("GET /v1/workspaces/{workspace_id}/
|
|
57533
|
+
}).describe("GET /v1/workspaces/{workspace_id}/audit: one page of the workspace's audit log, both environments, newest first. Events are kept for as long as the workspace exists and are deleted with it. next_cursor is present only when another page exists.");
|
|
57534
57534
|
});
|
|
57535
57535
|
|
|
57536
57536
|
// src/models/listauditeventsop.ts
|
|
@@ -57599,7 +57599,7 @@ async function $do28(client$, request, options) {
|
|
|
57599
57599
|
charEncoding: "percent"
|
|
57600
57600
|
})
|
|
57601
57601
|
};
|
|
57602
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
57602
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/audit")(pathParams$);
|
|
57603
57603
|
const query$ = encodeFormQuery({
|
|
57604
57604
|
action: payload$.action,
|
|
57605
57605
|
actor: payload$.actor,
|
|
@@ -57775,7 +57775,7 @@ async function $do29(client$, request, options) {
|
|
|
57775
57775
|
charEncoding: "percent"
|
|
57776
57776
|
})
|
|
57777
57777
|
};
|
|
57778
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
57778
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/streams/{environment}")(pathParams$);
|
|
57779
57779
|
const headers$ = new Headers(compactMap({
|
|
57780
57780
|
Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
|
|
57781
57781
|
}));
|
|
@@ -57943,7 +57943,7 @@ async function $do30(client$, request, options) {
|
|
|
57943
57943
|
charEncoding: "percent"
|
|
57944
57944
|
})
|
|
57945
57945
|
};
|
|
57946
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
57946
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/streams/{environment}/{endpoint_id}")(pathParams$);
|
|
57947
57947
|
const headers$ = new Headers(compactMap({
|
|
57948
57948
|
Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
|
|
57949
57949
|
}));
|
|
@@ -58122,7 +58122,7 @@ async function $do31(client$, request, options) {
|
|
|
58122
58122
|
charEncoding: "percent"
|
|
58123
58123
|
})
|
|
58124
58124
|
};
|
|
58125
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
58125
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/streams/{environment}/{endpoint_id}/replay")(pathParams$);
|
|
58126
58126
|
const headers$ = new Headers(compactMap({
|
|
58127
58127
|
"Content-Type": "application/json",
|
|
58128
58128
|
Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
|
|
@@ -58286,7 +58286,7 @@ async function $do32(client$, request, options) {
|
|
|
58286
58286
|
charEncoding: "percent"
|
|
58287
58287
|
})
|
|
58288
58288
|
};
|
|
58289
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
58289
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/retention/{environment}")(pathParams$);
|
|
58290
58290
|
const headers$ = new Headers(compactMap({
|
|
58291
58291
|
"Content-Type": "application/json",
|
|
58292
58292
|
Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
|
|
@@ -60170,7 +60170,7 @@ var init_customerexportrequest = __esm(() => {
|
|
|
60170
60170
|
init_environment();
|
|
60171
60171
|
init_responsemode();
|
|
60172
60172
|
CustomerExportRequest$zodSchema = object({
|
|
60173
|
-
account_id: string2().optional().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
60173
|
+
account_id: string2().optional().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
60174
60174
|
environment: Environment$zodSchema,
|
|
60175
60175
|
filter: CustomerExportRequestFilter$zodSchema.optional(),
|
|
60176
60176
|
kind: CustomerExportRequestKind$zodSchema,
|
|
@@ -62359,6 +62359,58 @@ var init_screeningfinding = __esm(() => {
|
|
|
62359
62359
|
}).describe("Something the analyser flagged. band is capped by the strongest match among the profiles of its evidence: possible at most moderate, probable at most high. capped_from is the band the analyser gave when the cap lowered it.");
|
|
62360
62360
|
});
|
|
62361
62361
|
|
|
62362
|
+
// src/models/recordfield.ts
|
|
62363
|
+
var RecordField$zodSchema;
|
|
62364
|
+
var init_recordfield = __esm(() => {
|
|
62365
|
+
init_zod();
|
|
62366
|
+
RecordField$zodSchema = object({
|
|
62367
|
+
field: string2().describe("The source's own name for the field. A nested value's name is dotted, and a list element's carries its index."),
|
|
62368
|
+
kind: string2().optional().describe("What sort of value the field holds. Absent until the field's kind is known."),
|
|
62369
|
+
original: string2().describe("The value as the source wrote it. A count is written in decimal and a time in RFC 3339."),
|
|
62370
|
+
role: string2().optional().describe("Which common field it is, where many sources share it, such as handle, display_name, account_id, profile_link, picture, bio, website, linked_account (named by its network), account_status, joined, last_updated, organisation, location, followers, following or posts. Absent for a field only this source returns."),
|
|
62371
|
+
value: string2().optional().describe("The cleaned value. Absent when it cannot be cleaned, or until the field's kind is known.")
|
|
62372
|
+
}).describe("One value a source returned.");
|
|
62373
|
+
});
|
|
62374
|
+
|
|
62375
|
+
// src/models/recordmatch.ts
|
|
62376
|
+
var RecordMatch$zodSchema;
|
|
62377
|
+
var init_recordmatch = __esm(() => {
|
|
62378
|
+
init_zod();
|
|
62379
|
+
RecordMatch$zodSchema = object({
|
|
62380
|
+
by: string2().describe("The kind of searched value: email, phone, username, name, or handle for a profile read of a handle."),
|
|
62381
|
+
field: string2().optional().describe("The field the searched value hit, when the record holds it.")
|
|
62382
|
+
}).describe("One searched value that found the record.");
|
|
62383
|
+
});
|
|
62384
|
+
|
|
62385
|
+
// src/models/recordsource.ts
|
|
62386
|
+
var RecordSource$zodSchema;
|
|
62387
|
+
var init_recordsource = __esm(() => {
|
|
62388
|
+
init_zod();
|
|
62389
|
+
RecordSource$zodSchema = object({
|
|
62390
|
+
connector: string2().describe("The id of the connector that read the record."),
|
|
62391
|
+
date: string2().optional().describe("When the source's data dates from, at the precision it is known."),
|
|
62392
|
+
kind: string2().describe("The kind of source: platform for an account read off a live platform."),
|
|
62393
|
+
site: string2().optional().describe("The host a person knows the source's site by."),
|
|
62394
|
+
table: string2().optional().describe("The table a leaked row came from.")
|
|
62395
|
+
}).describe("Where a record came from.");
|
|
62396
|
+
});
|
|
62397
|
+
|
|
62398
|
+
// src/models/record.ts
|
|
62399
|
+
var RecordT$zodSchema;
|
|
62400
|
+
var init_record = __esm(() => {
|
|
62401
|
+
init_zod();
|
|
62402
|
+
init_recordfield();
|
|
62403
|
+
init_recordmatch();
|
|
62404
|
+
init_recordsource();
|
|
62405
|
+
RecordT$zodSchema = object({
|
|
62406
|
+
fields: array(RecordField$zodSchema).describe("Every field the source returned, in the order the source's connector lists them."),
|
|
62407
|
+
id: string2().describe("Made from the source and the fields' names and original values, so the same answer found twice is one record with the same id."),
|
|
62408
|
+
matched: array(RecordMatch$zodSchema).describe("Each kind of searched value that found the record."),
|
|
62409
|
+
observed_at: string2().describe("When the source last gave this answer."),
|
|
62410
|
+
source: RecordSource$zodSchema.describe("Where a record came from.")
|
|
62411
|
+
}).describe("One answer from one source: where it came from, what found it and every field it holds.");
|
|
62412
|
+
});
|
|
62413
|
+
|
|
62362
62414
|
// src/models/screeninglookupcheckstatus.ts
|
|
62363
62415
|
var ScreeningLookupCheckStatus$zodSchema;
|
|
62364
62416
|
var init_screeninglookupcheckstatus = __esm(() => {
|
|
@@ -62394,6 +62446,7 @@ var init_screeninglookupcheck = __esm(() => {
|
|
|
62394
62446
|
var ScreeningLookup$zodSchema;
|
|
62395
62447
|
var init_screeninglookup = __esm(() => {
|
|
62396
62448
|
init_zod();
|
|
62449
|
+
init_record();
|
|
62397
62450
|
init_riskdetails();
|
|
62398
62451
|
init_risksummary();
|
|
62399
62452
|
init_screeninglookupcheck();
|
|
@@ -62401,6 +62454,7 @@ var init_screeninglookup = __esm(() => {
|
|
|
62401
62454
|
checks: array(ScreeningLookupCheck$zodSchema).describe("Each lane each identifier was looked up in, identifiers in the order email, phone, username and lanes in the order accounts, phone, breach, domain. Every lane the person's identifiers are looked up in is listed: one that no source answered, or that no source could be asked in, is not_covered. Empty when the person has no email, phone or handle to look up."),
|
|
62402
62455
|
details: RiskDetails$zodSchema.optional().describe("Merged observations behind the summary, served only to a caller who may read evidence: no provider, source, origin, raw breach record or score."),
|
|
62403
62456
|
looked_at: string2().describe("When the lookups ran."),
|
|
62457
|
+
records: array(RecordT$zodSchema).optional().describe("What each source that found an account answered, whole: every field under the source's own names, each answer once. Served only to a caller who may read evidence, as details are."),
|
|
62404
62458
|
summary: RiskSummary$zodSchema.optional().describe("A few typed facts per identifier: an assessment's risk.summary, and a screened person's lookup summary. Every fact is optional: absent means the evidence did not answer and makes no claim, while false or 0 is a definite answer.")
|
|
62405
62459
|
}).describe("What the signup check's lookups found for a person: account presence for the email, phone and usernames (the person's handles), the phone lookup, the email domain's registration and the breach search. Context and coverage for the reviewer, not a finding: nothing here sets a band or a match state.");
|
|
62406
62460
|
});
|
|
@@ -62520,6 +62574,7 @@ var init_screeningprofile = __esm(() => {
|
|
|
62520
62574
|
init_zod();
|
|
62521
62575
|
init_access();
|
|
62522
62576
|
init_handleplatform();
|
|
62577
|
+
init_record();
|
|
62523
62578
|
init_screeningmatch();
|
|
62524
62579
|
ScreeningProfile$zodSchema = object({
|
|
62525
62580
|
access: Access$zodSchema.describe("public profiles were read; a private or locked one exists but could not be read."),
|
|
@@ -62537,6 +62592,7 @@ var init_screeningprofile = __esm(() => {
|
|
|
62537
62592
|
period_from: string2().optional().describe("The oldest item read."),
|
|
62538
62593
|
period_to: string2().optional().describe("The newest item read."),
|
|
62539
62594
|
platform: HandlePlatform$zodSchema.describe("A platform a screening can cover. synthetic is the deterministic connector's own platform, for exercising the product end to end with no network."),
|
|
62595
|
+
record: RecordT$zodSchema.optional().describe("One answer from one source: where it came from, what found it and every field it holds."),
|
|
62540
62596
|
url: string2()
|
|
62541
62597
|
}).describe("An account the screening matched to the person, how it was matched, and how much of it was read.");
|
|
62542
62598
|
});
|
|
@@ -66040,7 +66096,7 @@ async function $do70(client$, request, options) {
|
|
|
66040
66096
|
charEncoding: "percent"
|
|
66041
66097
|
})
|
|
66042
66098
|
};
|
|
66043
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
66099
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/changes/{environment}/{change_id}")(pathParams$);
|
|
66044
66100
|
const headers$ = new Headers(compactMap({
|
|
66045
66101
|
Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
|
|
66046
66102
|
}));
|
|
@@ -68174,7 +68230,7 @@ var init_review = __esm(() => {
|
|
|
68174
68230
|
init_resolution();
|
|
68175
68231
|
init_reviewstatus();
|
|
68176
68232
|
Review$zodSchema = object({
|
|
68177
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
68233
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
68178
68234
|
assignee: string2().optional(),
|
|
68179
68235
|
assignee_principal_id: string2().optional().describe("Immutable workspace member ID. assignee is the historical display identity captured at assignment."),
|
|
68180
68236
|
created_at: string2(),
|
|
@@ -68198,7 +68254,7 @@ var init_reviewcreaterequest = __esm(() => {
|
|
|
68198
68254
|
init_zod();
|
|
68199
68255
|
init_priority();
|
|
68200
68256
|
ReviewCreateRequest$zodSchema = object({
|
|
68201
|
-
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /
|
|
68257
|
+
account_id: string2().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id}, its /assessments and its /links. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
|
|
68202
68258
|
assignee: string2().optional(),
|
|
68203
68259
|
priority: Priority$zodSchema.optional()
|
|
68204
68260
|
});
|
|
@@ -68478,7 +68534,7 @@ async function $do82(client$, request, options) {
|
|
|
68478
68534
|
charEncoding: "percent"
|
|
68479
68535
|
})
|
|
68480
68536
|
};
|
|
68481
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
68537
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/views/{environment}")(pathParams$);
|
|
68482
68538
|
const headers$ = new Headers(compactMap({
|
|
68483
68539
|
"Content-Type": "application/json",
|
|
68484
68540
|
Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
|
|
@@ -68818,7 +68874,7 @@ async function $do84(client$, request, options) {
|
|
|
68818
68874
|
charEncoding: "percent"
|
|
68819
68875
|
})
|
|
68820
68876
|
};
|
|
68821
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
68877
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/views/{environment}/{view_id}")(pathParams$);
|
|
68822
68878
|
const headers$ = new Headers(compactMap({
|
|
68823
68879
|
"Content-Type": "application/json",
|
|
68824
68880
|
Accept: "application/problem+json"
|
|
@@ -70089,7 +70145,7 @@ async function $do91(client$, request, options) {
|
|
|
70089
70145
|
charEncoding: "percent"
|
|
70090
70146
|
})
|
|
70091
70147
|
};
|
|
70092
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
70148
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/views/{environment}")(pathParams$);
|
|
70093
70149
|
const headers$ = new Headers(compactMap({
|
|
70094
70150
|
Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
|
|
70095
70151
|
}));
|
|
@@ -70796,7 +70852,7 @@ async function $do95(client$, request, options) {
|
|
|
70796
70852
|
charEncoding: "percent"
|
|
70797
70853
|
})
|
|
70798
70854
|
};
|
|
70799
|
-
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/
|
|
70855
|
+
const path$ = pathToFunc("/v1/workspaces/{workspace_id}/views/{environment}/{view_id}")(pathParams$);
|
|
70800
70856
|
const headers$ = new Headers(compactMap({
|
|
70801
70857
|
"Content-Type": "application/json",
|
|
70802
70858
|
Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
|
|
@@ -73415,7 +73471,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
|
|
|
73415
73471
|
function createMCPServer(deps) {
|
|
73416
73472
|
const server = new McpServer({
|
|
73417
73473
|
name: "NoResponse",
|
|
73418
|
-
version: "0.
|
|
73474
|
+
version: "0.13.1"
|
|
73419
73475
|
});
|
|
73420
73476
|
const getClient = deps.getSDK || (() => new NoResponseCore({
|
|
73421
73477
|
security: deps.security,
|
|
@@ -82824,7 +82880,7 @@ var routes = buildRouteMap({
|
|
|
82824
82880
|
var app = buildApplication(routes, {
|
|
82825
82881
|
name: "mcp",
|
|
82826
82882
|
versionInfo: {
|
|
82827
|
-
currentVersion: "0.
|
|
82883
|
+
currentVersion: "0.13.1"
|
|
82828
82884
|
}
|
|
82829
82885
|
});
|
|
82830
82886
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -82832,5 +82888,5 @@ export {
|
|
|
82832
82888
|
app
|
|
82833
82889
|
};
|
|
82834
82890
|
|
|
82835
|
-
//# debugId=
|
|
82891
|
+
//# debugId=4B22B4C2BCB237F064756E2164756E21
|
|
82836
82892
|
//# sourceMappingURL=mcp-server.js.map
|