@noresponse/mcp 0.11.19 → 0.11.21

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,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.21
4
+
5
+ * `SDK.events.listAttendees()`: `response.items[].coverage.items_not_analysed` **Added**
6
+ * `SDK.events.getAttendee()`: `response` **Changed**
7
+ * `SDK.events.reviewAttendee()`: `response.coverage.items_not_analysed` **Added**
8
+
9
+ ## 0.11.20
10
+
11
+ * `SDK.events.listAttendees()`:
12
+ * `request.role` **Added**
13
+ * `response.items[].role` **Added**
14
+ * `SDK.events.addAttendees()`:
15
+ * `request.body.attendees[].role` **Added**
16
+ * `SDK.events.getAttendee()`: `response.attendee.role` **Added**
17
+ * `SDK.events.reviewAttendee()`: `response.role` **Added**
18
+
3
19
  ## 0.11.19
4
20
 
5
21
  * `SDK.events.listAttendees()`: `response.items[]` **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.19",
48139
+ sdkVersion: "0.11.21",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.11.19 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.11.21 internal 1 @noresponse/mcp"
48142
48142
  };
48143
48143
  });
48144
48144
 
@@ -59954,6 +59954,18 @@ var init_attendeebatch = __esm(() => {
59954
59954
  }).describe("What the batch did, row by row.");
59955
59955
  });
59956
59956
 
59957
+ // src/models/attendeerole.ts
59958
+ var AttendeeRole$zodSchema;
59959
+ var init_attendeerole = __esm(() => {
59960
+ init_zod();
59961
+ AttendeeRole$zodSchema = _enum([
59962
+ "guest",
59963
+ "crew",
59964
+ "vendor",
59965
+ "press"
59966
+ ]).describe("The attendee's role at the event: guest (a ticket holder), crew, vendor or press. Leave it out when you do not know it: an attendee without one has no role, not guest. A later row naming the same attendee replaces it, and a change of role alone keeps the attendee's screening results.");
59967
+ });
59968
+
59957
59969
  // src/models/handleplatform.ts
59958
59970
  var HandlePlatform$zodSchema;
59959
59971
  var init_handleplatform = __esm(() => {
@@ -59988,6 +60000,7 @@ var init_handle = __esm(() => {
59988
60000
  var AttendeeIdentity$zodSchema;
59989
60001
  var init_attendeeidentity = __esm(() => {
59990
60002
  init_zod();
60003
+ init_attendeerole();
59991
60004
  init_handle();
59992
60005
  AttendeeIdentity$zodSchema = object({
59993
60006
  city: string2().optional().describe("Where the attendee lives."),
@@ -59996,7 +60009,8 @@ var init_attendeeidentity = __esm(() => {
59996
60009
  external_id: string2().optional().describe("Your own id for the attendee, unique within the event. A later row with the same external id updates this attendee."),
59997
60010
  handles: array(Handle$zodSchema).optional().describe("Accounts the attendee is known to hold, at most 20."),
59998
60011
  name: string2().describe("The attendee's full name."),
59999
- phone: string2().optional().describe("The attendee's phone in E.164 form.")
60012
+ phone: string2().optional().describe("The attendee's phone in E.164 form."),
60013
+ role: AttendeeRole$zodSchema.optional().describe("The attendee's role at the event: guest (a ticket holder), crew, vendor or press. Leave it out when you do not know it: an attendee without one has no role, not guest. A later row naming the same attendee replaces it, and a change of role alone keeps the attendee's screening results.")
60000
60014
  }).describe("What you know about an attendee. Stored encrypted under the workspace's key.");
60001
60015
  });
60002
60016
 
@@ -61066,6 +61080,7 @@ var init_screeningcoverage = __esm(() => {
61066
61080
  ScreeningCoverage$zodSchema = object({
61067
61081
  accounts_accessible: int(),
61068
61082
  accounts_found: int(),
61083
+ items_not_analysed: int().optional().describe("Items read that the analyser could not analyse. Above zero, the attendee is partial: a finding may be missing from them."),
61069
61084
  items_read: int(),
61070
61085
  period_from: string2().optional().describe("The oldest item read on any platform."),
61071
61086
  period_to: string2().optional().describe("The newest item read on any platform."),
@@ -61078,6 +61093,7 @@ var Attendee$zodSchema;
61078
61093
  var init_attendee = __esm(() => {
61079
61094
  init_zod();
61080
61095
  init_attendeedecision();
61096
+ init_attendeerole();
61081
61097
  init_handle();
61082
61098
  init_highestband();
61083
61099
  init_matchstate();
@@ -61102,6 +61118,7 @@ var init_attendee = __esm(() => {
61102
61118
  match_state: MatchState$zodSchema.describe("How sure the latest screening is that it found the attendee's accounts. unscreened until a screening reaches the attendee."),
61103
61119
  name: string2().describe("The attendee's full name."),
61104
61120
  phone: string2().optional().describe("The attendee's phone in E.164 form."),
61121
+ role: AttendeeRole$zodSchema.optional().describe("The attendee's role at the event: guest (a ticket holder), crew, vendor or press. Leave it out when you do not know it: an attendee without one has no role, not guest. A later row naming the same attendee replaces it, and a change of role alone keeps the attendee's screening results."),
61105
61122
  screened_at: string2().optional(),
61106
61123
  spend: ScreeningSpend$zodSchema.describe("What screening cost, in US cents, in total and per implementation."),
61107
61124
  updated_at: string2()
@@ -61169,6 +61186,7 @@ var init_screeningfinding = __esm(() => {
61169
61186
  evidence: array(string2()).describe("The posts and media that support the finding."),
61170
61187
  id: string2(),
61171
61188
  model: string2(),
61189
+ quote: string2().optional().describe("The exact words of the first evidence item that the finding rests on, as the analyser quoted them."),
61172
61190
  rationale: string2(),
61173
61191
  spend_minor: int().describe("What the analysis cost, in US cents.")
61174
61192
  }).describe("Something the analyser flagged. band is capped by the strongest match among the profiles of its evidence: possible at most moderate, probable at most high. capped_from is the band the analyser gave when the cap lowered it.");
@@ -61894,6 +61912,19 @@ var init_listattendeesdecision = __esm(() => {
61894
61912
  ]);
61895
61913
  });
61896
61914
 
61915
+ // src/models/listattendeesrole.ts
61916
+ var ListAttendeesRole$zodSchema;
61917
+ var init_listattendeesrole = __esm(() => {
61918
+ init_zod();
61919
+ ListAttendeesRole$zodSchema = _enum([
61920
+ "guest",
61921
+ "crew",
61922
+ "vendor",
61923
+ "press",
61924
+ "unstated"
61925
+ ]);
61926
+ });
61927
+
61897
61928
  // src/models/listattendeesop.ts
61898
61929
  var ListAttendeesRequest$zodSchema, ListAttendeesResponseResult$zodSchema, ListAttendeesResponse$zodSchema;
61899
61930
  var init_listattendeesop = __esm(() => {
@@ -61905,6 +61936,7 @@ var init_listattendeesop = __esm(() => {
61905
61936
  init_keyenvironment();
61906
61937
  init_listattendeesband();
61907
61938
  init_listattendeesdecision();
61939
+ init_listattendeesrole();
61908
61940
  init_notfounderror();
61909
61941
  init_permissiondeniederror();
61910
61942
  init_ratelimiterror();
@@ -61915,6 +61947,7 @@ var init_listattendeesop = __esm(() => {
61915
61947
  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."),
61916
61948
  event_id: string2(),
61917
61949
  limit: int().default(100).describe("At most this many attendees."),
61950
+ role: ListAttendeesRole$zodSchema.optional().describe("Only attendees with this role; unstated for attendees whose role was not given."),
61918
61951
  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.")
61919
61952
  });
61920
61953
  ListAttendeesResponseResult$zodSchema = union([
@@ -61970,7 +62003,8 @@ async function $do48(client$, request, options) {
61970
62003
  after: payload$.after,
61971
62004
  band: payload$.band,
61972
62005
  decision: payload$.decision,
61973
- limit: payload$.limit
62006
+ limit: payload$.limit,
62007
+ role: payload$.role
61974
62008
  });
61975
62009
  const headers$ = new Headers(compactMap({
61976
62010
  Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
@@ -73248,7 +73282,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
73248
73282
  function createMCPServer(deps) {
73249
73283
  const server = new McpServer({
73250
73284
  name: "NoResponse",
73251
- version: "0.11.19"
73285
+ version: "0.11.21"
73252
73286
  });
73253
73287
  const getClient = deps.getSDK || (() => new NoResponseCore({
73254
73288
  security: deps.security,
@@ -82657,7 +82691,7 @@ var routes = buildRouteMap({
82657
82691
  var app = buildApplication(routes, {
82658
82692
  name: "mcp",
82659
82693
  versionInfo: {
82660
- currentVersion: "0.11.19"
82694
+ currentVersion: "0.11.21"
82661
82695
  }
82662
82696
  });
82663
82697
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -82665,5 +82699,5 @@ export {
82665
82699
  app
82666
82700
  };
82667
82701
 
82668
- //# debugId=F44DD964A015A32264756E2164756E21
82702
+ //# debugId=A398EB56942FF63564756E2164756E21
82669
82703
  //# sourceMappingURL=mcp-server.js.map