@avallon-labs/mcp 35.2.0-staging.878 → 35.4.0-staging.884

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/dist/index.js CHANGED
@@ -54,5 +54,5 @@ function setupFetch() {
54
54
 
55
55
  // src/index.ts
56
56
  setupFetch();
57
- await import("./server-HM3KDTG5.js");
57
+ await import("./server-SSGNSNHA.js");
58
58
  //# sourceMappingURL=index.js.map
@@ -5553,13 +5553,19 @@ var CancelJobResponse = zod.object({
5553
5553
  created_at: zod.string().datetime({})
5554
5554
  });
5555
5555
  var ListApiKeysQueryParams = zod.object({
5556
- include_revoked: zod.enum(["true", "false"]).optional().describe("Include revoked keys in the response")
5556
+ include_revoked: zod.enum(["true", "false"]).optional().describe("Include revoked keys in the response"),
5557
+ owner_profile_id: zod.string().uuid().optional().describe(
5558
+ "Only return keys owned by this team member. Ids come from the team endpoint."
5559
+ )
5557
5560
  });
5558
5561
  var ListApiKeysResponse = zod.object({
5559
5562
  data: zod.array(
5560
5563
  zod.object({
5561
5564
  id: zod.string().describe("Unique identifier for the API key"),
5562
5565
  name: zod.string().describe("Human-readable name for the API key"),
5566
+ owner_profile_id: zod.string().describe(
5567
+ "Id of the team member the key acts as, as returned by the team endpoint. The owner's role caps the key's effective role, and the key stops working once the owner is removed from the tenant."
5568
+ ),
5563
5569
  key_prefix: zod.string().describe("First 12 characters of the key (e.g. ak_live_abc1)"),
5564
5570
  role: zod.enum(["admin", "avallon_admin", "member"]).describe("Role granted to this API key"),
5565
5571
  last_used_at: zod.string().datetime({}).optional().describe("Last usage timestamp, if ever used"),
@@ -5598,6 +5604,9 @@ var UpdateApiKeyBody = zod.object({
5598
5604
  var UpdateApiKeyResponse = zod.object({
5599
5605
  id: zod.string().describe("Unique identifier for the API key"),
5600
5606
  name: zod.string().describe("Human-readable name for the API key"),
5607
+ owner_profile_id: zod.string().describe(
5608
+ "Id of the team member the key acts as, as returned by the team endpoint. The owner's role caps the key's effective role, and the key stops working once the owner is removed from the tenant."
5609
+ ),
5601
5610
  key_prefix: zod.string().describe("First 12 characters of the key (e.g. ak_live_abc1)"),
5602
5611
  role: zod.enum(["admin", "avallon_admin", "member"]).describe("Role granted to this API key"),
5603
5612
  last_used_at: zod.string().datetime({}).optional().describe("Last usage timestamp, if ever used"),
@@ -6270,8 +6279,8 @@ var ReplyToEmailParams = zod.object({
6270
6279
  emailId: zod.string().min(1)
6271
6280
  });
6272
6281
  var replyToEmailBodyIsHtmlDefault = true;
6273
- var replyToEmailBodyAttachmentsItemFilenameMax = 255;
6274
- var replyToEmailBodyAttachmentsItemContentTypeMax = 255;
6282
+ var replyToEmailBodyAttachmentsItemOneFilenameMax = 255;
6283
+ var replyToEmailBodyAttachmentsItemOneContentTypeMax = 255;
6275
6284
  var replyToEmailBodyAttachmentsMax = 10;
6276
6285
  var ReplyToEmailBody = zod.object({
6277
6286
  body: zod.string().min(1),
@@ -6280,19 +6289,26 @@ var ReplyToEmailBody = zod.object({
6280
6289
  cc: zod.array(zod.string().email()).optional(),
6281
6290
  bcc: zod.array(zod.string().email()).optional(),
6282
6291
  attachments: zod.array(
6283
- zod.object({
6284
- filename: zod.string().min(1).max(replyToEmailBodyAttachmentsItemFilenameMax),
6285
- content_type: zod.string().min(1).max(replyToEmailBodyAttachmentsItemContentTypeMax),
6286
- content_base64: zod.string().min(1)
6287
- })
6292
+ zod.union([
6293
+ zod.object({
6294
+ type: zod.literal("base64"),
6295
+ filename: zod.string().min(1).max(replyToEmailBodyAttachmentsItemOneFilenameMax),
6296
+ content_type: zod.string().min(1).max(replyToEmailBodyAttachmentsItemOneContentTypeMax),
6297
+ content_base64: zod.string().min(1)
6298
+ }),
6299
+ zod.object({
6300
+ type: zod.literal("artifact"),
6301
+ artifact_id: zod.string().uuid()
6302
+ })
6303
+ ])
6288
6304
  ).max(replyToEmailBodyAttachmentsMax).optional()
6289
6305
  });
6290
6306
  var ReplyToEmailResponse = zod.object({
6291
6307
  sent: zod.boolean()
6292
6308
  });
6293
6309
  var sendEmailBodyIsHtmlDefault = true;
6294
- var sendEmailBodyAttachmentsItemFilenameMax = 255;
6295
- var sendEmailBodyAttachmentsItemContentTypeMax = 255;
6310
+ var sendEmailBodyAttachmentsItemOneFilenameMax = 255;
6311
+ var sendEmailBodyAttachmentsItemOneContentTypeMax = 255;
6296
6312
  var sendEmailBodyAttachmentsMax = 10;
6297
6313
  var SendEmailBody = zod.object({
6298
6314
  inbox_id: zod.string().min(1),
@@ -6304,11 +6320,18 @@ var SendEmailBody = zod.object({
6304
6320
  is_html: zod.boolean().default(sendEmailBodyIsHtmlDefault),
6305
6321
  claim_id: zod.string().optional(),
6306
6322
  attachments: zod.array(
6307
- zod.object({
6308
- filename: zod.string().min(1).max(sendEmailBodyAttachmentsItemFilenameMax),
6309
- content_type: zod.string().min(1).max(sendEmailBodyAttachmentsItemContentTypeMax),
6310
- content_base64: zod.string().min(1)
6311
- })
6323
+ zod.union([
6324
+ zod.object({
6325
+ type: zod.literal("base64"),
6326
+ filename: zod.string().min(1).max(sendEmailBodyAttachmentsItemOneFilenameMax),
6327
+ content_type: zod.string().min(1).max(sendEmailBodyAttachmentsItemOneContentTypeMax),
6328
+ content_base64: zod.string().min(1)
6329
+ }),
6330
+ zod.object({
6331
+ type: zod.literal("artifact"),
6332
+ artifact_id: zod.string().uuid()
6333
+ })
6334
+ ])
6312
6335
  ).max(sendEmailBodyAttachmentsMax).optional()
6313
6336
  });
6314
6337
  var SendEmailResponse = zod.object({
@@ -8965,4 +8988,4 @@ var transport = new StdioServerTransport();
8965
8988
  server.connect(transport).then(() => {
8966
8989
  console.error("MCP server running on stdio");
8967
8990
  }).catch(console.error);
8968
- //# sourceMappingURL=server-HM3KDTG5.js.map
8991
+ //# sourceMappingURL=server-SSGNSNHA.js.map