@noresponse/mcp 0.11.14 → 0.11.16

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.14",
48139
+ sdkVersion: "0.11.16",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.11.14 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.11.16 internal 1 @noresponse/mcp"
48142
48142
  };
48143
48143
  });
48144
48144
 
@@ -51535,7 +51535,10 @@ var init_conflicterrorcode = __esm(() => {
51535
51535
  "already_member",
51536
51536
  "member_limit_reached",
51537
51537
  "owner_invite_pending",
51538
- "aggregate_erased_data"
51538
+ "aggregate_erased_data",
51539
+ "event_conflict",
51540
+ "event_limit_reached",
51541
+ "screening_unavailable"
51539
51542
  ]).describe("Machine codes an HTTP 409 answer can carry.");
51540
51543
  });
51541
51544
 
@@ -59914,6 +59917,2641 @@ Publish an explicitly reviewed candidate with its exact manifest, input and resu
59914
59917
  };
59915
59918
  });
59916
59919
 
59920
+ // src/models/attendeebatchitemoutcome.ts
59921
+ var AttendeeBatchItemOutcome$zodSchema;
59922
+ var init_attendeebatchitemoutcome = __esm(() => {
59923
+ init_zod();
59924
+ AttendeeBatchItemOutcome$zodSchema = _enum([
59925
+ "created",
59926
+ "updated",
59927
+ "unchanged"
59928
+ ]).describe("unchanged: the row matched an attendee with the same details.");
59929
+ });
59930
+
59931
+ // src/models/attendeebatchitem.ts
59932
+ var AttendeeBatchItem$zodSchema;
59933
+ var init_attendeebatchitem = __esm(() => {
59934
+ init_zod();
59935
+ init_attendeebatchitemoutcome();
59936
+ AttendeeBatchItem$zodSchema = object({
59937
+ id: string2(),
59938
+ index: int().describe("The row's position in the request."),
59939
+ outcome: AttendeeBatchItemOutcome$zodSchema.describe("unchanged: the row matched an attendee with the same details.")
59940
+ });
59941
+ });
59942
+
59943
+ // src/models/attendeebatch.ts
59944
+ var AttendeeBatch$zodSchema;
59945
+ var init_attendeebatch = __esm(() => {
59946
+ init_zod();
59947
+ init_attendeebatchitem();
59948
+ AttendeeBatch$zodSchema = object({
59949
+ created: int(),
59950
+ items: array(AttendeeBatchItem$zodSchema),
59951
+ updated: int()
59952
+ }).describe("What the batch did, row by row.");
59953
+ });
59954
+
59955
+ // src/models/handleplatform.ts
59956
+ var HandlePlatform$zodSchema;
59957
+ var init_handleplatform = __esm(() => {
59958
+ init_zod();
59959
+ HandlePlatform$zodSchema = _enum([
59960
+ "instagram",
59961
+ "x",
59962
+ "bluesky",
59963
+ "youtube",
59964
+ "tiktok",
59965
+ "facebook",
59966
+ "threads",
59967
+ "reddit",
59968
+ "telegram",
59969
+ "linkedin"
59970
+ ]);
59971
+ });
59972
+
59973
+ // src/models/handle.ts
59974
+ var Handle$zodSchema;
59975
+ var init_handle = __esm(() => {
59976
+ init_zod();
59977
+ init_handleplatform();
59978
+ Handle$zodSchema = object({
59979
+ handle: string2().describe("The account's handle, without a leading @."),
59980
+ platform: HandlePlatform$zodSchema
59981
+ }).describe("An account the attendee is known to hold.");
59982
+ });
59983
+
59984
+ // src/models/attendeeidentity.ts
59985
+ var AttendeeIdentity$zodSchema;
59986
+ var init_attendeeidentity = __esm(() => {
59987
+ init_zod();
59988
+ init_handle();
59989
+ AttendeeIdentity$zodSchema = object({
59990
+ city: string2().optional().describe("Where the attendee lives."),
59991
+ company: string2().optional().describe("Where the attendee works."),
59992
+ email: string2().optional().describe("The attendee's email."),
59993
+ 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."),
59994
+ handles: array(Handle$zodSchema).optional().describe("Accounts the attendee is known to hold, at most 20."),
59995
+ name: string2().describe("The attendee's full name."),
59996
+ phone: string2().optional().describe("The attendee's phone in E.164 form.")
59997
+ }).describe("What you know about an attendee. Stored encrypted under the workspace's key.");
59998
+ });
59999
+
60000
+ // src/models/attendeebatchrequest.ts
60001
+ var AttendeeBatchRequest$zodSchema;
60002
+ var init_attendeebatchrequest = __esm(() => {
60003
+ init_zod();
60004
+ init_attendeeidentity();
60005
+ AttendeeBatchRequest$zodSchema = object({
60006
+ attendees: array(AttendeeIdentity$zodSchema)
60007
+ }).describe("Adds or updates 1 to 500 attendees. A row naming an existing attendee of the event (the same external_id, else the same email, else the same phone) updates it.");
60008
+ });
60009
+
60010
+ // src/models/addattendeesop.ts
60011
+ var AddAttendeesRequest$zodSchema, AddAttendeesResponseResult$zodSchema, AddAttendeesResponse$zodSchema;
60012
+ var init_addattendeesop = __esm(() => {
60013
+ init_zod();
60014
+ init_attendeebatch();
60015
+ init_attendeebatchrequest();
60016
+ init_authenticationerror();
60017
+ init_badrequesterror();
60018
+ init_conflicterror();
60019
+ init_keyenvironment();
60020
+ init_notfounderror();
60021
+ init_permissiondeniederror();
60022
+ init_ratelimiterror();
60023
+ AddAttendeesRequest$zodSchema = object({
60024
+ body: AttendeeBatchRequest$zodSchema,
60025
+ 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."),
60026
+ event_id: string2(),
60027
+ idempotencyKey: string2().describe("Opaque client key, 16 to 128 characters of [A-Za-z0-9._:-] (a UUID or ULID fits). Scoped to the workspace principal and bound to the canonical body for 24 hours. Optional: the SDK generates a UUID when you omit it and sends the same key on every retry of the call.").optional(),
60028
+ 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.")
60029
+ });
60030
+ AddAttendeesResponseResult$zodSchema = union([
60031
+ BadRequestError$zodSchema,
60032
+ AuthenticationError$zodSchema,
60033
+ PermissionDeniedError$zodSchema,
60034
+ NotFoundError$zodSchema,
60035
+ ConflictError$zodSchema,
60036
+ RateLimitError$zodSchema,
60037
+ AttendeeBatch$zodSchema
60038
+ ]);
60039
+ AddAttendeesResponse$zodSchema = object({
60040
+ Headers: record(string2(), array(string2())).default({}),
60041
+ Result: union([
60042
+ BadRequestError$zodSchema,
60043
+ AuthenticationError$zodSchema,
60044
+ PermissionDeniedError$zodSchema,
60045
+ NotFoundError$zodSchema,
60046
+ ConflictError$zodSchema,
60047
+ RateLimitError$zodSchema,
60048
+ AttendeeBatch$zodSchema
60049
+ ])
60050
+ });
60051
+ });
60052
+
60053
+ // src/funcs/eventsAddAttendees.ts
60054
+ function eventsAddAttendees(client$, request, options) {
60055
+ return new APIPromise($do40(client$, request, options));
60056
+ }
60057
+ async function $do40(client$, request, options) {
60058
+ const parsed$ = safeParse2(request, (value$) => AddAttendeesRequest$zodSchema.parse(value$), "Input validation failed");
60059
+ if (!parsed$.ok) {
60060
+ return [parsed$, { status: "invalid" }];
60061
+ }
60062
+ const payload$ = parsed$.value;
60063
+ const body$ = encodeJSON("body", payload$.body, { explode: true });
60064
+ const pathParams$ = {
60065
+ environment: encodeSimple("environment", payload$.environment, {
60066
+ explode: false,
60067
+ charEncoding: "percent"
60068
+ }),
60069
+ event_id: encodeSimple("event_id", payload$.event_id, {
60070
+ explode: false,
60071
+ charEncoding: "percent"
60072
+ }),
60073
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
60074
+ explode: false,
60075
+ charEncoding: "percent"
60076
+ })
60077
+ };
60078
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}/{event_id}/attendees")(pathParams$);
60079
+ const headers$ = new Headers(compactMap({
60080
+ "Content-Type": "application/json",
60081
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0",
60082
+ "Idempotency-Key": encodeSimple("Idempotency-Key", payload$.idempotencyKey, { explode: false, charEncoding: "none" })
60083
+ }));
60084
+ const securityInput = await extractSecurity(client$._options.security);
60085
+ const requestSecurity = resolveGlobalSecurity(securityInput);
60086
+ const context = {
60087
+ options: client$._options,
60088
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
60089
+ operationID: "addAttendees",
60090
+ oAuth2Scopes: null,
60091
+ resolvedSecurity: requestSecurity,
60092
+ securitySource: client$._options.security,
60093
+ retryConfig: options?.retries || client$._options.retryConfig || {
60094
+ strategy: "backoff",
60095
+ backoff: {
60096
+ initialInterval: 500,
60097
+ maxInterval: 8000,
60098
+ exponent: 2,
60099
+ maxElapsedTime: 30000
60100
+ },
60101
+ retryConnectionErrors: true
60102
+ },
60103
+ retryCodes: options?.retryCodes || [
60104
+ "408",
60105
+ "429",
60106
+ "5XX"
60107
+ ]
60108
+ };
60109
+ const requestRes = client$._createRequest(context, {
60110
+ security: requestSecurity,
60111
+ method: "POST",
60112
+ baseURL: options?.serverURL,
60113
+ path: path$,
60114
+ headers: headers$,
60115
+ body: body$,
60116
+ userAgent: client$._options.userAgent,
60117
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
60118
+ }, options);
60119
+ if (!requestRes.ok) {
60120
+ return [requestRes, { status: "invalid" }];
60121
+ }
60122
+ const req$ = requestRes.value;
60123
+ const doResult = await client$._do(req$, {
60124
+ context,
60125
+ errorCodes: [],
60126
+ retryConfig: context.retryConfig,
60127
+ retryCodes: context.retryCodes
60128
+ });
60129
+ if (!doResult.ok) {
60130
+ return [doResult, { status: "request-error", request: req$ }];
60131
+ }
60132
+ return [doResult, {
60133
+ status: "complete",
60134
+ request: req$,
60135
+ response: doResult.value
60136
+ }];
60137
+ }
60138
+ var init_eventsAddAttendees = __esm(() => {
60139
+ init_encodings();
60140
+ init_primitives();
60141
+ init_schemas3();
60142
+ init_security();
60143
+ init_url();
60144
+ init_addattendeesop();
60145
+ init_async();
60146
+ });
60147
+
60148
+ // src/mcp-server/tools/eventsAddAttendees.ts
60149
+ var args41, tool$eventsAddAttendees;
60150
+ var init_eventsAddAttendees2 = __esm(() => {
60151
+ init_eventsAddAttendees();
60152
+ init_addattendeesop();
60153
+ init_tools();
60154
+ args41 = {
60155
+ request: AddAttendeesRequest$zodSchema
60156
+ };
60157
+ tool$eventsAddAttendees = {
60158
+ name: "add_attendees",
60159
+ description: `Add or update a batch of attendees.
60160
+
60161
+ Add or update 1 to 500 attendees with an Idempotency-Key. A row with the same external_id, else email, else phone as an existing attendee updates it. Identities are stored encrypted.`,
60162
+ annotations: {
60163
+ title: "Add or update up to 500 attendees with an idempotency key",
60164
+ destructiveHint: false,
60165
+ idempotentHint: true,
60166
+ openWorldHint: false,
60167
+ readOnlyHint: false
60168
+ },
60169
+ args: args41,
60170
+ tool: async (client, args, ctx) => {
60171
+ const [result] = await eventsAddAttendees(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
60172
+ if (!result.ok) {
60173
+ return {
60174
+ content: [{ type: "text", text: result.error.message }],
60175
+ isError: true
60176
+ };
60177
+ }
60178
+ return formatResult(result.value);
60179
+ }
60180
+ };
60181
+ });
60182
+
60183
+ // src/models/screeningdepth.ts
60184
+ var ScreeningDepth$zodSchema;
60185
+ var init_screeningdepth = __esm(() => {
60186
+ init_zod();
60187
+ ScreeningDepth$zodSchema = _enum([
60188
+ "standard"
60189
+ ]);
60190
+ });
60191
+
60192
+ // src/models/screeningstatus.ts
60193
+ var ScreeningStatus$zodSchema;
60194
+ var init_screeningstatus = __esm(() => {
60195
+ init_zod();
60196
+ ScreeningStatus$zodSchema = _enum([
60197
+ "queued",
60198
+ "running",
60199
+ "completed",
60200
+ "partial",
60201
+ "failed",
60202
+ "cancelled"
60203
+ ]).describe("partial finished with some attendees not covered; attendees_failed counts them.");
60204
+ });
60205
+
60206
+ // src/models/screening.ts
60207
+ var ScreeningPlatform$zodSchema, Screening$zodSchema;
60208
+ var init_screening = __esm(() => {
60209
+ init_zod();
60210
+ init_auditsettingsenvironment();
60211
+ init_screeningdepth();
60212
+ init_screeningstatus();
60213
+ ScreeningPlatform$zodSchema = _enum([
60214
+ "instagram",
60215
+ "x",
60216
+ "bluesky",
60217
+ "youtube",
60218
+ "tiktok",
60219
+ "facebook",
60220
+ "threads",
60221
+ "reddit",
60222
+ "telegram",
60223
+ "linkedin"
60224
+ ]);
60225
+ Screening$zodSchema = object({
60226
+ attendees_done: int().describe("Attendees screened so far, failed ones included."),
60227
+ attendees_failed: int(),
60228
+ attendees_flagged: int(),
60229
+ attendees_total: int().describe("Attendees selected when the screening started."),
60230
+ created_at: string2(),
60231
+ depth: ScreeningDepth$zodSchema,
60232
+ environment: AuditSettingsEnvironment$zodSchema,
60233
+ error_code: string2().optional().describe("Why a failed or cancelled screening stopped."),
60234
+ event_id: string2(),
60235
+ expires_at: string2().describe("A screening still running then fails with error_code expired."),
60236
+ finished_at: string2().optional(),
60237
+ id: string2(),
60238
+ platforms: array(ScreeningPlatform$zodSchema),
60239
+ requested_by: string2(),
60240
+ started_at: string2().optional(),
60241
+ status: ScreeningStatus$zodSchema.describe("partial finished with some attendees not covered; attendees_failed counts them.")
60242
+ }).describe("A screening and its progress.");
60243
+ });
60244
+
60245
+ // src/models/screeningcancelrequest.ts
60246
+ var ScreeningCancelRequest$zodSchema;
60247
+ var init_screeningcancelrequest = __esm(() => {
60248
+ init_zod();
60249
+ ScreeningCancelRequest$zodSchema = object({}).describe("An empty object.");
60250
+ });
60251
+
60252
+ // src/models/cancelscreeningop.ts
60253
+ var CancelScreeningRequest$zodSchema, CancelScreeningResponseResult$zodSchema, CancelScreeningResponse$zodSchema;
60254
+ var init_cancelscreeningop = __esm(() => {
60255
+ init_zod();
60256
+ init_authenticationerror();
60257
+ init_badrequesterror();
60258
+ init_conflicterror();
60259
+ init_keyenvironment();
60260
+ init_notfounderror();
60261
+ init_permissiondeniederror();
60262
+ init_ratelimiterror();
60263
+ init_screening();
60264
+ init_screeningcancelrequest();
60265
+ CancelScreeningRequest$zodSchema = object({
60266
+ body: ScreeningCancelRequest$zodSchema,
60267
+ 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."),
60268
+ event_id: string2(),
60269
+ screening_id: string2(),
60270
+ 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.")
60271
+ });
60272
+ CancelScreeningResponseResult$zodSchema = union([
60273
+ Screening$zodSchema,
60274
+ BadRequestError$zodSchema,
60275
+ AuthenticationError$zodSchema,
60276
+ PermissionDeniedError$zodSchema,
60277
+ NotFoundError$zodSchema,
60278
+ ConflictError$zodSchema,
60279
+ RateLimitError$zodSchema
60280
+ ]);
60281
+ CancelScreeningResponse$zodSchema = object({
60282
+ Headers: record(string2(), array(string2())).default({}),
60283
+ Result: union([
60284
+ Screening$zodSchema,
60285
+ BadRequestError$zodSchema,
60286
+ AuthenticationError$zodSchema,
60287
+ PermissionDeniedError$zodSchema,
60288
+ NotFoundError$zodSchema,
60289
+ ConflictError$zodSchema,
60290
+ RateLimitError$zodSchema
60291
+ ])
60292
+ });
60293
+ });
60294
+
60295
+ // src/funcs/eventsCancelScreening.ts
60296
+ function eventsCancelScreening(client$, request, options) {
60297
+ return new APIPromise($do41(client$, request, options));
60298
+ }
60299
+ async function $do41(client$, request, options) {
60300
+ const parsed$ = safeParse2(request, (value$) => CancelScreeningRequest$zodSchema.parse(value$), "Input validation failed");
60301
+ if (!parsed$.ok) {
60302
+ return [parsed$, { status: "invalid" }];
60303
+ }
60304
+ const payload$ = parsed$.value;
60305
+ const body$ = encodeJSON("body", payload$.body, { explode: true });
60306
+ const pathParams$ = {
60307
+ environment: encodeSimple("environment", payload$.environment, {
60308
+ explode: false,
60309
+ charEncoding: "percent"
60310
+ }),
60311
+ event_id: encodeSimple("event_id", payload$.event_id, {
60312
+ explode: false,
60313
+ charEncoding: "percent"
60314
+ }),
60315
+ screening_id: encodeSimple("screening_id", payload$.screening_id, {
60316
+ explode: false,
60317
+ charEncoding: "percent"
60318
+ }),
60319
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
60320
+ explode: false,
60321
+ charEncoding: "percent"
60322
+ })
60323
+ };
60324
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}/{event_id}/screenings/{screening_id}/cancel")(pathParams$);
60325
+ const headers$ = new Headers(compactMap({
60326
+ "Content-Type": "application/json",
60327
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
60328
+ }));
60329
+ const securityInput = await extractSecurity(client$._options.security);
60330
+ const requestSecurity = resolveGlobalSecurity(securityInput);
60331
+ const context = {
60332
+ options: client$._options,
60333
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
60334
+ operationID: "cancelScreening",
60335
+ oAuth2Scopes: null,
60336
+ resolvedSecurity: requestSecurity,
60337
+ securitySource: client$._options.security,
60338
+ retryConfig: options?.retries || client$._options.retryConfig || {
60339
+ strategy: "backoff",
60340
+ backoff: {
60341
+ initialInterval: 500,
60342
+ maxInterval: 8000,
60343
+ exponent: 2,
60344
+ maxElapsedTime: 30000
60345
+ },
60346
+ retryConnectionErrors: true
60347
+ },
60348
+ retryCodes: options?.retryCodes || [
60349
+ "408",
60350
+ "429",
60351
+ "5XX"
60352
+ ]
60353
+ };
60354
+ const requestRes = client$._createRequest(context, {
60355
+ security: requestSecurity,
60356
+ method: "POST",
60357
+ baseURL: options?.serverURL,
60358
+ path: path$,
60359
+ headers: headers$,
60360
+ body: body$,
60361
+ userAgent: client$._options.userAgent,
60362
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
60363
+ }, options);
60364
+ if (!requestRes.ok) {
60365
+ return [requestRes, { status: "invalid" }];
60366
+ }
60367
+ const req$ = requestRes.value;
60368
+ const doResult = await client$._do(req$, {
60369
+ context,
60370
+ errorCodes: [],
60371
+ retryConfig: context.retryConfig,
60372
+ retryCodes: context.retryCodes
60373
+ });
60374
+ if (!doResult.ok) {
60375
+ return [doResult, { status: "request-error", request: req$ }];
60376
+ }
60377
+ return [doResult, {
60378
+ status: "complete",
60379
+ request: req$,
60380
+ response: doResult.value
60381
+ }];
60382
+ }
60383
+ var init_eventsCancelScreening = __esm(() => {
60384
+ init_encodings();
60385
+ init_primitives();
60386
+ init_schemas3();
60387
+ init_security();
60388
+ init_url();
60389
+ init_cancelscreeningop();
60390
+ init_async();
60391
+ });
60392
+
60393
+ // src/mcp-server/tools/eventsCancelScreening.ts
60394
+ var args42, tool$eventsCancelScreening;
60395
+ var init_eventsCancelScreening2 = __esm(() => {
60396
+ init_eventsCancelScreening();
60397
+ init_cancelscreeningop();
60398
+ init_tools();
60399
+ args42 = {
60400
+ request: CancelScreeningRequest$zodSchema
60401
+ };
60402
+ tool$eventsCancelScreening = {
60403
+ name: "cancel_screening",
60404
+ description: `Cancel a screening.
60405
+
60406
+ Stop a queued or running screening. Attendees already screened keep their results.`,
60407
+ annotations: {
60408
+ title: "Stop a queued or running screening",
60409
+ destructiveHint: true,
60410
+ idempotentHint: true,
60411
+ openWorldHint: false,
60412
+ readOnlyHint: false
60413
+ },
60414
+ args: args42,
60415
+ tool: async (client, args, ctx) => {
60416
+ const [result] = await eventsCancelScreening(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
60417
+ if (!result.ok) {
60418
+ return {
60419
+ content: [{ type: "text", text: result.error.message }],
60420
+ isError: true
60421
+ };
60422
+ }
60423
+ return formatResult(result.value);
60424
+ }
60425
+ };
60426
+ });
60427
+
60428
+ // src/models/principal.ts
60429
+ var Principal$zodSchema;
60430
+ var init_principal = __esm(() => {
60431
+ init_zod();
60432
+ Principal$zodSchema = object({
60433
+ aliases: array(string2()).optional().describe("Other names the principal goes by, at most 10."),
60434
+ name: string2().describe("The principal's name.")
60435
+ }).describe("A person the event protects.");
60436
+ });
60437
+
60438
+ // src/models/event.ts
60439
+ var Event$zodSchema;
60440
+ var init_event = __esm(() => {
60441
+ init_zod();
60442
+ init_auditsettingsenvironment();
60443
+ init_principal();
60444
+ Event$zodSchema = object({
60445
+ attendees: int().describe("How many attendees the event holds."),
60446
+ created_at: string2(),
60447
+ created_by: string2().describe("The member or key label that created the event."),
60448
+ ends_at: string2().describe("When the event ends, at or after its start; the start when omitted."),
60449
+ environment: AuditSettingsEnvironment$zodSchema,
60450
+ host: string2().optional().describe("The organisation hosting the event."),
60451
+ id: string2(),
60452
+ name: string2().describe("The event's name."),
60453
+ principals: array(Principal$zodSchema).describe("The people the event protects."),
60454
+ purge_after: string2().describe("When raw collected items and unmatched candidate profiles are purged: 30 days after the event ends."),
60455
+ starts_at: string2().describe("When the event starts."),
60456
+ topics: array(string2()).describe("Sensitive topics."),
60457
+ updated_at: string2(),
60458
+ venue: string2().optional().describe("Where the event is held."),
60459
+ version: int().describe("Goes up by one with every change.")
60460
+ }).describe("An event and its screening context.");
60461
+ });
60462
+
60463
+ // src/models/eventrequest.ts
60464
+ var EventRequest$zodSchema;
60465
+ var init_eventrequest = __esm(() => {
60466
+ init_zod();
60467
+ init_principal();
60468
+ EventRequest$zodSchema = object({
60469
+ ends_at: string2().optional().describe("When the event ends, at or after its start; the start when omitted."),
60470
+ host: string2().optional().describe("The organisation hosting the event."),
60471
+ name: string2().describe("The event's name."),
60472
+ principals: array(Principal$zodSchema).optional().describe("The people the event protects, at most 20."),
60473
+ starts_at: string2().describe("When the event starts."),
60474
+ topics: array(string2()).optional().describe("Sensitive topics the screening reads posts against, at most 50."),
60475
+ venue: string2().optional().describe("Where the event is held.")
60476
+ }).describe("Creates an event.");
60477
+ });
60478
+
60479
+ // src/models/createeventop.ts
60480
+ var CreateEventRequest$zodSchema, CreateEventResponseResult$zodSchema, CreateEventResponse$zodSchema;
60481
+ var init_createeventop = __esm(() => {
60482
+ init_zod();
60483
+ init_authenticationerror();
60484
+ init_badrequesterror();
60485
+ init_conflicterror();
60486
+ init_event();
60487
+ init_eventrequest();
60488
+ init_keyenvironment();
60489
+ init_notfounderror();
60490
+ init_permissiondeniederror();
60491
+ init_ratelimiterror();
60492
+ CreateEventRequest$zodSchema = object({
60493
+ body: EventRequest$zodSchema,
60494
+ 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."),
60495
+ 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.")
60496
+ });
60497
+ CreateEventResponseResult$zodSchema = union([
60498
+ Event$zodSchema,
60499
+ BadRequestError$zodSchema,
60500
+ AuthenticationError$zodSchema,
60501
+ PermissionDeniedError$zodSchema,
60502
+ NotFoundError$zodSchema,
60503
+ ConflictError$zodSchema,
60504
+ RateLimitError$zodSchema
60505
+ ]);
60506
+ CreateEventResponse$zodSchema = object({
60507
+ Headers: record(string2(), array(string2())).default({}),
60508
+ Result: union([
60509
+ Event$zodSchema,
60510
+ BadRequestError$zodSchema,
60511
+ AuthenticationError$zodSchema,
60512
+ PermissionDeniedError$zodSchema,
60513
+ NotFoundError$zodSchema,
60514
+ ConflictError$zodSchema,
60515
+ RateLimitError$zodSchema
60516
+ ])
60517
+ });
60518
+ });
60519
+
60520
+ // src/funcs/eventsCreate.ts
60521
+ function eventsCreate(client$, request, options) {
60522
+ return new APIPromise($do42(client$, request, options));
60523
+ }
60524
+ async function $do42(client$, request, options) {
60525
+ const parsed$ = safeParse2(request, (value$) => CreateEventRequest$zodSchema.parse(value$), "Input validation failed");
60526
+ if (!parsed$.ok) {
60527
+ return [parsed$, { status: "invalid" }];
60528
+ }
60529
+ const payload$ = parsed$.value;
60530
+ const body$ = encodeJSON("body", payload$.body, { explode: true });
60531
+ const pathParams$ = {
60532
+ environment: encodeSimple("environment", payload$.environment, {
60533
+ explode: false,
60534
+ charEncoding: "percent"
60535
+ }),
60536
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
60537
+ explode: false,
60538
+ charEncoding: "percent"
60539
+ })
60540
+ };
60541
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}")(pathParams$);
60542
+ const headers$ = new Headers(compactMap({
60543
+ "Content-Type": "application/json",
60544
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
60545
+ }));
60546
+ const securityInput = await extractSecurity(client$._options.security);
60547
+ const requestSecurity = resolveGlobalSecurity(securityInput);
60548
+ const context = {
60549
+ options: client$._options,
60550
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
60551
+ operationID: "createEvent",
60552
+ oAuth2Scopes: null,
60553
+ resolvedSecurity: requestSecurity,
60554
+ securitySource: client$._options.security,
60555
+ retryConfig: options?.retries || { strategy: "none" },
60556
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
60557
+ };
60558
+ const requestRes = client$._createRequest(context, {
60559
+ security: requestSecurity,
60560
+ method: "POST",
60561
+ baseURL: options?.serverURL,
60562
+ path: path$,
60563
+ headers: headers$,
60564
+ body: body$,
60565
+ userAgent: client$._options.userAgent,
60566
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
60567
+ }, options);
60568
+ if (!requestRes.ok) {
60569
+ return [requestRes, { status: "invalid" }];
60570
+ }
60571
+ const req$ = requestRes.value;
60572
+ const doResult = await client$._do(req$, {
60573
+ context,
60574
+ errorCodes: [],
60575
+ retryConfig: context.retryConfig,
60576
+ retryCodes: context.retryCodes
60577
+ });
60578
+ if (!doResult.ok) {
60579
+ return [doResult, { status: "request-error", request: req$ }];
60580
+ }
60581
+ return [doResult, {
60582
+ status: "complete",
60583
+ request: req$,
60584
+ response: doResult.value
60585
+ }];
60586
+ }
60587
+ var init_eventsCreate = __esm(() => {
60588
+ init_encodings();
60589
+ init_primitives();
60590
+ init_schemas3();
60591
+ init_security();
60592
+ init_url();
60593
+ init_createeventop();
60594
+ init_async();
60595
+ });
60596
+
60597
+ // src/mcp-server/tools/eventsCreate.ts
60598
+ var args43, tool$eventsCreate;
60599
+ var init_eventsCreate2 = __esm(() => {
60600
+ init_eventsCreate();
60601
+ init_createeventop();
60602
+ init_tools();
60603
+ args43 = {
60604
+ request: CreateEventRequest$zodSchema
60605
+ };
60606
+ tool$eventsCreate = {
60607
+ name: "create_event",
60608
+ description: `Create an event to screen.
60609
+
60610
+ Create an event to screen: its name, start, venue, host, the principals it protects and the sensitive topics posts are read against. An environment holds at most 1000 events.`,
60611
+ annotations: {
60612
+ title: "Create an event with its principals and sensitive topics",
60613
+ destructiveHint: false,
60614
+ idempotentHint: false,
60615
+ openWorldHint: false,
60616
+ readOnlyHint: false
60617
+ },
60618
+ args: args43,
60619
+ tool: async (client, args, ctx) => {
60620
+ const [result] = await eventsCreate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
60621
+ if (!result.ok) {
60622
+ return {
60623
+ content: [{ type: "text", text: result.error.message }],
60624
+ isError: true
60625
+ };
60626
+ }
60627
+ return formatResult(result.value);
60628
+ }
60629
+ };
60630
+ });
60631
+
60632
+ // src/models/deleteeventop.ts
60633
+ var DeleteEventRequest$zodSchema, DeleteEventResponseResult$zodSchema, DeleteEventResponse$zodSchema;
60634
+ var init_deleteeventop = __esm(() => {
60635
+ init_zod();
60636
+ init_authenticationerror();
60637
+ init_badrequesterror();
60638
+ init_conflicterror();
60639
+ init_keyenvironment();
60640
+ init_notfounderror();
60641
+ init_permissiondeniederror();
60642
+ init_ratelimiterror();
60643
+ DeleteEventRequest$zodSchema = object({
60644
+ 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."),
60645
+ event_id: string2(),
60646
+ 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.")
60647
+ });
60648
+ DeleteEventResponseResult$zodSchema = union([
60649
+ BadRequestError$zodSchema,
60650
+ AuthenticationError$zodSchema,
60651
+ PermissionDeniedError$zodSchema,
60652
+ NotFoundError$zodSchema,
60653
+ ConflictError$zodSchema,
60654
+ RateLimitError$zodSchema
60655
+ ]);
60656
+ DeleteEventResponse$zodSchema = object({
60657
+ Headers: record(string2(), array(string2())).default({}),
60658
+ Result: union([
60659
+ BadRequestError$zodSchema,
60660
+ AuthenticationError$zodSchema,
60661
+ PermissionDeniedError$zodSchema,
60662
+ NotFoundError$zodSchema,
60663
+ ConflictError$zodSchema,
60664
+ RateLimitError$zodSchema
60665
+ ]).optional()
60666
+ });
60667
+ });
60668
+
60669
+ // src/funcs/eventsDelete.ts
60670
+ function eventsDelete(client$, request, options) {
60671
+ return new APIPromise($do43(client$, request, options));
60672
+ }
60673
+ async function $do43(client$, request, options) {
60674
+ const parsed$ = safeParse2(request, (value$) => DeleteEventRequest$zodSchema.parse(value$), "Input validation failed");
60675
+ if (!parsed$.ok) {
60676
+ return [parsed$, { status: "invalid" }];
60677
+ }
60678
+ const payload$ = parsed$.value;
60679
+ const body$ = null;
60680
+ const pathParams$ = {
60681
+ environment: encodeSimple("environment", payload$.environment, {
60682
+ explode: false,
60683
+ charEncoding: "percent"
60684
+ }),
60685
+ event_id: encodeSimple("event_id", payload$.event_id, {
60686
+ explode: false,
60687
+ charEncoding: "percent"
60688
+ }),
60689
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
60690
+ explode: false,
60691
+ charEncoding: "percent"
60692
+ })
60693
+ };
60694
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}/{event_id}")(pathParams$);
60695
+ const headers$ = new Headers(compactMap({
60696
+ Accept: "application/problem+json"
60697
+ }));
60698
+ const securityInput = await extractSecurity(client$._options.security);
60699
+ const requestSecurity = resolveGlobalSecurity(securityInput);
60700
+ const context = {
60701
+ options: client$._options,
60702
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
60703
+ operationID: "deleteEvent",
60704
+ oAuth2Scopes: null,
60705
+ resolvedSecurity: requestSecurity,
60706
+ securitySource: client$._options.security,
60707
+ retryConfig: options?.retries || client$._options.retryConfig || {
60708
+ strategy: "backoff",
60709
+ backoff: {
60710
+ initialInterval: 500,
60711
+ maxInterval: 8000,
60712
+ exponent: 2,
60713
+ maxElapsedTime: 30000
60714
+ },
60715
+ retryConnectionErrors: true
60716
+ },
60717
+ retryCodes: options?.retryCodes || [
60718
+ "408",
60719
+ "429",
60720
+ "5XX"
60721
+ ]
60722
+ };
60723
+ const requestRes = client$._createRequest(context, {
60724
+ security: requestSecurity,
60725
+ method: "DELETE",
60726
+ baseURL: options?.serverURL,
60727
+ path: path$,
60728
+ headers: headers$,
60729
+ body: body$,
60730
+ userAgent: client$._options.userAgent,
60731
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
60732
+ }, options);
60733
+ if (!requestRes.ok) {
60734
+ return [requestRes, { status: "invalid" }];
60735
+ }
60736
+ const req$ = requestRes.value;
60737
+ const doResult = await client$._do(req$, {
60738
+ context,
60739
+ errorCodes: [],
60740
+ retryConfig: context.retryConfig,
60741
+ retryCodes: context.retryCodes
60742
+ });
60743
+ if (!doResult.ok) {
60744
+ return [doResult, { status: "request-error", request: req$ }];
60745
+ }
60746
+ return [doResult, {
60747
+ status: "complete",
60748
+ request: req$,
60749
+ response: doResult.value
60750
+ }];
60751
+ }
60752
+ var init_eventsDelete = __esm(() => {
60753
+ init_encodings();
60754
+ init_primitives();
60755
+ init_schemas3();
60756
+ init_security();
60757
+ init_url();
60758
+ init_deleteeventop();
60759
+ init_async();
60760
+ });
60761
+
60762
+ // src/mcp-server/tools/eventsDelete.ts
60763
+ var args44, tool$eventsDelete;
60764
+ var init_eventsDelete2 = __esm(() => {
60765
+ init_eventsDelete();
60766
+ init_deleteeventop();
60767
+ init_tools();
60768
+ args44 = {
60769
+ request: DeleteEventRequest$zodSchema
60770
+ };
60771
+ tool$eventsDelete = {
60772
+ name: "delete_event",
60773
+ description: `Erase an event.
60774
+
60775
+ Erase an event with its attendees, their decisions and its screenings, and stop any screening still running.`,
60776
+ annotations: {
60777
+ title: "Delete an event with its attendees, decisions and screenings",
60778
+ destructiveHint: true,
60779
+ idempotentHint: true,
60780
+ openWorldHint: false,
60781
+ readOnlyHint: false
60782
+ },
60783
+ args: args44,
60784
+ tool: async (client, args, ctx) => {
60785
+ const [result] = await eventsDelete(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
60786
+ if (!result.ok) {
60787
+ return {
60788
+ content: [{ type: "text", text: result.error.message }],
60789
+ isError: true
60790
+ };
60791
+ }
60792
+ return formatResult(result.value);
60793
+ }
60794
+ };
60795
+ });
60796
+
60797
+ // src/models/geteventop.ts
60798
+ var GetEventRequest$zodSchema, GetEventResponseResult$zodSchema, GetEventResponse$zodSchema;
60799
+ var init_geteventop = __esm(() => {
60800
+ init_zod();
60801
+ init_authenticationerror();
60802
+ init_badrequesterror();
60803
+ init_conflicterror();
60804
+ init_event();
60805
+ init_keyenvironment();
60806
+ init_notfounderror();
60807
+ init_permissiondeniederror();
60808
+ init_ratelimiterror();
60809
+ GetEventRequest$zodSchema = object({
60810
+ 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."),
60811
+ event_id: string2(),
60812
+ 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.")
60813
+ });
60814
+ GetEventResponseResult$zodSchema = union([
60815
+ Event$zodSchema,
60816
+ BadRequestError$zodSchema,
60817
+ AuthenticationError$zodSchema,
60818
+ PermissionDeniedError$zodSchema,
60819
+ NotFoundError$zodSchema,
60820
+ ConflictError$zodSchema,
60821
+ RateLimitError$zodSchema
60822
+ ]);
60823
+ GetEventResponse$zodSchema = object({
60824
+ Headers: record(string2(), array(string2())).default({}),
60825
+ Result: union([
60826
+ Event$zodSchema,
60827
+ BadRequestError$zodSchema,
60828
+ AuthenticationError$zodSchema,
60829
+ PermissionDeniedError$zodSchema,
60830
+ NotFoundError$zodSchema,
60831
+ ConflictError$zodSchema,
60832
+ RateLimitError$zodSchema
60833
+ ])
60834
+ });
60835
+ });
60836
+
60837
+ // src/funcs/eventsGet.ts
60838
+ function eventsGet(client$, request, options) {
60839
+ return new APIPromise($do44(client$, request, options));
60840
+ }
60841
+ async function $do44(client$, request, options) {
60842
+ const parsed$ = safeParse2(request, (value$) => GetEventRequest$zodSchema.parse(value$), "Input validation failed");
60843
+ if (!parsed$.ok) {
60844
+ return [parsed$, { status: "invalid" }];
60845
+ }
60846
+ const payload$ = parsed$.value;
60847
+ const body$ = null;
60848
+ const pathParams$ = {
60849
+ environment: encodeSimple("environment", payload$.environment, {
60850
+ explode: false,
60851
+ charEncoding: "percent"
60852
+ }),
60853
+ event_id: encodeSimple("event_id", payload$.event_id, {
60854
+ explode: false,
60855
+ charEncoding: "percent"
60856
+ }),
60857
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
60858
+ explode: false,
60859
+ charEncoding: "percent"
60860
+ })
60861
+ };
60862
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}/{event_id}")(pathParams$);
60863
+ const headers$ = new Headers(compactMap({
60864
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
60865
+ }));
60866
+ const securityInput = await extractSecurity(client$._options.security);
60867
+ const requestSecurity = resolveGlobalSecurity(securityInput);
60868
+ const context = {
60869
+ options: client$._options,
60870
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
60871
+ operationID: "getEvent",
60872
+ oAuth2Scopes: null,
60873
+ resolvedSecurity: requestSecurity,
60874
+ securitySource: client$._options.security,
60875
+ retryConfig: options?.retries || client$._options.retryConfig || {
60876
+ strategy: "backoff",
60877
+ backoff: {
60878
+ initialInterval: 500,
60879
+ maxInterval: 8000,
60880
+ exponent: 2,
60881
+ maxElapsedTime: 30000
60882
+ },
60883
+ retryConnectionErrors: true
60884
+ },
60885
+ retryCodes: options?.retryCodes || [
60886
+ "408",
60887
+ "429",
60888
+ "5XX"
60889
+ ]
60890
+ };
60891
+ const requestRes = client$._createRequest(context, {
60892
+ security: requestSecurity,
60893
+ method: "GET",
60894
+ baseURL: options?.serverURL,
60895
+ path: path$,
60896
+ headers: headers$,
60897
+ body: body$,
60898
+ userAgent: client$._options.userAgent,
60899
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
60900
+ }, options);
60901
+ if (!requestRes.ok) {
60902
+ return [requestRes, { status: "invalid" }];
60903
+ }
60904
+ const req$ = requestRes.value;
60905
+ const doResult = await client$._do(req$, {
60906
+ context,
60907
+ errorCodes: [],
60908
+ retryConfig: context.retryConfig,
60909
+ retryCodes: context.retryCodes
60910
+ });
60911
+ if (!doResult.ok) {
60912
+ return [doResult, { status: "request-error", request: req$ }];
60913
+ }
60914
+ return [doResult, {
60915
+ status: "complete",
60916
+ request: req$,
60917
+ response: doResult.value
60918
+ }];
60919
+ }
60920
+ var init_eventsGet = __esm(() => {
60921
+ init_encodings();
60922
+ init_primitives();
60923
+ init_schemas3();
60924
+ init_security();
60925
+ init_url();
60926
+ init_geteventop();
60927
+ init_async();
60928
+ });
60929
+
60930
+ // src/mcp-server/tools/eventsGet.ts
60931
+ var args45, tool$eventsGet;
60932
+ var init_eventsGet2 = __esm(() => {
60933
+ init_eventsGet();
60934
+ init_geteventop();
60935
+ init_tools();
60936
+ args45 = {
60937
+ request: GetEventRequest$zodSchema
60938
+ };
60939
+ tool$eventsGet = {
60940
+ name: "get_event",
60941
+ description: `Read an event.
60942
+
60943
+ Read an event and how many attendees it holds.`,
60944
+ annotations: {
60945
+ title: "Read an event and its attendee count",
60946
+ destructiveHint: false,
60947
+ idempotentHint: true,
60948
+ openWorldHint: false,
60949
+ readOnlyHint: true
60950
+ },
60951
+ args: args45,
60952
+ tool: async (client, args, ctx) => {
60953
+ const [result] = await eventsGet(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
60954
+ if (!result.ok) {
60955
+ return {
60956
+ content: [{ type: "text", text: result.error.message }],
60957
+ isError: true
60958
+ };
60959
+ }
60960
+ return formatResult(result.value);
60961
+ }
60962
+ };
60963
+ });
60964
+
60965
+ // src/models/attendeedecision.ts
60966
+ var AttendeeDecision$zodSchema;
60967
+ var init_attendeedecision = __esm(() => {
60968
+ init_zod();
60969
+ AttendeeDecision$zodSchema = _enum([
60970
+ "cleared",
60971
+ "watch",
60972
+ "escalated"
60973
+ ]);
60974
+ });
60975
+
60976
+ // src/models/highestband.ts
60977
+ var HighestBand$zodSchema;
60978
+ var init_highestband = __esm(() => {
60979
+ init_zod();
60980
+ HighestBand$zodSchema = _enum([
60981
+ "critical",
60982
+ "high",
60983
+ "moderate",
60984
+ "low",
60985
+ "info"
60986
+ ]);
60987
+ });
60988
+
60989
+ // src/models/matchstate.ts
60990
+ var MatchState$zodSchema;
60991
+ var init_matchstate = __esm(() => {
60992
+ init_zod();
60993
+ MatchState$zodSchema = _enum([
60994
+ "unscreened",
60995
+ "confirmed",
60996
+ "probable",
60997
+ "possible",
60998
+ "none_found",
60999
+ "inaccessible"
61000
+ ]).describe("How sure the latest screening is that it found the attendee's accounts. unscreened until a screening reaches the attendee.");
61001
+ });
61002
+
61003
+ // src/models/attendee.ts
61004
+ var AttendeeCoverage$zodSchema, Attendee$zodSchema;
61005
+ var init_attendee = __esm(() => {
61006
+ init_zod();
61007
+ init_attendeedecision();
61008
+ init_handle();
61009
+ init_highestband();
61010
+ init_matchstate();
61011
+ AttendeeCoverage$zodSchema = object({}).describe("What the latest screening read, per platform.");
61012
+ Attendee$zodSchema = object({
61013
+ city: string2().optional().describe("Where the attendee lives."),
61014
+ company: string2().optional().describe("Where the attendee works."),
61015
+ coverage: lazy(() => AttendeeCoverage$zodSchema).describe("What the latest screening read, per platform."),
61016
+ created_at: string2(),
61017
+ decided_at: string2().optional(),
61018
+ decided_by: string2().optional(),
61019
+ decision: AttendeeDecision$zodSchema.nullable().describe("The latest reviewer decision, or null before any."),
61020
+ decision_note: string2().optional(),
61021
+ email: string2().optional().describe("The attendee's email."),
61022
+ event_id: string2(),
61023
+ 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."),
61024
+ handles: array(Handle$zodSchema).optional().describe("Accounts the attendee is known to hold, at most 20."),
61025
+ highest_band: HighestBand$zodSchema.nullable().describe("The most severe finding's band, or null when nothing was flagged."),
61026
+ id: string2(),
61027
+ last_screening_id: string2().optional(),
61028
+ 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."),
61029
+ name: string2().describe("The attendee's full name."),
61030
+ phone: string2().optional().describe("The attendee's phone in E.164 form."),
61031
+ screened_at: string2().optional(),
61032
+ updated_at: string2()
61033
+ }).describe("An attendee and where their screening and review stand.");
61034
+ });
61035
+
61036
+ // src/models/attendeereview.ts
61037
+ var AttendeeReview$zodSchema;
61038
+ var init_attendeereview = __esm(() => {
61039
+ init_zod();
61040
+ init_attendeedecision();
61041
+ AttendeeReview$zodSchema = object({
61042
+ created_at: string2(),
61043
+ created_by: string2(),
61044
+ decision: AttendeeDecision$zodSchema,
61045
+ id: string2(),
61046
+ note: string2().optional()
61047
+ }).describe("One recorded decision.");
61048
+ });
61049
+
61050
+ // src/models/attendeereport.ts
61051
+ var Profile$zodSchema, Finding$zodSchema, AttendeeReport$zodSchema;
61052
+ var init_attendeereport = __esm(() => {
61053
+ init_zod();
61054
+ init_attendee();
61055
+ init_attendeereview();
61056
+ Profile$zodSchema = object({});
61057
+ Finding$zodSchema = object({});
61058
+ AttendeeReport$zodSchema = object({
61059
+ attendee: Attendee$zodSchema.describe("An attendee and where their screening and review stand."),
61060
+ findings: array(lazy(() => Finding$zodSchema)).describe("What the screening flagged, with its evidence."),
61061
+ profiles: array(lazy(() => Profile$zodSchema)).describe("The accounts the screening matched, with how each was matched."),
61062
+ reviews: array(AttendeeReview$zodSchema).describe("Every recorded decision, oldest first.")
61063
+ }).describe("Everything known about one attendee.");
61064
+ });
61065
+
61066
+ // src/models/getattendeeop.ts
61067
+ var GetAttendeeRequest$zodSchema, GetAttendeeResponseResult$zodSchema, GetAttendeeResponse$zodSchema;
61068
+ var init_getattendeeop = __esm(() => {
61069
+ init_zod();
61070
+ init_attendeereport();
61071
+ init_authenticationerror();
61072
+ init_badrequesterror();
61073
+ init_conflicterror();
61074
+ init_keyenvironment();
61075
+ init_notfounderror();
61076
+ init_permissiondeniederror();
61077
+ init_ratelimiterror();
61078
+ GetAttendeeRequest$zodSchema = object({
61079
+ attendee_id: string2(),
61080
+ 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."),
61081
+ event_id: string2(),
61082
+ 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.")
61083
+ });
61084
+ GetAttendeeResponseResult$zodSchema = union([
61085
+ BadRequestError$zodSchema,
61086
+ AuthenticationError$zodSchema,
61087
+ PermissionDeniedError$zodSchema,
61088
+ NotFoundError$zodSchema,
61089
+ ConflictError$zodSchema,
61090
+ RateLimitError$zodSchema,
61091
+ AttendeeReport$zodSchema
61092
+ ]);
61093
+ GetAttendeeResponse$zodSchema = object({
61094
+ Headers: record(string2(), array(string2())).default({}),
61095
+ Result: union([
61096
+ BadRequestError$zodSchema,
61097
+ AuthenticationError$zodSchema,
61098
+ PermissionDeniedError$zodSchema,
61099
+ NotFoundError$zodSchema,
61100
+ ConflictError$zodSchema,
61101
+ RateLimitError$zodSchema,
61102
+ AttendeeReport$zodSchema
61103
+ ])
61104
+ });
61105
+ });
61106
+
61107
+ // src/funcs/eventsGetAttendee.ts
61108
+ function eventsGetAttendee(client$, request, options) {
61109
+ return new APIPromise($do45(client$, request, options));
61110
+ }
61111
+ async function $do45(client$, request, options) {
61112
+ const parsed$ = safeParse2(request, (value$) => GetAttendeeRequest$zodSchema.parse(value$), "Input validation failed");
61113
+ if (!parsed$.ok) {
61114
+ return [parsed$, { status: "invalid" }];
61115
+ }
61116
+ const payload$ = parsed$.value;
61117
+ const body$ = null;
61118
+ const pathParams$ = {
61119
+ attendee_id: encodeSimple("attendee_id", payload$.attendee_id, {
61120
+ explode: false,
61121
+ charEncoding: "percent"
61122
+ }),
61123
+ environment: encodeSimple("environment", payload$.environment, {
61124
+ explode: false,
61125
+ charEncoding: "percent"
61126
+ }),
61127
+ event_id: encodeSimple("event_id", payload$.event_id, {
61128
+ explode: false,
61129
+ charEncoding: "percent"
61130
+ }),
61131
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
61132
+ explode: false,
61133
+ charEncoding: "percent"
61134
+ })
61135
+ };
61136
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}/{event_id}/attendees/{attendee_id}")(pathParams$);
61137
+ const headers$ = new Headers(compactMap({
61138
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
61139
+ }));
61140
+ const securityInput = await extractSecurity(client$._options.security);
61141
+ const requestSecurity = resolveGlobalSecurity(securityInput);
61142
+ const context = {
61143
+ options: client$._options,
61144
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
61145
+ operationID: "getAttendee",
61146
+ oAuth2Scopes: null,
61147
+ resolvedSecurity: requestSecurity,
61148
+ securitySource: client$._options.security,
61149
+ retryConfig: options?.retries || client$._options.retryConfig || {
61150
+ strategy: "backoff",
61151
+ backoff: {
61152
+ initialInterval: 500,
61153
+ maxInterval: 8000,
61154
+ exponent: 2,
61155
+ maxElapsedTime: 30000
61156
+ },
61157
+ retryConnectionErrors: true
61158
+ },
61159
+ retryCodes: options?.retryCodes || [
61160
+ "408",
61161
+ "429",
61162
+ "5XX"
61163
+ ]
61164
+ };
61165
+ const requestRes = client$._createRequest(context, {
61166
+ security: requestSecurity,
61167
+ method: "GET",
61168
+ baseURL: options?.serverURL,
61169
+ path: path$,
61170
+ headers: headers$,
61171
+ body: body$,
61172
+ userAgent: client$._options.userAgent,
61173
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
61174
+ }, options);
61175
+ if (!requestRes.ok) {
61176
+ return [requestRes, { status: "invalid" }];
61177
+ }
61178
+ const req$ = requestRes.value;
61179
+ const doResult = await client$._do(req$, {
61180
+ context,
61181
+ errorCodes: [],
61182
+ retryConfig: context.retryConfig,
61183
+ retryCodes: context.retryCodes
61184
+ });
61185
+ if (!doResult.ok) {
61186
+ return [doResult, { status: "request-error", request: req$ }];
61187
+ }
61188
+ return [doResult, {
61189
+ status: "complete",
61190
+ request: req$,
61191
+ response: doResult.value
61192
+ }];
61193
+ }
61194
+ var init_eventsGetAttendee = __esm(() => {
61195
+ init_encodings();
61196
+ init_primitives();
61197
+ init_schemas3();
61198
+ init_security();
61199
+ init_url();
61200
+ init_getattendeeop();
61201
+ init_async();
61202
+ });
61203
+
61204
+ // src/mcp-server/tools/eventsGetAttendee.ts
61205
+ var args46, tool$eventsGetAttendee;
61206
+ var init_eventsGetAttendee2 = __esm(() => {
61207
+ init_eventsGetAttendee();
61208
+ init_getattendeeop();
61209
+ init_tools();
61210
+ args46 = {
61211
+ request: GetAttendeeRequest$zodSchema
61212
+ };
61213
+ tool$eventsGetAttendee = {
61214
+ name: "get_attendee",
61215
+ description: `Read an attendee's report.
61216
+
61217
+ Read an attendee's report: matched profiles, findings with their evidence and every recorded decision.`,
61218
+ annotations: {
61219
+ title: "Read an attendee's profiles, findings and decisions",
61220
+ destructiveHint: false,
61221
+ idempotentHint: true,
61222
+ openWorldHint: false,
61223
+ readOnlyHint: true
61224
+ },
61225
+ args: args46,
61226
+ tool: async (client, args, ctx) => {
61227
+ const [result] = await eventsGetAttendee(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
61228
+ if (!result.ok) {
61229
+ return {
61230
+ content: [{ type: "text", text: result.error.message }],
61231
+ isError: true
61232
+ };
61233
+ }
61234
+ return formatResult(result.value);
61235
+ }
61236
+ };
61237
+ });
61238
+
61239
+ // src/models/getscreeningop.ts
61240
+ var GetScreeningRequest$zodSchema, GetScreeningResponseResult$zodSchema, GetScreeningResponse$zodSchema;
61241
+ var init_getscreeningop = __esm(() => {
61242
+ init_zod();
61243
+ init_authenticationerror();
61244
+ init_badrequesterror();
61245
+ init_conflicterror();
61246
+ init_keyenvironment();
61247
+ init_notfounderror();
61248
+ init_permissiondeniederror();
61249
+ init_ratelimiterror();
61250
+ init_screening();
61251
+ GetScreeningRequest$zodSchema = object({
61252
+ 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."),
61253
+ event_id: string2(),
61254
+ screening_id: string2(),
61255
+ 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.")
61256
+ });
61257
+ GetScreeningResponseResult$zodSchema = union([
61258
+ Screening$zodSchema,
61259
+ BadRequestError$zodSchema,
61260
+ AuthenticationError$zodSchema,
61261
+ PermissionDeniedError$zodSchema,
61262
+ NotFoundError$zodSchema,
61263
+ ConflictError$zodSchema,
61264
+ RateLimitError$zodSchema
61265
+ ]);
61266
+ GetScreeningResponse$zodSchema = object({
61267
+ Headers: record(string2(), array(string2())).default({}),
61268
+ Result: union([
61269
+ Screening$zodSchema,
61270
+ BadRequestError$zodSchema,
61271
+ AuthenticationError$zodSchema,
61272
+ PermissionDeniedError$zodSchema,
61273
+ NotFoundError$zodSchema,
61274
+ ConflictError$zodSchema,
61275
+ RateLimitError$zodSchema
61276
+ ])
61277
+ });
61278
+ });
61279
+
61280
+ // src/funcs/eventsGetScreening.ts
61281
+ function eventsGetScreening(client$, request, options) {
61282
+ return new APIPromise($do46(client$, request, options));
61283
+ }
61284
+ async function $do46(client$, request, options) {
61285
+ const parsed$ = safeParse2(request, (value$) => GetScreeningRequest$zodSchema.parse(value$), "Input validation failed");
61286
+ if (!parsed$.ok) {
61287
+ return [parsed$, { status: "invalid" }];
61288
+ }
61289
+ const payload$ = parsed$.value;
61290
+ const body$ = null;
61291
+ const pathParams$ = {
61292
+ environment: encodeSimple("environment", payload$.environment, {
61293
+ explode: false,
61294
+ charEncoding: "percent"
61295
+ }),
61296
+ event_id: encodeSimple("event_id", payload$.event_id, {
61297
+ explode: false,
61298
+ charEncoding: "percent"
61299
+ }),
61300
+ screening_id: encodeSimple("screening_id", payload$.screening_id, {
61301
+ explode: false,
61302
+ charEncoding: "percent"
61303
+ }),
61304
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
61305
+ explode: false,
61306
+ charEncoding: "percent"
61307
+ })
61308
+ };
61309
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}/{event_id}/screenings/{screening_id}")(pathParams$);
61310
+ const headers$ = new Headers(compactMap({
61311
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
61312
+ }));
61313
+ const securityInput = await extractSecurity(client$._options.security);
61314
+ const requestSecurity = resolveGlobalSecurity(securityInput);
61315
+ const context = {
61316
+ options: client$._options,
61317
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
61318
+ operationID: "getScreening",
61319
+ oAuth2Scopes: null,
61320
+ resolvedSecurity: requestSecurity,
61321
+ securitySource: client$._options.security,
61322
+ retryConfig: options?.retries || client$._options.retryConfig || {
61323
+ strategy: "backoff",
61324
+ backoff: {
61325
+ initialInterval: 500,
61326
+ maxInterval: 8000,
61327
+ exponent: 2,
61328
+ maxElapsedTime: 30000
61329
+ },
61330
+ retryConnectionErrors: true
61331
+ },
61332
+ retryCodes: options?.retryCodes || [
61333
+ "408",
61334
+ "429",
61335
+ "5XX"
61336
+ ]
61337
+ };
61338
+ const requestRes = client$._createRequest(context, {
61339
+ security: requestSecurity,
61340
+ method: "GET",
61341
+ baseURL: options?.serverURL,
61342
+ path: path$,
61343
+ headers: headers$,
61344
+ body: body$,
61345
+ userAgent: client$._options.userAgent,
61346
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
61347
+ }, options);
61348
+ if (!requestRes.ok) {
61349
+ return [requestRes, { status: "invalid" }];
61350
+ }
61351
+ const req$ = requestRes.value;
61352
+ const doResult = await client$._do(req$, {
61353
+ context,
61354
+ errorCodes: [],
61355
+ retryConfig: context.retryConfig,
61356
+ retryCodes: context.retryCodes
61357
+ });
61358
+ if (!doResult.ok) {
61359
+ return [doResult, { status: "request-error", request: req$ }];
61360
+ }
61361
+ return [doResult, {
61362
+ status: "complete",
61363
+ request: req$,
61364
+ response: doResult.value
61365
+ }];
61366
+ }
61367
+ var init_eventsGetScreening = __esm(() => {
61368
+ init_encodings();
61369
+ init_primitives();
61370
+ init_schemas3();
61371
+ init_security();
61372
+ init_url();
61373
+ init_getscreeningop();
61374
+ init_async();
61375
+ });
61376
+
61377
+ // src/mcp-server/tools/eventsGetScreening.ts
61378
+ var args47, tool$eventsGetScreening;
61379
+ var init_eventsGetScreening2 = __esm(() => {
61380
+ init_eventsGetScreening();
61381
+ init_getscreeningop();
61382
+ init_tools();
61383
+ args47 = {
61384
+ request: GetScreeningRequest$zodSchema
61385
+ };
61386
+ tool$eventsGetScreening = {
61387
+ name: "get_screening",
61388
+ description: `Read a screening.
61389
+
61390
+ Read a screening's status and progress.`,
61391
+ annotations: {
61392
+ title: "Read a screening's status and progress",
61393
+ destructiveHint: false,
61394
+ idempotentHint: true,
61395
+ openWorldHint: false,
61396
+ readOnlyHint: true
61397
+ },
61398
+ args: args47,
61399
+ tool: async (client, args, ctx) => {
61400
+ const [result] = await eventsGetScreening(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
61401
+ if (!result.ok) {
61402
+ return {
61403
+ content: [{ type: "text", text: result.error.message }],
61404
+ isError: true
61405
+ };
61406
+ }
61407
+ return formatResult(result.value);
61408
+ }
61409
+ };
61410
+ });
61411
+
61412
+ // src/models/eventlist.ts
61413
+ var EventList$zodSchema;
61414
+ var init_eventlist = __esm(() => {
61415
+ init_zod();
61416
+ init_event();
61417
+ EventList$zodSchema = object({
61418
+ items: array(Event$zodSchema),
61419
+ next_before: string2().optional().describe("Pass as before to read the next, older page.")
61420
+ }).describe("Events, newest first.");
61421
+ });
61422
+
61423
+ // src/models/listeventsop.ts
61424
+ var ListEventsRequest$zodSchema, ListEventsResponseResult$zodSchema, ListEventsResponse$zodSchema;
61425
+ var init_listeventsop = __esm(() => {
61426
+ init_zod();
61427
+ init_authenticationerror();
61428
+ init_badrequesterror();
61429
+ init_conflicterror();
61430
+ init_eventlist();
61431
+ init_keyenvironment();
61432
+ init_notfounderror();
61433
+ init_permissiondeniederror();
61434
+ init_ratelimiterror();
61435
+ ListEventsRequest$zodSchema = object({
61436
+ before: string2().describe("Read events older than this one.").optional(),
61437
+ 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."),
61438
+ limit: int().default(20).describe("At most this many items."),
61439
+ 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.")
61440
+ });
61441
+ ListEventsResponseResult$zodSchema = union([
61442
+ BadRequestError$zodSchema,
61443
+ AuthenticationError$zodSchema,
61444
+ PermissionDeniedError$zodSchema,
61445
+ NotFoundError$zodSchema,
61446
+ ConflictError$zodSchema,
61447
+ RateLimitError$zodSchema,
61448
+ EventList$zodSchema
61449
+ ]);
61450
+ ListEventsResponse$zodSchema = object({
61451
+ Headers: record(string2(), array(string2())).default({}),
61452
+ Result: union([
61453
+ BadRequestError$zodSchema,
61454
+ AuthenticationError$zodSchema,
61455
+ PermissionDeniedError$zodSchema,
61456
+ NotFoundError$zodSchema,
61457
+ ConflictError$zodSchema,
61458
+ RateLimitError$zodSchema,
61459
+ EventList$zodSchema
61460
+ ])
61461
+ });
61462
+ });
61463
+
61464
+ // src/funcs/eventsList.ts
61465
+ function eventsList(client$, request, options) {
61466
+ return new APIPromise($do47(client$, request, options));
61467
+ }
61468
+ async function $do47(client$, request, options) {
61469
+ const parsed$ = safeParse2(request, (value$) => ListEventsRequest$zodSchema.parse(value$), "Input validation failed");
61470
+ if (!parsed$.ok) {
61471
+ return [parsed$, { status: "invalid" }];
61472
+ }
61473
+ const payload$ = parsed$.value;
61474
+ const body$ = null;
61475
+ const pathParams$ = {
61476
+ environment: encodeSimple("environment", payload$.environment, {
61477
+ explode: false,
61478
+ charEncoding: "percent"
61479
+ }),
61480
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
61481
+ explode: false,
61482
+ charEncoding: "percent"
61483
+ })
61484
+ };
61485
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}")(pathParams$);
61486
+ const query$ = encodeFormQuery({
61487
+ before: payload$.before,
61488
+ limit: payload$.limit
61489
+ });
61490
+ const headers$ = new Headers(compactMap({
61491
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
61492
+ }));
61493
+ const securityInput = await extractSecurity(client$._options.security);
61494
+ const requestSecurity = resolveGlobalSecurity(securityInput);
61495
+ const context = {
61496
+ options: client$._options,
61497
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
61498
+ operationID: "listEvents",
61499
+ oAuth2Scopes: null,
61500
+ resolvedSecurity: requestSecurity,
61501
+ securitySource: client$._options.security,
61502
+ retryConfig: options?.retries || client$._options.retryConfig || {
61503
+ strategy: "backoff",
61504
+ backoff: {
61505
+ initialInterval: 500,
61506
+ maxInterval: 8000,
61507
+ exponent: 2,
61508
+ maxElapsedTime: 30000
61509
+ },
61510
+ retryConnectionErrors: true
61511
+ },
61512
+ retryCodes: options?.retryCodes || [
61513
+ "408",
61514
+ "429",
61515
+ "5XX"
61516
+ ]
61517
+ };
61518
+ const requestRes = client$._createRequest(context, {
61519
+ security: requestSecurity,
61520
+ method: "GET",
61521
+ baseURL: options?.serverURL,
61522
+ path: path$,
61523
+ headers: headers$,
61524
+ query: query$,
61525
+ body: body$,
61526
+ userAgent: client$._options.userAgent,
61527
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
61528
+ }, options);
61529
+ if (!requestRes.ok) {
61530
+ return [requestRes, { status: "invalid" }];
61531
+ }
61532
+ const req$ = requestRes.value;
61533
+ const doResult = await client$._do(req$, {
61534
+ context,
61535
+ errorCodes: [],
61536
+ retryConfig: context.retryConfig,
61537
+ retryCodes: context.retryCodes
61538
+ });
61539
+ if (!doResult.ok) {
61540
+ return [doResult, { status: "request-error", request: req$ }];
61541
+ }
61542
+ return [doResult, {
61543
+ status: "complete",
61544
+ request: req$,
61545
+ response: doResult.value
61546
+ }];
61547
+ }
61548
+ var init_eventsList = __esm(() => {
61549
+ init_encodings();
61550
+ init_primitives();
61551
+ init_schemas3();
61552
+ init_security();
61553
+ init_url();
61554
+ init_listeventsop();
61555
+ init_async();
61556
+ });
61557
+
61558
+ // src/mcp-server/tools/eventsList.ts
61559
+ var args48, tool$eventsList;
61560
+ var init_eventsList2 = __esm(() => {
61561
+ init_eventsList();
61562
+ init_listeventsop();
61563
+ init_tools();
61564
+ args48 = {
61565
+ request: ListEventsRequest$zodSchema
61566
+ };
61567
+ tool$eventsList = {
61568
+ name: "list_events",
61569
+ description: `List an environment's events.
61570
+
61571
+ List this environment's events, newest first. Pass next_before back as before for the next page. Requires the events scope.`,
61572
+ annotations: {
61573
+ title: "Read this environment's events",
61574
+ destructiveHint: false,
61575
+ idempotentHint: true,
61576
+ openWorldHint: false,
61577
+ readOnlyHint: true
61578
+ },
61579
+ args: args48,
61580
+ tool: async (client, args, ctx) => {
61581
+ const [result] = await eventsList(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
61582
+ if (!result.ok) {
61583
+ return {
61584
+ content: [{ type: "text", text: result.error.message }],
61585
+ isError: true
61586
+ };
61587
+ }
61588
+ return formatResult(result.value);
61589
+ }
61590
+ };
61591
+ });
61592
+
61593
+ // src/models/attendeelist.ts
61594
+ var AttendeeList$zodSchema;
61595
+ var init_attendeelist = __esm(() => {
61596
+ init_zod();
61597
+ init_attendee();
61598
+ AttendeeList$zodSchema = object({
61599
+ items: array(Attendee$zodSchema),
61600
+ next_after: string2().optional().describe("Pass as after to read the next page.")
61601
+ }).describe("Attendees in upload order.");
61602
+ });
61603
+
61604
+ // src/models/listattendeesband.ts
61605
+ var ListAttendeesBand$zodSchema;
61606
+ var init_listattendeesband = __esm(() => {
61607
+ init_zod();
61608
+ ListAttendeesBand$zodSchema = _enum([
61609
+ "critical",
61610
+ "high",
61611
+ "moderate",
61612
+ "low",
61613
+ "info",
61614
+ "none"
61615
+ ]);
61616
+ });
61617
+
61618
+ // src/models/listattendeesdecision.ts
61619
+ var ListAttendeesDecision$zodSchema;
61620
+ var init_listattendeesdecision = __esm(() => {
61621
+ init_zod();
61622
+ ListAttendeesDecision$zodSchema = _enum([
61623
+ "cleared",
61624
+ "watch",
61625
+ "escalated",
61626
+ "undecided"
61627
+ ]);
61628
+ });
61629
+
61630
+ // src/models/listattendeesop.ts
61631
+ var ListAttendeesRequest$zodSchema, ListAttendeesResponseResult$zodSchema, ListAttendeesResponse$zodSchema;
61632
+ var init_listattendeesop = __esm(() => {
61633
+ init_zod();
61634
+ init_attendeelist();
61635
+ init_authenticationerror();
61636
+ init_badrequesterror();
61637
+ init_conflicterror();
61638
+ init_keyenvironment();
61639
+ init_listattendeesband();
61640
+ init_listattendeesdecision();
61641
+ init_notfounderror();
61642
+ init_permissiondeniederror();
61643
+ init_ratelimiterror();
61644
+ ListAttendeesRequest$zodSchema = object({
61645
+ after: string2().describe("Read attendees after this one.").optional(),
61646
+ band: ListAttendeesBand$zodSchema.optional().describe("Only attendees whose highest finding has this band; none for attendees with no finding."),
61647
+ decision: ListAttendeesDecision$zodSchema.optional().describe("Only attendees with this decision; undecided for none yet."),
61648
+ 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."),
61649
+ event_id: string2(),
61650
+ limit: int().default(100).describe("At most this many attendees."),
61651
+ 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.")
61652
+ });
61653
+ ListAttendeesResponseResult$zodSchema = union([
61654
+ BadRequestError$zodSchema,
61655
+ AuthenticationError$zodSchema,
61656
+ PermissionDeniedError$zodSchema,
61657
+ NotFoundError$zodSchema,
61658
+ ConflictError$zodSchema,
61659
+ RateLimitError$zodSchema,
61660
+ AttendeeList$zodSchema
61661
+ ]);
61662
+ ListAttendeesResponse$zodSchema = object({
61663
+ Headers: record(string2(), array(string2())).default({}),
61664
+ Result: union([
61665
+ BadRequestError$zodSchema,
61666
+ AuthenticationError$zodSchema,
61667
+ PermissionDeniedError$zodSchema,
61668
+ NotFoundError$zodSchema,
61669
+ ConflictError$zodSchema,
61670
+ RateLimitError$zodSchema,
61671
+ AttendeeList$zodSchema
61672
+ ])
61673
+ });
61674
+ });
61675
+
61676
+ // src/funcs/eventsListAttendees.ts
61677
+ function eventsListAttendees(client$, request, options) {
61678
+ return new APIPromise($do48(client$, request, options));
61679
+ }
61680
+ async function $do48(client$, request, options) {
61681
+ const parsed$ = safeParse2(request, (value$) => ListAttendeesRequest$zodSchema.parse(value$), "Input validation failed");
61682
+ if (!parsed$.ok) {
61683
+ return [parsed$, { status: "invalid" }];
61684
+ }
61685
+ const payload$ = parsed$.value;
61686
+ const body$ = null;
61687
+ const pathParams$ = {
61688
+ environment: encodeSimple("environment", payload$.environment, {
61689
+ explode: false,
61690
+ charEncoding: "percent"
61691
+ }),
61692
+ event_id: encodeSimple("event_id", payload$.event_id, {
61693
+ explode: false,
61694
+ charEncoding: "percent"
61695
+ }),
61696
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
61697
+ explode: false,
61698
+ charEncoding: "percent"
61699
+ })
61700
+ };
61701
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}/{event_id}/attendees")(pathParams$);
61702
+ const query$ = encodeFormQuery({
61703
+ after: payload$.after,
61704
+ band: payload$.band,
61705
+ decision: payload$.decision,
61706
+ limit: payload$.limit
61707
+ });
61708
+ const headers$ = new Headers(compactMap({
61709
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
61710
+ }));
61711
+ const securityInput = await extractSecurity(client$._options.security);
61712
+ const requestSecurity = resolveGlobalSecurity(securityInput);
61713
+ const context = {
61714
+ options: client$._options,
61715
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
61716
+ operationID: "listAttendees",
61717
+ oAuth2Scopes: null,
61718
+ resolvedSecurity: requestSecurity,
61719
+ securitySource: client$._options.security,
61720
+ retryConfig: options?.retries || client$._options.retryConfig || {
61721
+ strategy: "backoff",
61722
+ backoff: {
61723
+ initialInterval: 500,
61724
+ maxInterval: 8000,
61725
+ exponent: 2,
61726
+ maxElapsedTime: 30000
61727
+ },
61728
+ retryConnectionErrors: true
61729
+ },
61730
+ retryCodes: options?.retryCodes || [
61731
+ "408",
61732
+ "429",
61733
+ "5XX"
61734
+ ]
61735
+ };
61736
+ const requestRes = client$._createRequest(context, {
61737
+ security: requestSecurity,
61738
+ method: "GET",
61739
+ baseURL: options?.serverURL,
61740
+ path: path$,
61741
+ headers: headers$,
61742
+ query: query$,
61743
+ body: body$,
61744
+ userAgent: client$._options.userAgent,
61745
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
61746
+ }, options);
61747
+ if (!requestRes.ok) {
61748
+ return [requestRes, { status: "invalid" }];
61749
+ }
61750
+ const req$ = requestRes.value;
61751
+ const doResult = await client$._do(req$, {
61752
+ context,
61753
+ errorCodes: [],
61754
+ retryConfig: context.retryConfig,
61755
+ retryCodes: context.retryCodes
61756
+ });
61757
+ if (!doResult.ok) {
61758
+ return [doResult, { status: "request-error", request: req$ }];
61759
+ }
61760
+ return [doResult, {
61761
+ status: "complete",
61762
+ request: req$,
61763
+ response: doResult.value
61764
+ }];
61765
+ }
61766
+ var init_eventsListAttendees = __esm(() => {
61767
+ init_encodings();
61768
+ init_primitives();
61769
+ init_schemas3();
61770
+ init_security();
61771
+ init_url();
61772
+ init_listattendeesop();
61773
+ init_async();
61774
+ });
61775
+
61776
+ // src/mcp-server/tools/eventsListAttendees.ts
61777
+ var args49, tool$eventsListAttendees;
61778
+ var init_eventsListAttendees2 = __esm(() => {
61779
+ init_eventsListAttendees();
61780
+ init_listattendeesop();
61781
+ init_tools();
61782
+ args49 = {
61783
+ request: ListAttendeesRequest$zodSchema
61784
+ };
61785
+ tool$eventsListAttendees = {
61786
+ name: "list_attendees",
61787
+ description: `List an event's attendees.
61788
+
61789
+ Read an event's roster in upload order, with each attendee's match state, highest finding band and decision. Filter by band or decision; pass next_after back as after.`,
61790
+ annotations: {
61791
+ title: "Read an event's roster with match states, bands and decisions",
61792
+ destructiveHint: false,
61793
+ idempotentHint: true,
61794
+ openWorldHint: false,
61795
+ readOnlyHint: true
61796
+ },
61797
+ args: args49,
61798
+ tool: async (client, args, ctx) => {
61799
+ const [result] = await eventsListAttendees(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
61800
+ if (!result.ok) {
61801
+ return {
61802
+ content: [{ type: "text", text: result.error.message }],
61803
+ isError: true
61804
+ };
61805
+ }
61806
+ return formatResult(result.value);
61807
+ }
61808
+ };
61809
+ });
61810
+
61811
+ // src/models/screeninglist.ts
61812
+ var ScreeningList$zodSchema;
61813
+ var init_screeninglist = __esm(() => {
61814
+ init_zod();
61815
+ init_screening();
61816
+ ScreeningList$zodSchema = object({
61817
+ items: array(Screening$zodSchema),
61818
+ next_before: string2().optional().describe("Pass as before to read the next, older page.")
61819
+ }).describe("Screenings, newest first.");
61820
+ });
61821
+
61822
+ // src/models/listscreeningsop.ts
61823
+ var ListScreeningsRequest$zodSchema, ListScreeningsResponseResult$zodSchema, ListScreeningsResponse$zodSchema;
61824
+ var init_listscreeningsop = __esm(() => {
61825
+ init_zod();
61826
+ init_authenticationerror();
61827
+ init_badrequesterror();
61828
+ init_conflicterror();
61829
+ init_keyenvironment();
61830
+ init_notfounderror();
61831
+ init_permissiondeniederror();
61832
+ init_ratelimiterror();
61833
+ init_screeninglist();
61834
+ ListScreeningsRequest$zodSchema = object({
61835
+ before: string2().describe("Read screenings older than this one.").optional(),
61836
+ 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."),
61837
+ event_id: string2(),
61838
+ limit: int().default(20).describe("At most this many items."),
61839
+ 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.")
61840
+ });
61841
+ ListScreeningsResponseResult$zodSchema = union([
61842
+ BadRequestError$zodSchema,
61843
+ AuthenticationError$zodSchema,
61844
+ PermissionDeniedError$zodSchema,
61845
+ NotFoundError$zodSchema,
61846
+ ConflictError$zodSchema,
61847
+ RateLimitError$zodSchema,
61848
+ ScreeningList$zodSchema
61849
+ ]);
61850
+ ListScreeningsResponse$zodSchema = object({
61851
+ Headers: record(string2(), array(string2())).default({}),
61852
+ Result: union([
61853
+ BadRequestError$zodSchema,
61854
+ AuthenticationError$zodSchema,
61855
+ PermissionDeniedError$zodSchema,
61856
+ NotFoundError$zodSchema,
61857
+ ConflictError$zodSchema,
61858
+ RateLimitError$zodSchema,
61859
+ ScreeningList$zodSchema
61860
+ ])
61861
+ });
61862
+ });
61863
+
61864
+ // src/funcs/eventsListScreenings.ts
61865
+ function eventsListScreenings(client$, request, options) {
61866
+ return new APIPromise($do49(client$, request, options));
61867
+ }
61868
+ async function $do49(client$, request, options) {
61869
+ const parsed$ = safeParse2(request, (value$) => ListScreeningsRequest$zodSchema.parse(value$), "Input validation failed");
61870
+ if (!parsed$.ok) {
61871
+ return [parsed$, { status: "invalid" }];
61872
+ }
61873
+ const payload$ = parsed$.value;
61874
+ const body$ = null;
61875
+ const pathParams$ = {
61876
+ environment: encodeSimple("environment", payload$.environment, {
61877
+ explode: false,
61878
+ charEncoding: "percent"
61879
+ }),
61880
+ event_id: encodeSimple("event_id", payload$.event_id, {
61881
+ explode: false,
61882
+ charEncoding: "percent"
61883
+ }),
61884
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
61885
+ explode: false,
61886
+ charEncoding: "percent"
61887
+ })
61888
+ };
61889
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}/{event_id}/screenings")(pathParams$);
61890
+ const query$ = encodeFormQuery({
61891
+ before: payload$.before,
61892
+ limit: payload$.limit
61893
+ });
61894
+ const headers$ = new Headers(compactMap({
61895
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
61896
+ }));
61897
+ const securityInput = await extractSecurity(client$._options.security);
61898
+ const requestSecurity = resolveGlobalSecurity(securityInput);
61899
+ const context = {
61900
+ options: client$._options,
61901
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
61902
+ operationID: "listScreenings",
61903
+ oAuth2Scopes: null,
61904
+ resolvedSecurity: requestSecurity,
61905
+ securitySource: client$._options.security,
61906
+ retryConfig: options?.retries || client$._options.retryConfig || {
61907
+ strategy: "backoff",
61908
+ backoff: {
61909
+ initialInterval: 500,
61910
+ maxInterval: 8000,
61911
+ exponent: 2,
61912
+ maxElapsedTime: 30000
61913
+ },
61914
+ retryConnectionErrors: true
61915
+ },
61916
+ retryCodes: options?.retryCodes || [
61917
+ "408",
61918
+ "429",
61919
+ "5XX"
61920
+ ]
61921
+ };
61922
+ const requestRes = client$._createRequest(context, {
61923
+ security: requestSecurity,
61924
+ method: "GET",
61925
+ baseURL: options?.serverURL,
61926
+ path: path$,
61927
+ headers: headers$,
61928
+ query: query$,
61929
+ body: body$,
61930
+ userAgent: client$._options.userAgent,
61931
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
61932
+ }, options);
61933
+ if (!requestRes.ok) {
61934
+ return [requestRes, { status: "invalid" }];
61935
+ }
61936
+ const req$ = requestRes.value;
61937
+ const doResult = await client$._do(req$, {
61938
+ context,
61939
+ errorCodes: [],
61940
+ retryConfig: context.retryConfig,
61941
+ retryCodes: context.retryCodes
61942
+ });
61943
+ if (!doResult.ok) {
61944
+ return [doResult, { status: "request-error", request: req$ }];
61945
+ }
61946
+ return [doResult, {
61947
+ status: "complete",
61948
+ request: req$,
61949
+ response: doResult.value
61950
+ }];
61951
+ }
61952
+ var init_eventsListScreenings = __esm(() => {
61953
+ init_encodings();
61954
+ init_primitives();
61955
+ init_schemas3();
61956
+ init_security();
61957
+ init_url();
61958
+ init_listscreeningsop();
61959
+ init_async();
61960
+ });
61961
+
61962
+ // src/mcp-server/tools/eventsListScreenings.ts
61963
+ var args50, tool$eventsListScreenings;
61964
+ var init_eventsListScreenings2 = __esm(() => {
61965
+ init_eventsListScreenings();
61966
+ init_listscreeningsop();
61967
+ init_tools();
61968
+ args50 = {
61969
+ request: ListScreeningsRequest$zodSchema
61970
+ };
61971
+ tool$eventsListScreenings = {
61972
+ name: "list_screenings",
61973
+ description: `List an event's screenings.
61974
+
61975
+ List an event's screenings, newest first.`,
61976
+ annotations: {
61977
+ title: "Read an event's screenings",
61978
+ destructiveHint: false,
61979
+ idempotentHint: true,
61980
+ openWorldHint: false,
61981
+ readOnlyHint: true
61982
+ },
61983
+ args: args50,
61984
+ tool: async (client, args, ctx) => {
61985
+ const [result] = await eventsListScreenings(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
61986
+ if (!result.ok) {
61987
+ return {
61988
+ content: [{ type: "text", text: result.error.message }],
61989
+ isError: true
61990
+ };
61991
+ }
61992
+ return formatResult(result.value);
61993
+ }
61994
+ };
61995
+ });
61996
+
61997
+ // src/models/attendeereviewrequest.ts
61998
+ var AttendeeReviewRequest$zodSchema;
61999
+ var init_attendeereviewrequest = __esm(() => {
62000
+ init_zod();
62001
+ init_attendeedecision();
62002
+ AttendeeReviewRequest$zodSchema = object({
62003
+ decision: AttendeeDecision$zodSchema,
62004
+ note: string2().optional().describe("Why, for the venue team and later reviewers.")
62005
+ }).describe("Records a decision on an attendee.");
62006
+ });
62007
+
62008
+ // src/models/reviewattendeeop.ts
62009
+ var ReviewAttendeeRequest$zodSchema, ReviewAttendeeResponseResult$zodSchema, ReviewAttendeeResponse$zodSchema;
62010
+ var init_reviewattendeeop = __esm(() => {
62011
+ init_zod();
62012
+ init_attendee();
62013
+ init_attendeereviewrequest();
62014
+ init_authenticationerror();
62015
+ init_badrequesterror();
62016
+ init_conflicterror();
62017
+ init_keyenvironment();
62018
+ init_notfounderror();
62019
+ init_permissiondeniederror();
62020
+ init_ratelimiterror();
62021
+ ReviewAttendeeRequest$zodSchema = object({
62022
+ attendee_id: string2(),
62023
+ body: AttendeeReviewRequest$zodSchema,
62024
+ 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."),
62025
+ event_id: string2(),
62026
+ 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.")
62027
+ });
62028
+ ReviewAttendeeResponseResult$zodSchema = union([
62029
+ Attendee$zodSchema,
62030
+ BadRequestError$zodSchema,
62031
+ AuthenticationError$zodSchema,
62032
+ PermissionDeniedError$zodSchema,
62033
+ NotFoundError$zodSchema,
62034
+ ConflictError$zodSchema,
62035
+ RateLimitError$zodSchema
62036
+ ]);
62037
+ ReviewAttendeeResponse$zodSchema = object({
62038
+ Headers: record(string2(), array(string2())).default({}),
62039
+ Result: union([
62040
+ Attendee$zodSchema,
62041
+ BadRequestError$zodSchema,
62042
+ AuthenticationError$zodSchema,
62043
+ PermissionDeniedError$zodSchema,
62044
+ NotFoundError$zodSchema,
62045
+ ConflictError$zodSchema,
62046
+ RateLimitError$zodSchema
62047
+ ])
62048
+ });
62049
+ });
62050
+
62051
+ // src/funcs/eventsReviewAttendee.ts
62052
+ function eventsReviewAttendee(client$, request, options) {
62053
+ return new APIPromise($do50(client$, request, options));
62054
+ }
62055
+ async function $do50(client$, request, options) {
62056
+ const parsed$ = safeParse2(request, (value$) => ReviewAttendeeRequest$zodSchema.parse(value$), "Input validation failed");
62057
+ if (!parsed$.ok) {
62058
+ return [parsed$, { status: "invalid" }];
62059
+ }
62060
+ const payload$ = parsed$.value;
62061
+ const body$ = encodeJSON("body", payload$.body, { explode: true });
62062
+ const pathParams$ = {
62063
+ attendee_id: encodeSimple("attendee_id", payload$.attendee_id, {
62064
+ explode: false,
62065
+ charEncoding: "percent"
62066
+ }),
62067
+ environment: encodeSimple("environment", payload$.environment, {
62068
+ explode: false,
62069
+ charEncoding: "percent"
62070
+ }),
62071
+ event_id: encodeSimple("event_id", payload$.event_id, {
62072
+ explode: false,
62073
+ charEncoding: "percent"
62074
+ }),
62075
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
62076
+ explode: false,
62077
+ charEncoding: "percent"
62078
+ })
62079
+ };
62080
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}/{event_id}/attendees/{attendee_id}/review")(pathParams$);
62081
+ const headers$ = new Headers(compactMap({
62082
+ "Content-Type": "application/json",
62083
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
62084
+ }));
62085
+ const securityInput = await extractSecurity(client$._options.security);
62086
+ const requestSecurity = resolveGlobalSecurity(securityInput);
62087
+ const context = {
62088
+ options: client$._options,
62089
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
62090
+ operationID: "reviewAttendee",
62091
+ oAuth2Scopes: null,
62092
+ resolvedSecurity: requestSecurity,
62093
+ securitySource: client$._options.security,
62094
+ retryConfig: options?.retries || { strategy: "none" },
62095
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
62096
+ };
62097
+ const requestRes = client$._createRequest(context, {
62098
+ security: requestSecurity,
62099
+ method: "POST",
62100
+ baseURL: options?.serverURL,
62101
+ path: path$,
62102
+ headers: headers$,
62103
+ body: body$,
62104
+ userAgent: client$._options.userAgent,
62105
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
62106
+ }, options);
62107
+ if (!requestRes.ok) {
62108
+ return [requestRes, { status: "invalid" }];
62109
+ }
62110
+ const req$ = requestRes.value;
62111
+ const doResult = await client$._do(req$, {
62112
+ context,
62113
+ errorCodes: [],
62114
+ retryConfig: context.retryConfig,
62115
+ retryCodes: context.retryCodes
62116
+ });
62117
+ if (!doResult.ok) {
62118
+ return [doResult, { status: "request-error", request: req$ }];
62119
+ }
62120
+ return [doResult, {
62121
+ status: "complete",
62122
+ request: req$,
62123
+ response: doResult.value
62124
+ }];
62125
+ }
62126
+ var init_eventsReviewAttendee = __esm(() => {
62127
+ init_encodings();
62128
+ init_primitives();
62129
+ init_schemas3();
62130
+ init_security();
62131
+ init_url();
62132
+ init_reviewattendeeop();
62133
+ init_async();
62134
+ });
62135
+
62136
+ // src/mcp-server/tools/eventsReviewAttendee.ts
62137
+ var args51, tool$eventsReviewAttendee;
62138
+ var init_eventsReviewAttendee2 = __esm(() => {
62139
+ init_eventsReviewAttendee();
62140
+ init_reviewattendeeop();
62141
+ init_tools();
62142
+ args51 = {
62143
+ request: ReviewAttendeeRequest$zodSchema
62144
+ };
62145
+ tool$eventsReviewAttendee = {
62146
+ name: "review_attendee",
62147
+ description: `Record a decision on an attendee.
62148
+
62149
+ Record a cleared, watch or escalated decision with a note. The latest decision is the attendee's; the next screening refreshes everyone on watch or escalated.`,
62150
+ annotations: {
62151
+ title: "Mark an attendee cleared, watch or escalated with a note",
62152
+ destructiveHint: false,
62153
+ idempotentHint: false,
62154
+ openWorldHint: false,
62155
+ readOnlyHint: false
62156
+ },
62157
+ args: args51,
62158
+ tool: async (client, args, ctx) => {
62159
+ const [result] = await eventsReviewAttendee(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
62160
+ if (!result.ok) {
62161
+ return {
62162
+ content: [{ type: "text", text: result.error.message }],
62163
+ isError: true
62164
+ };
62165
+ }
62166
+ return formatResult(result.value);
62167
+ }
62168
+ };
62169
+ });
62170
+
62171
+ // src/models/screeningrequest.ts
62172
+ var ScreeningRequestPlatform$zodSchema, ScreeningRequest$zodSchema;
62173
+ var init_screeningrequest = __esm(() => {
62174
+ init_zod();
62175
+ init_screeningdepth();
62176
+ ScreeningRequestPlatform$zodSchema = _enum([
62177
+ "instagram",
62178
+ "x",
62179
+ "bluesky",
62180
+ "youtube",
62181
+ "tiktok",
62182
+ "facebook",
62183
+ "threads",
62184
+ "reddit",
62185
+ "telegram",
62186
+ "linkedin"
62187
+ ]);
62188
+ ScreeningRequest$zodSchema = object({
62189
+ depth: ScreeningDepth$zodSchema,
62190
+ platforms: array(ScreeningRequestPlatform$zodSchema)
62191
+ }).describe("Screens the event's attendees no screening has reached and everyone on watch or escalated.");
62192
+ });
62193
+
62194
+ // src/models/startscreeningop.ts
62195
+ var StartScreeningRequest$zodSchema, StartScreeningResponseResult$zodSchema, StartScreeningResponse$zodSchema;
62196
+ var init_startscreeningop = __esm(() => {
62197
+ init_zod();
62198
+ init_authenticationerror();
62199
+ init_badrequesterror();
62200
+ init_conflicterror();
62201
+ init_keyenvironment();
62202
+ init_notfounderror();
62203
+ init_permissiondeniederror();
62204
+ init_ratelimiterror();
62205
+ init_screening();
62206
+ init_screeningrequest();
62207
+ StartScreeningRequest$zodSchema = object({
62208
+ body: ScreeningRequest$zodSchema,
62209
+ 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."),
62210
+ event_id: string2(),
62211
+ idempotencyKey: string2().describe("Opaque client key, 16 to 128 characters of [A-Za-z0-9._:-] (a UUID or ULID fits). Scoped to the workspace principal and bound to the canonical body for 24 hours. Optional: the SDK generates a UUID when you omit it and sends the same key on every retry of the call.").optional(),
62212
+ 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.")
62213
+ });
62214
+ StartScreeningResponseResult$zodSchema = union([
62215
+ Screening$zodSchema,
62216
+ BadRequestError$zodSchema,
62217
+ AuthenticationError$zodSchema,
62218
+ PermissionDeniedError$zodSchema,
62219
+ NotFoundError$zodSchema,
62220
+ ConflictError$zodSchema,
62221
+ RateLimitError$zodSchema
62222
+ ]);
62223
+ StartScreeningResponse$zodSchema = object({
62224
+ Headers: record(string2(), array(string2())).default({}),
62225
+ Result: union([
62226
+ Screening$zodSchema,
62227
+ BadRequestError$zodSchema,
62228
+ AuthenticationError$zodSchema,
62229
+ PermissionDeniedError$zodSchema,
62230
+ NotFoundError$zodSchema,
62231
+ ConflictError$zodSchema,
62232
+ RateLimitError$zodSchema
62233
+ ])
62234
+ });
62235
+ });
62236
+
62237
+ // src/funcs/eventsStartScreening.ts
62238
+ function eventsStartScreening(client$, request, options) {
62239
+ return new APIPromise($do51(client$, request, options));
62240
+ }
62241
+ async function $do51(client$, request, options) {
62242
+ const parsed$ = safeParse2(request, (value$) => StartScreeningRequest$zodSchema.parse(value$), "Input validation failed");
62243
+ if (!parsed$.ok) {
62244
+ return [parsed$, { status: "invalid" }];
62245
+ }
62246
+ const payload$ = parsed$.value;
62247
+ const body$ = encodeJSON("body", payload$.body, { explode: true });
62248
+ const pathParams$ = {
62249
+ environment: encodeSimple("environment", payload$.environment, {
62250
+ explode: false,
62251
+ charEncoding: "percent"
62252
+ }),
62253
+ event_id: encodeSimple("event_id", payload$.event_id, {
62254
+ explode: false,
62255
+ charEncoding: "percent"
62256
+ }),
62257
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
62258
+ explode: false,
62259
+ charEncoding: "percent"
62260
+ })
62261
+ };
62262
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}/{event_id}/screenings")(pathParams$);
62263
+ const headers$ = new Headers(compactMap({
62264
+ "Content-Type": "application/json",
62265
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0",
62266
+ "Idempotency-Key": encodeSimple("Idempotency-Key", payload$.idempotencyKey, { explode: false, charEncoding: "none" })
62267
+ }));
62268
+ const securityInput = await extractSecurity(client$._options.security);
62269
+ const requestSecurity = resolveGlobalSecurity(securityInput);
62270
+ const context = {
62271
+ options: client$._options,
62272
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
62273
+ operationID: "startScreening",
62274
+ oAuth2Scopes: null,
62275
+ resolvedSecurity: requestSecurity,
62276
+ securitySource: client$._options.security,
62277
+ retryConfig: options?.retries || client$._options.retryConfig || {
62278
+ strategy: "backoff",
62279
+ backoff: {
62280
+ initialInterval: 500,
62281
+ maxInterval: 8000,
62282
+ exponent: 2,
62283
+ maxElapsedTime: 30000
62284
+ },
62285
+ retryConnectionErrors: true
62286
+ },
62287
+ retryCodes: options?.retryCodes || [
62288
+ "408",
62289
+ "429",
62290
+ "5XX"
62291
+ ]
62292
+ };
62293
+ const requestRes = client$._createRequest(context, {
62294
+ security: requestSecurity,
62295
+ method: "POST",
62296
+ baseURL: options?.serverURL,
62297
+ path: path$,
62298
+ headers: headers$,
62299
+ body: body$,
62300
+ userAgent: client$._options.userAgent,
62301
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
62302
+ }, options);
62303
+ if (!requestRes.ok) {
62304
+ return [requestRes, { status: "invalid" }];
62305
+ }
62306
+ const req$ = requestRes.value;
62307
+ const doResult = await client$._do(req$, {
62308
+ context,
62309
+ errorCodes: [],
62310
+ retryConfig: context.retryConfig,
62311
+ retryCodes: context.retryCodes
62312
+ });
62313
+ if (!doResult.ok) {
62314
+ return [doResult, { status: "request-error", request: req$ }];
62315
+ }
62316
+ return [doResult, {
62317
+ status: "complete",
62318
+ request: req$,
62319
+ response: doResult.value
62320
+ }];
62321
+ }
62322
+ var init_eventsStartScreening = __esm(() => {
62323
+ init_encodings();
62324
+ init_primitives();
62325
+ init_schemas3();
62326
+ init_security();
62327
+ init_url();
62328
+ init_startscreeningop();
62329
+ init_async();
62330
+ });
62331
+
62332
+ // src/mcp-server/tools/eventsStartScreening.ts
62333
+ var args52, tool$eventsStartScreening;
62334
+ var init_eventsStartScreening2 = __esm(() => {
62335
+ init_eventsStartScreening();
62336
+ init_startscreeningop();
62337
+ init_tools();
62338
+ args52 = {
62339
+ request: StartScreeningRequest$zodSchema
62340
+ };
62341
+ tool$eventsStartScreening = {
62342
+ name: "start_screening",
62343
+ description: `Start a screening.
62344
+
62345
+ Start a screening of new attendees and everyone on watch or escalated, with an Idempotency-Key. It finishes completed, partial or failed minutes to hours later; poll it. The test environment screens with stand-ins that find no accounts.`,
62346
+ annotations: {
62347
+ title: "Screen new attendees and everyone on watch or escalated",
62348
+ destructiveHint: false,
62349
+ idempotentHint: true,
62350
+ openWorldHint: false,
62351
+ readOnlyHint: false
62352
+ },
62353
+ args: args52,
62354
+ tool: async (client, args, ctx) => {
62355
+ const [result] = await eventsStartScreening(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
62356
+ if (!result.ok) {
62357
+ return {
62358
+ content: [{ type: "text", text: result.error.message }],
62359
+ isError: true
62360
+ };
62361
+ }
62362
+ return formatResult(result.value);
62363
+ }
62364
+ };
62365
+ });
62366
+
62367
+ // src/models/eventupdate.ts
62368
+ var EventUpdate$zodSchema;
62369
+ var init_eventupdate = __esm(() => {
62370
+ init_zod();
62371
+ init_principal();
62372
+ EventUpdate$zodSchema = object({
62373
+ ends_at: string2().optional().describe("When the event ends, at or after its start; the start when omitted."),
62374
+ expected_version: int().optional().describe("When present, the change applies only if the event is still at this version (409 event_conflict otherwise)."),
62375
+ host: string2().optional().describe("The organisation hosting the event."),
62376
+ name: string2().optional().describe("The event's name."),
62377
+ principals: array(Principal$zodSchema).optional().describe("The people the event protects, at most 20."),
62378
+ starts_at: string2().optional().describe("When the event starts."),
62379
+ topics: array(string2()).optional().describe("Sensitive topics the screening reads posts against, at most 50."),
62380
+ venue: string2().optional().describe("Where the event is held.")
62381
+ }).describe("Changes the fields it names; at least one besides expected_version.");
62382
+ });
62383
+
62384
+ // src/models/updateeventop.ts
62385
+ var UpdateEventRequest$zodSchema, UpdateEventResponseResult$zodSchema, UpdateEventResponse$zodSchema;
62386
+ var init_updateeventop = __esm(() => {
62387
+ init_zod();
62388
+ init_authenticationerror();
62389
+ init_badrequesterror();
62390
+ init_conflicterror();
62391
+ init_event();
62392
+ init_eventupdate();
62393
+ init_keyenvironment();
62394
+ init_notfounderror();
62395
+ init_permissiondeniederror();
62396
+ init_ratelimiterror();
62397
+ UpdateEventRequest$zodSchema = object({
62398
+ body: EventUpdate$zodSchema,
62399
+ 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."),
62400
+ event_id: string2(),
62401
+ 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.")
62402
+ });
62403
+ UpdateEventResponseResult$zodSchema = union([
62404
+ Event$zodSchema,
62405
+ BadRequestError$zodSchema,
62406
+ AuthenticationError$zodSchema,
62407
+ PermissionDeniedError$zodSchema,
62408
+ NotFoundError$zodSchema,
62409
+ ConflictError$zodSchema,
62410
+ RateLimitError$zodSchema
62411
+ ]);
62412
+ UpdateEventResponse$zodSchema = object({
62413
+ Headers: record(string2(), array(string2())).default({}),
62414
+ Result: union([
62415
+ Event$zodSchema,
62416
+ BadRequestError$zodSchema,
62417
+ AuthenticationError$zodSchema,
62418
+ PermissionDeniedError$zodSchema,
62419
+ NotFoundError$zodSchema,
62420
+ ConflictError$zodSchema,
62421
+ RateLimitError$zodSchema
62422
+ ])
62423
+ });
62424
+ });
62425
+
62426
+ // src/funcs/eventsUpdate.ts
62427
+ function eventsUpdate(client$, request, options) {
62428
+ return new APIPromise($do52(client$, request, options));
62429
+ }
62430
+ async function $do52(client$, request, options) {
62431
+ const parsed$ = safeParse2(request, (value$) => UpdateEventRequest$zodSchema.parse(value$), "Input validation failed");
62432
+ if (!parsed$.ok) {
62433
+ return [parsed$, { status: "invalid" }];
62434
+ }
62435
+ const payload$ = parsed$.value;
62436
+ const body$ = encodeJSON("body", payload$.body, { explode: true });
62437
+ const pathParams$ = {
62438
+ environment: encodeSimple("environment", payload$.environment, {
62439
+ explode: false,
62440
+ charEncoding: "percent"
62441
+ }),
62442
+ event_id: encodeSimple("event_id", payload$.event_id, {
62443
+ explode: false,
62444
+ charEncoding: "percent"
62445
+ }),
62446
+ workspace_id: encodeSimple("workspace_id", payload$.workspace_id, {
62447
+ explode: false,
62448
+ charEncoding: "percent"
62449
+ })
62450
+ };
62451
+ const path$ = pathToFunc("/v1/workspaces/{workspace_id}/events/{environment}/{event_id}")(pathParams$);
62452
+ const headers$ = new Headers(compactMap({
62453
+ "Content-Type": "application/json",
62454
+ Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
62455
+ }));
62456
+ const securityInput = await extractSecurity(client$._options.security);
62457
+ const requestSecurity = resolveGlobalSecurity(securityInput);
62458
+ const context = {
62459
+ options: client$._options,
62460
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
62461
+ operationID: "updateEvent",
62462
+ oAuth2Scopes: null,
62463
+ resolvedSecurity: requestSecurity,
62464
+ securitySource: client$._options.security,
62465
+ retryConfig: options?.retries || client$._options.retryConfig || {
62466
+ strategy: "backoff",
62467
+ backoff: {
62468
+ initialInterval: 500,
62469
+ maxInterval: 8000,
62470
+ exponent: 2,
62471
+ maxElapsedTime: 30000
62472
+ },
62473
+ retryConnectionErrors: true
62474
+ },
62475
+ retryCodes: options?.retryCodes || [
62476
+ "408",
62477
+ "429",
62478
+ "5XX"
62479
+ ]
62480
+ };
62481
+ const requestRes = client$._createRequest(context, {
62482
+ security: requestSecurity,
62483
+ method: "PATCH",
62484
+ baseURL: options?.serverURL,
62485
+ path: path$,
62486
+ headers: headers$,
62487
+ body: body$,
62488
+ userAgent: client$._options.userAgent,
62489
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
62490
+ }, options);
62491
+ if (!requestRes.ok) {
62492
+ return [requestRes, { status: "invalid" }];
62493
+ }
62494
+ const req$ = requestRes.value;
62495
+ const doResult = await client$._do(req$, {
62496
+ context,
62497
+ errorCodes: [],
62498
+ retryConfig: context.retryConfig,
62499
+ retryCodes: context.retryCodes
62500
+ });
62501
+ if (!doResult.ok) {
62502
+ return [doResult, { status: "request-error", request: req$ }];
62503
+ }
62504
+ return [doResult, {
62505
+ status: "complete",
62506
+ request: req$,
62507
+ response: doResult.value
62508
+ }];
62509
+ }
62510
+ var init_eventsUpdate = __esm(() => {
62511
+ init_encodings();
62512
+ init_primitives();
62513
+ init_schemas3();
62514
+ init_security();
62515
+ init_url();
62516
+ init_updateeventop();
62517
+ init_async();
62518
+ });
62519
+
62520
+ // src/mcp-server/tools/eventsUpdate.ts
62521
+ var args53, tool$eventsUpdate;
62522
+ var init_eventsUpdate2 = __esm(() => {
62523
+ init_eventsUpdate();
62524
+ init_updateeventop();
62525
+ init_tools();
62526
+ args53 = {
62527
+ request: UpdateEventRequest$zodSchema
62528
+ };
62529
+ tool$eventsUpdate = {
62530
+ name: "update_event",
62531
+ description: `Change an event.
62532
+
62533
+ Change the fields you name. Send expected_version to apply the change only to that version.`,
62534
+ annotations: {
62535
+ title: "Change an event's details",
62536
+ destructiveHint: false,
62537
+ idempotentHint: true,
62538
+ openWorldHint: false,
62539
+ readOnlyHint: false
62540
+ },
62541
+ args: args53,
62542
+ tool: async (client, args, ctx) => {
62543
+ const [result] = await eventsUpdate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
62544
+ if (!result.ok) {
62545
+ return {
62546
+ content: [{ type: "text", text: result.error.message }],
62547
+ isError: true
62548
+ };
62549
+ }
62550
+ return formatResult(result.value);
62551
+ }
62552
+ };
62553
+ });
62554
+
59917
62555
  // src/models/customerexportrequestkind.ts
59918
62556
  var CustomerExportRequestKind$zodSchema;
59919
62557
  var init_customerexportrequestkind = __esm(() => {
@@ -60015,9 +62653,9 @@ var init_cancelcustomerexportop = __esm(() => {
60015
62653
 
60016
62654
  // src/funcs/exportsCancel.ts
60017
62655
  function exportsCancel(client$, request, options) {
60018
- return new APIPromise($do40(client$, request, options));
62656
+ return new APIPromise($do53(client$, request, options));
60019
62657
  }
60020
- async function $do40(client$, request, options) {
62658
+ async function $do53(client$, request, options) {
60021
62659
  const parsed$ = safeParse2(request, (value$) => CancelCustomerExportRequest$zodSchema.parse(value$), "Input validation failed");
60022
62660
  if (!parsed$.ok) {
60023
62661
  return [parsed$, { status: "invalid" }];
@@ -60104,12 +62742,12 @@ var init_exportsCancel = __esm(() => {
60104
62742
  });
60105
62743
 
60106
62744
  // src/mcp-server/tools/exportsCancel.ts
60107
- var args41, tool$exportsCancel;
62745
+ var args54, tool$exportsCancel;
60108
62746
  var init_exportsCancel2 = __esm(() => {
60109
62747
  init_exportsCancel();
60110
62748
  init_cancelcustomerexportop();
60111
62749
  init_tools();
60112
- args41 = {
62750
+ args54 = {
60113
62751
  request: CancelCustomerExportRequest$zodSchema
60114
62752
  };
60115
62753
  tool$exportsCancel = {
@@ -60124,7 +62762,7 @@ Cancel an export and remove its stored chunks. Repeating cancellation is safe. A
60124
62762
  openWorldHint: false,
60125
62763
  readOnlyHint: false
60126
62764
  },
60127
- args: args41,
62765
+ args: args54,
60128
62766
  tool: async (client, args, ctx) => {
60129
62767
  const [result] = await exportsCancel(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
60130
62768
  if (!result.ok) {
@@ -60215,9 +62853,9 @@ var init_createcustomerexportop = __esm(() => {
60215
62853
 
60216
62854
  // src/funcs/exportsCreate.ts
60217
62855
  function exportsCreate(client$, request, options) {
60218
- return new APIPromise($do41(client$, request, options));
62856
+ return new APIPromise($do54(client$, request, options));
60219
62857
  }
60220
- async function $do41(client$, request, options) {
62858
+ async function $do54(client$, request, options) {
60221
62859
  const parsed$ = safeParse2(request, (value$) => CreateCustomerExportRequest$zodSchema.parse(value$), "Input validation failed");
60222
62860
  if (!parsed$.ok) {
60223
62861
  return [parsed$, { status: "invalid" }];
@@ -60288,12 +62926,12 @@ var init_exportsCreate = __esm(() => {
60288
62926
  });
60289
62927
 
60290
62928
  // src/mcp-server/tools/exportsCreate.ts
60291
- var args42, tool$exportsCreate;
62929
+ var args55, tool$exportsCreate;
60292
62930
  var init_exportsCreate2 = __esm(() => {
60293
62931
  init_exportsCreate();
60294
62932
  init_createcustomerexportop();
60295
62933
  init_tools();
60296
- args42 = {
62934
+ args55 = {
60297
62935
  request: CreateCustomerExportRequest$zodSchema
60298
62936
  };
60299
62937
  tool$exportsCreate = {
@@ -60308,7 +62946,7 @@ Request an encrypted JSON Lines snapshot of retained account or audit records. R
60308
62946
  openWorldHint: false,
60309
62947
  readOnlyHint: false
60310
62948
  },
60311
- args: args42,
62949
+ args: args55,
60312
62950
  tool: async (client, args, ctx) => {
60313
62951
  const [result] = await exportsCreate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
60314
62952
  if (!result.ok) {
@@ -60377,9 +63015,9 @@ var init_downloadcustomerexportchunkop = __esm(() => {
60377
63015
 
60378
63016
  // src/funcs/exportsDownloadChunk.ts
60379
63017
  function exportsDownloadChunk(client$, request, options) {
60380
- return new APIPromise($do42(client$, request, options));
63018
+ return new APIPromise($do55(client$, request, options));
60381
63019
  }
60382
- async function $do42(client$, request, options) {
63020
+ async function $do55(client$, request, options) {
60383
63021
  const parsed$ = safeParse2(request, (value$) => DownloadCustomerExportChunkRequest$zodSchema.parse(value$), "Input validation failed");
60384
63022
  if (!parsed$.ok) {
60385
63023
  return [parsed$, { status: "invalid" }];
@@ -60469,12 +63107,12 @@ var init_exportsDownloadChunk = __esm(() => {
60469
63107
  });
60470
63108
 
60471
63109
  // src/mcp-server/tools/exportsDownloadChunk.ts
60472
- var args43, tool$exportsDownloadChunk;
63110
+ var args56, tool$exportsDownloadChunk;
60473
63111
  var init_exportsDownloadChunk2 = __esm(() => {
60474
63112
  init_exportsDownloadChunk();
60475
63113
  init_downloadcustomerexportchunkop();
60476
63114
  init_tools();
60477
- args43 = {
63115
+ args56 = {
60478
63116
  request: DownloadCustomerExportChunkRequest$zodSchema
60479
63117
  };
60480
63118
  tool$exportsDownloadChunk = {
@@ -60489,7 +63127,7 @@ Download one chunk of a completed, unexpired export after a fresh permission and
60489
63127
  openWorldHint: false,
60490
63128
  readOnlyHint: true
60491
63129
  },
60492
- args: args43,
63130
+ args: args56,
60493
63131
  tool: async (client, args, ctx) => {
60494
63132
  const [result] = await exportsDownloadChunk(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
60495
63133
  if (!result.ok) {
@@ -60543,9 +63181,9 @@ var init_getcustomerexportop = __esm(() => {
60543
63181
 
60544
63182
  // src/funcs/exportsGet.ts
60545
63183
  function exportsGet(client$, request, options) {
60546
- return new APIPromise($do43(client$, request, options));
63184
+ return new APIPromise($do56(client$, request, options));
60547
63185
  }
60548
- async function $do43(client$, request, options) {
63186
+ async function $do56(client$, request, options) {
60549
63187
  const parsed$ = safeParse2(request, (value$) => GetCustomerExportRequest$zodSchema.parse(value$), "Input validation failed");
60550
63188
  if (!parsed$.ok) {
60551
63189
  return [parsed$, { status: "invalid" }];
@@ -60631,12 +63269,12 @@ var init_exportsGet = __esm(() => {
60631
63269
  });
60632
63270
 
60633
63271
  // src/mcp-server/tools/exportsGet.ts
60634
- var args44, tool$exportsGet;
63272
+ var args57, tool$exportsGet;
60635
63273
  var init_exportsGet2 = __esm(() => {
60636
63274
  init_exportsGet();
60637
63275
  init_getcustomerexportop();
60638
63276
  init_tools();
60639
- args44 = {
63277
+ args57 = {
60640
63278
  request: GetCustomerExportRequest$zodSchema
60641
63279
  };
60642
63280
  tool$exportsGet = {
@@ -60651,7 +63289,7 @@ Read the status of an authorised export. Records and bytes describe committed pr
60651
63289
  openWorldHint: false,
60652
63290
  readOnlyHint: true
60653
63291
  },
60654
- args: args44,
63292
+ args: args57,
60655
63293
  tool: async (client, args, ctx) => {
60656
63294
  const [result] = await exportsGet(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
60657
63295
  if (!result.ok) {
@@ -60721,9 +63359,9 @@ var init_listcustomerexportsop = __esm(() => {
60721
63359
 
60722
63360
  // src/funcs/exportsList.ts
60723
63361
  function exportsList(client$, request, options) {
60724
- return new APIPromise($do44(client$, request, options));
63362
+ return new APIPromise($do57(client$, request, options));
60725
63363
  }
60726
- async function $do44(client$, request, options) {
63364
+ async function $do57(client$, request, options) {
60727
63365
  const parsed$ = safeParse2(request, (value$) => ListCustomerExportsRequest$zodSchema.parse(value$), "Input validation failed");
60728
63366
  if (!parsed$.ok) {
60729
63367
  return [parsed$, { status: "invalid" }];
@@ -60812,12 +63450,12 @@ var init_exportsList = __esm(() => {
60812
63450
  });
60813
63451
 
60814
63452
  // src/mcp-server/tools/exportsList.ts
60815
- var args45, tool$exportsList;
63453
+ var args58, tool$exportsList;
60816
63454
  var init_exportsList2 = __esm(() => {
60817
63455
  init_exportsList();
60818
63456
  init_listcustomerexportsop();
60819
63457
  init_tools();
60820
- args45 = {
63458
+ args58 = {
60821
63459
  request: ListCustomerExportsRequest$zodSchema
60822
63460
  };
60823
63461
  tool$exportsList = {
@@ -60832,7 +63470,7 @@ List authorised jobs for one kind and environment. Detailed jobs require current
60832
63470
  openWorldHint: false,
60833
63471
  readOnlyHint: true
60834
63472
  },
60835
- args: args45,
63473
+ args: args58,
60836
63474
  tool: async (client, args, ctx) => {
60837
63475
  const [result] = await exportsList(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
60838
63476
  if (!result.ok) {
@@ -60888,9 +63526,9 @@ var init_retrycustomerexportop = __esm(() => {
60888
63526
 
60889
63527
  // src/funcs/exportsRetry.ts
60890
63528
  function exportsRetry(client$, request, options) {
60891
- return new APIPromise($do45(client$, request, options));
63529
+ return new APIPromise($do58(client$, request, options));
60892
63530
  }
60893
- async function $do45(client$, request, options) {
63531
+ async function $do58(client$, request, options) {
60894
63532
  const parsed$ = safeParse2(request, (value$) => RetryCustomerExportRequest$zodSchema.parse(value$), "Input validation failed");
60895
63533
  if (!parsed$.ok) {
60896
63534
  return [parsed$, { status: "invalid" }];
@@ -60964,12 +63602,12 @@ var init_exportsRetry = __esm(() => {
60964
63602
  });
60965
63603
 
60966
63604
  // src/mcp-server/tools/exportsRetry.ts
60967
- var args46, tool$exportsRetry;
63605
+ var args59, tool$exportsRetry;
60968
63606
  var init_exportsRetry2 = __esm(() => {
60969
63607
  init_exportsRetry();
60970
63608
  init_retrycustomerexportop();
60971
63609
  init_tools();
60972
- args46 = {
63610
+ args59 = {
60973
63611
  request: RetryCustomerExportRequest$zodSchema
60974
63612
  };
60975
63613
  tool$exportsRetry = {
@@ -60984,7 +63622,7 @@ Start a new generation of a failed export before its original expiry, up to ten
60984
63622
  openWorldHint: false,
60985
63623
  readOnlyHint: false
60986
63624
  },
60987
- args: args46,
63625
+ args: args59,
60988
63626
  tool: async (client, args, ctx) => {
60989
63627
  const [result] = await exportsRetry(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
60990
63628
  if (!result.ok) {
@@ -61034,9 +63672,9 @@ var init_integrationrequest = __esm(() => {
61034
63672
 
61035
63673
  // src/funcs/integrationsCreate.ts
61036
63674
  function integrationsCreate(client$, request, options) {
61037
- return new APIPromise($do46(client$, request, options));
63675
+ return new APIPromise($do59(client$, request, options));
61038
63676
  }
61039
- async function $do46(client$, request, options) {
63677
+ async function $do59(client$, request, options) {
61040
63678
  const parsed$ = safeParse2(request, (value$) => IntegrationRequest$zodSchema.parse(value$), "Input validation failed");
61041
63679
  if (!parsed$.ok) {
61042
63680
  return [parsed$, { status: "invalid" }];
@@ -61100,12 +63738,12 @@ var init_integrationsCreate = __esm(() => {
61100
63738
  });
61101
63739
 
61102
63740
  // src/mcp-server/tools/integrationsCreate.ts
61103
- var args47, tool$integrationsCreate;
63741
+ var args60, tool$integrationsCreate;
61104
63742
  var init_integrationsCreate2 = __esm(() => {
61105
63743
  init_integrationsCreate();
61106
63744
  init_integrationrequest();
61107
63745
  init_tools();
61108
- args47 = {
63746
+ args60 = {
61109
63747
  request: IntegrationRequest$zodSchema
61110
63748
  };
61111
63749
  tool$integrationsCreate = {
@@ -61120,7 +63758,7 @@ Registers a WorkOS, Auth0 or Supabase integration and returns its hosted endpoin
61120
63758
  openWorldHint: false,
61121
63759
  readOnlyHint: false
61122
63760
  },
61123
- args: args47,
63761
+ args: args60,
61124
63762
  tool: async (client, args, ctx) => {
61125
63763
  const [result] = await integrationsCreate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
61126
63764
  if (!result.ok) {
@@ -61170,9 +63808,9 @@ var init_deleteintegrationop = __esm(() => {
61170
63808
 
61171
63809
  // src/funcs/integrationsDelete.ts
61172
63810
  function integrationsDelete(client$, request, options) {
61173
- return new APIPromise($do47(client$, request, options));
63811
+ return new APIPromise($do60(client$, request, options));
61174
63812
  }
61175
- async function $do47(client$, request, options) {
63813
+ async function $do60(client$, request, options) {
61176
63814
  const parsed$ = safeParse2(request, (value$) => DeleteIntegrationRequest$zodSchema.parse(value$), "Input validation failed");
61177
63815
  if (!parsed$.ok) {
61178
63816
  return [parsed$, { status: "invalid" }];
@@ -61254,12 +63892,12 @@ var init_integrationsDelete = __esm(() => {
61254
63892
  });
61255
63893
 
61256
63894
  // src/mcp-server/tools/integrationsDelete.ts
61257
- var args48, tool$integrationsDelete;
63895
+ var args61, tool$integrationsDelete;
61258
63896
  var init_integrationsDelete2 = __esm(() => {
61259
63897
  init_integrationsDelete();
61260
63898
  init_deleteintegrationop();
61261
63899
  init_tools();
61262
- args48 = {
63900
+ args61 = {
61263
63901
  request: DeleteIntegrationRequest$zodSchema
61264
63902
  };
61265
63903
  tool$integrationsDelete = {
@@ -61274,7 +63912,7 @@ Removes the integration and its secrets; its endpoint answers 404 from then on,
61274
63912
  openWorldHint: false,
61275
63913
  readOnlyHint: false
61276
63914
  },
61277
- args: args48,
63915
+ args: args61,
61278
63916
  tool: async (client, args, ctx) => {
61279
63917
  const [result] = await integrationsDelete(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
61280
63918
  if (!result.ok) {
@@ -61290,9 +63928,9 @@ Removes the integration and its secrets; its endpoint answers 404 from then on,
61290
63928
 
61291
63929
  // src/funcs/integrationsList.ts
61292
63930
  function integrationsList(client$, options) {
61293
- return new APIPromise($do48(client$, options));
63931
+ return new APIPromise($do61(client$, options));
61294
63932
  }
61295
- async function $do48(client$, options) {
63933
+ async function $do61(client$, options) {
61296
63934
  const path$ = pathToFunc("/v1/integrations")();
61297
63935
  const headers$ = new Headers(compactMap({
61298
63936
  Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
@@ -61455,9 +64093,9 @@ var init_rotateintegrationsecretop = __esm(() => {
61455
64093
 
61456
64094
  // src/funcs/integrationsRotate.ts
61457
64095
  function integrationsRotate(client$, request, options) {
61458
- return new APIPromise($do49(client$, request, options));
64096
+ return new APIPromise($do62(client$, request, options));
61459
64097
  }
61460
- async function $do49(client$, request, options) {
64098
+ async function $do62(client$, request, options) {
61461
64099
  const parsed$ = safeParse2(request, (value$) => RotateIntegrationSecretRequest$zodSchema.parse(value$), "Input validation failed");
61462
64100
  if (!parsed$.ok) {
61463
64101
  return [parsed$, { status: "invalid" }];
@@ -61527,12 +64165,12 @@ var init_integrationsRotate = __esm(() => {
61527
64165
  });
61528
64166
 
61529
64167
  // src/mcp-server/tools/integrationsRotate.ts
61530
- var args49, tool$integrationsRotate;
64168
+ var args62, tool$integrationsRotate;
61531
64169
  var init_integrationsRotate2 = __esm(() => {
61532
64170
  init_integrationsRotate();
61533
64171
  init_rotateintegrationsecretop();
61534
64172
  init_tools();
61535
- args49 = {
64173
+ args62 = {
61536
64174
  request: RotateIntegrationSecretRequest$zodSchema
61537
64175
  };
61538
64176
  tool$integrationsRotate = {
@@ -61547,7 +64185,7 @@ For Auth0, send {} and the answer's secret is the new shared secret, shown once.
61547
64185
  openWorldHint: false,
61548
64186
  readOnlyHint: false
61549
64187
  },
61550
- args: args49,
64188
+ args: args62,
61551
64189
  tool: async (client, args, ctx) => {
61552
64190
  const [result] = await integrationsRotate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
61553
64191
  if (!result.ok) {
@@ -61655,9 +64293,9 @@ var init_listinvitesop = __esm(() => {
61655
64293
 
61656
64294
  // src/funcs/invitesList.ts
61657
64295
  function invitesList(client$, request, options) {
61658
- return new APIPromise($do50(client$, request, options));
64296
+ return new APIPromise($do63(client$, request, options));
61659
64297
  }
61660
- async function $do50(client$, request, options) {
64298
+ async function $do63(client$, request, options) {
61661
64299
  const parsed$ = safeParse2(request, (value$) => ListInvitesRequest$zodSchema.parse(value$), "Input validation failed");
61662
64300
  if (!parsed$.ok) {
61663
64301
  return [parsed$, { status: "invalid" }];
@@ -61739,12 +64377,12 @@ var init_invitesList = __esm(() => {
61739
64377
  });
61740
64378
 
61741
64379
  // src/mcp-server/tools/invitesList.ts
61742
- var args50, tool$invitesList;
64380
+ var args63, tool$invitesList;
61743
64381
  var init_invitesList2 = __esm(() => {
61744
64382
  init_invitesList();
61745
64383
  init_listinvitesop();
61746
64384
  init_tools();
61747
- args50 = {
64385
+ args63 = {
61748
64386
  request: ListInvitesRequest$zodSchema
61749
64387
  };
61750
64388
  tool$invitesList = {
@@ -61759,7 +64397,7 @@ Read pending workspace invitations with a live members_manage key. Tokens are ex
61759
64397
  openWorldHint: false,
61760
64398
  readOnlyHint: true
61761
64399
  },
61762
- args: args50,
64400
+ args: args63,
61763
64401
  tool: async (client, args, ctx) => {
61764
64402
  const [result] = await invitesList(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
61765
64403
  if (!result.ok) {
@@ -61810,9 +64448,9 @@ var init_revokeinviteop = __esm(() => {
61810
64448
 
61811
64449
  // src/funcs/invitesRevoke.ts
61812
64450
  function invitesRevoke(client$, request, options) {
61813
- return new APIPromise($do51(client$, request, options));
64451
+ return new APIPromise($do64(client$, request, options));
61814
64452
  }
61815
- async function $do51(client$, request, options) {
64453
+ async function $do64(client$, request, options) {
61816
64454
  const parsed$ = safeParse2(request, (value$) => RevokeInviteRequest$zodSchema.parse(value$), "Input validation failed");
61817
64455
  if (!parsed$.ok) {
61818
64456
  return [parsed$, { status: "invalid" }];
@@ -61898,12 +64536,12 @@ var init_invitesRevoke = __esm(() => {
61898
64536
  });
61899
64537
 
61900
64538
  // src/mcp-server/tools/invitesRevoke.ts
61901
- var args51, tool$invitesRevoke;
64539
+ var args64, tool$invitesRevoke;
61902
64540
  var init_invitesRevoke2 = __esm(() => {
61903
64541
  init_invitesRevoke();
61904
64542
  init_revokeinviteop();
61905
64543
  init_tools();
61906
- args51 = {
64544
+ args64 = {
61907
64545
  request: RevokeInviteRequest$zodSchema
61908
64546
  };
61909
64547
  tool$invitesRevoke = {
@@ -61918,7 +64556,7 @@ Revoke a pending invitation with a live members_manage key. A revoked token cann
61918
64556
  openWorldHint: false,
61919
64557
  readOnlyHint: false
61920
64558
  },
61921
- args: args51,
64559
+ args: args64,
61922
64560
  tool: async (client, args, ctx) => {
61923
64561
  const [result] = await invitesRevoke(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
61924
64562
  if (!result.ok) {
@@ -61977,7 +64615,8 @@ var init_key = __esm(() => {
61977
64615
  "settings",
61978
64616
  "policy_publish",
61979
64617
  "members",
61980
- "members_manage"
64618
+ "members_manage",
64619
+ "events"
61981
64620
  ]);
61982
64621
  Key$zodSchema = object({
61983
64622
  created_at: string2(),
@@ -62050,9 +64689,9 @@ var init_listkeysop = __esm(() => {
62050
64689
 
62051
64690
  // src/funcs/keysList.ts
62052
64691
  function keysList(client$, request, options) {
62053
- return new APIPromise($do52(client$, request, options));
64692
+ return new APIPromise($do65(client$, request, options));
62054
64693
  }
62055
- async function $do52(client$, request, options) {
64694
+ async function $do65(client$, request, options) {
62056
64695
  const parsed$ = safeParse2(request, (value$) => ListKeysRequest$zodSchema.parse(value$), "Input validation failed");
62057
64696
  if (!parsed$.ok) {
62058
64697
  return [parsed$, { status: "invalid" }];
@@ -62134,12 +64773,12 @@ var init_keysList = __esm(() => {
62134
64773
  });
62135
64774
 
62136
64775
  // src/mcp-server/tools/keysList.ts
62137
- var args52, tool$keysList;
64776
+ var args65, tool$keysList;
62138
64777
  var init_keysList2 = __esm(() => {
62139
64778
  init_keysList();
62140
64779
  init_listkeysop();
62141
64780
  init_tools();
62142
- args52 = {
64781
+ args65 = {
62143
64782
  request: ListKeysRequest$zodSchema
62144
64783
  };
62145
64784
  tool$keysList = {
@@ -62154,7 +64793,7 @@ Lists the keys of the signing key's environment, newest first, at most 200, revo
62154
64793
  openWorldHint: false,
62155
64794
  readOnlyHint: true
62156
64795
  },
62157
- args: args52,
64796
+ args: args65,
62158
64797
  tool: async (client, args, ctx) => {
62159
64798
  const [result] = await keysList(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
62160
64799
  if (!result.ok) {
@@ -62208,9 +64847,9 @@ var init_revokekeyop = __esm(() => {
62208
64847
 
62209
64848
  // src/funcs/keysRevoke.ts
62210
64849
  function keysRevoke(client$, request, options) {
62211
- return new APIPromise($do53(client$, request, options));
64850
+ return new APIPromise($do66(client$, request, options));
62212
64851
  }
62213
- async function $do53(client$, request, options) {
64852
+ async function $do66(client$, request, options) {
62214
64853
  const parsed$ = safeParse2(request, (value$) => RevokeKeyRequest$zodSchema.parse(value$), "Input validation failed");
62215
64854
  if (!parsed$.ok) {
62216
64855
  return [parsed$, { status: "invalid" }];
@@ -62296,12 +64935,12 @@ var init_keysRevoke = __esm(() => {
62296
64935
  });
62297
64936
 
62298
64937
  // src/mcp-server/tools/keysRevoke.ts
62299
- var args53, tool$keysRevoke;
64938
+ var args66, tool$keysRevoke;
62300
64939
  var init_keysRevoke2 = __esm(() => {
62301
64940
  init_keysRevoke();
62302
64941
  init_revokekeyop();
62303
64942
  init_tools();
62304
- args53 = {
64943
+ args66 = {
62305
64944
  request: RevokeKeyRequest$zodSchema
62306
64945
  };
62307
64946
  tool$keysRevoke = {
@@ -62316,7 +64955,7 @@ Revokes a key of the signing key's environment at once: its next request answers
62316
64955
  openWorldHint: false,
62317
64956
  readOnlyHint: false
62318
64957
  },
62319
- args: args53,
64958
+ args: args66,
62320
64959
  tool: async (client, args, ctx) => {
62321
64960
  const [result] = await keysRevoke(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
62322
64961
  if (!result.ok) {
@@ -62458,9 +65097,9 @@ var init_changelistsop = __esm(() => {
62458
65097
 
62459
65098
  // src/funcs/listsChange.ts
62460
65099
  function listsChange(client$, request, options) {
62461
- return new APIPromise($do54(client$, request, options));
65100
+ return new APIPromise($do67(client$, request, options));
62462
65101
  }
62463
- async function $do54(client$, request, options) {
65102
+ async function $do67(client$, request, options) {
62464
65103
  const parsed$ = safeParse2(request, (value$) => ChangeListsRequest$zodSchema.parse(value$), "Input validation failed");
62465
65104
  if (!parsed$.ok) {
62466
65105
  return [parsed$, { status: "invalid" }];
@@ -62548,12 +65187,12 @@ var init_listsChange = __esm(() => {
62548
65187
  });
62549
65188
 
62550
65189
  // src/mcp-server/tools/listsChange.ts
62551
- var args54, tool$listsChange;
65190
+ var args67, tool$listsChange;
62552
65191
  var init_listsChange2 = __esm(() => {
62553
65192
  init_listsChange();
62554
65193
  init_changelistsop();
62555
65194
  init_tools();
62556
- args54 = {
65195
+ args67 = {
62557
65196
  request: ChangeListsRequest$zodSchema
62558
65197
  };
62559
65198
  tool$listsChange = {
@@ -62568,7 +65207,7 @@ Atomically add and remove a bounded batch of entries with an idempotency key. Re
62568
65207
  openWorldHint: false,
62569
65208
  readOnlyHint: false
62570
65209
  },
62571
- args: args54,
65210
+ args: args67,
62572
65211
  tool: async (client, args, ctx) => {
62573
65212
  const [result] = await listsChange(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
62574
65213
  if (!result.ok) {
@@ -62625,9 +65264,9 @@ var init_createlistentryop = __esm(() => {
62625
65264
 
62626
65265
  // src/funcs/listsCreate.ts
62627
65266
  function listsCreate(client$, request, options) {
62628
- return new APIPromise($do55(client$, request, options));
65267
+ return new APIPromise($do68(client$, request, options));
62629
65268
  }
62630
- async function $do55(client$, request, options) {
65269
+ async function $do68(client$, request, options) {
62631
65270
  const parsed$ = safeParse2(request, (value$) => CreateListEntryRequest$zodSchema.parse(value$), "Input validation failed");
62632
65271
  if (!parsed$.ok) {
62633
65272
  return [parsed$, { status: "invalid" }];
@@ -62714,12 +65353,12 @@ var init_listsCreate = __esm(() => {
62714
65353
  });
62715
65354
 
62716
65355
  // src/mcp-server/tools/listsCreate.ts
62717
- var args55, tool$listsCreate;
65356
+ var args68, tool$listsCreate;
62718
65357
  var init_listsCreate2 = __esm(() => {
62719
65358
  init_listsCreate();
62720
65359
  init_createlistentryop();
62721
65360
  init_tools();
62722
- args55 = {
65361
+ args68 = {
62723
65362
  request: CreateListEntryRequest$zodSchema
62724
65363
  };
62725
65364
  tool$listsCreate = {
@@ -62734,7 +65373,7 @@ Add a canonical email or email-domain override with a reason and optional expiry
62734
65373
  openWorldHint: false,
62735
65374
  readOnlyHint: false
62736
65375
  },
62737
- args: args55,
65376
+ args: args68,
62738
65377
  tool: async (client, args, ctx) => {
62739
65378
  const [result] = await listsCreate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
62740
65379
  if (!result.ok) {
@@ -62787,9 +65426,9 @@ var init_deletelistentryop = __esm(() => {
62787
65426
 
62788
65427
  // src/funcs/listsDelete.ts
62789
65428
  function listsDelete(client$, request, options) {
62790
- return new APIPromise($do56(client$, request, options));
65429
+ return new APIPromise($do69(client$, request, options));
62791
65430
  }
62792
- async function $do56(client$, request, options) {
65431
+ async function $do69(client$, request, options) {
62793
65432
  const parsed$ = safeParse2(request, (value$) => DeleteListEntryRequest$zodSchema.parse(value$), "Input validation failed");
62794
65433
  if (!parsed$.ok) {
62795
65434
  return [parsed$, { status: "invalid" }];
@@ -62879,12 +65518,12 @@ var init_listsDelete = __esm(() => {
62879
65518
  });
62880
65519
 
62881
65520
  // src/mcp-server/tools/listsDelete.ts
62882
- var args56, tool$listsDelete;
65521
+ var args69, tool$listsDelete;
62883
65522
  var init_listsDelete2 = __esm(() => {
62884
65523
  init_listsDelete();
62885
65524
  init_deletelistentryop();
62886
65525
  init_tools();
62887
- args56 = {
65526
+ args69 = {
62888
65527
  request: DeleteListEntryRequest$zodSchema
62889
65528
  };
62890
65529
  tool$listsDelete = {
@@ -62899,7 +65538,7 @@ Remove an override with settings plus policy_publish, or legacy management. The
62899
65538
  openWorldHint: false,
62900
65539
  readOnlyHint: false
62901
65540
  },
62902
- args: args56,
65541
+ args: args69,
62903
65542
  tool: async (client, args, ctx) => {
62904
65543
  const [result] = await listsDelete(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
62905
65544
  if (!result.ok) {
@@ -62955,9 +65594,9 @@ var init_getlistchangeop = __esm(() => {
62955
65594
 
62956
65595
  // src/funcs/listsGetChange.ts
62957
65596
  function listsGetChange(client$, request, options) {
62958
- return new APIPromise($do57(client$, request, options));
65597
+ return new APIPromise($do70(client$, request, options));
62959
65598
  }
62960
- async function $do57(client$, request, options) {
65599
+ async function $do70(client$, request, options) {
62961
65600
  const parsed$ = safeParse2(request, (value$) => GetListChangeRequest$zodSchema.parse(value$), "Input validation failed");
62962
65601
  if (!parsed$.ok) {
62963
65602
  return [parsed$, { status: "invalid" }];
@@ -63047,12 +65686,12 @@ var init_listsGetChange = __esm(() => {
63047
65686
  });
63048
65687
 
63049
65688
  // src/mcp-server/tools/listsGetChange.ts
63050
- var args57, tool$listsGetChange;
65689
+ var args70, tool$listsGetChange;
63051
65690
  var init_listsGetChange2 = __esm(() => {
63052
65691
  init_listsGetChange();
63053
65692
  init_getlistchangeop();
63054
65693
  init_tools();
63055
- args57 = {
65694
+ args70 = {
63056
65695
  request: GetListChangeRequest$zodSchema
63057
65696
  };
63058
65697
  tool$listsGetChange = {
@@ -63067,7 +65706,7 @@ Read retained propagation progress for a list change with settings or management
63067
65706
  openWorldHint: false,
63068
65707
  readOnlyHint: true
63069
65708
  },
63070
- args: args57,
65709
+ args: args70,
63071
65710
  tool: async (client, args, ctx) => {
63072
65711
  const [result] = await listsGetChange(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
63073
65712
  if (!result.ok) {
@@ -63135,9 +65774,9 @@ var init_listlistentriesop = __esm(() => {
63135
65774
 
63136
65775
  // src/funcs/listsList.ts
63137
65776
  function listsList(client$, request, options) {
63138
- return new APIPromise($do58(client$, request, options));
65777
+ return new APIPromise($do71(client$, request, options));
63139
65778
  }
63140
- async function $do58(client$, request, options) {
65779
+ async function $do71(client$, request, options) {
63141
65780
  const parsed$ = safeParse2(request, (value$) => ListListEntriesRequest$zodSchema.parse(value$), "Input validation failed");
63142
65781
  if (!parsed$.ok) {
63143
65782
  return [parsed$, { status: "invalid" }];
@@ -63228,12 +65867,12 @@ var init_listsList = __esm(() => {
63228
65867
  });
63229
65868
 
63230
65869
  // src/mcp-server/tools/listsList.ts
63231
- var args58, tool$listsList;
65870
+ var args71, tool$listsList;
63232
65871
  var init_listsList2 = __esm(() => {
63233
65872
  init_listsList();
63234
65873
  init_listlistentriesop();
63235
65874
  init_tools();
63236
- args58 = {
65875
+ args71 = {
63237
65876
  request: ListListEntriesRequest$zodSchema
63238
65877
  };
63239
65878
  tool$listsList = {
@@ -63248,7 +65887,7 @@ Page through this environment allow and block entries, with canonical values, re
63248
65887
  openWorldHint: false,
63249
65888
  readOnlyHint: true
63250
65889
  },
63251
- args: args58,
65890
+ args: args71,
63252
65891
  tool: async (client, args, ctx) => {
63253
65892
  const [result] = await listsList(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
63254
65893
  if (!result.ok) {
@@ -63380,9 +66019,9 @@ var init_previewlistop = __esm(() => {
63380
66019
 
63381
66020
  // src/funcs/listsPreview.ts
63382
66021
  function listsPreview(client$, request, options) {
63383
- return new APIPromise($do59(client$, request, options));
66022
+ return new APIPromise($do72(client$, request, options));
63384
66023
  }
63385
- async function $do59(client$, request, options) {
66024
+ async function $do72(client$, request, options) {
63386
66025
  const parsed$ = safeParse2(request, (value$) => PreviewListRequest$zodSchema.parse(value$), "Input validation failed");
63387
66026
  if (!parsed$.ok) {
63388
66027
  return [parsed$, { status: "invalid" }];
@@ -63469,12 +66108,12 @@ var init_listsPreview = __esm(() => {
63469
66108
  });
63470
66109
 
63471
66110
  // src/mcp-server/tools/listsPreview.ts
63472
- var args59, tool$listsPreview;
66111
+ var args72, tool$listsPreview;
63473
66112
  var init_listsPreview2 = __esm(() => {
63474
66113
  init_listsPreview();
63475
66114
  init_previewlistop();
63476
66115
  init_tools();
63477
- args59 = {
66116
+ args72 = {
63478
66117
  request: PreviewListRequest$zodSchema
63479
66118
  };
63480
66119
  tool$listsPreview = {
@@ -63489,7 +66128,7 @@ Preview canonical list matches and current override effects with settings or man
63489
66128
  openWorldHint: false,
63490
66129
  readOnlyHint: true
63491
66130
  },
63492
- args: args59,
66131
+ args: args72,
63493
66132
  tool: async (client, args, ctx) => {
63494
66133
  const [result] = await listsPreview(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
63495
66134
  if (!result.ok) {
@@ -63592,9 +66231,9 @@ var init_listmembersop = __esm(() => {
63592
66231
 
63593
66232
  // src/funcs/membersList.ts
63594
66233
  function membersList(client$, request, options) {
63595
- return new APIPromise($do60(client$, request, options));
66234
+ return new APIPromise($do73(client$, request, options));
63596
66235
  }
63597
- async function $do60(client$, request, options) {
66236
+ async function $do73(client$, request, options) {
63598
66237
  const parsed$ = safeParse2(request, (value$) => ListMembersRequest$zodSchema.parse(value$), "Input validation failed");
63599
66238
  if (!parsed$.ok) {
63600
66239
  return [parsed$, { status: "invalid" }];
@@ -63676,12 +66315,12 @@ var init_membersList = __esm(() => {
63676
66315
  });
63677
66316
 
63678
66317
  // src/mcp-server/tools/membersList.ts
63679
- var args60, tool$membersList;
66318
+ var args73, tool$membersList;
63680
66319
  var init_membersList2 = __esm(() => {
63681
66320
  init_membersList();
63682
66321
  init_listmembersop();
63683
66322
  init_tools();
63684
- args60 = {
66323
+ args73 = {
63685
66324
  request: ListMembersRequest$zodSchema
63686
66325
  };
63687
66326
  tool$membersList = {
@@ -63696,7 +66335,7 @@ Read the workspace directory with a live key carrying members or members_manage.
63696
66335
  openWorldHint: false,
63697
66336
  readOnlyHint: true
63698
66337
  },
63699
- args: args60,
66338
+ args: args73,
63700
66339
  tool: async (client, args, ctx) => {
63701
66340
  const [result] = await membersList(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
63702
66341
  if (!result.ok) {
@@ -63747,9 +66386,9 @@ var init_removememberop = __esm(() => {
63747
66386
 
63748
66387
  // src/funcs/membersRemove.ts
63749
66388
  function membersRemove(client$, request, options) {
63750
- return new APIPromise($do61(client$, request, options));
66389
+ return new APIPromise($do74(client$, request, options));
63751
66390
  }
63752
- async function $do61(client$, request, options) {
66391
+ async function $do74(client$, request, options) {
63753
66392
  const parsed$ = safeParse2(request, (value$) => RemoveMemberRequest$zodSchema.parse(value$), "Input validation failed");
63754
66393
  if (!parsed$.ok) {
63755
66394
  return [parsed$, { status: "invalid" }];
@@ -63835,12 +66474,12 @@ var init_membersRemove = __esm(() => {
63835
66474
  });
63836
66475
 
63837
66476
  // src/mcp-server/tools/membersRemove.ts
63838
- var args61, tool$membersRemove;
66477
+ var args74, tool$membersRemove;
63839
66478
  var init_membersRemove2 = __esm(() => {
63840
66479
  init_membersRemove();
63841
66480
  init_removememberop();
63842
66481
  init_tools();
63843
- args61 = {
66482
+ args74 = {
63844
66483
  request: RemoveMemberRequest$zodSchema
63845
66484
  };
63846
66485
  tool$membersRemove = {
@@ -63855,7 +66494,7 @@ Remove a non-owner member with a live members_manage key. Subsequent access is r
63855
66494
  openWorldHint: false,
63856
66495
  readOnlyHint: false
63857
66496
  },
63858
- args: args61,
66497
+ args: args74,
63859
66498
  tool: async (client, args, ctx) => {
63860
66499
  const [result] = await membersRemove(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
63861
66500
  if (!result.ok) {
@@ -63932,9 +66571,9 @@ var init_updatememberop = __esm(() => {
63932
66571
 
63933
66572
  // src/funcs/membersUpdate.ts
63934
66573
  function membersUpdate(client$, request, options) {
63935
- return new APIPromise($do62(client$, request, options));
66574
+ return new APIPromise($do75(client$, request, options));
63936
66575
  }
63937
- async function $do62(client$, request, options) {
66576
+ async function $do75(client$, request, options) {
63938
66577
  const parsed$ = safeParse2(request, (value$) => UpdateMemberRequest$zodSchema.parse(value$), "Input validation failed");
63939
66578
  if (!parsed$.ok) {
63940
66579
  return [parsed$, { status: "invalid" }];
@@ -64021,12 +66660,12 @@ var init_membersUpdate = __esm(() => {
64021
66660
  });
64022
66661
 
64023
66662
  // src/mcp-server/tools/membersUpdate.ts
64024
- var args62, tool$membersUpdate;
66663
+ var args75, tool$membersUpdate;
64025
66664
  var init_membersUpdate2 = __esm(() => {
64026
66665
  init_membersUpdate();
64027
66666
  init_updatememberop();
64028
66667
  init_tools();
64029
- args62 = {
66668
+ args75 = {
64030
66669
  request: UpdateMemberRequest$zodSchema
64031
66670
  };
64032
66671
  tool$membersUpdate = {
@@ -64041,7 +66680,7 @@ Update a non-owner member role, environment access or sensitive permission exclu
64041
66680
  openWorldHint: false,
64042
66681
  readOnlyHint: false
64043
66682
  },
64044
- args: args62,
66683
+ args: args75,
64045
66684
  tool: async (client, args, ctx) => {
64046
66685
  const [result] = await membersUpdate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
64047
66686
  if (!result.ok) {
@@ -64218,9 +66857,9 @@ var init_summarizeworkspaceoperationsop = __esm(() => {
64218
66857
 
64219
66858
  // src/funcs/operationsSummarize.ts
64220
66859
  function operationsSummarize(client$, request, options) {
64221
- return new APIPromise($do63(client$, request, options));
66860
+ return new APIPromise($do76(client$, request, options));
64222
66861
  }
64223
- async function $do63(client$, request, options) {
66862
+ async function $do76(client$, request, options) {
64224
66863
  const parsed$ = safeParse2(request, (value$) => SummarizeWorkspaceOperationsRequest$zodSchema.parse(value$), "Input validation failed");
64225
66864
  if (!parsed$.ok) {
64226
66865
  return [parsed$, { status: "invalid" }];
@@ -64303,12 +66942,12 @@ var init_operationsSummarize = __esm(() => {
64303
66942
  });
64304
66943
 
64305
66944
  // src/mcp-server/tools/operationsSummarize.ts
64306
- var args63, tool$operationsSummarize;
66945
+ var args76, tool$operationsSummarize;
64307
66946
  var init_operationsSummarize2 = __esm(() => {
64308
66947
  init_operationsSummarize();
64309
66948
  init_summarizeworkspaceoperationsop();
64310
66949
  init_tools();
64311
- args63 = {
66950
+ args76 = {
64312
66951
  request: SummarizeWorkspaceOperationsRequest$zodSchema
64313
66952
  };
64314
66953
  tool$operationsSummarize = {
@@ -64323,7 +66962,7 @@ Read one retained snapshot of account outcomes, enforcement reports and review s
64323
66962
  openWorldHint: false,
64324
66963
  readOnlyHint: true
64325
66964
  },
64326
- args: args63,
66965
+ args: args76,
64327
66966
  tool: async (client, args, ctx) => {
64328
66967
  const [result] = await operationsSummarize(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
64329
66968
  if (!result.ok) {
@@ -64364,9 +67003,9 @@ var init_requestaggregaterequest = __esm(() => {
64364
67003
 
64365
67004
  // src/funcs/requestsAggregate.ts
64366
67005
  function requestsAggregate(client$, request, options) {
64367
- return new APIPromise($do64(client$, request, options));
67006
+ return new APIPromise($do77(client$, request, options));
64368
67007
  }
64369
- async function $do64(client$, request, options) {
67008
+ async function $do77(client$, request, options) {
64370
67009
  const parsed$ = safeParse2(request, (value$) => RequestAggregateRequest$zodSchema.parse(value$), "Input validation failed");
64371
67010
  if (!parsed$.ok) {
64372
67011
  return [parsed$, { status: "invalid" }];
@@ -64443,12 +67082,12 @@ var init_requestsAggregate = __esm(() => {
64443
67082
  });
64444
67083
 
64445
67084
  // src/mcp-server/tools/requestsAggregate.ts
64446
- var args64, tool$requestsAggregate;
67085
+ var args77, tool$requestsAggregate;
64447
67086
  var init_requestsAggregate2 = __esm(() => {
64448
67087
  init_requestsAggregate();
64449
67088
  init_requestaggregaterequest();
64450
67089
  init_tools();
64451
- args64 = {
67090
+ args77 = {
64452
67091
  request: RequestAggregateRequest$zodSchema
64453
67092
  };
64454
67093
  tool$requestsAggregate = {
@@ -64463,7 +67102,7 @@ Count all retained matching request attempts and latency samples within seven da
64463
67102
  openWorldHint: false,
64464
67103
  readOnlyHint: true
64465
67104
  },
64466
- args: args64,
67105
+ args: args77,
64467
67106
  tool: async (client, args, ctx) => {
64468
67107
  const [result] = await requestsAggregate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
64469
67108
  if (!result.ok) {
@@ -64534,9 +67173,9 @@ var init_listrequestdiagnosticsop = __esm(() => {
64534
67173
 
64535
67174
  // src/funcs/requestsList.ts
64536
67175
  function requestsList(client$, request, options) {
64537
- return new APIPromise($do65(client$, request, options));
67176
+ return new APIPromise($do78(client$, request, options));
64538
67177
  }
64539
- async function $do65(client$, request, options) {
67178
+ async function $do78(client$, request, options) {
64540
67179
  const parsed$ = safeParse2(request, (value$) => ListRequestDiagnosticsRequest$zodSchema.parse(value$), "Input validation failed");
64541
67180
  if (!parsed$.ok) {
64542
67181
  return [parsed$, { status: "invalid" }];
@@ -64623,12 +67262,12 @@ var init_requestsList = __esm(() => {
64623
67262
  });
64624
67263
 
64625
67264
  // src/mcp-server/tools/requestsList.ts
64626
- var args65, tool$requestsList;
67265
+ var args78, tool$requestsList;
64627
67266
  var init_requestsList2 = __esm(() => {
64628
67267
  init_requestsList();
64629
67268
  init_listrequestdiagnosticsop();
64630
67269
  init_tools();
64631
- args65 = {
67270
+ args78 = {
64632
67271
  request: ListRequestDiagnosticsRequest$zodSchema
64633
67272
  };
64634
67273
  tool$requestsList = {
@@ -64643,7 +67282,7 @@ Search authenticated request attempts by time, route, status or request correlat
64643
67282
  openWorldHint: false,
64644
67283
  readOnlyHint: true
64645
67284
  },
64646
- args: args65,
67285
+ args: args78,
64647
67286
  tool: async (client, args, ctx) => {
64648
67287
  const [result] = await requestsList(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
64649
67288
  if (!result.ok) {
@@ -64758,9 +67397,9 @@ var init_addreviewsubjectop = __esm(() => {
64758
67397
 
64759
67398
  // src/funcs/reviewsAddSubject.ts
64760
67399
  function reviewsAddSubject(client$, request, options) {
64761
- return new APIPromise($do66(client$, request, options));
67400
+ return new APIPromise($do79(client$, request, options));
64762
67401
  }
64763
- async function $do66(client$, request, options) {
67402
+ async function $do79(client$, request, options) {
64764
67403
  const parsed$ = safeParse2(request, (value$) => AddReviewSubjectRequest$zodSchema.parse(value$), "Input validation failed");
64765
67404
  if (!parsed$.ok) {
64766
67405
  return [parsed$, { status: "invalid" }];
@@ -64838,12 +67477,12 @@ var init_reviewsAddSubject = __esm(() => {
64838
67477
  });
64839
67478
 
64840
67479
  // src/mcp-server/tools/reviewsAddSubject.ts
64841
- var args66, tool$reviewsAddSubject;
67480
+ var args79, tool$reviewsAddSubject;
64842
67481
  var init_reviewsAddSubject2 = __esm(() => {
64843
67482
  init_reviewsAddSubject();
64844
67483
  init_addreviewsubjectop();
64845
67484
  init_tools();
64846
- args66 = {
67485
+ args79 = {
64847
67486
  request: AddReviewSubjectRequest$zodSchema
64848
67487
  };
64849
67488
  tool$reviewsAddSubject = {
@@ -64858,7 +67497,7 @@ Link an account, exact assessment revision or issued-key association within this
64858
67497
  openWorldHint: false,
64859
67498
  readOnlyHint: false
64860
67499
  },
64861
- args: args66,
67500
+ args: args79,
64862
67501
  tool: async (client, args, ctx) => {
64863
67502
  const [result] = await reviewsAddSubject(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
64864
67503
  if (!result.ok) {
@@ -64939,9 +67578,9 @@ var init_commentreviewop = __esm(() => {
64939
67578
 
64940
67579
  // src/funcs/reviewsComment.ts
64941
67580
  function reviewsComment(client$, request, options) {
64942
- return new APIPromise($do67(client$, request, options));
67581
+ return new APIPromise($do80(client$, request, options));
64943
67582
  }
64944
- async function $do67(client$, request, options) {
67583
+ async function $do80(client$, request, options) {
64945
67584
  const parsed$ = safeParse2(request, (value$) => CommentReviewRequest$zodSchema.parse(value$), "Input validation failed");
64946
67585
  if (!parsed$.ok) {
64947
67586
  return [parsed$, { status: "invalid" }];
@@ -65019,12 +67658,12 @@ var init_reviewsComment = __esm(() => {
65019
67658
  });
65020
67659
 
65021
67660
  // src/mcp-server/tools/reviewsComment.ts
65022
- var args67, tool$reviewsComment;
67661
+ var args80, tool$reviewsComment;
65023
67662
  var init_reviewsComment2 = __esm(() => {
65024
67663
  init_reviewsComment();
65025
67664
  init_commentreviewop();
65026
67665
  init_tools();
65027
- args67 = {
67666
+ args80 = {
65028
67667
  request: CommentReviewRequest$zodSchema
65029
67668
  };
65030
67669
  tool$reviewsComment = {
@@ -65039,7 +67678,7 @@ Append a comment after checking the expected review version.`,
65039
67678
  openWorldHint: false,
65040
67679
  readOnlyHint: false
65041
67680
  },
65042
- args: args67,
67681
+ args: args80,
65043
67682
  tool: async (client, args, ctx) => {
65044
67683
  const [result] = await reviewsComment(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
65045
67684
  if (!result.ok) {
@@ -65185,9 +67824,9 @@ var init_createreviewop = __esm(() => {
65185
67824
 
65186
67825
  // src/funcs/reviewsCreate.ts
65187
67826
  function reviewsCreate(client$, request, options) {
65188
- return new APIPromise($do68(client$, request, options));
67827
+ return new APIPromise($do81(client$, request, options));
65189
67828
  }
65190
- async function $do68(client$, request, options) {
67829
+ async function $do81(client$, request, options) {
65191
67830
  const parsed$ = safeParse2(request, (value$) => CreateReviewRequest$zodSchema.parse(value$), "Input validation failed");
65192
67831
  if (!parsed$.ok) {
65193
67832
  return [parsed$, { status: "invalid" }];
@@ -65261,12 +67900,12 @@ var init_reviewsCreate = __esm(() => {
65261
67900
  });
65262
67901
 
65263
67902
  // src/mcp-server/tools/reviewsCreate.ts
65264
- var args68, tool$reviewsCreate;
67903
+ var args81, tool$reviewsCreate;
65265
67904
  var init_reviewsCreate2 = __esm(() => {
65266
67905
  init_reviewsCreate();
65267
67906
  init_createreviewop();
65268
67907
  init_tools();
65269
- args68 = {
67908
+ args81 = {
65270
67909
  request: CreateReviewRequest$zodSchema
65271
67910
  };
65272
67911
  tool$reviewsCreate = {
@@ -65281,7 +67920,7 @@ Open a review for one account. An account can have one active review in its envi
65281
67920
  openWorldHint: false,
65282
67921
  readOnlyHint: false
65283
67922
  },
65284
- args: args68,
67923
+ args: args81,
65285
67924
  tool: async (client, args, ctx) => {
65286
67925
  const [result] = await reviewsCreate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
65287
67926
  if (!result.ok) {
@@ -65397,9 +68036,9 @@ var init_createreviewviewop = __esm(() => {
65397
68036
 
65398
68037
  // src/funcs/reviewsCreateView.ts
65399
68038
  function reviewsCreateView(client$, request, options) {
65400
- return new APIPromise($do69(client$, request, options));
68039
+ return new APIPromise($do82(client$, request, options));
65401
68040
  }
65402
- async function $do69(client$, request, options) {
68041
+ async function $do82(client$, request, options) {
65403
68042
  const parsed$ = safeParse2(request, (value$) => CreateReviewViewRequest$zodSchema.parse(value$), "Input validation failed");
65404
68043
  if (!parsed$.ok) {
65405
68044
  return [parsed$, { status: "invalid" }];
@@ -65473,12 +68112,12 @@ var init_reviewsCreateView = __esm(() => {
65473
68112
  });
65474
68113
 
65475
68114
  // src/mcp-server/tools/reviewsCreateView.ts
65476
- var args69, tool$reviewsCreateView;
68115
+ var args82, tool$reviewsCreateView;
65477
68116
  var init_reviewsCreateView2 = __esm(() => {
65478
68117
  init_reviewsCreateView();
65479
68118
  init_createreviewviewop();
65480
68119
  init_tools();
65481
- args69 = {
68120
+ args82 = {
65482
68121
  request: CreateReviewViewRequest$zodSchema
65483
68122
  };
65484
68123
  tool$reviewsCreateView = {
@@ -65493,7 +68132,7 @@ Save a private or shared review filter.`,
65493
68132
  openWorldHint: false,
65494
68133
  readOnlyHint: false
65495
68134
  },
65496
- args: args69,
68135
+ args: args82,
65497
68136
  tool: async (client, args, ctx) => {
65498
68137
  const [result] = await reviewsCreateView(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
65499
68138
  if (!result.ok) {
@@ -65561,9 +68200,9 @@ var init_deletereviewsubjectop = __esm(() => {
65561
68200
 
65562
68201
  // src/funcs/reviewsDeleteSubject.ts
65563
68202
  function reviewsDeleteSubject(client$, request, options) {
65564
- return new APIPromise($do70(client$, request, options));
68203
+ return new APIPromise($do83(client$, request, options));
65565
68204
  }
65566
- async function $do70(client$, request, options) {
68205
+ async function $do83(client$, request, options) {
65567
68206
  const parsed$ = safeParse2(request, (value$) => DeleteReviewSubjectRequest$zodSchema.parse(value$), "Input validation failed");
65568
68207
  if (!parsed$.ok) {
65569
68208
  return [parsed$, { status: "invalid" }];
@@ -65658,12 +68297,12 @@ var init_reviewsDeleteSubject = __esm(() => {
65658
68297
  });
65659
68298
 
65660
68299
  // src/mcp-server/tools/reviewsDeleteSubject.ts
65661
- var args70, tool$reviewsDeleteSubject;
68300
+ var args83, tool$reviewsDeleteSubject;
65662
68301
  var init_reviewsDeleteSubject2 = __esm(() => {
65663
68302
  init_reviewsDeleteSubject();
65664
68303
  init_deletereviewsubjectop();
65665
68304
  init_tools();
65666
- args70 = {
68305
+ args83 = {
65667
68306
  request: DeleteReviewSubjectRequest$zodSchema
65668
68307
  };
65669
68308
  tool$reviewsDeleteSubject = {
@@ -65678,7 +68317,7 @@ Remove a subject link with the expected review version. The linked account, asse
65678
68317
  openWorldHint: false,
65679
68318
  readOnlyHint: false
65680
68319
  },
65681
- args: args70,
68320
+ args: args83,
65682
68321
  tool: async (client, args, ctx) => {
65683
68322
  const [result] = await reviewsDeleteSubject(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
65684
68323
  if (!result.ok) {
@@ -65733,9 +68372,9 @@ var init_deletereviewviewop = __esm(() => {
65733
68372
 
65734
68373
  // src/funcs/reviewsDeleteView.ts
65735
68374
  function reviewsDeleteView(client$, request, options) {
65736
- return new APIPromise($do71(client$, request, options));
68375
+ return new APIPromise($do84(client$, request, options));
65737
68376
  }
65738
- async function $do71(client$, request, options) {
68377
+ async function $do84(client$, request, options) {
65739
68378
  const parsed$ = safeParse2(request, (value$) => DeleteReviewViewRequest$zodSchema.parse(value$), "Input validation failed");
65740
68379
  if (!parsed$.ok) {
65741
68380
  return [parsed$, { status: "invalid" }];
@@ -65826,12 +68465,12 @@ var init_reviewsDeleteView = __esm(() => {
65826
68465
  });
65827
68466
 
65828
68467
  // src/mcp-server/tools/reviewsDeleteView.ts
65829
- var args71, tool$reviewsDeleteView;
68468
+ var args84, tool$reviewsDeleteView;
65830
68469
  var init_reviewsDeleteView2 = __esm(() => {
65831
68470
  init_reviewsDeleteView();
65832
68471
  init_deletereviewviewop();
65833
68472
  init_tools();
65834
- args71 = {
68473
+ args84 = {
65835
68474
  request: DeleteReviewViewRequest$zodSchema
65836
68475
  };
65837
68476
  tool$reviewsDeleteView = {
@@ -65846,7 +68485,7 @@ Delete your saved review filter after checking its expected version.`,
65846
68485
  openWorldHint: false,
65847
68486
  readOnlyHint: false
65848
68487
  },
65849
- args: args71,
68488
+ args: args84,
65850
68489
  tool: async (client, args, ctx) => {
65851
68490
  const [result] = await reviewsDeleteView(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
65852
68491
  if (!result.ok) {
@@ -65919,9 +68558,9 @@ var init_exportreviewop = __esm(() => {
65919
68558
 
65920
68559
  // src/funcs/reviewsExport.ts
65921
68560
  function reviewsExport(client$, request, options) {
65922
- return new APIPromise($do72(client$, request, options));
68561
+ return new APIPromise($do85(client$, request, options));
65923
68562
  }
65924
- async function $do72(client$, request, options) {
68563
+ async function $do85(client$, request, options) {
65925
68564
  const parsed$ = safeParse2(request, (value$) => ExportReviewRequest$zodSchema.parse(value$), "Input validation failed");
65926
68565
  if (!parsed$.ok) {
65927
68566
  return [parsed$, { status: "invalid" }];
@@ -66011,12 +68650,12 @@ var init_reviewsExport = __esm(() => {
66011
68650
  });
66012
68651
 
66013
68652
  // src/mcp-server/tools/reviewsExport.ts
66014
- var args72, tool$reviewsExport;
68653
+ var args85, tool$reviewsExport;
66015
68654
  var init_reviewsExport2 = __esm(() => {
66016
68655
  init_reviewsExport();
66017
68656
  init_exportreviewop();
66018
68657
  init_tools();
66019
- args72 = {
68658
+ args85 = {
66020
68659
  request: ExportReviewRequest$zodSchema
66021
68660
  };
66022
68661
  tool$reviewsExport = {
@@ -66031,7 +68670,7 @@ Export retained review details, comments, resolutions and linked subjects. Requi
66031
68670
  openWorldHint: false,
66032
68671
  readOnlyHint: true
66033
68672
  },
66034
- args: args72,
68673
+ args: args85,
66035
68674
  tool: async (client, args, ctx) => {
66036
68675
  const [result] = await reviewsExport(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
66037
68676
  if (!result.ok) {
@@ -66087,9 +68726,9 @@ var init_getreviewop = __esm(() => {
66087
68726
 
66088
68727
  // src/funcs/reviewsGet.ts
66089
68728
  function reviewsGet(client$, request, options) {
66090
- return new APIPromise($do73(client$, request, options));
68729
+ return new APIPromise($do86(client$, request, options));
66091
68730
  }
66092
- async function $do73(client$, request, options) {
68731
+ async function $do86(client$, request, options) {
66093
68732
  const parsed$ = safeParse2(request, (value$) => GetReviewRequest$zodSchema.parse(value$), "Input validation failed");
66094
68733
  if (!parsed$.ok) {
66095
68734
  return [parsed$, { status: "invalid" }];
@@ -66179,12 +68818,12 @@ var init_reviewsGet = __esm(() => {
66179
68818
  });
66180
68819
 
66181
68820
  // src/mcp-server/tools/reviewsGet.ts
66182
- var args73, tool$reviewsGet;
68821
+ var args86, tool$reviewsGet;
66183
68822
  var init_reviewsGet2 = __esm(() => {
66184
68823
  init_reviewsGet();
66185
68824
  init_getreviewop();
66186
68825
  init_tools();
66187
- args73 = {
68826
+ args86 = {
66188
68827
  request: GetReviewRequest$zodSchema
66189
68828
  };
66190
68829
  tool$reviewsGet = {
@@ -66199,7 +68838,7 @@ Read a retained review and its current version.`,
66199
68838
  openWorldHint: false,
66200
68839
  readOnlyHint: true
66201
68840
  },
66202
- args: args73,
68841
+ args: args86,
66203
68842
  tool: async (client, args, ctx) => {
66204
68843
  const [result] = await reviewsGet(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
66205
68844
  if (!result.ok) {
@@ -66274,9 +68913,9 @@ var init_listreviewsop = __esm(() => {
66274
68913
 
66275
68914
  // src/funcs/reviewsList.ts
66276
68915
  function reviewsList(client$, request, options) {
66277
- return new APIPromise($do74(client$, request, options));
68916
+ return new APIPromise($do87(client$, request, options));
66278
68917
  }
66279
- async function $do74(client$, request, options) {
68918
+ async function $do87(client$, request, options) {
66280
68919
  const parsed$ = safeParse2(request, (value$) => ListReviewsRequest$zodSchema.parse(value$), "Input validation failed");
66281
68920
  if (!parsed$.ok) {
66282
68921
  return [parsed$, { status: "invalid" }];
@@ -66372,12 +69011,12 @@ var init_reviewsList = __esm(() => {
66372
69011
  });
66373
69012
 
66374
69013
  // src/mcp-server/tools/reviewsList.ts
66375
- var args74, tool$reviewsList;
69014
+ var args87, tool$reviewsList;
66376
69015
  var init_reviewsList2 = __esm(() => {
66377
69016
  init_reviewsList();
66378
69017
  init_listreviewsop();
66379
69018
  init_tools();
66380
- args74 = {
69019
+ args87 = {
66381
69020
  request: ListReviewsRequest$zodSchema
66382
69021
  };
66383
69022
  tool$reviewsList = {
@@ -66392,7 +69031,7 @@ List retained investigation reviews using filters and an authenticated cursor. U
66392
69031
  openWorldHint: false,
66393
69032
  readOnlyHint: true
66394
69033
  },
66395
- args: args74,
69034
+ args: args87,
66396
69035
  tool: async (client, args, ctx) => {
66397
69036
  const [result] = await reviewsList(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
66398
69037
  if (!result.ok) {
@@ -66461,9 +69100,9 @@ var init_listreviewcommentsop = __esm(() => {
66461
69100
 
66462
69101
  // src/funcs/reviewsListComments.ts
66463
69102
  function reviewsListComments(client$, request, options) {
66464
- return new APIPromise($do75(client$, request, options));
69103
+ return new APIPromise($do88(client$, request, options));
66465
69104
  }
66466
- async function $do75(client$, request, options) {
69105
+ async function $do88(client$, request, options) {
66467
69106
  const parsed$ = safeParse2(request, (value$) => ListReviewCommentsRequest$zodSchema.parse(value$), "Input validation failed");
66468
69107
  if (!parsed$.ok) {
66469
69108
  return [parsed$, { status: "invalid" }];
@@ -66558,12 +69197,12 @@ var init_reviewsListComments = __esm(() => {
66558
69197
  });
66559
69198
 
66560
69199
  // src/mcp-server/tools/reviewsListComments.ts
66561
- var args75, tool$reviewsListComments;
69200
+ var args88, tool$reviewsListComments;
66562
69201
  var init_reviewsListComments2 = __esm(() => {
66563
69202
  init_reviewsListComments();
66564
69203
  init_listreviewcommentsop();
66565
69204
  init_tools();
66566
- args75 = {
69205
+ args88 = {
66567
69206
  request: ListReviewCommentsRequest$zodSchema
66568
69207
  };
66569
69208
  tool$reviewsListComments = {
@@ -66578,7 +69217,7 @@ Page through retained review comments.`,
66578
69217
  openWorldHint: false,
66579
69218
  readOnlyHint: true
66580
69219
  },
66581
- args: args75,
69220
+ args: args88,
66582
69221
  tool: async (client, args, ctx) => {
66583
69222
  const [result] = await reviewsListComments(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
66584
69223
  if (!result.ok) {
@@ -66647,9 +69286,9 @@ var init_listreviewresolutionsop = __esm(() => {
66647
69286
 
66648
69287
  // src/funcs/reviewsListResolutions.ts
66649
69288
  function reviewsListResolutions(client$, request, options) {
66650
- return new APIPromise($do76(client$, request, options));
69289
+ return new APIPromise($do89(client$, request, options));
66651
69290
  }
66652
- async function $do76(client$, request, options) {
69291
+ async function $do89(client$, request, options) {
66653
69292
  const parsed$ = safeParse2(request, (value$) => ListReviewResolutionsRequest$zodSchema.parse(value$), "Input validation failed");
66654
69293
  if (!parsed$.ok) {
66655
69294
  return [parsed$, { status: "invalid" }];
@@ -66744,12 +69383,12 @@ var init_reviewsListResolutions = __esm(() => {
66744
69383
  });
66745
69384
 
66746
69385
  // src/mcp-server/tools/reviewsListResolutions.ts
66747
- var args76, tool$reviewsListResolutions;
69386
+ var args89, tool$reviewsListResolutions;
66748
69387
  var init_reviewsListResolutions2 = __esm(() => {
66749
69388
  init_reviewsListResolutions();
66750
69389
  init_listreviewresolutionsop();
66751
69390
  init_tools();
66752
- args76 = {
69391
+ args89 = {
66753
69392
  request: ListReviewResolutionsRequest$zodSchema
66754
69393
  };
66755
69394
  tool$reviewsListResolutions = {
@@ -66764,7 +69403,7 @@ Page through immutable review resolutions.`,
66764
69403
  openWorldHint: false,
66765
69404
  readOnlyHint: true
66766
69405
  },
66767
- args: args76,
69406
+ args: args89,
66768
69407
  tool: async (client, args, ctx) => {
66769
69408
  const [result] = await reviewsListResolutions(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
66770
69409
  if (!result.ok) {
@@ -66831,9 +69470,9 @@ var init_listreviewsubjectsop = __esm(() => {
66831
69470
 
66832
69471
  // src/funcs/reviewsListSubjects.ts
66833
69472
  function reviewsListSubjects(client$, request, options) {
66834
- return new APIPromise($do77(client$, request, options));
69473
+ return new APIPromise($do90(client$, request, options));
66835
69474
  }
66836
- async function $do77(client$, request, options) {
69475
+ async function $do90(client$, request, options) {
66837
69476
  const parsed$ = safeParse2(request, (value$) => ListReviewSubjectsRequest$zodSchema.parse(value$), "Input validation failed");
66838
69477
  if (!parsed$.ok) {
66839
69478
  return [parsed$, { status: "invalid" }];
@@ -66923,12 +69562,12 @@ var init_reviewsListSubjects = __esm(() => {
66923
69562
  });
66924
69563
 
66925
69564
  // src/mcp-server/tools/reviewsListSubjects.ts
66926
- var args77, tool$reviewsListSubjects;
69565
+ var args90, tool$reviewsListSubjects;
66927
69566
  var init_reviewsListSubjects2 = __esm(() => {
66928
69567
  init_reviewsListSubjects();
66929
69568
  init_listreviewsubjectsop();
66930
69569
  init_tools();
66931
- args77 = {
69570
+ args90 = {
66932
69571
  request: ListReviewSubjectsRequest$zodSchema
66933
69572
  };
66934
69573
  tool$reviewsListSubjects = {
@@ -66943,7 +69582,7 @@ List retained subjects linked to this review. A link supplies investigation cont
66943
69582
  openWorldHint: false,
66944
69583
  readOnlyHint: true
66945
69584
  },
66946
- args: args77,
69585
+ args: args90,
66947
69586
  tool: async (client, args, ctx) => {
66948
69587
  const [result] = await reviewsListSubjects(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
66949
69588
  if (!result.ok) {
@@ -67008,9 +69647,9 @@ var init_listreviewviewsop = __esm(() => {
67008
69647
 
67009
69648
  // src/funcs/reviewsListViews.ts
67010
69649
  function reviewsListViews(client$, request, options) {
67011
- return new APIPromise($do78(client$, request, options));
69650
+ return new APIPromise($do91(client$, request, options));
67012
69651
  }
67013
- async function $do78(client$, request, options) {
69652
+ async function $do91(client$, request, options) {
67014
69653
  const parsed$ = safeParse2(request, (value$) => ListReviewViewsRequest$zodSchema.parse(value$), "Input validation failed");
67015
69654
  if (!parsed$.ok) {
67016
69655
  return [parsed$, { status: "invalid" }];
@@ -67096,12 +69735,12 @@ var init_reviewsListViews = __esm(() => {
67096
69735
  });
67097
69736
 
67098
69737
  // src/mcp-server/tools/reviewsListViews.ts
67099
- var args78, tool$reviewsListViews;
69738
+ var args91, tool$reviewsListViews;
67100
69739
  var init_reviewsListViews2 = __esm(() => {
67101
69740
  init_reviewsListViews();
67102
69741
  init_listreviewviewsop();
67103
69742
  init_tools();
67104
- args78 = {
69743
+ args91 = {
67105
69744
  request: ListReviewViewsRequest$zodSchema
67106
69745
  };
67107
69746
  tool$reviewsListViews = {
@@ -67116,7 +69755,7 @@ List private and shared saved review filters visible to you.`,
67116
69755
  openWorldHint: false,
67117
69756
  readOnlyHint: true
67118
69757
  },
67119
- args: args78,
69758
+ args: args91,
67120
69759
  tool: async (client, args, ctx) => {
67121
69760
  const [result] = await reviewsListViews(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67122
69761
  if (!result.ok) {
@@ -67191,9 +69830,9 @@ var init_queryreviewsop = __esm(() => {
67191
69830
 
67192
69831
  // src/funcs/reviewsQuery.ts
67193
69832
  function reviewsQuery(client$, request, options) {
67194
- return new APIPromise($do79(client$, request, options));
69833
+ return new APIPromise($do92(client$, request, options));
67195
69834
  }
67196
- async function $do79(client$, request, options) {
69835
+ async function $do92(client$, request, options) {
67197
69836
  const parsed$ = safeParse2(request, (value$) => QueryReviewsRequest$zodSchema.parse(value$), "Input validation failed");
67198
69837
  if (!parsed$.ok) {
67199
69838
  return [parsed$, { status: "invalid" }];
@@ -67280,12 +69919,12 @@ var init_reviewsQuery = __esm(() => {
67280
69919
  });
67281
69920
 
67282
69921
  // src/mcp-server/tools/reviewsQuery.ts
67283
- var args79, tool$reviewsQuery;
69922
+ var args92, tool$reviewsQuery;
67284
69923
  var init_reviewsQuery2 = __esm(() => {
67285
69924
  init_reviewsQuery();
67286
69925
  init_queryreviewsop();
67287
69926
  init_tools();
67288
- args79 = {
69927
+ args92 = {
67289
69928
  request: QueryReviewsRequest$zodSchema
67290
69929
  };
67291
69930
  tool$reviewsQuery = {
@@ -67300,7 +69939,7 @@ Query retained investigation reviews using a JSON body, including an exact accou
67300
69939
  openWorldHint: false,
67301
69940
  readOnlyHint: true
67302
69941
  },
67303
- args: args79,
69942
+ args: args92,
67304
69943
  tool: async (client, args, ctx) => {
67305
69944
  const [result] = await reviewsQuery(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67306
69945
  if (!result.ok) {
@@ -67371,9 +70010,9 @@ var init_resolvereviewop = __esm(() => {
67371
70010
 
67372
70011
  // src/funcs/reviewsResolve.ts
67373
70012
  function reviewsResolve(client$, request, options) {
67374
- return new APIPromise($do80(client$, request, options));
70013
+ return new APIPromise($do93(client$, request, options));
67375
70014
  }
67376
- async function $do80(client$, request, options) {
70015
+ async function $do93(client$, request, options) {
67377
70016
  const parsed$ = safeParse2(request, (value$) => ResolveReviewRequest$zodSchema.parse(value$), "Input validation failed");
67378
70017
  if (!parsed$.ok) {
67379
70018
  return [parsed$, { status: "invalid" }];
@@ -67451,12 +70090,12 @@ var init_reviewsResolve = __esm(() => {
67451
70090
  });
67452
70091
 
67453
70092
  // src/mcp-server/tools/reviewsResolve.ts
67454
- var args80, tool$reviewsResolve;
70093
+ var args93, tool$reviewsResolve;
67455
70094
  var init_reviewsResolve2 = __esm(() => {
67456
70095
  init_reviewsResolve();
67457
70096
  init_resolvereviewop();
67458
70097
  init_tools();
67459
- args80 = {
70098
+ args93 = {
67460
70099
  request: ResolveReviewRequest$zodSchema
67461
70100
  };
67462
70101
  tool$reviewsResolve = {
@@ -67471,7 +70110,7 @@ Resolve a review against the exact current review and account decision versions.
67471
70110
  openWorldHint: false,
67472
70111
  readOnlyHint: false
67473
70112
  },
67474
- args: args80,
70113
+ args: args93,
67475
70114
  tool: async (client, args, ctx) => {
67476
70115
  const [result] = await reviewsResolve(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67477
70116
  if (!result.ok) {
@@ -67553,9 +70192,9 @@ var init_updatereviewop = __esm(() => {
67553
70192
 
67554
70193
  // src/funcs/reviewsUpdate.ts
67555
70194
  function reviewsUpdate(client$, request, options) {
67556
- return new APIPromise($do81(client$, request, options));
70195
+ return new APIPromise($do94(client$, request, options));
67557
70196
  }
67558
- async function $do81(client$, request, options) {
70197
+ async function $do94(client$, request, options) {
67559
70198
  const parsed$ = safeParse2(request, (value$) => UpdateReviewRequest$zodSchema.parse(value$), "Input validation failed");
67560
70199
  if (!parsed$.ok) {
67561
70200
  return [parsed$, { status: "invalid" }];
@@ -67633,12 +70272,12 @@ var init_reviewsUpdate = __esm(() => {
67633
70272
  });
67634
70273
 
67635
70274
  // src/mcp-server/tools/reviewsUpdate.ts
67636
- var args81, tool$reviewsUpdate;
70275
+ var args94, tool$reviewsUpdate;
67637
70276
  var init_reviewsUpdate2 = __esm(() => {
67638
70277
  init_reviewsUpdate();
67639
70278
  init_updatereviewop();
67640
70279
  init_tools();
67641
- args81 = {
70280
+ args94 = {
67642
70281
  request: UpdateReviewRequest$zodSchema
67643
70282
  };
67644
70283
  tool$reviewsUpdate = {
@@ -67653,7 +70292,7 @@ Change review status, priority or assignment after checking the expected version
67653
70292
  openWorldHint: false,
67654
70293
  readOnlyHint: false
67655
70294
  },
67656
- args: args81,
70295
+ args: args94,
67657
70296
  tool: async (client, args, ctx) => {
67658
70297
  const [result] = await reviewsUpdate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67659
70298
  if (!result.ok) {
@@ -67711,9 +70350,9 @@ var init_updatereviewviewop = __esm(() => {
67711
70350
 
67712
70351
  // src/funcs/reviewsUpdateView.ts
67713
70352
  function reviewsUpdateView(client$, request, options) {
67714
- return new APIPromise($do82(client$, request, options));
70353
+ return new APIPromise($do95(client$, request, options));
67715
70354
  }
67716
- async function $do82(client$, request, options) {
70355
+ async function $do95(client$, request, options) {
67717
70356
  const parsed$ = safeParse2(request, (value$) => UpdateReviewViewRequest$zodSchema.parse(value$), "Input validation failed");
67718
70357
  if (!parsed$.ok) {
67719
70358
  return [parsed$, { status: "invalid" }];
@@ -67791,12 +70430,12 @@ var init_reviewsUpdateView = __esm(() => {
67791
70430
  });
67792
70431
 
67793
70432
  // src/mcp-server/tools/reviewsUpdateView.ts
67794
- var args82, tool$reviewsUpdateView;
70433
+ var args95, tool$reviewsUpdateView;
67795
70434
  var init_reviewsUpdateView2 = __esm(() => {
67796
70435
  init_reviewsUpdateView();
67797
70436
  init_updatereviewviewop();
67798
70437
  init_tools();
67799
- args82 = {
70438
+ args95 = {
67800
70439
  request: UpdateReviewViewRequest$zodSchema
67801
70440
  };
67802
70441
  tool$reviewsUpdateView = {
@@ -67811,7 +70450,7 @@ Update your saved review filter after checking its expected version.`,
67811
70450
  openWorldHint: false,
67812
70451
  readOnlyHint: false
67813
70452
  },
67814
- args: args82,
70453
+ args: args95,
67815
70454
  tool: async (client, args, ctx) => {
67816
70455
  const [result] = await reviewsUpdateView(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67817
70456
  if (!result.ok) {
@@ -67866,9 +70505,9 @@ var init_getsettingsop = __esm(() => {
67866
70505
 
67867
70506
  // src/funcs/settingsGet.ts
67868
70507
  function settingsGet(client$, request, options) {
67869
- return new APIPromise($do83(client$, request, options));
70508
+ return new APIPromise($do96(client$, request, options));
67870
70509
  }
67871
- async function $do83(client$, request, options) {
70510
+ async function $do96(client$, request, options) {
67872
70511
  const parsed$ = safeParse2(request, (value$) => GetSettingsRequest$zodSchema.parse(value$), "Input validation failed");
67873
70512
  if (!parsed$.ok) {
67874
70513
  return [parsed$, { status: "invalid" }];
@@ -67954,12 +70593,12 @@ var init_settingsGet = __esm(() => {
67954
70593
  });
67955
70594
 
67956
70595
  // src/mcp-server/tools/settingsGet.ts
67957
- var args83, tool$settingsGet;
70596
+ var args96, tool$settingsGet;
67958
70597
  var init_settingsGet2 = __esm(() => {
67959
70598
  init_settingsGet();
67960
70599
  init_getsettingsop();
67961
70600
  init_tools();
67962
- args83 = {
70601
+ args96 = {
67963
70602
  request: GetSettingsRequest$zodSchema
67964
70603
  };
67965
70604
  tool$settingsGet = {
@@ -67974,7 +70613,7 @@ Read this environment retention, source selection and effective flow policies. A
67974
70613
  openWorldHint: false,
67975
70614
  readOnlyHint: true
67976
70615
  },
67977
- args: args83,
70616
+ args: args96,
67978
70617
  tool: async (client, args, ctx) => {
67979
70618
  const [result] = await settingsGet(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
67980
70619
  if (!result.ok) {
@@ -68077,9 +70716,9 @@ var init_listpolicyhistoryop = __esm(() => {
68077
70716
 
68078
70717
  // src/funcs/settingsListHistory.ts
68079
70718
  function settingsListHistory(client$, request, options) {
68080
- return new APIPromise($do84(client$, request, options));
70719
+ return new APIPromise($do97(client$, request, options));
68081
70720
  }
68082
- async function $do84(client$, request, options) {
70721
+ async function $do97(client$, request, options) {
68083
70722
  const parsed$ = safeParse2(request, (value$) => ListPolicyHistoryRequest$zodSchema.parse(value$), "Input validation failed");
68084
70723
  if (!parsed$.ok) {
68085
70724
  return [parsed$, { status: "invalid" }];
@@ -68170,12 +70809,12 @@ var init_settingsListHistory = __esm(() => {
68170
70809
  });
68171
70810
 
68172
70811
  // src/mcp-server/tools/settingsListHistory.ts
68173
- var args84, tool$settingsListHistory;
70812
+ var args97, tool$settingsListHistory;
68174
70813
  var init_settingsListHistory2 = __esm(() => {
68175
70814
  init_settingsListHistory();
68176
70815
  init_listpolicyhistoryop();
68177
70816
  init_tools();
68178
- args84 = {
70817
+ args97 = {
68179
70818
  request: ListPolicyHistoryRequest$zodSchema
68180
70819
  };
68181
70820
  tool$settingsListHistory = {
@@ -68190,7 +70829,7 @@ Read immutable configuration versions in one environment with settings or manage
68190
70829
  openWorldHint: false,
68191
70830
  readOnlyHint: true
68192
70831
  },
68193
- args: args84,
70832
+ args: args97,
68194
70833
  tool: async (client, args, ctx) => {
68195
70834
  const [result] = await settingsListHistory(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
68196
70835
  if (!result.ok) {
@@ -68369,9 +71008,9 @@ var init_previewpolicyop = __esm(() => {
68369
71008
 
68370
71009
  // src/funcs/settingsPreview.ts
68371
71010
  function settingsPreview(client$, request, options) {
68372
- return new APIPromise($do85(client$, request, options));
71011
+ return new APIPromise($do98(client$, request, options));
68373
71012
  }
68374
- async function $do85(client$, request, options) {
71013
+ async function $do98(client$, request, options) {
68375
71014
  const parsed$ = safeParse2(request, (value$) => PreviewPolicyRequest$zodSchema.parse(value$), "Input validation failed");
68376
71015
  if (!parsed$.ok) {
68377
71016
  return [parsed$, { status: "invalid" }];
@@ -68458,12 +71097,12 @@ var init_settingsPreview = __esm(() => {
68458
71097
  });
68459
71098
 
68460
71099
  // src/mcp-server/tools/settingsPreview.ts
68461
- var args85, tool$settingsPreview;
71100
+ var args98, tool$settingsPreview;
68462
71101
  var init_settingsPreview2 = __esm(() => {
68463
71102
  init_settingsPreview();
68464
71103
  init_previewpolicyop();
68465
71104
  init_tools();
68466
- args85 = {
71105
+ args98 = {
68467
71106
  request: PreviewPolicyRequest$zodSchema
68468
71107
  };
68469
71108
  tool$settingsPreview = {
@@ -68478,7 +71117,7 @@ Compare proposed policy with bounded retained first answers, including baseline,
68478
71117
  openWorldHint: false,
68479
71118
  readOnlyHint: true
68480
71119
  },
68481
- args: args85,
71120
+ args: args98,
68482
71121
  tool: async (client, args, ctx) => {
68483
71122
  const [result] = await settingsPreview(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
68484
71123
  if (!result.ok) {
@@ -68546,9 +71185,9 @@ var init_restorepolicyop = __esm(() => {
68546
71185
 
68547
71186
  // src/funcs/settingsRestore.ts
68548
71187
  function settingsRestore(client$, request, options) {
68549
- return new APIPromise($do86(client$, request, options));
71188
+ return new APIPromise($do99(client$, request, options));
68550
71189
  }
68551
- async function $do86(client$, request, options) {
71190
+ async function $do99(client$, request, options) {
68552
71191
  const parsed$ = safeParse2(request, (value$) => RestorePolicyRequest$zodSchema.parse(value$), "Input validation failed");
68553
71192
  if (!parsed$.ok) {
68554
71193
  return [parsed$, { status: "invalid" }];
@@ -68622,12 +71261,12 @@ var init_settingsRestore = __esm(() => {
68622
71261
  });
68623
71262
 
68624
71263
  // src/mcp-server/tools/settingsRestore.ts
68625
- var args86, tool$settingsRestore;
71264
+ var args99, tool$settingsRestore;
68626
71265
  var init_settingsRestore2 = __esm(() => {
68627
71266
  init_settingsRestore();
68628
71267
  init_restorepolicyop();
68629
71268
  init_tools();
68630
- args86 = {
71269
+ args99 = {
68631
71270
  request: RestorePolicyRequest$zodSchema
68632
71271
  };
68633
71272
  tool$settingsRestore = {
@@ -68642,7 +71281,7 @@ Restore a retained configuration as a fresh version with the expected current ve
68642
71281
  openWorldHint: false,
68643
71282
  readOnlyHint: false
68644
71283
  },
68645
- args: args86,
71284
+ args: args99,
68646
71285
  tool: async (client, args, ctx) => {
68647
71286
  const [result] = await settingsRestore(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
68648
71287
  if (!result.ok) {
@@ -68747,9 +71386,9 @@ var init_updatesettingsop = __esm(() => {
68747
71386
 
68748
71387
  // src/funcs/settingsUpdate.ts
68749
71388
  function settingsUpdate(client$, request, options) {
68750
- return new APIPromise($do87(client$, request, options));
71389
+ return new APIPromise($do100(client$, request, options));
68751
71390
  }
68752
- async function $do87(client$, request, options) {
71391
+ async function $do100(client$, request, options) {
68753
71392
  const parsed$ = safeParse2(request, (value$) => UpdateSettingsRequest$zodSchema.parse(value$), "Input validation failed");
68754
71393
  if (!parsed$.ok) {
68755
71394
  return [parsed$, { status: "invalid" }];
@@ -68836,12 +71475,12 @@ var init_settingsUpdate = __esm(() => {
68836
71475
  });
68837
71476
 
68838
71477
  // src/mcp-server/tools/settingsUpdate.ts
68839
- var args87, tool$settingsUpdate;
71478
+ var args100, tool$settingsUpdate;
68840
71479
  var init_settingsUpdate2 = __esm(() => {
68841
71480
  init_settingsUpdate();
68842
71481
  init_updatesettingsop();
68843
71482
  init_tools();
68844
- args87 = {
71483
+ args100 = {
68845
71484
  request: UpdateSettingsRequest$zodSchema
68846
71485
  };
68847
71486
  tool$settingsUpdate = {
@@ -68856,7 +71495,7 @@ Change named retention, source or flow settings in one transaction. Requires set
68856
71495
  openWorldHint: false,
68857
71496
  readOnlyHint: false
68858
71497
  },
68859
- args: args87,
71498
+ args: args100,
68860
71499
  tool: async (client, args, ctx) => {
68861
71500
  const [result] = await settingsUpdate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
68862
71501
  if (!result.ok) {
@@ -68977,9 +71616,9 @@ var init_getusageop = __esm(() => {
68977
71616
 
68978
71617
  // src/funcs/usageGet.ts
68979
71618
  function usageGet(client$, request, options) {
68980
- return new APIPromise($do88(client$, request, options));
71619
+ return new APIPromise($do101(client$, request, options));
68981
71620
  }
68982
- async function $do88(client$, request, options) {
71621
+ async function $do101(client$, request, options) {
68983
71622
  const parsed$ = safeParse2(request, (value$) => GetUsageRequest$zodSchema.parse(value$), "Input validation failed");
68984
71623
  if (!parsed$.ok) {
68985
71624
  return [parsed$, { status: "invalid" }];
@@ -69066,12 +71705,12 @@ var init_usageGet = __esm(() => {
69066
71705
  });
69067
71706
 
69068
71707
  // src/mcp-server/tools/usageGet.ts
69069
- var args88, tool$usageGet;
71708
+ var args101, tool$usageGet;
69070
71709
  var init_usageGet2 = __esm(() => {
69071
71710
  init_usageGet();
69072
71711
  init_getusageop();
69073
71712
  init_tools();
69074
- args88 = {
71713
+ args101 = {
69075
71714
  request: GetUsageRequest$zodSchema
69076
71715
  };
69077
71716
  tool$usageGet = {
@@ -69086,7 +71725,7 @@ Read daily usage units for the environments you can access. These counts are unp
69086
71725
  openWorldHint: false,
69087
71726
  readOnlyHint: true
69088
71727
  },
69089
- args: args88,
71728
+ args: args101,
69090
71729
  tool: async (client, args, ctx) => {
69091
71730
  const [result] = await usageGet(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
69092
71731
  if (!result.ok) {
@@ -69116,9 +71755,9 @@ var init_webhookaggregaterequest = __esm(() => {
69116
71755
 
69117
71756
  // src/funcs/webhookEndpointsAggregate.ts
69118
71757
  function webhookEndpointsAggregate(client$, request, options) {
69119
- return new APIPromise($do89(client$, request, options));
71758
+ return new APIPromise($do102(client$, request, options));
69120
71759
  }
69121
- async function $do89(client$, request, options) {
71760
+ async function $do102(client$, request, options) {
69122
71761
  const parsed$ = safeParse2(request, (value$) => WebhookAggregateRequest$zodSchema.parse(value$), "Input validation failed");
69123
71762
  if (!parsed$.ok) {
69124
71763
  return [parsed$, { status: "invalid" }];
@@ -69195,12 +71834,12 @@ var init_webhookEndpointsAggregate = __esm(() => {
69195
71834
  });
69196
71835
 
69197
71836
  // src/mcp-server/tools/webhookEndpointsAggregate.ts
69198
- var args89, tool$webhookEndpointsAggregate;
71837
+ var args102, tool$webhookEndpointsAggregate;
69199
71838
  var init_webhookEndpointsAggregate2 = __esm(() => {
69200
71839
  init_webhookEndpointsAggregate();
69201
71840
  init_webhookaggregaterequest();
69202
71841
  init_tools();
69203
- args89 = {
71842
+ args102 = {
69204
71843
  request: WebhookAggregateRequest$zodSchema
69205
71844
  };
69206
71845
  tool$webhookEndpointsAggregate = {
@@ -69215,7 +71854,7 @@ Count retained webhook delivery attempts within thirty days and report current r
69215
71854
  openWorldHint: false,
69216
71855
  readOnlyHint: true
69217
71856
  },
69218
- args: args89,
71857
+ args: args102,
69219
71858
  tool: async (client, args, ctx) => {
69220
71859
  const [result] = await webhookEndpointsAggregate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
69221
71860
  if (!result.ok) {
@@ -69242,9 +71881,9 @@ var init_webhookendpointrequest = __esm(() => {
69242
71881
 
69243
71882
  // src/funcs/webhookEndpointsCreate.ts
69244
71883
  function webhookEndpointsCreate(client$, request, options) {
69245
- return new APIPromise($do90(client$, request, options));
71884
+ return new APIPromise($do103(client$, request, options));
69246
71885
  }
69247
- async function $do90(client$, request, options) {
71886
+ async function $do103(client$, request, options) {
69248
71887
  const parsed$ = safeParse2(request, (value$) => WebhookEndpointRequest$zodSchema.parse(value$), "Input validation failed");
69249
71888
  if (!parsed$.ok) {
69250
71889
  return [parsed$, { status: "invalid" }];
@@ -69308,12 +71947,12 @@ var init_webhookEndpointsCreate = __esm(() => {
69308
71947
  });
69309
71948
 
69310
71949
  // src/mcp-server/tools/webhookEndpointsCreate.ts
69311
- var args90, tool$webhookEndpointsCreate;
71950
+ var args103, tool$webhookEndpointsCreate;
69312
71951
  var init_webhookEndpointsCreate2 = __esm(() => {
69313
71952
  init_webhookEndpointsCreate();
69314
71953
  init_webhookendpointrequest();
69315
71954
  init_tools();
69316
- args90 = {
71955
+ args103 = {
69317
71956
  request: WebhookEndpointRequest$zodSchema
69318
71957
  };
69319
71958
  tool$webhookEndpointsCreate = {
@@ -69328,7 +71967,7 @@ Registers a webhook endpoint and returns it with its first signing secret, shown
69328
71967
  openWorldHint: false,
69329
71968
  readOnlyHint: false
69330
71969
  },
69331
- args: args90,
71970
+ args: args103,
69332
71971
  tool: async (client, args, ctx) => {
69333
71972
  const [result] = await webhookEndpointsCreate(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
69334
71973
  if (!result.ok) {
@@ -69378,9 +72017,9 @@ var init_deletewebhookendpointop = __esm(() => {
69378
72017
 
69379
72018
  // src/funcs/webhookEndpointsDelete.ts
69380
72019
  function webhookEndpointsDelete(client$, request, options) {
69381
- return new APIPromise($do91(client$, request, options));
72020
+ return new APIPromise($do104(client$, request, options));
69382
72021
  }
69383
- async function $do91(client$, request, options) {
72022
+ async function $do104(client$, request, options) {
69384
72023
  const parsed$ = safeParse2(request, (value$) => DeleteWebhookEndpointRequest$zodSchema.parse(value$), "Input validation failed");
69385
72024
  if (!parsed$.ok) {
69386
72025
  return [parsed$, { status: "invalid" }];
@@ -69462,12 +72101,12 @@ var init_webhookEndpointsDelete = __esm(() => {
69462
72101
  });
69463
72102
 
69464
72103
  // src/mcp-server/tools/webhookEndpointsDelete.ts
69465
- var args91, tool$webhookEndpointsDelete;
72104
+ var args104, tool$webhookEndpointsDelete;
69466
72105
  var init_webhookEndpointsDelete2 = __esm(() => {
69467
72106
  init_webhookEndpointsDelete();
69468
72107
  init_deletewebhookendpointop();
69469
72108
  init_tools();
69470
- args91 = {
72109
+ args104 = {
69471
72110
  request: DeleteWebhookEndpointRequest$zodSchema
69472
72111
  };
69473
72112
  tool$webhookEndpointsDelete = {
@@ -69482,7 +72121,7 @@ Deletes the endpoint and its signing keys. Deliveries still queued for it are dr
69482
72121
  openWorldHint: false,
69483
72122
  readOnlyHint: false
69484
72123
  },
69485
- args: args91,
72124
+ args: args104,
69486
72125
  tool: async (client, args, ctx) => {
69487
72126
  const [result] = await webhookEndpointsDelete(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
69488
72127
  if (!result.ok) {
@@ -69498,9 +72137,9 @@ Deletes the endpoint and its signing keys. Deliveries still queued for it are dr
69498
72137
 
69499
72138
  // src/funcs/webhookEndpointsList.ts
69500
72139
  function webhookEndpointsList(client$, options) {
69501
- return new APIPromise($do92(client$, options));
72140
+ return new APIPromise($do105(client$, options));
69502
72141
  }
69503
- async function $do92(client$, options) {
72142
+ async function $do105(client$, options) {
69504
72143
  const path$ = pathToFunc("/v1/webhooks")();
69505
72144
  const headers$ = new Headers(compactMap({
69506
72145
  Accept: options?.acceptHeaderOverride || "application/json;q=1, application/problem+json;q=0"
@@ -69694,9 +72333,9 @@ var init_listwebhookdeliveriesop = __esm(() => {
69694
72333
 
69695
72334
  // src/funcs/webhookEndpointsListDeliveries.ts
69696
72335
  function webhookEndpointsListDeliveries(client$, request, options) {
69697
- return new APIPromise($do93(client$, request, options));
72336
+ return new APIPromise($do106(client$, request, options));
69698
72337
  }
69699
- async function $do93(client$, request, options) {
72338
+ async function $do106(client$, request, options) {
69700
72339
  const parsed$ = safeParse2(request, (value$) => ListWebhookDeliveriesRequest$zodSchema.parse(value$), "Input validation failed");
69701
72340
  if (!parsed$.ok) {
69702
72341
  return [parsed$, { status: "invalid" }];
@@ -69783,12 +72422,12 @@ var init_webhookEndpointsListDeliveries = __esm(() => {
69783
72422
  });
69784
72423
 
69785
72424
  // src/mcp-server/tools/webhookEndpointsListDeliveries.ts
69786
- var args92, tool$webhookEndpointsListDeliveries;
72425
+ var args105, tool$webhookEndpointsListDeliveries;
69787
72426
  var init_webhookEndpointsListDeliveries2 = __esm(() => {
69788
72427
  init_webhookEndpointsListDeliveries();
69789
72428
  init_listwebhookdeliveriesop();
69790
72429
  init_tools();
69791
- args92 = {
72430
+ args105 = {
69792
72431
  request: ListWebhookDeliveriesRequest$zodSchema
69793
72432
  };
69794
72433
  tool$webhookEndpointsListDeliveries = {
@@ -69803,7 +72442,7 @@ Every POST the endpoint received, newest first: the event id and type, which att
69803
72442
  openWorldHint: false,
69804
72443
  readOnlyHint: true
69805
72444
  },
69806
- args: args92,
72445
+ args: args105,
69807
72446
  tool: async (client, args, ctx) => {
69808
72447
  const [result] = await webhookEndpointsListDeliveries(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
69809
72448
  if (!result.ok) {
@@ -69877,9 +72516,9 @@ var init_replaywebhookdeliveryop = __esm(() => {
69877
72516
 
69878
72517
  // src/funcs/webhookEndpointsReplayDelivery.ts
69879
72518
  function webhookEndpointsReplayDelivery(client$, request, options) {
69880
- return new APIPromise($do94(client$, request, options));
72519
+ return new APIPromise($do107(client$, request, options));
69881
72520
  }
69882
- async function $do94(client$, request, options) {
72521
+ async function $do107(client$, request, options) {
69883
72522
  const parsed$ = safeParse2(request, (value$) => ReplayWebhookDeliveryRequest$zodSchema.parse(value$), "Input validation failed");
69884
72523
  if (!parsed$.ok) {
69885
72524
  return [parsed$, { status: "invalid" }];
@@ -69953,12 +72592,12 @@ var init_webhookEndpointsReplayDelivery = __esm(() => {
69953
72592
  });
69954
72593
 
69955
72594
  // src/mcp-server/tools/webhookEndpointsReplayDelivery.ts
69956
- var args93, tool$webhookEndpointsReplayDelivery;
72595
+ var args106, tool$webhookEndpointsReplayDelivery;
69957
72596
  var init_webhookEndpointsReplayDelivery2 = __esm(() => {
69958
72597
  init_webhookEndpointsReplayDelivery();
69959
72598
  init_replaywebhookdeliveryop();
69960
72599
  init_tools();
69961
- args93 = {
72600
+ args106 = {
69962
72601
  request: ReplayWebhookDeliveryRequest$zodSchema
69963
72602
  };
69964
72603
  tool$webhookEndpointsReplayDelivery = {
@@ -69973,7 +72612,7 @@ Queues the event for the endpoint again: the same event id and body it received,
69973
72612
  openWorldHint: false,
69974
72613
  readOnlyHint: false
69975
72614
  },
69976
- args: args93,
72615
+ args: args106,
69977
72616
  tool: async (client, args, ctx) => {
69978
72617
  const [result] = await webhookEndpointsReplayDelivery(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
69979
72618
  if (!result.ok) {
@@ -70059,9 +72698,9 @@ var init_rotatewebhooksigningkeyop = __esm(() => {
70059
72698
 
70060
72699
  // src/funcs/webhookEndpointsRotateSigningKey.ts
70061
72700
  function webhookEndpointsRotateSigningKey(client$, request, options) {
70062
- return new APIPromise($do95(client$, request, options));
72701
+ return new APIPromise($do108(client$, request, options));
70063
72702
  }
70064
- async function $do95(client$, request, options) {
72703
+ async function $do108(client$, request, options) {
70065
72704
  const parsed$ = safeParse2(request, (value$) => RotateWebhookSigningKeyRequest$zodSchema.parse(value$), "Input validation failed");
70066
72705
  if (!parsed$.ok) {
70067
72706
  return [parsed$, { status: "invalid" }];
@@ -70131,12 +72770,12 @@ var init_webhookEndpointsRotateSigningKey = __esm(() => {
70131
72770
  });
70132
72771
 
70133
72772
  // src/mcp-server/tools/webhookEndpointsRotateSigningKey.ts
70134
- var args94, tool$webhookEndpointsRotateSigningKey;
72773
+ var args107, tool$webhookEndpointsRotateSigningKey;
70135
72774
  var init_webhookEndpointsRotateSigningKey2 = __esm(() => {
70136
72775
  init_webhookEndpointsRotateSigningKey();
70137
72776
  init_rotatewebhooksigningkeyop();
70138
72777
  init_tools();
70139
- args94 = {
72778
+ args107 = {
70140
72779
  request: RotateWebhookSigningKeyRequest$zodSchema
70141
72780
  };
70142
72781
  tool$webhookEndpointsRotateSigningKey = {
@@ -70151,7 +72790,7 @@ Issues a new signing key for the endpoint and returns its secret once. Every del
70151
72790
  openWorldHint: false,
70152
72791
  readOnlyHint: false
70153
72792
  },
70154
- args: args94,
72793
+ args: args107,
70155
72794
  tool: async (client, args, ctx) => {
70156
72795
  const [result] = await webhookEndpointsRotateSigningKey(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
70157
72796
  if (!result.ok) {
@@ -70241,9 +72880,9 @@ var init_sendwebhooktesteventop = __esm(() => {
70241
72880
 
70242
72881
  // src/funcs/webhookEndpointsSendTestEvent.ts
70243
72882
  function webhookEndpointsSendTestEvent(client$, request, options) {
70244
- return new APIPromise($do96(client$, request, options));
72883
+ return new APIPromise($do109(client$, request, options));
70245
72884
  }
70246
- async function $do96(client$, request, options) {
72885
+ async function $do109(client$, request, options) {
70247
72886
  const parsed$ = safeParse2(request, (value$) => SendWebhookTestEventRequest$zodSchema.parse(value$), "Input validation failed");
70248
72887
  if (!parsed$.ok) {
70249
72888
  return [parsed$, { status: "invalid" }];
@@ -70313,12 +72952,12 @@ var init_webhookEndpointsSendTestEvent = __esm(() => {
70313
72952
  });
70314
72953
 
70315
72954
  // src/mcp-server/tools/webhookEndpointsSendTestEvent.ts
70316
- var args95, tool$webhookEndpointsSendTestEvent;
72955
+ var args108, tool$webhookEndpointsSendTestEvent;
70317
72956
  var init_webhookEndpointsSendTestEvent2 = __esm(() => {
70318
72957
  init_webhookEndpointsSendTestEvent();
70319
72958
  init_sendwebhooktesteventop();
70320
72959
  init_tools();
70321
- args95 = {
72960
+ args108 = {
70322
72961
  request: SendWebhookTestEventRequest$zodSchema
70323
72962
  };
70324
72963
  tool$webhookEndpointsSendTestEvent = {
@@ -70333,7 +72972,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
70333
72972
  openWorldHint: false,
70334
72973
  readOnlyHint: false
70335
72974
  },
70336
- args: args95,
72975
+ args: args108,
70337
72976
  tool: async (client, args, ctx) => {
70338
72977
  const [result] = await webhookEndpointsSendTestEvent(client, args.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
70339
72978
  if (!result.ok) {
@@ -70351,7 +72990,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
70351
72990
  function createMCPServer(deps) {
70352
72991
  const server = new McpServer({
70353
72992
  name: "NoResponse",
70354
- version: "0.11.14"
72993
+ version: "0.11.16"
70355
72994
  });
70356
72995
  const getClient = deps.getSDK || (() => new NoResponseCore({
70357
72996
  security: deps.security,
@@ -70466,6 +73105,19 @@ function createMCPServer(deps) {
70466
73105
  tool(tool$evaluationsCancel);
70467
73106
  tool(tool$evaluationsPublish);
70468
73107
  tool(tool$operationsSummarize);
73108
+ tool(tool$eventsList);
73109
+ tool(tool$eventsCreate);
73110
+ tool(tool$eventsGet);
73111
+ tool(tool$eventsUpdate);
73112
+ tool(tool$eventsDelete);
73113
+ tool(tool$eventsListAttendees);
73114
+ tool(tool$eventsAddAttendees);
73115
+ tool(tool$eventsGetAttendee);
73116
+ tool(tool$eventsReviewAttendee);
73117
+ tool(tool$eventsListScreenings);
73118
+ tool(tool$eventsStartScreening);
73119
+ tool(tool$eventsGetScreening);
73120
+ tool(tool$eventsCancelScreening);
70469
73121
  if (deps.dynamic) {
70470
73122
  registerDynamicTools(deps.logger, server, getClient, toolMap, scopes);
70471
73123
  }
@@ -70518,6 +73170,19 @@ var init_server = __esm(() => {
70518
73170
  init_evaluationsGetResult2();
70519
73171
  init_evaluationsList2();
70520
73172
  init_evaluationsPublish2();
73173
+ init_eventsAddAttendees2();
73174
+ init_eventsCancelScreening2();
73175
+ init_eventsCreate2();
73176
+ init_eventsDelete2();
73177
+ init_eventsGet2();
73178
+ init_eventsGetAttendee2();
73179
+ init_eventsGetScreening2();
73180
+ init_eventsList2();
73181
+ init_eventsListAttendees2();
73182
+ init_eventsListScreenings2();
73183
+ init_eventsReviewAttendee2();
73184
+ init_eventsStartScreening2();
73185
+ init_eventsUpdate2();
70521
73186
  init_exportsCancel2();
70522
73187
  init_exportsCreate2();
70523
73188
  init_exportsDownloadChunk2();
@@ -71156,6 +73821,84 @@ Publish an explicitly reviewed candidate with its exact manifest, input and resu
71156
73821
  description: `Summarize retained account outcomes, enforcement reports and reviews.
71157
73822
 
71158
73823
  Read one retained snapshot of account outcomes, enforcement reports and review states for the environment and a window of at most 31 days. Each section declares its own population, numerator, denominator and label coverage. Current outcome heads preserve explicit unknown labels. Enforcement rows are reports from your application and do not independently verify execution. Requires history or investigate together with management scope. A result exceeding 100000 population rows or the query budget is refused without truncation.`
73824
+ },
73825
+ {
73826
+ name: "list_events",
73827
+ description: `List an environment's events.
73828
+
73829
+ List this environment's events, newest first. Pass next_before back as before for the next page. Requires the events scope.`
73830
+ },
73831
+ {
73832
+ name: "create_event",
73833
+ description: `Create an event to screen.
73834
+
73835
+ Create an event to screen: its name, start, venue, host, the principals it protects and the sensitive topics posts are read against. An environment holds at most 1000 events.`
73836
+ },
73837
+ {
73838
+ name: "get_event",
73839
+ description: `Read an event.
73840
+
73841
+ Read an event and how many attendees it holds.`
73842
+ },
73843
+ {
73844
+ name: "update_event",
73845
+ description: `Change an event.
73846
+
73847
+ Change the fields you name. Send expected_version to apply the change only to that version.`
73848
+ },
73849
+ {
73850
+ name: "delete_event",
73851
+ description: `Erase an event.
73852
+
73853
+ Erase an event with its attendees, their decisions and its screenings, and stop any screening still running.`
73854
+ },
73855
+ {
73856
+ name: "list_attendees",
73857
+ description: `List an event's attendees.
73858
+
73859
+ Read an event's roster in upload order, with each attendee's match state, highest finding band and decision. Filter by band or decision; pass next_after back as after.`
73860
+ },
73861
+ {
73862
+ name: "add_attendees",
73863
+ description: `Add or update a batch of attendees.
73864
+
73865
+ Add or update 1 to 500 attendees with an Idempotency-Key. A row with the same external_id, else email, else phone as an existing attendee updates it. Identities are stored encrypted.`
73866
+ },
73867
+ {
73868
+ name: "get_attendee",
73869
+ description: `Read an attendee's report.
73870
+
73871
+ Read an attendee's report: matched profiles, findings with their evidence and every recorded decision.`
73872
+ },
73873
+ {
73874
+ name: "review_attendee",
73875
+ description: `Record a decision on an attendee.
73876
+
73877
+ Record a cleared, watch or escalated decision with a note. The latest decision is the attendee's; the next screening refreshes everyone on watch or escalated.`
73878
+ },
73879
+ {
73880
+ name: "list_screenings",
73881
+ description: `List an event's screenings.
73882
+
73883
+ List an event's screenings, newest first.`
73884
+ },
73885
+ {
73886
+ name: "start_screening",
73887
+ description: `Start a screening.
73888
+
73889
+ Start a screening of new attendees and everyone on watch or escalated, with an Idempotency-Key. It finishes completed, partial or failed minutes to hours later; poll it. The test environment screens with stand-ins that find no accounts.`
73890
+ },
73891
+ {
73892
+ name: "get_screening",
73893
+ description: `Read a screening.
73894
+
73895
+ Read a screening's status and progress.`
73896
+ },
73897
+ {
73898
+ name: "cancel_screening",
73899
+ description: `Cancel a screening.
73900
+
73901
+ Stop a queued or running screening. Attendees already screened keep their results.`
71159
73902
  },
71160
73903
  {
71161
73904
  name: "wait_for_assessment",
@@ -79656,7 +82399,7 @@ var routes = buildRouteMap({
79656
82399
  var app = buildApplication(routes, {
79657
82400
  name: "mcp",
79658
82401
  versionInfo: {
79659
- currentVersion: "0.11.14"
82402
+ currentVersion: "0.11.16"
79660
82403
  }
79661
82404
  });
79662
82405
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -79664,5 +82407,5 @@ export {
79664
82407
  app
79665
82408
  };
79666
82409
 
79667
- //# debugId=376415A74FD8D62964756E2164756E21
82410
+ //# debugId=7F2ED000CF8D80D564756E2164756E21
79668
82411
  //# sourceMappingURL=mcp-server.js.map