@noresponse/mcp 0.11.10 → 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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.11
4
+
5
+ * `SDK.assessments.search()`:
6
+ * `request.origin` **Added**
7
+
3
8
  ## 0.11.10
4
9
 
5
10
  * `SDK.assessments.create()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
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.10",
48139
+ sdkVersion: "0.11.11",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.11.10 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.11.11 internal 1 @noresponse/mcp"
48142
48142
  };
48143
48143
  });
48144
48144
 
@@ -56832,6 +56832,16 @@ Retrieve a retained assessment version with its original decision, policy, flow
56832
56832
  };
56833
56833
  });
56834
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
+
56835
56845
  // src/models/assessmentsearchrequest.ts
56836
56846
  var AssessmentSearchRequest$zodSchema;
56837
56847
  var init_assessmentsearchrequest = __esm(() => {
@@ -56845,6 +56855,7 @@ var init_assessmentsearchrequest = __esm(() => {
56845
56855
  init_impact();
56846
56856
  init_lane();
56847
56857
  init_listmatch();
56858
+ init_origin();
56848
56859
  init_reasoncode();
56849
56860
  init_recommendation();
56850
56861
  init_responsemode();
@@ -56866,6 +56877,7 @@ var init_assessmentsearchrequest = __esm(() => {
56866
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."),
56867
56878
  limit: int().default(20),
56868
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."),
56869
56881
  reason: ReasonCode$zodSchema.optional().describe("A stable reason code. New codes may appear; ignore any you do not know."),
56870
56882
  recommendation: Recommendation$zodSchema.optional().describe("The recommended action: allow, step_up or review. Your application applies it."),
56871
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."),
@@ -70335,7 +70347,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
70335
70347
  function createMCPServer(deps) {
70336
70348
  const server = new McpServer({
70337
70349
  name: "NoResponse",
70338
- version: "0.11.10"
70350
+ version: "0.11.11"
70339
70351
  });
70340
70352
  const getClient = deps.getSDK || (() => new NoResponseCore({
70341
70353
  security: deps.security,
@@ -79640,7 +79652,7 @@ var routes = buildRouteMap({
79640
79652
  var app = buildApplication(routes, {
79641
79653
  name: "mcp",
79642
79654
  versionInfo: {
79643
- currentVersion: "0.11.10"
79655
+ currentVersion: "0.11.11"
79644
79656
  }
79645
79657
  });
79646
79658
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -79648,5 +79660,5 @@ export {
79648
79660
  app
79649
79661
  };
79650
79662
 
79651
- //# debugId=A4B8473D7198C3E164756E2164756E21
79663
+ //# debugId=0EA3899C9AEF10A964756E2164756E21
79652
79664
  //# sourceMappingURL=mcp-server.js.map