@keystrokehq/respond_io 0.1.0 → 0.1.3

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.
Files changed (65) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-comment.cjs +4 -4
  4. package/dist/actions/create-comment.cjs.map +1 -1
  5. package/dist/actions/create-comment.d.cts +13 -3
  6. package/dist/actions/create-comment.d.cts.map +1 -1
  7. package/dist/actions/create-comment.d.mts +13 -3
  8. package/dist/actions/create-comment.d.mts.map +1 -1
  9. package/dist/actions/create-comment.mjs +4 -4
  10. package/dist/actions/create-comment.mjs.map +1 -1
  11. package/dist/actions/create-contact.cjs +4 -4
  12. package/dist/actions/create-contact.cjs.map +1 -1
  13. package/dist/actions/create-contact.d.cts +33 -3
  14. package/dist/actions/create-contact.d.cts.map +1 -1
  15. package/dist/actions/create-contact.d.mts +33 -3
  16. package/dist/actions/create-contact.d.mts.map +1 -1
  17. package/dist/actions/create-contact.mjs +4 -4
  18. package/dist/actions/create-contact.mjs.map +1 -1
  19. package/dist/actions/create-space-tag.cjs +5 -5
  20. package/dist/actions/create-space-tag.cjs.map +1 -1
  21. package/dist/actions/create-space-tag.d.cts +18 -3
  22. package/dist/actions/create-space-tag.d.cts.map +1 -1
  23. package/dist/actions/create-space-tag.d.mts +18 -3
  24. package/dist/actions/create-space-tag.d.mts.map +1 -1
  25. package/dist/actions/create-space-tag.mjs +5 -5
  26. package/dist/actions/create-space-tag.mjs.map +1 -1
  27. package/dist/actions/get-message.cjs +13 -13
  28. package/dist/actions/get-message.cjs.map +1 -1
  29. package/dist/actions/get-message.d.cts +57 -3
  30. package/dist/actions/get-message.d.cts.map +1 -1
  31. package/dist/actions/get-message.d.mts +57 -3
  32. package/dist/actions/get-message.d.mts.map +1 -1
  33. package/dist/actions/get-message.mjs +13 -13
  34. package/dist/actions/get-message.mjs.map +1 -1
  35. package/dist/actions/list-channels.cjs +7 -7
  36. package/dist/actions/list-channels.cjs.map +1 -1
  37. package/dist/actions/list-channels.d.cts +39 -3
  38. package/dist/actions/list-channels.d.cts.map +1 -1
  39. package/dist/actions/list-channels.d.mts +39 -3
  40. package/dist/actions/list-channels.d.mts.map +1 -1
  41. package/dist/actions/list-channels.mjs +7 -7
  42. package/dist/actions/list-channels.mjs.map +1 -1
  43. package/dist/actions/list-users.cjs +10 -10
  44. package/dist/actions/list-users.cjs.map +1 -1
  45. package/dist/actions/list-users.d.cts +28 -3
  46. package/dist/actions/list-users.d.cts.map +1 -1
  47. package/dist/actions/list-users.d.mts +28 -3
  48. package/dist/actions/list-users.d.mts.map +1 -1
  49. package/dist/actions/list-users.mjs +10 -10
  50. package/dist/actions/list-users.mjs.map +1 -1
  51. package/dist/actions/update-space-tag.cjs +1 -1
  52. package/dist/actions/update-space-tag.cjs.map +1 -1
  53. package/dist/actions/update-space-tag.d.cts +21 -3
  54. package/dist/actions/update-space-tag.d.cts.map +1 -1
  55. package/dist/actions/update-space-tag.d.mts +21 -3
  56. package/dist/actions/update-space-tag.d.mts.map +1 -1
  57. package/dist/actions/update-space-tag.mjs +1 -1
  58. package/dist/actions/update-space-tag.mjs.map +1 -1
  59. package/dist/catalog.cjs +7 -1
  60. package/dist/catalog.cjs.map +1 -1
  61. package/dist/catalog.d.cts +8 -0
  62. package/dist/catalog.d.mts +8 -0
  63. package/dist/catalog.mjs +7 -1
  64. package/dist/catalog.mjs.map +1 -1
  65. package/package.json +2 -2
@@ -3,20 +3,20 @@ import { z } from "zod";
3
3
  //#region src/actions/list-users.ts
4
4
  const RespondIoListUsersInput = z.object({}).describe("Request model for listing all users in the workspace.");
5
5
  const RespondIoListUsers_TeamSchema = z.object({
6
- id: z.number().int().describe("Unique identifier of the team."),
7
- name: z.string().describe("Name of the team.")
8
- }).describe("Team object associated with a user.");
6
+ id: z.number().int().describe("Unique identifier of the team.").nullable(),
7
+ name: z.string().describe("Name of the team.").nullable()
8
+ }).passthrough().describe("Team object associated with a user.");
9
9
  const RespondIoListUsers_UserItemSchema = z.object({
10
- id: z.number().int().describe("Unique identifier of the user."),
10
+ id: z.number().int().describe("Unique identifier of the user.").nullable(),
11
11
  role: z.enum([
12
12
  "agent",
13
13
  "manager",
14
14
  "owner"
15
- ]).describe("Role of the user in the workspace."),
15
+ ]).describe("Role of the user in the workspace.").nullable(),
16
16
  team: RespondIoListUsers_TeamSchema.nullable().optional(),
17
- email: z.string().describe("Email address of the user."),
18
- lastName: z.string().describe("Last name of the user."),
19
- firstName: z.string().describe("First name of the user."),
17
+ email: z.string().describe("Email address of the user.").nullable(),
18
+ lastName: z.string().describe("Last name of the user.").nullable(),
19
+ firstName: z.string().describe("First name of the user.").nullable(),
20
20
  restrictions: z.array(z.enum([
21
21
  "restrict_data_export",
22
22
  "restrict_contact_deletion",
@@ -26,13 +26,13 @@ const RespondIoListUsers_UserItemSchema = z.object({
26
26
  "restrict_space_integration",
27
27
  "restrict_shortcuts"
28
28
  ])).describe("Workspace-level restrictions applied to the user.")
29
- }).describe("Represents a user in the workspace.");
29
+ }).passthrough().describe("Represents a user in the workspace.");
30
30
  const respondIoListUsers = action("RESPOND_IO_LIST_USERS", {
31
31
  slug: "respond_io-list-users",
32
32
  name: "List users",
33
33
  description: "Tool to retrieve a list of users in the workspace. Use when you need to fetch all workspace users for auditing or assignment.",
34
34
  input: RespondIoListUsersInput,
35
- output: z.object({ data: z.array(RespondIoListUsers_UserItemSchema).describe("List of users in the workspace.") }).describe("Response model containing a list of users in the workspace.")
35
+ output: z.object({ data: z.array(RespondIoListUsers_UserItemSchema).describe("List of users in the workspace.") }).passthrough().describe("Response model containing a list of users in the workspace.")
36
36
  });
37
37
  //#endregion
38
38
  export { respondIoListUsers };
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoListUsersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing all users in the workspace.\");\nconst RespondIoListUsers_TeamSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the team.\"),\n name: z.string().describe(\"Name of the team.\"),\n}).describe(\"Team object associated with a user.\");\nconst RespondIoListUsers_UserItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the user.\"),\n role: z.enum([\"agent\", \"manager\", \"owner\"]).describe(\"Role of the user in the workspace.\"),\n team: RespondIoListUsers_TeamSchema.nullable().optional(),\n email: z.string().describe(\"Email address of the user.\"),\n lastName: z.string().describe(\"Last name of the user.\"),\n firstName: z.string().describe(\"First name of the user.\"),\n restrictions: z.array(z.enum([\"restrict_data_export\", \"restrict_contact_deletion\", \"restrict_space_settings\", \"show_team_contacts\", \"show_only_mine\", \"restrict_space_integration\", \"restrict_shortcuts\"])).describe(\"Workspace-level restrictions applied to the user.\"),\n}).describe(\"Represents a user in the workspace.\");\nexport const RespondIoListUsersOutput: z.ZodTypeAny = z.object({\n data: z.array(RespondIoListUsers_UserItemSchema).describe(\"List of users in the workspace.\"),\n}).describe(\"Response model containing a list of users in the workspace.\");\n\nexport const respondIoListUsers = action(\"RESPOND_IO_LIST_USERS\", {\n slug: \"respond_io-list-users\",\n name: \"List users\",\n description: \"Tool to retrieve a list of users in the workspace. Use when you need to fetch all workspace users for auditing or assignment.\",\n input: RespondIoListUsersInput,\n output: RespondIoListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAClI,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AAC/C,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,oCAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAM,EAAE,KAAK;EAAC;EAAS;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC;CACzF,MAAM,8BAA8B,SAAS,CAAC,CAAC,SAAS;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACxD,cAAc,EAAE,MAAM,EAAE,KAAK;EAAC;EAAwB;EAA6B;EAA2B;EAAsB;EAAkB;EAA8B;CAAoB,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC1Q,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAC7F,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoListUsersInput = z.object({}).describe(\"Request model for listing all users in the workspace.\");\nconst RespondIoListUsers_TeamSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the team.\").nullable(),\n name: z.string().describe(\"Name of the team.\").nullable(),\n}).passthrough().describe(\"Team object associated with a user.\");\nconst RespondIoListUsers_UserItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user.\").nullable(),\n role: z.enum([\"agent\", \"manager\", \"owner\"]).describe(\"Role of the user in the workspace.\").nullable(),\n team: RespondIoListUsers_TeamSchema.nullable().optional(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n lastName: z.string().describe(\"Last name of the user.\").nullable(),\n firstName: z.string().describe(\"First name of the user.\").nullable(),\n restrictions: z.array(z.enum([\"restrict_data_export\", \"restrict_contact_deletion\", \"restrict_space_settings\", \"show_team_contacts\", \"show_only_mine\", \"restrict_space_integration\", \"restrict_shortcuts\"])).describe(\"Workspace-level restrictions applied to the user.\"),\n}).passthrough().describe(\"Represents a user in the workspace.\");\nexport const RespondIoListUsersOutput = z.object({\n data: z.array(RespondIoListUsers_UserItemSchema).describe(\"List of users in the workspace.\"),\n}).passthrough().describe(\"Response model containing a list of users in the workspace.\");\n\nexport const respondIoListUsers = action(\"RESPOND_IO_LIST_USERS\", {\n slug: \"respond_io-list-users\",\n name: \"List users\",\n description: \"Tool to retrieve a list of users in the workspace. Use when you need to fetch all workspace users for auditing or assignment.\",\n input: RespondIoListUsersInput,\n output: RespondIoListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACpH,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpG,MAAM,8BAA8B,SAAS,CAAC,CAAC,SAAS;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,cAAc,EAAE,MAAM,EAAE,KAAK;EAAC;EAAwB;EAA6B;EAA2B;EAAsB;EAAkB;EAA8B;CAAoB,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC1Q,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
@@ -14,7 +14,7 @@ const RespondIoUpdateSpaceTagOutput = zod.z.object({
14
14
  colorCode: zod.z.string().describe("Hex color code of the tag (usually empty string if not set)").nullable().optional(),
15
15
  createdAt: zod.z.number().int().describe("Unix timestamp when the tag was originally created").nullable().optional(),
16
16
  description: zod.z.string().describe("Updated description of the tag").nullable().optional()
17
- }).describe("Response model for an updated space tag.");
17
+ }).passthrough().describe("Response model for an updated space tag.");
18
18
  const respondIoUpdateSpaceTag = require_action.action("RESPOND_IO_UPDATE_SPACE_TAG", {
19
19
  slug: "respond_io-update-space-tag",
20
20
  name: "Update Space Tag",
@@ -1 +1 @@
1
- {"version":3,"file":"update-space-tag.cjs","names":["z","action"],"sources":["../../src/actions/update-space-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoUpdateSpaceTagInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"New name for the tag (if you want to rename it)\").optional(),\n emoji: z.string().describe(\"Emoji to associate with the tag (single emoji character)\").optional(),\n colorCode: z.string().describe(\"Hex color code for the tag (Note: Currently not supported by API and will return error if provided)\").optional(),\n currentName: z.string().describe(\"The current name of the tag you want to update (must match exactly)\"),\n description: z.string().describe(\"New description for the tag (updates or sets the description)\").optional(),\n}).describe(\"Request model for updating an existing space tag. At least one optional field must be provided.\");\nexport const RespondIoUpdateSpaceTagOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Updated name of the tag\").nullable().optional(),\n emoji: z.string().describe(\"Updated emoji associated with the tag\").nullable().optional(),\n colorCode: z.string().describe(\"Hex color code of the tag (usually empty string if not set)\").nullable().optional(),\n createdAt: z.number().int().describe(\"Unix timestamp when the tag was originally created\").nullable().optional(),\n description: z.string().describe(\"Updated description of the tag\").nullable().optional(),\n}).describe(\"Response model for an updated space tag.\");\n\nexport const respondIoUpdateSpaceTag = action(\"RESPOND_IO_UPDATE_SPACE_TAG\", {\n slug: \"respond_io-update-space-tag\",\n name: \"Update Space Tag\",\n description: \"Updates an existing workspace tag by its current name. You can modify the tag's name, description, or emoji. Note: Color codes are not currently supported by the API and will be rejected if provided. At least one field besides currentName must be provided to update.\",\n input: RespondIoUpdateSpaceTagInput,\n output: RespondIoUpdateSpaceTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,iGAAiG;AAC7G,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-space-tag.cjs","names":["z","action"],"sources":["../../src/actions/update-space-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoUpdateSpaceTagInput = z.object({\n name: z.string().describe(\"New name for the tag (if you want to rename it)\").optional(),\n emoji: z.string().describe(\"Emoji to associate with the tag (single emoji character)\").optional(),\n colorCode: z.string().describe(\"Hex color code for the tag (Note: Currently not supported by API and will return error if provided)\").optional(),\n currentName: z.string().describe(\"The current name of the tag you want to update (must match exactly)\"),\n description: z.string().describe(\"New description for the tag (updates or sets the description)\").optional(),\n}).describe(\"Request model for updating an existing space tag. At least one optional field must be provided.\");\nexport const RespondIoUpdateSpaceTagOutput = z.object({\n name: z.string().describe(\"Updated name of the tag\").nullable().optional(),\n emoji: z.string().describe(\"Updated emoji associated with the tag\").nullable().optional(),\n colorCode: z.string().describe(\"Hex color code of the tag (usually empty string if not set)\").nullable().optional(),\n createdAt: z.number().int().describe(\"Unix timestamp when the tag was originally created\").nullable().optional(),\n description: z.string().describe(\"Updated description of the tag\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated space tag.\");\n\nexport const respondIoUpdateSpaceTag = action(\"RESPOND_IO_UPDATE_SPACE_TAG\", {\n slug: \"respond_io-update-space-tag\",\n name: \"Update Space Tag\",\n description: \"Updates an existing workspace tag by its current name. You can modify the tag's name, description, or emoji. Note: Color codes are not currently supported by the API and will be rejected if provided. At least one field besides currentName must be provided to update.\",\n input: RespondIoUpdateSpaceTagInput,\n output: RespondIoUpdateSpaceTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,iGAAiG;AAC7G,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-space-tag.d.ts
4
- declare const RespondIoUpdateSpaceTagInput: z.ZodTypeAny;
5
- declare const RespondIoUpdateSpaceTagOutput: z.ZodTypeAny;
6
- declare const respondIoUpdateSpaceTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RespondIoUpdateSpaceTagInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ emoji: z.ZodOptional<z.ZodString>;
7
+ colorCode: z.ZodOptional<z.ZodString>;
8
+ currentName: z.ZodString;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const RespondIoUpdateSpaceTagOutput: z.ZodObject<{
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ emoji: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ colorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>;
18
+ declare const respondIoUpdateSpaceTag: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ currentName: string;
20
+ name?: string | undefined;
21
+ emoji?: string | undefined;
22
+ colorCode?: string | undefined;
23
+ description?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { respondIoUpdateSpaceTag };
9
27
  //# sourceMappingURL=update-space-tag.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-space-tag.d.cts","names":[],"sources":["../../src/actions/update-space-tag.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAMiE;AAAA,cACjG,6BAAA,EAA+B,CAAA,CAAE,UAMS;AAAA,cAE1C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-space-tag.d.cts","names":[],"sources":["../../src/actions/update-space-tag.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-space-tag.d.ts
4
- declare const RespondIoUpdateSpaceTagInput: z.ZodTypeAny;
5
- declare const RespondIoUpdateSpaceTagOutput: z.ZodTypeAny;
6
- declare const respondIoUpdateSpaceTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RespondIoUpdateSpaceTagInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ emoji: z.ZodOptional<z.ZodString>;
7
+ colorCode: z.ZodOptional<z.ZodString>;
8
+ currentName: z.ZodString;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const RespondIoUpdateSpaceTagOutput: z.ZodObject<{
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ emoji: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ colorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>;
18
+ declare const respondIoUpdateSpaceTag: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ currentName: string;
20
+ name?: string | undefined;
21
+ emoji?: string | undefined;
22
+ colorCode?: string | undefined;
23
+ description?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { respondIoUpdateSpaceTag };
9
27
  //# sourceMappingURL=update-space-tag.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-space-tag.d.mts","names":[],"sources":["../../src/actions/update-space-tag.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAMiE;AAAA,cACjG,6BAAA,EAA+B,CAAA,CAAE,UAMS;AAAA,cAE1C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-space-tag.d.mts","names":[],"sources":["../../src/actions/update-space-tag.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA"}
@@ -17,7 +17,7 @@ const respondIoUpdateSpaceTag = action("RESPOND_IO_UPDATE_SPACE_TAG", {
17
17
  colorCode: z.string().describe("Hex color code of the tag (usually empty string if not set)").nullable().optional(),
18
18
  createdAt: z.number().int().describe("Unix timestamp when the tag was originally created").nullable().optional(),
19
19
  description: z.string().describe("Updated description of the tag").nullable().optional()
20
- }).describe("Response model for an updated space tag.")
20
+ }).passthrough().describe("Response model for an updated space tag.")
21
21
  });
22
22
  //#endregion
23
23
  export { respondIoUpdateSpaceTag };
@@ -1 +1 @@
1
- {"version":3,"file":"update-space-tag.mjs","names":[],"sources":["../../src/actions/update-space-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoUpdateSpaceTagInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"New name for the tag (if you want to rename it)\").optional(),\n emoji: z.string().describe(\"Emoji to associate with the tag (single emoji character)\").optional(),\n colorCode: z.string().describe(\"Hex color code for the tag (Note: Currently not supported by API and will return error if provided)\").optional(),\n currentName: z.string().describe(\"The current name of the tag you want to update (must match exactly)\"),\n description: z.string().describe(\"New description for the tag (updates or sets the description)\").optional(),\n}).describe(\"Request model for updating an existing space tag. At least one optional field must be provided.\");\nexport const RespondIoUpdateSpaceTagOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Updated name of the tag\").nullable().optional(),\n emoji: z.string().describe(\"Updated emoji associated with the tag\").nullable().optional(),\n colorCode: z.string().describe(\"Hex color code of the tag (usually empty string if not set)\").nullable().optional(),\n createdAt: z.number().int().describe(\"Unix timestamp when the tag was originally created\").nullable().optional(),\n description: z.string().describe(\"Updated description of the tag\").nullable().optional(),\n}).describe(\"Response model for an updated space tag.\");\n\nexport const respondIoUpdateSpaceTag = action(\"RESPOND_IO_UPDATE_SPACE_TAG\", {\n slug: \"respond_io-update-space-tag\",\n name: \"Update Space Tag\",\n description: \"Updates an existing workspace tag by its current name. You can modify the tag's name, description, or emoji. Note: Color codes are not currently supported by the API and will be rejected if provided. At least one field besides currentName must be provided to update.\",\n input: RespondIoUpdateSpaceTagInput,\n output: RespondIoUpdateSpaceTagOutput,\n});\n"],"mappings":";;AAmBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,iGAaH;CACP,QAbyD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-space-tag.mjs","names":[],"sources":["../../src/actions/update-space-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoUpdateSpaceTagInput = z.object({\n name: z.string().describe(\"New name for the tag (if you want to rename it)\").optional(),\n emoji: z.string().describe(\"Emoji to associate with the tag (single emoji character)\").optional(),\n colorCode: z.string().describe(\"Hex color code for the tag (Note: Currently not supported by API and will return error if provided)\").optional(),\n currentName: z.string().describe(\"The current name of the tag you want to update (must match exactly)\"),\n description: z.string().describe(\"New description for the tag (updates or sets the description)\").optional(),\n}).describe(\"Request model for updating an existing space tag. At least one optional field must be provided.\");\nexport const RespondIoUpdateSpaceTagOutput = z.object({\n name: z.string().describe(\"Updated name of the tag\").nullable().optional(),\n emoji: z.string().describe(\"Updated emoji associated with the tag\").nullable().optional(),\n colorCode: z.string().describe(\"Hex color code of the tag (usually empty string if not set)\").nullable().optional(),\n createdAt: z.number().int().describe(\"Unix timestamp when the tag was originally created\").nullable().optional(),\n description: z.string().describe(\"Updated description of the tag\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated space tag.\");\n\nexport const respondIoUpdateSpaceTag = action(\"RESPOND_IO_UPDATE_SPACE_TAG\", {\n slug: \"respond_io-update-space-tag\",\n name: \"Update Space Tag\",\n description: \"Updates an existing workspace tag by its current name. You can modify the tag's name, description, or emoji. Note: Color codes are not currently supported by the API and will be rejected if provided. At least one field besides currentName must be provided to update.\",\n input: RespondIoUpdateSpaceTagInput,\n output: RespondIoUpdateSpaceTagOutput,\n});\n"],"mappings":";;AAmBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,iGAaH;CACP,QAb2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const respondIoCatalog = {
7
7
  "category": "Customer Support",
8
8
  "logo": "https://logos.composio.dev/api/respond_io",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "The API key required to authenticate requests to the respond.io API."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.respondIoCatalog = respondIoCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const respondIoCatalog = {\n \"slug\": \"respond_io\",\n \"name\": \"Respond.io\",\n \"description\": \"AI-powered customer conversation management software.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/respond_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const respondIoCatalog = {\n \"slug\": \"respond_io\",\n \"name\": \"Respond.io\",\n \"description\": \"AI-powered customer conversation management software.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/respond_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"The API key required to authenticate requests to the respond.io API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const respondIoCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/respond_io";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API key required to authenticate requests to the respond.io API.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { respondIoCatalog };
@@ -8,6 +8,14 @@ declare const respondIoCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/respond_io";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API key required to authenticate requests to the respond.io API.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { respondIoCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const respondIoCatalog = {
7
7
  "category": "Customer Support",
8
8
  "logo": "https://logos.composio.dev/api/respond_io",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "The API key required to authenticate requests to the respond.io API."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { respondIoCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const respondIoCatalog = {\n \"slug\": \"respond_io\",\n \"name\": \"Respond.io\",\n \"description\": \"AI-powered customer conversation management software.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/respond_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const respondIoCatalog = {\n \"slug\": \"respond_io\",\n \"name\": \"Respond.io\",\n \"description\": \"AI-powered customer conversation management software.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/respond_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"The API key required to authenticate requests to the respond.io API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/respond_io",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {