@noresponse/mcp 0.12.0 → 0.13.0

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.13.0
4
+
5
+ No changes detected.
6
+
7
+ ## 0.12.1
8
+
9
+ No changes detected.
10
+
3
11
  ## 0.12.0
4
12
 
5
13
  * `SDK.webhookEndpoints.aggregate()`: `response.code` **Changed** (Breaking ⚠️)
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}/linked_accounts` |
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.12.0",
48139
+ sdkVersion: "0.13.0",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.12.0 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.13.0 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/key_usage/batches). Its assessments are the account's history (GET /v1/accounts/{account_id}/assessments).");
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 /linked_accounts. 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."),
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/key_usage/batches). Its assessments are the account's history (GET /v1/accounts/{account_id}/assessments)."),
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 /linked_accounts. 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."),
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 /linked_accounts. 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."),
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 /linked_accounts. 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.")
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/key_usage/batches). Its assessments are the account's history (GET /v1/accounts/{account_id}/assessments)."),
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 /linked_accounts. 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."),
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/key_usage/batches). Its assessments are the account's history (GET /v1/accounts/{account_id}/assessments)."),
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 /linked_accounts. 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."),
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 /linked_accounts. 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."),
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 /linked_accounts. 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."),
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 /linked_accounts. 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."),
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 /linked_accounts. 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."),
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 /linked_accounts. 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."),
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}/linked_accounts")(pathParams$);
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 /linked_accounts. 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."),
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 /linked_accounts. 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."),
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 /linked_accounts. 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.")
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 /linked_accounts. 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."),
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 /linked_accounts. 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."),
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 /linked_accounts. 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."),
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}/audit_streams/{environment}")(pathParams$);
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}/audit_settings/{environment}")(pathParams$);
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}/audit_events: 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.");
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}/audit_events")(pathParams$);
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}/audit_streams/{environment}")(pathParams$);
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}/audit_streams/{environment}/{endpoint_id}")(pathParams$);
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}/audit_streams/{environment}/{endpoint_id}/replay")(pathParams$);
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}/audit_settings/{environment}")(pathParams$);
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 /linked_accounts. 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."),
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,
@@ -64653,7 +64653,7 @@ var init_invite = __esm(() => {
64653
64653
  ]);
64654
64654
  Invite$zodSchema = object({
64655
64655
  created_at: string2(),
64656
- created_by: string2().describe("The stable member id that issued this invite, or the authenticated live API key prefix for members_manage automation. Reissuing preserves the original creator; the audit event names the reissuing actor."),
64656
+ created_by: string2().describe("The stable member id that issued this invite, the authenticated live API key prefix for members_manage automation, or, for an invite NoResponse issued for the workspace, NoResponse's own id (adm_ or nrc_). Reissuing preserves the original creator; the audit event names the reissuing actor."),
64657
64657
  denied_actions: array(InviteDeniedAction$zodSchema).optional().describe("Independent removals from a built-in preset: sensitive evidence, exports, or active policy publication. Owners retain full authority. Omitted member updates preserve exclusions."),
64658
64658
  email: string2().optional().describe("Where the console sends the invite. Informational: it is not matched against the accepting user."),
64659
64659
  environments: array(InviteEnvironment$zodSchema).optional().describe("Allowed data environments. Invites default to both. Omitted on member PATCH preserves the current grants; owners retain both."),
@@ -66040,7 +66040,7 @@ async function $do70(client$, request, options) {
66040
66040
  charEncoding: "percent"
66041
66041
  })
66042
66042
  };
66043
- const path$ = pathToFunc("/v1/workspaces/{workspace_id}/list_changes/{environment}/{change_id}")(pathParams$);
66043
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/changes/{environment}/{change_id}")(pathParams$);
66044
66044
  const headers$ = new Headers(compactMap({
66045
66045
  Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
66046
66046
  }));
@@ -68174,7 +68174,7 @@ var init_review = __esm(() => {
68174
68174
  init_resolution();
68175
68175
  init_reviewstatus();
68176
68176
  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 /linked_accounts. 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."),
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 /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
68178
  assignee: string2().optional(),
68179
68179
  assignee_principal_id: string2().optional().describe("Immutable workspace member ID. assignee is the historical display identity captured at assignment."),
68180
68180
  created_at: string2(),
@@ -68198,7 +68198,7 @@ var init_reviewcreaterequest = __esm(() => {
68198
68198
  init_zod();
68199
68199
  init_priority();
68200
68200
  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 /linked_accounts. 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."),
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 /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
68202
  assignee: string2().optional(),
68203
68203
  priority: Priority$zodSchema.optional()
68204
68204
  });
@@ -68478,7 +68478,7 @@ async function $do82(client$, request, options) {
68478
68478
  charEncoding: "percent"
68479
68479
  })
68480
68480
  };
68481
- const path$ = pathToFunc("/v1/workspaces/{workspace_id}/review_views/{environment}")(pathParams$);
68481
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/views/{environment}")(pathParams$);
68482
68482
  const headers$ = new Headers(compactMap({
68483
68483
  "Content-Type": "application/json",
68484
68484
  Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
@@ -68818,7 +68818,7 @@ async function $do84(client$, request, options) {
68818
68818
  charEncoding: "percent"
68819
68819
  })
68820
68820
  };
68821
- const path$ = pathToFunc("/v1/workspaces/{workspace_id}/review_views/{environment}/{view_id}")(pathParams$);
68821
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/views/{environment}/{view_id}")(pathParams$);
68822
68822
  const headers$ = new Headers(compactMap({
68823
68823
  "Content-Type": "application/json",
68824
68824
  Accept: "application/problem+json"
@@ -70089,7 +70089,7 @@ async function $do91(client$, request, options) {
70089
70089
  charEncoding: "percent"
70090
70090
  })
70091
70091
  };
70092
- const path$ = pathToFunc("/v1/workspaces/{workspace_id}/review_views/{environment}")(pathParams$);
70092
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/views/{environment}")(pathParams$);
70093
70093
  const headers$ = new Headers(compactMap({
70094
70094
  Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
70095
70095
  }));
@@ -70796,7 +70796,7 @@ async function $do95(client$, request, options) {
70796
70796
  charEncoding: "percent"
70797
70797
  })
70798
70798
  };
70799
- const path$ = pathToFunc("/v1/workspaces/{workspace_id}/review_views/{environment}/{view_id}")(pathParams$);
70799
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/views/{environment}/{view_id}")(pathParams$);
70800
70800
  const headers$ = new Headers(compactMap({
70801
70801
  "Content-Type": "application/json",
70802
70802
  Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
@@ -73415,7 +73415,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
73415
73415
  function createMCPServer(deps) {
73416
73416
  const server = new McpServer({
73417
73417
  name: "NoResponse",
73418
- version: "0.12.0"
73418
+ version: "0.13.0"
73419
73419
  });
73420
73420
  const getClient = deps.getSDK || (() => new NoResponseCore({
73421
73421
  security: deps.security,
@@ -82824,7 +82824,7 @@ var routes = buildRouteMap({
82824
82824
  var app = buildApplication(routes, {
82825
82825
  name: "mcp",
82826
82826
  versionInfo: {
82827
- currentVersion: "0.12.0"
82827
+ currentVersion: "0.13.0"
82828
82828
  }
82829
82829
  });
82830
82830
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -82832,5 +82832,5 @@ export {
82832
82832
  app
82833
82833
  };
82834
82834
 
82835
- //# debugId=EE4EB3A611A7211064756E2164756E21
82835
+ //# debugId=4F1086B76BA035DC64756E2164756E21
82836
82836
  //# sourceMappingURL=mcp-server.js.map