@noresponse/mcp 0.11.19 → 0.11.20

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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.20
4
+
5
+ * `SDK.events.listAttendees()`:
6
+ * `request.role` **Added**
7
+ * `response.items[].role` **Added**
8
+ * `SDK.events.addAttendees()`:
9
+ * `request.body.attendees[].role` **Added**
10
+ * `SDK.events.getAttendee()`: `response.attendee.role` **Added**
11
+ * `SDK.events.reviewAttendee()`: `response.role` **Added**
12
+
3
13
  ## 0.11.19
4
14
 
5
15
  * `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.20",
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.20 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
 
@@ -61078,6 +61092,7 @@ var Attendee$zodSchema;
61078
61092
  var init_attendee = __esm(() => {
61079
61093
  init_zod();
61080
61094
  init_attendeedecision();
61095
+ init_attendeerole();
61081
61096
  init_handle();
61082
61097
  init_highestband();
61083
61098
  init_matchstate();
@@ -61102,6 +61117,7 @@ var init_attendee = __esm(() => {
61102
61117
  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
61118
  name: string2().describe("The attendee's full name."),
61104
61119
  phone: string2().optional().describe("The attendee's phone in E.164 form."),
61120
+ 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
61121
  screened_at: string2().optional(),
61106
61122
  spend: ScreeningSpend$zodSchema.describe("What screening cost, in US cents, in total and per implementation."),
61107
61123
  updated_at: string2()
@@ -61894,6 +61910,19 @@ var init_listattendeesdecision = __esm(() => {
61894
61910
  ]);
61895
61911
  });
61896
61912
 
61913
+ // src/models/listattendeesrole.ts
61914
+ var ListAttendeesRole$zodSchema;
61915
+ var init_listattendeesrole = __esm(() => {
61916
+ init_zod();
61917
+ ListAttendeesRole$zodSchema = _enum([
61918
+ "guest",
61919
+ "crew",
61920
+ "vendor",
61921
+ "press",
61922
+ "unstated"
61923
+ ]);
61924
+ });
61925
+
61897
61926
  // src/models/listattendeesop.ts
61898
61927
  var ListAttendeesRequest$zodSchema, ListAttendeesResponseResult$zodSchema, ListAttendeesResponse$zodSchema;
61899
61928
  var init_listattendeesop = __esm(() => {
@@ -61905,6 +61934,7 @@ var init_listattendeesop = __esm(() => {
61905
61934
  init_keyenvironment();
61906
61935
  init_listattendeesband();
61907
61936
  init_listattendeesdecision();
61937
+ init_listattendeesrole();
61908
61938
  init_notfounderror();
61909
61939
  init_permissiondeniederror();
61910
61940
  init_ratelimiterror();
@@ -61915,6 +61945,7 @@ var init_listattendeesop = __esm(() => {
61915
61945
  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
61946
  event_id: string2(),
61917
61947
  limit: int().default(100).describe("At most this many attendees."),
61948
+ role: ListAttendeesRole$zodSchema.optional().describe("Only attendees with this role; unstated for attendees whose role was not given."),
61918
61949
  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
61950
  });
61920
61951
  ListAttendeesResponseResult$zodSchema = union([
@@ -61970,7 +62001,8 @@ async function $do48(client$, request, options) {
61970
62001
  after: payload$.after,
61971
62002
  band: payload$.band,
61972
62003
  decision: payload$.decision,
61973
- limit: payload$.limit
62004
+ limit: payload$.limit,
62005
+ role: payload$.role
61974
62006
  });
61975
62007
  const headers$ = new Headers(compactMap({
61976
62008
  Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
@@ -73248,7 +73280,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
73248
73280
  function createMCPServer(deps) {
73249
73281
  const server = new McpServer({
73250
73282
  name: "NoResponse",
73251
- version: "0.11.19"
73283
+ version: "0.11.20"
73252
73284
  });
73253
73285
  const getClient = deps.getSDK || (() => new NoResponseCore({
73254
73286
  security: deps.security,
@@ -82657,7 +82689,7 @@ var routes = buildRouteMap({
82657
82689
  var app = buildApplication(routes, {
82658
82690
  name: "mcp",
82659
82691
  versionInfo: {
82660
- currentVersion: "0.11.19"
82692
+ currentVersion: "0.11.20"
82661
82693
  }
82662
82694
  });
82663
82695
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -82665,5 +82697,5 @@ export {
82665
82697
  app
82666
82698
  };
82667
82699
 
82668
- //# debugId=F44DD964A015A32264756E2164756E21
82700
+ //# debugId=125537A8B05A948E64756E2164756E21
82669
82701
  //# sourceMappingURL=mcp-server.js.map