@noresponse/mcp 0.11.4 → 0.11.6

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/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.4",
48139
+ sdkVersion: "0.11.6",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.11.4 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.11.6 internal 1 @noresponse/mcp"
48142
48142
  };
48143
48143
  });
48144
48144
 
@@ -50374,6 +50374,14 @@ var init_reasoncode = __esm(() => {
50374
50374
  "young_email_domain",
50375
50375
  "email_domain_no_mx",
50376
50376
  "email_domain_nonexistent",
50377
+ "google_account_missing",
50378
+ "google_empty_account",
50379
+ "google_active_profile",
50380
+ "google_aged_account",
50381
+ "google_name_match",
50382
+ "google_name_mismatch",
50383
+ "google_country_match",
50384
+ "google_country_mismatch",
50377
50385
  "forum_sanctioned",
50378
50386
  "prior_payment_abuse",
50379
50387
  "ip_history_match",
@@ -51482,7 +51490,8 @@ var init_conflicterrorcode = __esm(() => {
51482
51490
  "evaluation_no_proposal",
51483
51491
  "evaluation_limit_reached",
51484
51492
  "already_member",
51485
- "member_limit_reached"
51493
+ "member_limit_reached",
51494
+ "aggregate_erased_data"
51486
51495
  ]).describe("Machine codes an HTTP 409 answer can carry.");
51487
51496
  });
51488
51497
 
@@ -59666,8 +59675,9 @@ var init_sourceid = __esm(() => {
59666
59675
  "nvidia",
59667
59676
  "wix",
59668
59677
  "life360",
59669
- "zapier"
59670
- ]).describe("A NoResponse source: github (GitHub accounts), phone (the phone lookup), breach (breach exposure), rdap (the email domain's registration), mx (the email domain's mail servers), ipintel (IP intelligence) or an email account source that searches one platform for an account by email address (adobe, nvidia, wix, life360, zapier).");
59678
+ "zapier",
59679
+ "google"
59680
+ ]).describe("A NoResponse source: github (GitHub accounts), phone (the phone lookup), breach (breach exposure), rdap (the email domain's registration), mx (the email domain's mail servers), ipintel (IP intelligence) or an email account source that searches one platform for an account by email address (adobe, nvidia, wix, life360, zapier, google). google runs only for Gmail addresses.");
59671
59681
  });
59672
59682
 
59673
59683
  // src/models/settings.ts
@@ -66172,7 +66182,6 @@ var init_listreviewsop = __esm(() => {
66172
66182
  init_reviewlist();
66173
66183
  init_reviewstatus();
66174
66184
  ListReviewsRequest$zodSchema = object({
66175
- account_id: string2().describe("Only reviews of this exact account in the authenticated workspace and environment. Applied before pagination and bound into the cursor.").optional(),
66176
66185
  assignee: string2().optional(),
66177
66186
  assignee_principal_id: string2().describe("Filter by immutable member ID. Mutually exclusive with assignee and unassigned=true.").optional(),
66178
66187
  cursor: string2().optional(),
@@ -66229,7 +66238,6 @@ async function $do74(client$, request, options) {
66229
66238
  };
66230
66239
  const path$ = pathToFunc("/v1/workspaces/{workspace_id}/reviews/{environment}")(pathParams$);
66231
66240
  const query$ = encodeFormQuery({
66232
- account_id: payload$.account_id,
66233
66241
  assignee: payload$.assignee,
66234
66242
  assignee_principal_id: payload$.assignee_principal_id,
66235
66243
  cursor: payload$.cursor,
@@ -66319,7 +66327,7 @@ var init_reviewsList2 = __esm(() => {
66319
66327
  name: "list_reviews",
66320
66328
  description: `List retained account reviews.
66321
66329
 
66322
- List retained investigation reviews using filters and an authenticated cursor. Optional account_id selects one exact account in this environment before pagination. All filters are bound into the cursor.`,
66330
+ List retained investigation reviews using filters and an authenticated cursor. Use reviews.query to filter by account_id in a JSON body. All filters are bound into the cursor.`,
66323
66331
  annotations: {
66324
66332
  title: "List retained account investigations",
66325
66333
  destructiveHint: false,
@@ -67065,6 +67073,190 @@ List private and shared saved review filters visible to you.`,
67065
67073
  };
67066
67074
  });
67067
67075
 
67076
+ // src/models/reviewqueryrequest.ts
67077
+ var ReviewQueryRequest$zodSchema;
67078
+ var init_reviewqueryrequest = __esm(() => {
67079
+ init_zod();
67080
+ init_priority();
67081
+ init_reviewstatus();
67082
+ ReviewQueryRequest$zodSchema = object({
67083
+ account_id: string2().optional().describe("Only reviews of this exact account in the authenticated workspace and environment. Applied before pagination."),
67084
+ assignee: string2().optional(),
67085
+ assignee_principal_id: string2().optional(),
67086
+ cursor: string2().optional(),
67087
+ limit: int().default(50),
67088
+ priority: Priority$zodSchema.optional(),
67089
+ status: ReviewStatus$zodSchema.optional(),
67090
+ unassigned: boolean2().optional()
67091
+ });
67092
+ });
67093
+
67094
+ // src/models/queryreviewsop.ts
67095
+ var QueryReviewsRequest$zodSchema, QueryReviewsResponseResult$zodSchema, QueryReviewsResponse$zodSchema;
67096
+ var init_queryreviewsop = __esm(() => {
67097
+ init_zod();
67098
+ init_authenticationerror();
67099
+ init_badrequesterror();
67100
+ init_conflicterror();
67101
+ init_keyenvironment();
67102
+ init_notfounderror();
67103
+ init_permissiondeniederror();
67104
+ init_ratelimiterror();
67105
+ init_reviewlist();
67106
+ init_reviewqueryrequest();
67107
+ QueryReviewsRequest$zodSchema = object({
67108
+ body: ReviewQueryRequest$zodSchema,
67109
+ environment: KeyEnvironment$zodSchema.describe("The environment: live or test. Each has its own settings. Any other value answers 400. An API key reads and changes only its own environment's; the other answers 404."),
67110
+ workspace_id: string2().describe("Your workspace id, as each key lists it in workspace_id. Another workspace, a malformed id and a test environment's id answer 404.")
67111
+ });
67112
+ QueryReviewsResponseResult$zodSchema = union([
67113
+ BadRequestError$zodSchema,
67114
+ AuthenticationError$zodSchema,
67115
+ PermissionDeniedError$zodSchema,
67116
+ NotFoundError$zodSchema,
67117
+ ConflictError$zodSchema,
67118
+ RateLimitError$zodSchema,
67119
+ ReviewList$zodSchema
67120
+ ]);
67121
+ QueryReviewsResponse$zodSchema = object({
67122
+ Headers: record(string2(), array(string2())).default({}),
67123
+ Result: union([
67124
+ BadRequestError$zodSchema,
67125
+ AuthenticationError$zodSchema,
67126
+ PermissionDeniedError$zodSchema,
67127
+ NotFoundError$zodSchema,
67128
+ ConflictError$zodSchema,
67129
+ RateLimitError$zodSchema,
67130
+ ReviewList$zodSchema
67131
+ ])
67132
+ });
67133
+ });
67134
+
67135
+ // src/funcs/reviewsQuery.ts
67136
+ function reviewsQuery(client$, request, options) {
67137
+ return new APIPromise($do79(client$, request, options));
67138
+ }
67139
+ async function $do79(client$, request, options) {
67140
+ const parsed$ = safeParse2(request, (value$) => QueryReviewsRequest$zodSchema.parse(value$), "Input validation failed");
67141
+ if (!parsed$.ok) {
67142
+ return [parsed$, { status: "invalid" }];
67143
+ }
67144
+ const payload$ = parsed$.value;
67145
+ const body$ = encodeJSON("body", payload$.body, { explode: true });
67146
+ const pathParams$ = {
67147
+ environment: encodeSimple("environment", payload$.environment, {
67148
+ explode: false,
67149
+ charEncoding: "percent"
67150
+ }),
67151
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
67152
+ explode: false,
67153
+ charEncoding: "percent"
67154
+ })
67155
+ };
67156
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/reviews/{environment}/query")(pathParams$);
67157
+ const headers$ = new Headers(compactMap({
67158
+ "Content-Type": "application/json",
67159
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
67160
+ }));
67161
+ const securityInput = await extractSecurity(client$._options.security);
67162
+ const requestSecurity = resolveGlobalSecurity(securityInput);
67163
+ const context = {
67164
+ options: client$._options,
67165
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
67166
+ operationID: "queryReviews",
67167
+ oAuth2Scopes: null,
67168
+ resolvedSecurity: requestSecurity,
67169
+ securitySource: client$._options.security,
67170
+ retryConfig: options?.retries || client$._options.retryConfig || {
67171
+ strategy: "backoff",
67172
+ backoff: {
67173
+ initialInterval: 500,
67174
+ maxInterval: 8000,
67175
+ exponent: 2,
67176
+ maxElapsedTime: 30000
67177
+ },
67178
+ retryConnectionErrors: true
67179
+ },
67180
+ retryCodes: options?.retryCodes || [
67181
+ "408",
67182
+ "429",
67183
+ "5XX"
67184
+ ]
67185
+ };
67186
+ const requestRes = client$._createRequest(context, {
67187
+ security: requestSecurity,
67188
+ method: "POST",
67189
+ baseURL: options?.serverURL,
67190
+ path: path$,
67191
+ headers: headers$,
67192
+ body: body$,
67193
+ userAgent: client$._options.userAgent,
67194
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
67195
+ }, options);
67196
+ if (!requestRes.ok) {
67197
+ return [requestRes, { status: "invalid" }];
67198
+ }
67199
+ const req$ = requestRes.value;
67200
+ const doResult = await client$._do(req$, {
67201
+ context,
67202
+ errorCodes: [],
67203
+ retryConfig: context.retryConfig,
67204
+ retryCodes: context.retryCodes
67205
+ });
67206
+ if (!doResult.ok) {
67207
+ return [doResult, { status: "request-error", request: req$ }];
67208
+ }
67209
+ return [doResult, {
67210
+ status: "complete",
67211
+ request: req$,
67212
+ response: doResult.value
67213
+ }];
67214
+ }
67215
+ var init_reviewsQuery = __esm(() => {
67216
+ init_encodings();
67217
+ init_primitives();
67218
+ init_schemas3();
67219
+ init_security();
67220
+ init_url();
67221
+ init_queryreviewsop();
67222
+ init_async();
67223
+ });
67224
+
67225
+ // src/mcp-server/tools/reviewsQuery.ts
67226
+ var args79, tool$reviewsQuery;
67227
+ var init_reviewsQuery2 = __esm(() => {
67228
+ init_reviewsQuery();
67229
+ init_queryreviewsop();
67230
+ init_tools();
67231
+ args79 = {
67232
+ request: QueryReviewsRequest$zodSchema
67233
+ };
67234
+ tool$reviewsQuery = {
67235
+ name: "query_reviews",
67236
+ description: `Query retained reviews without identifiers in URLs.
67237
+
67238
+ Query retained investigation reviews using a JSON body, including an exact account_id filter. All filters are bound into the cursor.`,
67239
+ annotations: {
67240
+ title: "Query retained account investigations with private body filters",
67241
+ destructiveHint: false,
67242
+ idempotentHint: true,
67243
+ openWorldHint: false,
67244
+ readOnlyHint: true
67245
+ },
67246
+ args: args79,
67247
+ tool: async (client, args, ctx) => {
67248
+ const [result] = await reviewsQuery(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67249
+ if (!result.ok) {
67250
+ return {
67251
+ content: [{ type: "text", text: result.error.message }],
67252
+ isError: true
67253
+ };
67254
+ }
67255
+ return formatResult(result.value);
67256
+ }
67257
+ };
67258
+ });
67259
+
67068
67260
  // src/models/reviewresolverequest.ts
67069
67261
  var ReviewResolveRequest$zodSchema;
67070
67262
  var init_reviewresolverequest = __esm(() => {
@@ -67122,9 +67314,9 @@ var init_resolvereviewop = __esm(() => {
67122
67314
 
67123
67315
  // src/funcs/reviewsResolve.ts
67124
67316
  function reviewsResolve(client$, request, options) {
67125
- return new APIPromise($do79(client$, request, options));
67317
+ return new APIPromise($do80(client$, request, options));
67126
67318
  }
67127
- async function $do79(client$, request, options) {
67319
+ async function $do80(client$, request, options) {
67128
67320
  const parsed$ = safeParse2(request, (value$) => ResolveReviewRequest$zodSchema.parse(value$), "Input validation failed");
67129
67321
  if (!parsed$.ok) {
67130
67322
  return [parsed$, { status: "invalid" }];
@@ -67202,12 +67394,12 @@ var init_reviewsResolve = __esm(() => {
67202
67394
  });
67203
67395
 
67204
67396
  // src/mcp-server/tools/reviewsResolve.ts
67205
- var args79, tool$reviewsResolve;
67397
+ var args80, tool$reviewsResolve;
67206
67398
  var init_reviewsResolve2 = __esm(() => {
67207
67399
  init_reviewsResolve();
67208
67400
  init_resolvereviewop();
67209
67401
  init_tools();
67210
- args79 = {
67402
+ args80 = {
67211
67403
  request: ResolveReviewRequest$zodSchema
67212
67404
  };
67213
67405
  tool$reviewsResolve = {
@@ -67222,7 +67414,7 @@ Resolve a review against the exact current review and account decision versions.
67222
67414
  openWorldHint: false,
67223
67415
  readOnlyHint: false
67224
67416
  },
67225
- args: args79,
67417
+ args: args80,
67226
67418
  tool: async (client, args, ctx) => {
67227
67419
  const [result] = await reviewsResolve(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67228
67420
  if (!result.ok) {
@@ -67304,9 +67496,9 @@ var init_updatereviewop = __esm(() => {
67304
67496
 
67305
67497
  // src/funcs/reviewsUpdate.ts
67306
67498
  function reviewsUpdate(client$, request, options) {
67307
- return new APIPromise($do80(client$, request, options));
67499
+ return new APIPromise($do81(client$, request, options));
67308
67500
  }
67309
- async function $do80(client$, request, options) {
67501
+ async function $do81(client$, request, options) {
67310
67502
  const parsed$ = safeParse2(request, (value$) => UpdateReviewRequest$zodSchema.parse(value$), "Input validation failed");
67311
67503
  if (!parsed$.ok) {
67312
67504
  return [parsed$, { status: "invalid" }];
@@ -67384,12 +67576,12 @@ var init_reviewsUpdate = __esm(() => {
67384
67576
  });
67385
67577
 
67386
67578
  // src/mcp-server/tools/reviewsUpdate.ts
67387
- var args80, tool$reviewsUpdate;
67579
+ var args81, tool$reviewsUpdate;
67388
67580
  var init_reviewsUpdate2 = __esm(() => {
67389
67581
  init_reviewsUpdate();
67390
67582
  init_updatereviewop();
67391
67583
  init_tools();
67392
- args80 = {
67584
+ args81 = {
67393
67585
  request: UpdateReviewRequest$zodSchema
67394
67586
  };
67395
67587
  tool$reviewsUpdate = {
@@ -67404,7 +67596,7 @@ Change review status, priority or assignment after checking the expected version
67404
67596
  openWorldHint: false,
67405
67597
  readOnlyHint: false
67406
67598
  },
67407
- args: args80,
67599
+ args: args81,
67408
67600
  tool: async (client, args, ctx) => {
67409
67601
  const [result] = await reviewsUpdate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67410
67602
  if (!result.ok) {
@@ -67462,9 +67654,9 @@ var init_updatereviewviewop = __esm(() => {
67462
67654
 
67463
67655
  // src/funcs/reviewsUpdateView.ts
67464
67656
  function reviewsUpdateView(client$, request, options) {
67465
- return new APIPromise($do81(client$, request, options));
67657
+ return new APIPromise($do82(client$, request, options));
67466
67658
  }
67467
- async function $do81(client$, request, options) {
67659
+ async function $do82(client$, request, options) {
67468
67660
  const parsed$ = safeParse2(request, (value$) => UpdateReviewViewRequest$zodSchema.parse(value$), "Input validation failed");
67469
67661
  if (!parsed$.ok) {
67470
67662
  return [parsed$, { status: "invalid" }];
@@ -67542,12 +67734,12 @@ var init_reviewsUpdateView = __esm(() => {
67542
67734
  });
67543
67735
 
67544
67736
  // src/mcp-server/tools/reviewsUpdateView.ts
67545
- var args81, tool$reviewsUpdateView;
67737
+ var args82, tool$reviewsUpdateView;
67546
67738
  var init_reviewsUpdateView2 = __esm(() => {
67547
67739
  init_reviewsUpdateView();
67548
67740
  init_updatereviewviewop();
67549
67741
  init_tools();
67550
- args81 = {
67742
+ args82 = {
67551
67743
  request: UpdateReviewViewRequest$zodSchema
67552
67744
  };
67553
67745
  tool$reviewsUpdateView = {
@@ -67562,7 +67754,7 @@ Update your saved review filter after checking its expected version.`,
67562
67754
  openWorldHint: false,
67563
67755
  readOnlyHint: false
67564
67756
  },
67565
- args: args81,
67757
+ args: args82,
67566
67758
  tool: async (client, args, ctx) => {
67567
67759
  const [result] = await reviewsUpdateView(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67568
67760
  if (!result.ok) {
@@ -67617,9 +67809,9 @@ var init_getsettingsop = __esm(() => {
67617
67809
 
67618
67810
  // src/funcs/settingsGet.ts
67619
67811
  function settingsGet(client$, request, options) {
67620
- return new APIPromise($do82(client$, request, options));
67812
+ return new APIPromise($do83(client$, request, options));
67621
67813
  }
67622
- async function $do82(client$, request, options) {
67814
+ async function $do83(client$, request, options) {
67623
67815
  const parsed$ = safeParse2(request, (value$) => GetSettingsRequest$zodSchema.parse(value$), "Input validation failed");
67624
67816
  if (!parsed$.ok) {
67625
67817
  return [parsed$, { status: "invalid" }];
@@ -67705,12 +67897,12 @@ var init_settingsGet = __esm(() => {
67705
67897
  });
67706
67898
 
67707
67899
  // src/mcp-server/tools/settingsGet.ts
67708
- var args82, tool$settingsGet;
67900
+ var args83, tool$settingsGet;
67709
67901
  var init_settingsGet2 = __esm(() => {
67710
67902
  init_settingsGet();
67711
67903
  init_getsettingsop();
67712
67904
  init_tools();
67713
- args82 = {
67905
+ args83 = {
67714
67906
  request: GetSettingsRequest$zodSchema
67715
67907
  };
67716
67908
  tool$settingsGet = {
@@ -67725,7 +67917,7 @@ Read this environment retention, source selection and effective flow policies. A
67725
67917
  openWorldHint: false,
67726
67918
  readOnlyHint: true
67727
67919
  },
67728
- args: args82,
67920
+ args: args83,
67729
67921
  tool: async (client, args, ctx) => {
67730
67922
  const [result] = await settingsGet(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67731
67923
  if (!result.ok) {
@@ -67828,9 +68020,9 @@ var init_listpolicyhistoryop = __esm(() => {
67828
68020
 
67829
68021
  // src/funcs/settingsListHistory.ts
67830
68022
  function settingsListHistory(client$, request, options) {
67831
- return new APIPromise($do83(client$, request, options));
68023
+ return new APIPromise($do84(client$, request, options));
67832
68024
  }
67833
- async function $do83(client$, request, options) {
68025
+ async function $do84(client$, request, options) {
67834
68026
  const parsed$ = safeParse2(request, (value$) => ListPolicyHistoryRequest$zodSchema.parse(value$), "Input validation failed");
67835
68027
  if (!parsed$.ok) {
67836
68028
  return [parsed$, { status: "invalid" }];
@@ -67921,12 +68113,12 @@ var init_settingsListHistory = __esm(() => {
67921
68113
  });
67922
68114
 
67923
68115
  // src/mcp-server/tools/settingsListHistory.ts
67924
- var args83, tool$settingsListHistory;
68116
+ var args84, tool$settingsListHistory;
67925
68117
  var init_settingsListHistory2 = __esm(() => {
67926
68118
  init_settingsListHistory();
67927
68119
  init_listpolicyhistoryop();
67928
68120
  init_tools();
67929
- args83 = {
68121
+ args84 = {
67930
68122
  request: ListPolicyHistoryRequest$zodSchema
67931
68123
  };
67932
68124
  tool$settingsListHistory = {
@@ -67941,7 +68133,7 @@ Read immutable configuration versions in one environment with settings or manage
67941
68133
  openWorldHint: false,
67942
68134
  readOnlyHint: true
67943
68135
  },
67944
- args: args83,
68136
+ args: args84,
67945
68137
  tool: async (client, args, ctx) => {
67946
68138
  const [result] = await settingsListHistory(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67947
68139
  if (!result.ok) {
@@ -68120,9 +68312,9 @@ var init_previewpolicyop = __esm(() => {
68120
68312
 
68121
68313
  // src/funcs/settingsPreview.ts
68122
68314
  function settingsPreview(client$, request, options) {
68123
- return new APIPromise($do84(client$, request, options));
68315
+ return new APIPromise($do85(client$, request, options));
68124
68316
  }
68125
- async function $do84(client$, request, options) {
68317
+ async function $do85(client$, request, options) {
68126
68318
  const parsed$ = safeParse2(request, (value$) => PreviewPolicyRequest$zodSchema.parse(value$), "Input validation failed");
68127
68319
  if (!parsed$.ok) {
68128
68320
  return [parsed$, { status: "invalid" }];
@@ -68209,12 +68401,12 @@ var init_settingsPreview = __esm(() => {
68209
68401
  });
68210
68402
 
68211
68403
  // src/mcp-server/tools/settingsPreview.ts
68212
- var args84, tool$settingsPreview;
68404
+ var args85, tool$settingsPreview;
68213
68405
  var init_settingsPreview2 = __esm(() => {
68214
68406
  init_settingsPreview();
68215
68407
  init_previewpolicyop();
68216
68408
  init_tools();
68217
- args84 = {
68409
+ args85 = {
68218
68410
  request: PreviewPolicyRequest$zodSchema
68219
68411
  };
68220
68412
  tool$settingsPreview = {
@@ -68229,7 +68421,7 @@ Compare proposed policy with bounded retained first answers, including baseline,
68229
68421
  openWorldHint: false,
68230
68422
  readOnlyHint: true
68231
68423
  },
68232
- args: args84,
68424
+ args: args85,
68233
68425
  tool: async (client, args, ctx) => {
68234
68426
  const [result] = await settingsPreview(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
68235
68427
  if (!result.ok) {
@@ -68297,9 +68489,9 @@ var init_restorepolicyop = __esm(() => {
68297
68489
 
68298
68490
  // src/funcs/settingsRestore.ts
68299
68491
  function settingsRestore(client$, request, options) {
68300
- return new APIPromise($do85(client$, request, options));
68492
+ return new APIPromise($do86(client$, request, options));
68301
68493
  }
68302
- async function $do85(client$, request, options) {
68494
+ async function $do86(client$, request, options) {
68303
68495
  const parsed$ = safeParse2(request, (value$) => RestorePolicyRequest$zodSchema.parse(value$), "Input validation failed");
68304
68496
  if (!parsed$.ok) {
68305
68497
  return [parsed$, { status: "invalid" }];
@@ -68373,12 +68565,12 @@ var init_settingsRestore = __esm(() => {
68373
68565
  });
68374
68566
 
68375
68567
  // src/mcp-server/tools/settingsRestore.ts
68376
- var args85, tool$settingsRestore;
68568
+ var args86, tool$settingsRestore;
68377
68569
  var init_settingsRestore2 = __esm(() => {
68378
68570
  init_settingsRestore();
68379
68571
  init_restorepolicyop();
68380
68572
  init_tools();
68381
- args85 = {
68573
+ args86 = {
68382
68574
  request: RestorePolicyRequest$zodSchema
68383
68575
  };
68384
68576
  tool$settingsRestore = {
@@ -68393,7 +68585,7 @@ Restore a retained configuration as a fresh version with the expected current ve
68393
68585
  openWorldHint: false,
68394
68586
  readOnlyHint: false
68395
68587
  },
68396
- args: args85,
68588
+ args: args86,
68397
68589
  tool: async (client, args, ctx) => {
68398
68590
  const [result] = await settingsRestore(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
68399
68591
  if (!result.ok) {
@@ -68498,9 +68690,9 @@ var init_updatesettingsop = __esm(() => {
68498
68690
 
68499
68691
  // src/funcs/settingsUpdate.ts
68500
68692
  function settingsUpdate(client$, request, options) {
68501
- return new APIPromise($do86(client$, request, options));
68693
+ return new APIPromise($do87(client$, request, options));
68502
68694
  }
68503
- async function $do86(client$, request, options) {
68695
+ async function $do87(client$, request, options) {
68504
68696
  const parsed$ = safeParse2(request, (value$) => UpdateSettingsRequest$zodSchema.parse(value$), "Input validation failed");
68505
68697
  if (!parsed$.ok) {
68506
68698
  return [parsed$, { status: "invalid" }];
@@ -68587,12 +68779,12 @@ var init_settingsUpdate = __esm(() => {
68587
68779
  });
68588
68780
 
68589
68781
  // src/mcp-server/tools/settingsUpdate.ts
68590
- var args86, tool$settingsUpdate;
68782
+ var args87, tool$settingsUpdate;
68591
68783
  var init_settingsUpdate2 = __esm(() => {
68592
68784
  init_settingsUpdate();
68593
68785
  init_updatesettingsop();
68594
68786
  init_tools();
68595
- args86 = {
68787
+ args87 = {
68596
68788
  request: UpdateSettingsRequest$zodSchema
68597
68789
  };
68598
68790
  tool$settingsUpdate = {
@@ -68607,7 +68799,7 @@ Change named retention, source or flow settings in one transaction. Requires set
68607
68799
  openWorldHint: false,
68608
68800
  readOnlyHint: false
68609
68801
  },
68610
- args: args86,
68802
+ args: args87,
68611
68803
  tool: async (client, args, ctx) => {
68612
68804
  const [result] = await settingsUpdate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
68613
68805
  if (!result.ok) {
@@ -68728,9 +68920,9 @@ var init_getusageop = __esm(() => {
68728
68920
 
68729
68921
  // src/funcs/usageGet.ts
68730
68922
  function usageGet(client$, request, options) {
68731
- return new APIPromise($do87(client$, request, options));
68923
+ return new APIPromise($do88(client$, request, options));
68732
68924
  }
68733
- async function $do87(client$, request, options) {
68925
+ async function $do88(client$, request, options) {
68734
68926
  const parsed$ = safeParse2(request, (value$) => GetUsageRequest$zodSchema.parse(value$), "Input validation failed");
68735
68927
  if (!parsed$.ok) {
68736
68928
  return [parsed$, { status: "invalid" }];
@@ -68817,12 +69009,12 @@ var init_usageGet = __esm(() => {
68817
69009
  });
68818
69010
 
68819
69011
  // src/mcp-server/tools/usageGet.ts
68820
- var args87, tool$usageGet;
69012
+ var args88, tool$usageGet;
68821
69013
  var init_usageGet2 = __esm(() => {
68822
69014
  init_usageGet();
68823
69015
  init_getusageop();
68824
69016
  init_tools();
68825
- args87 = {
69017
+ args88 = {
68826
69018
  request: GetUsageRequest$zodSchema
68827
69019
  };
68828
69020
  tool$usageGet = {
@@ -68837,7 +69029,7 @@ Read daily usage units for the environments you can access. These counts are unp
68837
69029
  openWorldHint: false,
68838
69030
  readOnlyHint: true
68839
69031
  },
68840
- args: args87,
69032
+ args: args88,
68841
69033
  tool: async (client, args, ctx) => {
68842
69034
  const [result] = await usageGet(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
68843
69035
  if (!result.ok) {
@@ -68867,9 +69059,9 @@ var init_webhookaggregaterequest = __esm(() => {
68867
69059
 
68868
69060
  // src/funcs/webhookEndpointsAggregate.ts
68869
69061
  function webhookEndpointsAggregate(client$, request, options) {
68870
- return new APIPromise($do88(client$, request, options));
69062
+ return new APIPromise($do89(client$, request, options));
68871
69063
  }
68872
- async function $do88(client$, request, options) {
69064
+ async function $do89(client$, request, options) {
68873
69065
  const parsed$ = safeParse2(request, (value$) => WebhookAggregateRequest$zodSchema.parse(value$), "Input validation failed");
68874
69066
  if (!parsed$.ok) {
68875
69067
  return [parsed$, { status: "invalid" }];
@@ -68946,12 +69138,12 @@ var init_webhookEndpointsAggregate = __esm(() => {
68946
69138
  });
68947
69139
 
68948
69140
  // src/mcp-server/tools/webhookEndpointsAggregate.ts
68949
- var args88, tool$webhookEndpointsAggregate;
69141
+ var args89, tool$webhookEndpointsAggregate;
68950
69142
  var init_webhookEndpointsAggregate2 = __esm(() => {
68951
69143
  init_webhookEndpointsAggregate();
68952
69144
  init_webhookaggregaterequest();
68953
69145
  init_tools();
68954
- args88 = {
69146
+ args89 = {
68955
69147
  request: WebhookAggregateRequest$zodSchema
68956
69148
  };
68957
69149
  tool$webhookEndpointsAggregate = {
@@ -68966,7 +69158,7 @@ Count retained webhook delivery attempts within thirty days and report current r
68966
69158
  openWorldHint: false,
68967
69159
  readOnlyHint: true
68968
69160
  },
68969
- args: args88,
69161
+ args: args89,
68970
69162
  tool: async (client, args, ctx) => {
68971
69163
  const [result] = await webhookEndpointsAggregate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
68972
69164
  if (!result.ok) {
@@ -68993,9 +69185,9 @@ var init_webhookendpointrequest = __esm(() => {
68993
69185
 
68994
69186
  // src/funcs/webhookEndpointsCreate.ts
68995
69187
  function webhookEndpointsCreate(client$, request, options) {
68996
- return new APIPromise($do89(client$, request, options));
69188
+ return new APIPromise($do90(client$, request, options));
68997
69189
  }
68998
- async function $do89(client$, request, options) {
69190
+ async function $do90(client$, request, options) {
68999
69191
  const parsed$ = safeParse2(request, (value$) => WebhookEndpointRequest$zodSchema.parse(value$), "Input validation failed");
69000
69192
  if (!parsed$.ok) {
69001
69193
  return [parsed$, { status: "invalid" }];
@@ -69059,12 +69251,12 @@ var init_webhookEndpointsCreate = __esm(() => {
69059
69251
  });
69060
69252
 
69061
69253
  // src/mcp-server/tools/webhookEndpointsCreate.ts
69062
- var args89, tool$webhookEndpointsCreate;
69254
+ var args90, tool$webhookEndpointsCreate;
69063
69255
  var init_webhookEndpointsCreate2 = __esm(() => {
69064
69256
  init_webhookEndpointsCreate();
69065
69257
  init_webhookendpointrequest();
69066
69258
  init_tools();
69067
- args89 = {
69259
+ args90 = {
69068
69260
  request: WebhookEndpointRequest$zodSchema
69069
69261
  };
69070
69262
  tool$webhookEndpointsCreate = {
@@ -69079,7 +69271,7 @@ Registers a webhook endpoint and returns it with its first signing secret, shown
69079
69271
  openWorldHint: false,
69080
69272
  readOnlyHint: false
69081
69273
  },
69082
- args: args89,
69274
+ args: args90,
69083
69275
  tool: async (client, args, ctx) => {
69084
69276
  const [result] = await webhookEndpointsCreate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
69085
69277
  if (!result.ok) {
@@ -69129,9 +69321,9 @@ var init_deletewebhookendpointop = __esm(() => {
69129
69321
 
69130
69322
  // src/funcs/webhookEndpointsDelete.ts
69131
69323
  function webhookEndpointsDelete(client$, request, options) {
69132
- return new APIPromise($do90(client$, request, options));
69324
+ return new APIPromise($do91(client$, request, options));
69133
69325
  }
69134
- async function $do90(client$, request, options) {
69326
+ async function $do91(client$, request, options) {
69135
69327
  const parsed$ = safeParse2(request, (value$) => DeleteWebhookEndpointRequest$zodSchema.parse(value$), "Input validation failed");
69136
69328
  if (!parsed$.ok) {
69137
69329
  return [parsed$, { status: "invalid" }];
@@ -69213,12 +69405,12 @@ var init_webhookEndpointsDelete = __esm(() => {
69213
69405
  });
69214
69406
 
69215
69407
  // src/mcp-server/tools/webhookEndpointsDelete.ts
69216
- var args90, tool$webhookEndpointsDelete;
69408
+ var args91, tool$webhookEndpointsDelete;
69217
69409
  var init_webhookEndpointsDelete2 = __esm(() => {
69218
69410
  init_webhookEndpointsDelete();
69219
69411
  init_deletewebhookendpointop();
69220
69412
  init_tools();
69221
- args90 = {
69413
+ args91 = {
69222
69414
  request: DeleteWebhookEndpointRequest$zodSchema
69223
69415
  };
69224
69416
  tool$webhookEndpointsDelete = {
@@ -69233,7 +69425,7 @@ Deletes the endpoint and its signing keys. Deliveries still queued for it are dr
69233
69425
  openWorldHint: false,
69234
69426
  readOnlyHint: false
69235
69427
  },
69236
- args: args90,
69428
+ args: args91,
69237
69429
  tool: async (client, args, ctx) => {
69238
69430
  const [result] = await webhookEndpointsDelete(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
69239
69431
  if (!result.ok) {
@@ -69249,9 +69441,9 @@ Deletes the endpoint and its signing keys. Deliveries still queued for it are dr
69249
69441
 
69250
69442
  // src/funcs/webhookEndpointsList.ts
69251
69443
  function webhookEndpointsList(client$, options) {
69252
- return new APIPromise($do91(client$, options));
69444
+ return new APIPromise($do92(client$, options));
69253
69445
  }
69254
- async function $do91(client$, options) {
69446
+ async function $do92(client$, options) {
69255
69447
  const path$ = pathToFunc("/v1/webhooks")();
69256
69448
  const headers$ = new Headers(compactMap({
69257
69449
  Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
@@ -69443,9 +69635,9 @@ var init_listwebhookdeliveriesop = __esm(() => {
69443
69635
 
69444
69636
  // src/funcs/webhookEndpointsListDeliveries.ts
69445
69637
  function webhookEndpointsListDeliveries(client$, request, options) {
69446
- return new APIPromise($do92(client$, request, options));
69638
+ return new APIPromise($do93(client$, request, options));
69447
69639
  }
69448
- async function $do92(client$, request, options) {
69640
+ async function $do93(client$, request, options) {
69449
69641
  const parsed$ = safeParse2(request, (value$) => ListWebhookDeliveriesRequest$zodSchema.parse(value$), "Input validation failed");
69450
69642
  if (!parsed$.ok) {
69451
69643
  return [parsed$, { status: "invalid" }];
@@ -69532,12 +69724,12 @@ var init_webhookEndpointsListDeliveries = __esm(() => {
69532
69724
  });
69533
69725
 
69534
69726
  // src/mcp-server/tools/webhookEndpointsListDeliveries.ts
69535
- var args91, tool$webhookEndpointsListDeliveries;
69727
+ var args92, tool$webhookEndpointsListDeliveries;
69536
69728
  var init_webhookEndpointsListDeliveries2 = __esm(() => {
69537
69729
  init_webhookEndpointsListDeliveries();
69538
69730
  init_listwebhookdeliveriesop();
69539
69731
  init_tools();
69540
- args91 = {
69732
+ args92 = {
69541
69733
  request: ListWebhookDeliveriesRequest$zodSchema
69542
69734
  };
69543
69735
  tool$webhookEndpointsListDeliveries = {
@@ -69552,7 +69744,7 @@ Every POST the endpoint received, newest first: the event id and type, which att
69552
69744
  openWorldHint: false,
69553
69745
  readOnlyHint: true
69554
69746
  },
69555
- args: args91,
69747
+ args: args92,
69556
69748
  tool: async (client, args, ctx) => {
69557
69749
  const [result] = await webhookEndpointsListDeliveries(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
69558
69750
  if (!result.ok) {
@@ -69626,9 +69818,9 @@ var init_replaywebhookdeliveryop = __esm(() => {
69626
69818
 
69627
69819
  // src/funcs/webhookEndpointsReplayDelivery.ts
69628
69820
  function webhookEndpointsReplayDelivery(client$, request, options) {
69629
- return new APIPromise($do93(client$, request, options));
69821
+ return new APIPromise($do94(client$, request, options));
69630
69822
  }
69631
- async function $do93(client$, request, options) {
69823
+ async function $do94(client$, request, options) {
69632
69824
  const parsed$ = safeParse2(request, (value$) => ReplayWebhookDeliveryRequest$zodSchema.parse(value$), "Input validation failed");
69633
69825
  if (!parsed$.ok) {
69634
69826
  return [parsed$, { status: "invalid" }];
@@ -69702,12 +69894,12 @@ var init_webhookEndpointsReplayDelivery = __esm(() => {
69702
69894
  });
69703
69895
 
69704
69896
  // src/mcp-server/tools/webhookEndpointsReplayDelivery.ts
69705
- var args92, tool$webhookEndpointsReplayDelivery;
69897
+ var args93, tool$webhookEndpointsReplayDelivery;
69706
69898
  var init_webhookEndpointsReplayDelivery2 = __esm(() => {
69707
69899
  init_webhookEndpointsReplayDelivery();
69708
69900
  init_replaywebhookdeliveryop();
69709
69901
  init_tools();
69710
- args92 = {
69902
+ args93 = {
69711
69903
  request: ReplayWebhookDeliveryRequest$zodSchema
69712
69904
  };
69713
69905
  tool$webhookEndpointsReplayDelivery = {
@@ -69722,7 +69914,7 @@ Queues the event for the endpoint again: the same event id and body it received,
69722
69914
  openWorldHint: false,
69723
69915
  readOnlyHint: false
69724
69916
  },
69725
- args: args92,
69917
+ args: args93,
69726
69918
  tool: async (client, args, ctx) => {
69727
69919
  const [result] = await webhookEndpointsReplayDelivery(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
69728
69920
  if (!result.ok) {
@@ -69808,9 +70000,9 @@ var init_rotatewebhooksigningkeyop = __esm(() => {
69808
70000
 
69809
70001
  // src/funcs/webhookEndpointsRotateSigningKey.ts
69810
70002
  function webhookEndpointsRotateSigningKey(client$, request, options) {
69811
- return new APIPromise($do94(client$, request, options));
70003
+ return new APIPromise($do95(client$, request, options));
69812
70004
  }
69813
- async function $do94(client$, request, options) {
70005
+ async function $do95(client$, request, options) {
69814
70006
  const parsed$ = safeParse2(request, (value$) => RotateWebhookSigningKeyRequest$zodSchema.parse(value$), "Input validation failed");
69815
70007
  if (!parsed$.ok) {
69816
70008
  return [parsed$, { status: "invalid" }];
@@ -69880,12 +70072,12 @@ var init_webhookEndpointsRotateSigningKey = __esm(() => {
69880
70072
  });
69881
70073
 
69882
70074
  // src/mcp-server/tools/webhookEndpointsRotateSigningKey.ts
69883
- var args93, tool$webhookEndpointsRotateSigningKey;
70075
+ var args94, tool$webhookEndpointsRotateSigningKey;
69884
70076
  var init_webhookEndpointsRotateSigningKey2 = __esm(() => {
69885
70077
  init_webhookEndpointsRotateSigningKey();
69886
70078
  init_rotatewebhooksigningkeyop();
69887
70079
  init_tools();
69888
- args93 = {
70080
+ args94 = {
69889
70081
  request: RotateWebhookSigningKeyRequest$zodSchema
69890
70082
  };
69891
70083
  tool$webhookEndpointsRotateSigningKey = {
@@ -69900,7 +70092,7 @@ Issues a new signing key for the endpoint and returns its secret once. Every del
69900
70092
  openWorldHint: false,
69901
70093
  readOnlyHint: false
69902
70094
  },
69903
- args: args93,
70095
+ args: args94,
69904
70096
  tool: async (client, args, ctx) => {
69905
70097
  const [result] = await webhookEndpointsRotateSigningKey(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
69906
70098
  if (!result.ok) {
@@ -69990,9 +70182,9 @@ var init_sendwebhooktesteventop = __esm(() => {
69990
70182
 
69991
70183
  // src/funcs/webhookEndpointsSendTestEvent.ts
69992
70184
  function webhookEndpointsSendTestEvent(client$, request, options) {
69993
- return new APIPromise($do95(client$, request, options));
70185
+ return new APIPromise($do96(client$, request, options));
69994
70186
  }
69995
- async function $do95(client$, request, options) {
70187
+ async function $do96(client$, request, options) {
69996
70188
  const parsed$ = safeParse2(request, (value$) => SendWebhookTestEventRequest$zodSchema.parse(value$), "Input validation failed");
69997
70189
  if (!parsed$.ok) {
69998
70190
  return [parsed$, { status: "invalid" }];
@@ -70062,12 +70254,12 @@ var init_webhookEndpointsSendTestEvent = __esm(() => {
70062
70254
  });
70063
70255
 
70064
70256
  // src/mcp-server/tools/webhookEndpointsSendTestEvent.ts
70065
- var args94, tool$webhookEndpointsSendTestEvent;
70257
+ var args95, tool$webhookEndpointsSendTestEvent;
70066
70258
  var init_webhookEndpointsSendTestEvent2 = __esm(() => {
70067
70259
  init_webhookEndpointsSendTestEvent();
70068
70260
  init_sendwebhooktesteventop();
70069
70261
  init_tools();
70070
- args94 = {
70262
+ args95 = {
70071
70263
  request: SendWebhookTestEventRequest$zodSchema
70072
70264
  };
70073
70265
  tool$webhookEndpointsSendTestEvent = {
@@ -70082,7 +70274,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
70082
70274
  openWorldHint: false,
70083
70275
  readOnlyHint: false
70084
70276
  },
70085
- args: args94,
70277
+ args: args95,
70086
70278
  tool: async (client, args, ctx) => {
70087
70279
  const [result] = await webhookEndpointsSendTestEvent(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
70088
70280
  if (!result.ok) {
@@ -70100,7 +70292,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
70100
70292
  function createMCPServer(deps) {
70101
70293
  const server = new McpServer({
70102
70294
  name: "NoResponse",
70103
- version: "0.11.4"
70295
+ version: "0.11.6"
70104
70296
  });
70105
70297
  const getClient = deps.getSDK || (() => new NoResponseCore({
70106
70298
  security: deps.security,
@@ -70200,6 +70392,7 @@ function createMCPServer(deps) {
70200
70392
  tool(tool$reviewsListSubjects);
70201
70393
  tool(tool$reviewsAddSubject);
70202
70394
  tool(tool$reviewsDeleteSubject);
70395
+ tool(tool$reviewsQuery);
70203
70396
  tool(tool$erasuresGet);
70204
70397
  tool(tool$exportsCreate);
70205
70398
  tool(tool$exportsList);
@@ -70305,6 +70498,7 @@ var init_server = __esm(() => {
70305
70498
  init_reviewsListResolutions2();
70306
70499
  init_reviewsListSubjects2();
70307
70500
  init_reviewsListViews2();
70501
+ init_reviewsQuery2();
70308
70502
  init_reviewsResolve2();
70309
70503
  init_reviewsUpdate2();
70310
70504
  init_reviewsUpdateView2();
@@ -70722,7 +70916,7 @@ Read retained propagation progress for a list change with settings or management
70722
70916
  name: "list_reviews",
70723
70917
  description: `List retained account reviews.
70724
70918
 
70725
- List retained investigation reviews using filters and an authenticated cursor. Optional account_id selects one exact account in this environment before pagination. All filters are bound into the cursor.`
70919
+ List retained investigation reviews using filters and an authenticated cursor. Use reviews.query to filter by account_id in a JSON body. All filters are bound into the cursor.`
70726
70920
  },
70727
70921
  {
70728
70922
  name: "create_review",
@@ -70813,6 +71007,12 @@ Link an account, exact assessment revision or issued-key association within this
70813
71007
  description: `Remove a linked subject using the current review version.
70814
71008
 
70815
71009
  Remove a subject link with the expected review version. The linked account, assessment or key association remains unchanged.`
71010
+ },
71011
+ {
71012
+ name: "query_reviews",
71013
+ description: `Query retained reviews without identifiers in URLs.
71014
+
71015
+ Query retained investigation reviews using a JSON body, including an exact account_id filter. All filters are bound into the cursor.`
70816
71016
  },
70817
71017
  {
70818
71018
  name: "get_erasure_receipt",
@@ -79397,7 +79597,7 @@ var routes = buildRouteMap({
79397
79597
  var app = buildApplication(routes, {
79398
79598
  name: "mcp",
79399
79599
  versionInfo: {
79400
- currentVersion: "0.11.4"
79600
+ currentVersion: "0.11.6"
79401
79601
  }
79402
79602
  });
79403
79603
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -79405,5 +79605,5 @@ export {
79405
79605
  app
79406
79606
  };
79407
79607
 
79408
- //# debugId=A35E21D7C16572DA64756E2164756E21
79608
+ //# debugId=D4FC62247F4ABA8364756E2164756E21
79409
79609
  //# sourceMappingURL=mcp-server.js.map