@noresponse/mcp 0.11.9 → 0.11.11

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,31 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.11
4
+
5
+ * `SDK.assessments.search()`:
6
+ * `request.origin` **Added**
7
+
8
+ ## 0.11.10
9
+
10
+ * `SDK.assessments.create()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
11
+ * `SDK.assessments.get()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
12
+ * `SDK.assessments.query()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
13
+ * `SDK.assessments.aggregate()`:
14
+ * `request.reason` **Changed**
15
+ * `response.buckets[].groups[].reason` **Changed** (Breaking ⚠️)
16
+ * `SDK.assessments.search()`:
17
+ * `request.reason` **Changed**
18
+ * `response.items[].detail.risk.reasons[].code` **Changed** (Breaking ⚠️)
19
+ * `SDK.assessments.retrieveVersion()`: `response.detail.risk.reasons[].code` **Changed** (Breaking ⚠️)
20
+ * `SDK.accounts.listChanged()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
21
+ * `SDK.accounts.get()`: `response.risk.reasons[].code` **Changed** (Breaking ⚠️)
22
+ * `SDK.accounts.listAssessments()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
23
+ * `SDK.accounts.retrieveDecision()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
24
+ * `SDK.accounts.export()`: `response.assessments[].detail.risk.reasons[].code` **Changed** (Breaking ⚠️)
25
+ * `SDK.accounts.listDecisions()`: `response.items[].account.risk.reasons[].code` **Changed** (Breaking ⚠️)
26
+ * `SDK.accounts.search()`: `response.items[].latest.detail.risk.reasons[].code` **Changed** (Breaking ⚠️)
27
+ * `SDK.requests.list()`: `response.items[].decision.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
28
+
3
29
  ## 0.11.9
4
30
 
5
31
  * `SDK.assessments.create()`: `response.detail.risk.details.breaches[].conduct` **Added**
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.11.9",
48139
+ sdkVersion: "0.11.11",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.11.9 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.11.11 internal 1 @noresponse/mcp"
48142
48142
  };
48143
48143
  });
48144
48144
 
@@ -50390,7 +50390,9 @@ var init_reasoncode = __esm(() => {
50390
50390
  "breach_shared_ip",
50391
50391
  "nationality_mismatch",
50392
50392
  "minor_identity",
50393
- "reported_account_abuse"
50393
+ "reported_account_abuse",
50394
+ "breach_city_match",
50395
+ "breach_city_mismatch"
50394
50396
  ]).describe("A stable reason code. New codes may appear; ignore any you do not know.");
50395
50397
  });
50396
50398
 
@@ -50905,7 +50907,7 @@ var init_country = __esm(() => {
50905
50907
  "consistent",
50906
50908
  "mismatch",
50907
50909
  "unknown"
50908
- ]).describe("IP country, phone country, breach countries and policy_context.region together.");
50910
+ ]).describe("IP country, phone country, breach countries and policy_context.region together. When the breach records give a country, the timezone and locale countries count too. The IP country of a proxy or hosting network does not count.");
50909
50911
  });
50910
50912
 
50911
50913
  // src/models/consistency.ts
@@ -50915,7 +50917,7 @@ var init_consistency = __esm(() => {
50915
50917
  init_consistencyvalue();
50916
50918
  init_country();
50917
50919
  Consistency$zodSchema = object({
50918
- country: Country$zodSchema.optional().describe("IP country, phone country, breach countries and policy_context.region together."),
50920
+ country: Country$zodSchema.optional().describe("IP country, phone country, breach countries and policy_context.region together. When the breach records give a country, the timezone and locale countries count too. The IP country of a proxy or hosting network does not count."),
50919
50921
  ip: ConsistencyValue$zodSchema.optional().describe("How a submitted identifier agrees with what the evidence holds for the other identifiers. unknown is a definite 'cannot tell' (for example a truncated or too-common breach result); absent means the comparison was not made."),
50920
50922
  name: ConsistencyValue$zodSchema.optional().describe("How a submitted identifier agrees with what the evidence holds for the other identifiers. unknown is a definite 'cannot tell' (for example a truncated or too-common breach result); absent means the comparison was not made."),
50921
50923
  phone: ConsistencyValue$zodSchema.optional().describe("How a submitted identifier agrees with what the evidence holds for the other identifiers. unknown is a definite 'cannot tell' (for example a truncated or too-common breach result); absent means the comparison was not made.")
@@ -56830,6 +56832,16 @@ Retrieve a retained assessment version with its original decision, policy, flow
56830
56832
  };
56831
56833
  });
56832
56834
 
56835
+ // src/models/origin.ts
56836
+ var Origin$zodSchema;
56837
+ var init_origin = __esm(() => {
56838
+ init_zod();
56839
+ Origin$zodSchema = _enum([
56840
+ "api",
56841
+ "lookup"
56842
+ ]).describe("api (the default) searches the assessments your integration sent. lookup searches the assessments your team ran by hand on the console's Lookup page. The API sets an assessment's origin from the credential that sent it. A lookup is not in any other list, count, webhook event or account.");
56843
+ });
56844
+
56833
56845
  // src/models/assessmentsearchrequest.ts
56834
56846
  var AssessmentSearchRequest$zodSchema;
56835
56847
  var init_assessmentsearchrequest = __esm(() => {
@@ -56843,6 +56855,7 @@ var init_assessmentsearchrequest = __esm(() => {
56843
56855
  init_impact();
56844
56856
  init_lane();
56845
56857
  init_listmatch();
56858
+ init_origin();
56846
56859
  init_reasoncode();
56847
56860
  init_recommendation();
56848
56861
  init_responsemode();
@@ -56864,6 +56877,7 @@ var init_assessmentsearchrequest = __esm(() => {
56864
56877
  lane: Lane$zodSchema.optional().describe("An evidence lane: accounts (account presence for email and username), phone, breach, domain (the email domain's registration) and ip."),
56865
56878
  limit: int().default(20),
56866
56879
  list_match: ListMatch$zodSchema.optional().describe("The list action captured at the first answer. Requires revision first. Older answers without captured list state do not match, including none."),
56880
+ origin: Origin$zodSchema.optional().describe("api (the default) searches the assessments your integration sent. lookup searches the assessments your team ran by hand on the console's Lookup page. The API sets an assessment's origin from the credential that sent it. A lookup is not in any other list, count, webhook event or account."),
56867
56881
  reason: ReasonCode$zodSchema.optional().describe("A stable reason code. New codes may appear; ignore any you do not know."),
56868
56882
  recommendation: Recommendation$zodSchema.optional().describe("The recommended action: allow, step_up or review. Your application applies it."),
56869
56883
  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."),
@@ -70333,7 +70347,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
70333
70347
  function createMCPServer(deps) {
70334
70348
  const server = new McpServer({
70335
70349
  name: "NoResponse",
70336
- version: "0.11.9"
70350
+ version: "0.11.11"
70337
70351
  });
70338
70352
  const getClient = deps.getSDK || (() => new NoResponseCore({
70339
70353
  security: deps.security,
@@ -79638,7 +79652,7 @@ var routes = buildRouteMap({
79638
79652
  var app = buildApplication(routes, {
79639
79653
  name: "mcp",
79640
79654
  versionInfo: {
79641
- currentVersion: "0.11.9"
79655
+ currentVersion: "0.11.11"
79642
79656
  }
79643
79657
  });
79644
79658
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -79646,5 +79660,5 @@ export {
79646
79660
  app
79647
79661
  };
79648
79662
 
79649
- //# debugId=704B341DEB5F9FF064756E2164756E21
79663
+ //# debugId=0EA3899C9AEF10A964756E2164756E21
79650
79664
  //# sourceMappingURL=mcp-server.js.map