terse-types 0.0.72 → 0.0.73

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/Tools.d.ts CHANGED
@@ -196,6 +196,7 @@ export declare const linearSearchPaginationSchema: z.ZodObject<{
196
196
  export declare const slackUserResponseSchema: z.ZodObject<{
197
197
  id: z.ZodString;
198
198
  name: z.ZodString;
199
+ email: z.ZodOptional<z.ZodString>;
199
200
  }, z.core.$strip>;
200
201
  export declare const slackChannelListItemSchema: z.ZodObject<{
201
202
  id: z.ZodOptional<z.ZodString>;
@@ -2253,6 +2254,7 @@ export declare const slackListUsersTool: {
2253
2254
  users: z.ZodArray<z.ZodObject<{
2254
2255
  id: z.ZodString;
2255
2256
  name: z.ZodString;
2257
+ email: z.ZodOptional<z.ZodString>;
2256
2258
  }, z.core.$strip>>;
2257
2259
  count: z.ZodNumber;
2258
2260
  }, z.core.$strip>;
@@ -7829,6 +7831,7 @@ export declare const ToolDefinitions: {
7829
7831
  users: z.ZodArray<z.ZodObject<{
7830
7832
  id: z.ZodString;
7831
7833
  name: z.ZodString;
7834
+ email: z.ZodOptional<z.ZodString>;
7832
7835
  }, z.core.$strip>>;
7833
7836
  count: z.ZodNumber;
7834
7837
  }, z.core.$strip>;
package/dist/Tools.js CHANGED
@@ -101,7 +101,8 @@ export const linearSearchPaginationSchema = z.object({
101
101
  });
102
102
  export const slackUserResponseSchema = z.object({
103
103
  id: z.string(),
104
- name: z.string()
104
+ name: z.string(),
105
+ email: z.string().optional()
105
106
  });
106
107
  export const slackChannelListItemSchema = z.object({
107
108
  id: z.string().optional(),
@@ -574,7 +575,7 @@ export const slackListChannelsInputSchema = z.object({
574
575
  });
575
576
  export const slackListUsersInputSchema = z.object({
576
577
  integrationId: z.string().describe("The integration ID of the Slack workspace (user_slack_integrations id)."),
577
- query: z.string().nullable().optional().describe("Optional search query to filter users by name. Case-insensitive partial match.")
578
+ query: z.string().nullable().optional().describe("Optional search query to filter users by name or email. Case-insensitive partial match.")
578
579
  });
579
580
  export const slackReadConversationInputSchema = z.object({
580
581
  integrationId: z.string().describe("The integration ID of the Slack workspace (user_slack_integrations id)."),
package/dist/types.d.ts CHANGED
@@ -227,6 +227,7 @@ export declare const slackUsersResponseSchema: z.ZodObject<{
227
227
  users: z.ZodArray<z.ZodObject<{
228
228
  id: z.ZodString;
229
229
  name: z.ZodString;
230
+ email: z.ZodOptional<z.ZodString>;
230
231
  }, z.core.$strip>>;
231
232
  }, z.core.$strip>;
232
233
  export type SlackUsersResponse = z.infer<typeof slackUsersResponseSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terse-types",
3
- "version": "0.0.72",
3
+ "version": "0.0.73",
4
4
  "type": "module",
5
5
  "description": "Shared Terse TypeScript types, enums, constants, and helpers.",
6
6
  "main": "./dist/index.js",