@keystrokehq/respond_io 0.1.0

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 (90) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-comment.cjs +23 -0
  7. package/dist/actions/create-comment.cjs.map +1 -0
  8. package/dist/actions/create-comment.d.cts +9 -0
  9. package/dist/actions/create-comment.d.cts.map +1 -0
  10. package/dist/actions/create-comment.d.mts +9 -0
  11. package/dist/actions/create-comment.d.mts.map +1 -0
  12. package/dist/actions/create-comment.mjs +20 -0
  13. package/dist/actions/create-comment.mjs.map +1 -0
  14. package/dist/actions/create-contact.cjs +32 -0
  15. package/dist/actions/create-contact.cjs.map +1 -0
  16. package/dist/actions/create-contact.d.cts +9 -0
  17. package/dist/actions/create-contact.d.cts.map +1 -0
  18. package/dist/actions/create-contact.d.mts +9 -0
  19. package/dist/actions/create-contact.d.mts.map +1 -0
  20. package/dist/actions/create-contact.mjs +29 -0
  21. package/dist/actions/create-contact.mjs.map +1 -0
  22. package/dist/actions/create-space-tag.cjs +27 -0
  23. package/dist/actions/create-space-tag.cjs.map +1 -0
  24. package/dist/actions/create-space-tag.d.cts +9 -0
  25. package/dist/actions/create-space-tag.d.cts.map +1 -0
  26. package/dist/actions/create-space-tag.d.mts +9 -0
  27. package/dist/actions/create-space-tag.d.mts.map +1 -0
  28. package/dist/actions/create-space-tag.mjs +24 -0
  29. package/dist/actions/create-space-tag.mjs.map +1 -0
  30. package/dist/actions/get-message.cjs +67 -0
  31. package/dist/actions/get-message.cjs.map +1 -0
  32. package/dist/actions/get-message.d.cts +9 -0
  33. package/dist/actions/get-message.d.cts.map +1 -0
  34. package/dist/actions/get-message.d.mts +9 -0
  35. package/dist/actions/get-message.d.mts.map +1 -0
  36. package/dist/actions/get-message.mjs +66 -0
  37. package/dist/actions/get-message.mjs.map +1 -0
  38. package/dist/actions/index.cjs +15 -0
  39. package/dist/actions/index.d.cts +8 -0
  40. package/dist/actions/index.d.mts +8 -0
  41. package/dist/actions/index.mjs +8 -0
  42. package/dist/actions/list-channels.cjs +51 -0
  43. package/dist/actions/list-channels.cjs.map +1 -0
  44. package/dist/actions/list-channels.d.cts +9 -0
  45. package/dist/actions/list-channels.d.cts.map +1 -0
  46. package/dist/actions/list-channels.d.mts +9 -0
  47. package/dist/actions/list-channels.d.mts.map +1 -0
  48. package/dist/actions/list-channels.mjs +50 -0
  49. package/dist/actions/list-channels.mjs.map +1 -0
  50. package/dist/actions/list-users.cjs +41 -0
  51. package/dist/actions/list-users.cjs.map +1 -0
  52. package/dist/actions/list-users.d.cts +9 -0
  53. package/dist/actions/list-users.d.cts.map +1 -0
  54. package/dist/actions/list-users.d.mts +9 -0
  55. package/dist/actions/list-users.d.mts.map +1 -0
  56. package/dist/actions/list-users.mjs +40 -0
  57. package/dist/actions/list-users.mjs.map +1 -0
  58. package/dist/actions/update-space-tag.cjs +28 -0
  59. package/dist/actions/update-space-tag.cjs.map +1 -0
  60. package/dist/actions/update-space-tag.d.cts +9 -0
  61. package/dist/actions/update-space-tag.d.cts.map +1 -0
  62. package/dist/actions/update-space-tag.d.mts +9 -0
  63. package/dist/actions/update-space-tag.d.mts.map +1 -0
  64. package/dist/actions/update-space-tag.mjs +25 -0
  65. package/dist/actions/update-space-tag.mjs.map +1 -0
  66. package/dist/app.cjs +9 -0
  67. package/dist/app.cjs.map +1 -0
  68. package/dist/app.d.cts +5 -0
  69. package/dist/app.d.cts.map +1 -0
  70. package/dist/app.d.mts +5 -0
  71. package/dist/app.d.mts.map +1 -0
  72. package/dist/app.mjs +10 -0
  73. package/dist/app.mjs.map +1 -0
  74. package/dist/catalog.cjs +15 -0
  75. package/dist/catalog.cjs.map +1 -0
  76. package/dist/catalog.d.cts +14 -0
  77. package/dist/catalog.d.cts.map +1 -0
  78. package/dist/catalog.d.mts +14 -0
  79. package/dist/catalog.d.mts.map +1 -0
  80. package/dist/catalog.mjs +15 -0
  81. package/dist/catalog.mjs.map +1 -0
  82. package/dist/execute.cjs +18 -0
  83. package/dist/execute.cjs.map +1 -0
  84. package/dist/execute.mjs +18 -0
  85. package/dist/execute.mjs.map +1 -0
  86. package/dist/index.cjs +20 -0
  87. package/dist/index.d.cts +10 -0
  88. package/dist/index.d.mts +10 -0
  89. package/dist/index.mjs +11 -0
  90. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/respond_io
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `respond_io`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 7
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { respondIoCreateComment } from "@keystrokehq/respond_io/actions";
12
+
13
+ export default defineAgent({
14
+ key: "respond_io-agent",
15
+ tools: [respondIoCreateComment],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.respondIo.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executeRespondIoTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["respondIo","executeRespondIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { respondIo } from \"./app\";\nimport { executeRespondIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return respondIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRespondIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { respondIo } from "./app.mjs";
2
+ import { executeRespondIoTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return respondIo.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executeRespondIoTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { respondIo } from \"./app\";\nimport { executeRespondIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return respondIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRespondIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-comment.ts
4
+ const RespondIoCreateCommentInput = zod.z.object({
5
+ text: zod.z.string().describe("Content of the comment (internal note), up to 1000 characters. You can mention other users using `{{@user.ID}}`."),
6
+ identifier: zod.z.string().describe("Identifier of the contact; either 'id:<contact_id>', 'email:<email>' or 'phone:<E.164_phone>'. Example: 'id:123', 'email:abdc@gmail.com', 'phone:+60121233112'")
7
+ }).describe("Request model for adding an internal comment to a contact's conversation.");
8
+ const RespondIoCreateCommentOutput = zod.z.object({
9
+ text: zod.z.string().describe("Text of the created comment."),
10
+ contactId: zod.z.number().int().describe("Numeric ID of the contact for which the comment was added."),
11
+ created_at: zod.z.number().int().describe("Unix timestamp (in seconds) when the comment was created.")
12
+ }).describe("Response model for the created comment.");
13
+ const respondIoCreateComment = require_action.action("RESPOND_IO_CREATE_COMMENT", {
14
+ slug: "respond_io-create-comment",
15
+ name: "Add internal comment to conversation",
16
+ description: "Tool to add a comment (internal note) to a contact's conversation. Use after verifying the contact identifier.",
17
+ input: RespondIoCreateCommentInput,
18
+ output: RespondIoCreateCommentOutput
19
+ });
20
+ //#endregion
21
+ exports.respondIoCreateComment = respondIoCreateComment;
22
+
23
+ //# sourceMappingURL=create-comment.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-comment.cjs","names":["z","action"],"sources":["../../src/actions/create-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoCreateCommentInput: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Content of the comment (internal note), up to 1000 characters. You can mention other users using `{{@user.ID}}`.\"),\n identifier: z.string().describe(\"Identifier of the contact; either 'id:<contact_id>', 'email:<email>' or 'phone:<E.164_phone>'. Example: 'id:123', 'email:abdc@gmail.com', 'phone:+60121233112'\"),\n}).describe(\"Request model for adding an internal comment to a contact's conversation.\");\nexport const RespondIoCreateCommentOutput: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Text of the created comment.\"),\n contactId: z.number().int().describe(\"Numeric ID of the contact for which the comment was added.\"),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the comment was created.\"),\n}).describe(\"Response model for the created comment.\");\n\nexport const respondIoCreateComment = action(\"RESPOND_IO_CREATE_COMMENT\", {\n slug: \"respond_io-create-comment\",\n name: \"Add internal comment to conversation\",\n description: \"Tool to add a comment (internal note) to a contact's conversation. Use after verifying the contact identifier.\",\n input: RespondIoCreateCommentInput,\n output: RespondIoCreateCommentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CAC5I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AAClM,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AACnG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-comment.d.ts
4
+ declare const RespondIoCreateCommentInput: z.ZodTypeAny;
5
+ declare const RespondIoCreateCommentOutput: z.ZodTypeAny;
6
+ declare const respondIoCreateComment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { respondIoCreateComment };
9
+ //# sourceMappingURL=create-comment.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-comment.d.cts","names":[],"sources":["../../src/actions/create-comment.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG4C;AAAA,cAC3E,4BAAA,EAA8B,CAAA,CAAE,UAIS;AAAA,cAEzC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-comment.d.ts
4
+ declare const RespondIoCreateCommentInput: z.ZodTypeAny;
5
+ declare const RespondIoCreateCommentOutput: z.ZodTypeAny;
6
+ declare const respondIoCreateComment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { respondIoCreateComment };
9
+ //# sourceMappingURL=create-comment.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-comment.d.mts","names":[],"sources":["../../src/actions/create-comment.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG4C;AAAA,cAC3E,4BAAA,EAA8B,CAAA,CAAE,UAIS;AAAA,cAEzC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const respondIoCreateComment = action("RESPOND_IO_CREATE_COMMENT", {
4
+ slug: "respond_io-create-comment",
5
+ name: "Add internal comment to conversation",
6
+ description: "Tool to add a comment (internal note) to a contact's conversation. Use after verifying the contact identifier.",
7
+ input: z.object({
8
+ text: z.string().describe("Content of the comment (internal note), up to 1000 characters. You can mention other users using `{{@user.ID}}`."),
9
+ identifier: z.string().describe("Identifier of the contact; either 'id:<contact_id>', 'email:<email>' or 'phone:<E.164_phone>'. Example: 'id:123', 'email:abdc@gmail.com', 'phone:+60121233112'")
10
+ }).describe("Request model for adding an internal comment to a contact's conversation."),
11
+ output: z.object({
12
+ text: z.string().describe("Text of the created comment."),
13
+ contactId: z.number().int().describe("Numeric ID of the contact for which the comment was added."),
14
+ created_at: z.number().int().describe("Unix timestamp (in seconds) when the comment was created.")
15
+ }).describe("Response model for the created comment.")
16
+ });
17
+ //#endregion
18
+ export { respondIoCreateComment };
19
+
20
+ //# sourceMappingURL=create-comment.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-comment.mjs","names":[],"sources":["../../src/actions/create-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoCreateCommentInput: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Content of the comment (internal note), up to 1000 characters. You can mention other users using `{{@user.ID}}`.\"),\n identifier: z.string().describe(\"Identifier of the contact; either 'id:<contact_id>', 'email:<email>' or 'phone:<E.164_phone>'. Example: 'id:123', 'email:abdc@gmail.com', 'phone:+60121233112'\"),\n}).describe(\"Request model for adding an internal comment to a contact's conversation.\");\nexport const RespondIoCreateCommentOutput: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Text of the created comment.\"),\n contactId: z.number().int().describe(\"Numeric ID of the contact for which the comment was added.\"),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the comment was created.\"),\n}).describe(\"Response model for the created comment.\");\n\nexport const respondIoCreateComment = action(\"RESPOND_IO_CREATE_COMMENT\", {\n slug: \"respond_io-create-comment\",\n name: \"Add internal comment to conversation\",\n description: \"Tool to add a comment (internal note) to a contact's conversation. Use after verifying the contact identifier.\",\n input: RespondIoCreateCommentInput,\n output: RespondIoCreateCommentOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;EAC5I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAClM,CAAC,CAAC,CAAC,SAAS,2EAWH;CACP,QAXwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACxD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACnG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-contact.ts
4
+ const RespondIoCreateContactInput = zod.z.object({
5
+ email: zod.z.string().describe("Email address of the contact").optional(),
6
+ phone: zod.z.string().describe("Phone number of the contact including country code").optional(),
7
+ language: zod.z.string().describe("ISO 639-1 two-letter language code (e.g., 'en' for English, 'es' for Spanish)").optional(),
8
+ lastName: zod.z.string().describe("Last name of the contact").optional(),
9
+ firstName: zod.z.string().describe("First name of the contact"),
10
+ identifier: zod.z.string().describe("Unique identifier for the contact in one of these formats: 'email:<email_address>' (e.g., 'email:john@example.com'), 'phone:<phone_number>' (e.g., 'phone:+60121233112' with country code), or an existing contact ID"),
11
+ profilePic: zod.z.string().describe("URL of the contact's profile picture").optional(),
12
+ countryCode: zod.z.string().describe("ISO 3166-1 alpha-2 two-letter country code (e.g., 'US' for United States, 'MY' for Malaysia)").optional(),
13
+ custom_fields: zod.z.array(zod.z.object({
14
+ name: zod.z.string().describe("Name of the custom field"),
15
+ value: zod.z.string().describe("Value of the custom field").optional()
16
+ })).describe("List of custom fields for the contact. Note: Custom fields must already exist in the workspace before they can be assigned to a contact").optional()
17
+ });
18
+ const RespondIoCreateContactOutput = zod.z.object({
19
+ code: zod.z.number().int().describe("HTTP status code of the response"),
20
+ message: zod.z.string().describe("API response message")
21
+ });
22
+ const respondIoCreateContact = require_action.action("RESPOND_IO_CREATE_CONTACT", {
23
+ slug: "respond_io-create-contact",
24
+ name: "Create Contact",
25
+ description: "Creates a new contact in the respond.io workspace with the specified details. The contact is identified by email, phone number, or contact ID. Supports adding profile information, language preferences, and custom fields that have been pre-configured in the workspace.",
26
+ input: RespondIoCreateContactInput,
27
+ output: RespondIoCreateContactOutput
28
+ });
29
+ //#endregion
30
+ exports.respondIoCreateContact = respondIoCreateContact;
31
+
32
+ //# sourceMappingURL=create-contact.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoCreateContactInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the contact\").optional(),\n phone: z.string().describe(\"Phone number of the contact including country code\").optional(),\n language: z.string().describe(\"ISO 639-1 two-letter language code (e.g., 'en' for English, 'es' for Spanish)\").optional(),\n lastName: z.string().describe(\"Last name of the contact\").optional(),\n firstName: z.string().describe(\"First name of the contact\"),\n identifier: z.string().describe(\"Unique identifier for the contact in one of these formats: 'email:<email_address>' (e.g., 'email:john@example.com'), 'phone:<phone_number>' (e.g., 'phone:+60121233112' with country code), or an existing contact ID\"),\n profilePic: z.string().describe(\"URL of the contact's profile picture\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 two-letter country code (e.g., 'US' for United States, 'MY' for Malaysia)\").optional(),\n custom_fields: z.array(z.object({\n name: z.string().describe(\"Name of the custom field\"),\n value: z.string().describe(\"Value of the custom field\").optional(),\n})).describe(\"List of custom fields for the contact. Note: Custom fields must already exist in the workspace before they can be assigned to a contact\").optional(),\n});\nexport const RespondIoCreateContactOutput: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"HTTP status code of the response\"),\n message: z.string().describe(\"API response message\"),\n});\n\nexport const respondIoCreateContact = action(\"RESPOND_IO_CREATE_CONTACT\", {\n slug: \"respond_io-create-contact\",\n name: \"Create Contact\",\n description: \"Creates a new contact in the respond.io workspace with the specified details. The contact is identified by email, phone number, or contact ID. Supports adding profile information, language preferences, and custom fields that have been pre-configured in the workspace.\",\n input: RespondIoCreateContactInput,\n output: RespondIoCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACxH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN;CACvP,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1I,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAChC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,CAAC,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AACjK,CAAC;AACD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACrD,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-contact.d.ts
4
+ declare const RespondIoCreateContactInput: z.ZodTypeAny;
5
+ declare const RespondIoCreateContactOutput: z.ZodTypeAny;
6
+ declare const respondIoCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { respondIoCreateContact };
9
+ //# sourceMappingURL=create-contact.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAa1C;AAAA,cACW,4BAAA,EAA8B,CAAA,CAAE,UAG3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-contact.d.ts
4
+ declare const RespondIoCreateContactInput: z.ZodTypeAny;
5
+ declare const RespondIoCreateContactOutput: z.ZodTypeAny;
6
+ declare const respondIoCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { respondIoCreateContact };
9
+ //# sourceMappingURL=create-contact.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAa1C;AAAA,cACW,4BAAA,EAA8B,CAAA,CAAE,UAG3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,29 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const respondIoCreateContact = action("RESPOND_IO_CREATE_CONTACT", {
4
+ slug: "respond_io-create-contact",
5
+ name: "Create Contact",
6
+ description: "Creates a new contact in the respond.io workspace with the specified details. The contact is identified by email, phone number, or contact ID. Supports adding profile information, language preferences, and custom fields that have been pre-configured in the workspace.",
7
+ input: z.object({
8
+ email: z.string().describe("Email address of the contact").optional(),
9
+ phone: z.string().describe("Phone number of the contact including country code").optional(),
10
+ language: z.string().describe("ISO 639-1 two-letter language code (e.g., 'en' for English, 'es' for Spanish)").optional(),
11
+ lastName: z.string().describe("Last name of the contact").optional(),
12
+ firstName: z.string().describe("First name of the contact"),
13
+ identifier: z.string().describe("Unique identifier for the contact in one of these formats: 'email:<email_address>' (e.g., 'email:john@example.com'), 'phone:<phone_number>' (e.g., 'phone:+60121233112' with country code), or an existing contact ID"),
14
+ profilePic: z.string().describe("URL of the contact's profile picture").optional(),
15
+ countryCode: z.string().describe("ISO 3166-1 alpha-2 two-letter country code (e.g., 'US' for United States, 'MY' for Malaysia)").optional(),
16
+ custom_fields: z.array(z.object({
17
+ name: z.string().describe("Name of the custom field"),
18
+ value: z.string().describe("Value of the custom field").optional()
19
+ })).describe("List of custom fields for the contact. Note: Custom fields must already exist in the workspace before they can be assigned to a contact").optional()
20
+ }),
21
+ output: z.object({
22
+ code: z.number().int().describe("HTTP status code of the response"),
23
+ message: z.string().describe("API response message")
24
+ })
25
+ });
26
+ //#endregion
27
+ export { respondIoCreateContact };
28
+
29
+ //# sourceMappingURL=create-contact.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoCreateContactInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the contact\").optional(),\n phone: z.string().describe(\"Phone number of the contact including country code\").optional(),\n language: z.string().describe(\"ISO 639-1 two-letter language code (e.g., 'en' for English, 'es' for Spanish)\").optional(),\n lastName: z.string().describe(\"Last name of the contact\").optional(),\n firstName: z.string().describe(\"First name of the contact\"),\n identifier: z.string().describe(\"Unique identifier for the contact in one of these formats: 'email:<email_address>' (e.g., 'email:john@example.com'), 'phone:<phone_number>' (e.g., 'phone:+60121233112' with country code), or an existing contact ID\"),\n profilePic: z.string().describe(\"URL of the contact's profile picture\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 two-letter country code (e.g., 'US' for United States, 'MY' for Malaysia)\").optional(),\n custom_fields: z.array(z.object({\n name: z.string().describe(\"Name of the custom field\"),\n value: z.string().describe(\"Value of the custom field\").optional(),\n})).describe(\"List of custom fields for the contact. Note: Custom fields must already exist in the workspace before they can be assigned to a contact\").optional(),\n});\nexport const RespondIoCreateContactOutput: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"HTTP status code of the response\"),\n message: z.string().describe(\"API response message\"),\n});\n\nexport const respondIoCreateContact = action(\"RESPOND_IO_CREATE_CONTACT\", {\n slug: \"respond_io-create-contact\",\n name: \"Create Contact\",\n description: \"Creates a new contact in the respond.io workspace with the specified details. The contact is identified by email, phone number, or contact ID. Supports adding profile information, language preferences, and custom fields that have been pre-configured in the workspace.\",\n input: RespondIoCreateContactInput,\n output: RespondIoCreateContactOutput,\n});\n"],"mappings":";;AAuBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACxH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN;EACvP,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC1I,eAAe,EAAE,MAAM,EAAE,OAAO;GAChC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;GACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACnE,CAAC,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;CACjK,CAUS;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACrD,CAOU;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-space-tag.ts
4
+ const RespondIoCreateSpaceTagInput = zod.z.object({
5
+ name: zod.z.string().describe("Name of the tag. Must be unique within the workspace. Cannot contain emojis or certain invalid characters. Supports spaces, letters, numbers, and common special characters like !@#$%."),
6
+ color_code: zod.z.string().describe("(Optional) Hexadecimal color code for visual identification of the tag in the UI, e.g., '#FF5733'. Note: Currently the API may reject this parameter with validation errors.").optional(),
7
+ description: zod.z.string().describe("(Optional) Brief text describing the tag's purpose or usage. Helps team members understand when to apply this tag.").optional()
8
+ }).describe("Request payload to create a new tag in a respond.io workspace.");
9
+ const RespondIoCreateSpaceTagOutput = zod.z.object({
10
+ id: zod.z.string().describe("Unique numeric identifier of the created tag, returned as a string. Use this ID for updating, deleting, or referencing the tag in other API calls."),
11
+ name: zod.z.string().describe("The name of the tag exactly as stored in the workspace."),
12
+ color_code: zod.z.string().describe("The tag's color code in hexadecimal format. Typically null/empty in responses as the API currently doesn't support setting colors.").nullable().optional(),
13
+ created_at: zod.z.string().describe("ISO 8601 formatted UTC timestamp indicating when the tag was created."),
14
+ updated_at: zod.z.string().describe("ISO 8601 formatted UTC timestamp indicating when the tag was last modified. For newly created tags, this equals created_at."),
15
+ description: zod.z.string().describe("The tag's description text if provided, otherwise null.").nullable().optional()
16
+ }).describe("Response schema for a newly created workspace tag.");
17
+ const respondIoCreateSpaceTag = require_action.action("RESPOND_IO_CREATE_SPACE_TAG", {
18
+ slug: "respond_io-create-space-tag",
19
+ name: "Create Space Tag",
20
+ description: "Creates a new tag in the Respond.io workspace for organizing and categorizing contacts and conversations. Tags help with segmentation, filtering, and workflow automation. Each tag must have a unique name within the workspace.",
21
+ input: RespondIoCreateSpaceTagInput,
22
+ output: RespondIoCreateSpaceTagOutput
23
+ });
24
+ //#endregion
25
+ exports.respondIoCreateSpaceTag = respondIoCreateSpaceTag;
26
+
27
+ //# sourceMappingURL=create-space-tag.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-space-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoCreateSpaceTagInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the tag. Must be unique within the workspace. Cannot contain emojis or certain invalid characters. Supports spaces, letters, numbers, and common special characters like !@#$%.\"),\n color_code: z.string().describe(\"(Optional) Hexadecimal color code for visual identification of the tag in the UI, e.g., '#FF5733'. Note: Currently the API may reject this parameter with validation errors.\").optional(),\n description: z.string().describe(\"(Optional) Brief text describing the tag's purpose or usage. Helps team members understand when to apply this tag.\").optional(),\n}).describe(\"Request payload to create a new tag in a respond.io workspace.\");\nexport const RespondIoCreateSpaceTagOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique numeric identifier of the created tag, returned as a string. Use this ID for updating, deleting, or referencing the tag in other API calls.\"),\n name: z.string().describe(\"The name of the tag exactly as stored in the workspace.\"),\n color_code: z.string().describe(\"The tag's color code in hexadecimal format. Typically null/empty in responses as the API currently doesn't support setting colors.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 formatted UTC timestamp indicating when the tag was created.\"),\n updated_at: z.string().describe(\"ISO 8601 formatted UTC timestamp indicating when the tag was last modified. For newly created tags, this equals created_at.\"),\n description: z.string().describe(\"The tag's description text if provided, otherwise null.\").nullable().optional(),\n}).describe(\"Response schema for a newly created workspace tag.\");\n\nexport const respondIoCreateSpaceTag = action(\"RESPOND_IO_CREATE_SPACE_TAG\", {\n slug: \"respond_io-create-space-tag\",\n name: \"Create Space Tag\",\n description: \"Creates a new tag in the Respond.io workspace for organizing and categorizing contacts and conversations. Tags help with segmentation, filtering, and workflow automation. Each tag must have a unique name within the workspace.\",\n input: RespondIoCreateSpaceTagInput,\n output: RespondIoCreateSpaceTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;CACnN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CACzN,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;CAC5K,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CAC7J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-space-tag.d.ts
4
+ declare const RespondIoCreateSpaceTagInput: z.ZodTypeAny;
5
+ declare const RespondIoCreateSpaceTagOutput: z.ZodTypeAny;
6
+ declare const respondIoCreateSpaceTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { respondIoCreateSpaceTag };
9
+ //# sourceMappingURL=create-space-tag.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space-tag.d.cts","names":[],"sources":["../../src/actions/create-space-tag.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAIgC;AAAA,cAChE,6BAAA,EAA+B,CAAA,CAAE,UAOmB;AAAA,cAEpD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-space-tag.d.ts
4
+ declare const RespondIoCreateSpaceTagInput: z.ZodTypeAny;
5
+ declare const RespondIoCreateSpaceTagOutput: z.ZodTypeAny;
6
+ declare const respondIoCreateSpaceTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { respondIoCreateSpaceTag };
9
+ //# sourceMappingURL=create-space-tag.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space-tag.d.mts","names":[],"sources":["../../src/actions/create-space-tag.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAIgC;AAAA,cAChE,6BAAA,EAA+B,CAAA,CAAE,UAOmB;AAAA,cAEpD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const respondIoCreateSpaceTag = action("RESPOND_IO_CREATE_SPACE_TAG", {
4
+ slug: "respond_io-create-space-tag",
5
+ name: "Create Space Tag",
6
+ description: "Creates a new tag in the Respond.io workspace for organizing and categorizing contacts and conversations. Tags help with segmentation, filtering, and workflow automation. Each tag must have a unique name within the workspace.",
7
+ input: z.object({
8
+ name: z.string().describe("Name of the tag. Must be unique within the workspace. Cannot contain emojis or certain invalid characters. Supports spaces, letters, numbers, and common special characters like !@#$%."),
9
+ color_code: z.string().describe("(Optional) Hexadecimal color code for visual identification of the tag in the UI, e.g., '#FF5733'. Note: Currently the API may reject this parameter with validation errors.").optional(),
10
+ description: z.string().describe("(Optional) Brief text describing the tag's purpose or usage. Helps team members understand when to apply this tag.").optional()
11
+ }).describe("Request payload to create a new tag in a respond.io workspace."),
12
+ output: z.object({
13
+ id: z.string().describe("Unique numeric identifier of the created tag, returned as a string. Use this ID for updating, deleting, or referencing the tag in other API calls."),
14
+ name: z.string().describe("The name of the tag exactly as stored in the workspace."),
15
+ color_code: z.string().describe("The tag's color code in hexadecimal format. Typically null/empty in responses as the API currently doesn't support setting colors.").nullable().optional(),
16
+ created_at: z.string().describe("ISO 8601 formatted UTC timestamp indicating when the tag was created."),
17
+ updated_at: z.string().describe("ISO 8601 formatted UTC timestamp indicating when the tag was last modified. For newly created tags, this equals created_at."),
18
+ description: z.string().describe("The tag's description text if provided, otherwise null.").nullable().optional()
19
+ }).describe("Response schema for a newly created workspace tag.")
20
+ });
21
+ //#endregion
22
+ export { respondIoCreateSpaceTag };
23
+
24
+ //# sourceMappingURL=create-space-tag.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-space-tag.mjs","names":[],"sources":["../../src/actions/create-space-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoCreateSpaceTagInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the tag. Must be unique within the workspace. Cannot contain emojis or certain invalid characters. Supports spaces, letters, numbers, and common special characters like !@#$%.\"),\n color_code: z.string().describe(\"(Optional) Hexadecimal color code for visual identification of the tag in the UI, e.g., '#FF5733'. Note: Currently the API may reject this parameter with validation errors.\").optional(),\n description: z.string().describe(\"(Optional) Brief text describing the tag's purpose or usage. Helps team members understand when to apply this tag.\").optional(),\n}).describe(\"Request payload to create a new tag in a respond.io workspace.\");\nexport const RespondIoCreateSpaceTagOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique numeric identifier of the created tag, returned as a string. Use this ID for updating, deleting, or referencing the tag in other API calls.\"),\n name: z.string().describe(\"The name of the tag exactly as stored in the workspace.\"),\n color_code: z.string().describe(\"The tag's color code in hexadecimal format. Typically null/empty in responses as the API currently doesn't support setting colors.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 formatted UTC timestamp indicating when the tag was created.\"),\n updated_at: z.string().describe(\"ISO 8601 formatted UTC timestamp indicating when the tag was last modified. For newly created tags, this equals created_at.\"),\n description: z.string().describe(\"The tag's description text if provided, otherwise null.\").nullable().optional(),\n}).describe(\"Response schema for a newly created workspace tag.\");\n\nexport const respondIoCreateSpaceTag = action(\"RESPOND_IO_CREATE_SPACE_TAG\", {\n slug: \"respond_io-create-space-tag\",\n name: \"Create Space Tag\",\n description: \"Creates a new tag in the Respond.io workspace for organizing and categorizing contacts and conversations. Tags help with segmentation, filtering, and workflow automation. Each tag must have a unique name within the workspace.\",\n input: RespondIoCreateSpaceTagInput,\n output: RespondIoCreateSpaceTagOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;EACnN,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;EACzN,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAClK,CAAC,CAAC,CAAC,SAAS,gEAcH;CACP,QAdyD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;EAC5K,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;EAC7J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -0,0 +1,67 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-message.ts
4
+ const RespondIoGetMessageInput = zod.z.object({
5
+ messageId: zod.z.number().int().describe("Unique ID of the message to retrieve."),
6
+ identifier: zod.z.string().describe("Identifier of the contact, can be a phone number ('+60121233112'), email ('abdc@gmail.com'), or contact ID prefixed by 'id:' (e.g., 'id:123').")
7
+ }).describe("Request model for retrieving a specific message by its ID.");
8
+ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEStatusSchema = zod.z.object({
9
+ value: zod.z.enum([
10
+ "pending",
11
+ "sent",
12
+ "delivered",
13
+ "read",
14
+ "failed"
15
+ ]).describe("Delivery status of the message."),
16
+ message: zod.z.string().describe("Reason for failure, if status is 'failed'.").nullable().optional(),
17
+ timestamp: zod.z.number().int().describe("Unix timestamp in seconds indicating when the status was recorded.")
18
+ });
19
+ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema = zod.z.object({
20
+ url: zod.z.string().describe("URL of the attachment."),
21
+ type: zod.z.enum([
22
+ "image",
23
+ "video",
24
+ "audio",
25
+ "file"
26
+ ]).describe("Type of the attachment."),
27
+ fileName: zod.z.string().describe("Name of the file.").nullable().optional(),
28
+ mimeType: zod.z.string().describe("MIME type of the attachment (e.g., 'image/png').").nullable().optional(),
29
+ description: zod.z.string().describe("Optional description of the attachment.").nullable().optional()
30
+ });
31
+ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema = zod.z.object({
32
+ text: zod.z.string().describe("Text content of the message (for text messages).").nullable().optional(),
33
+ type: zod.z.enum([
34
+ "text",
35
+ "image",
36
+ "video",
37
+ "audio",
38
+ "file",
39
+ "attachment"
40
+ ]).describe("Type of the message. Supported types: text, image, video, audio, file, attachment."),
41
+ attachment: RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema.nullable().optional(),
42
+ messageTag: zod.z.enum([
43
+ "ACCOUNT_UPDATE",
44
+ "POST_PURCHASE_UPDATE",
45
+ "CONFIRMED_EVENT_UPDATE"
46
+ ]).describe("Tag for Facebook/Instagram messages sent outside 24h window. Allowed values: ACCOUNT_UPDATE, POST_PURCHASE_UPDATE, CONFIRMED_EVENT_UPDATE.").nullable().optional()
47
+ });
48
+ const RespondIoGetMessageOutput = zod.z.object({
49
+ status: zod.z.array(RespondIoGetMessage_RESPOND_IO_GET_MESSAGEStatusSchema).describe("Delivery statuses of the message."),
50
+ message: RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema.nullable(),
51
+ traffic: zod.z.enum(["outgoing", "incoming"]).describe("Defines if the message was sent ('outgoing') or received ('incoming')."),
52
+ channelId: zod.z.number().int().describe("ID of the channel through which the message was sent/received."),
53
+ contactId: zod.z.number().int().describe("ID of the contact associated with the message."),
54
+ messageId: zod.z.number().int().describe("Unique ID of the message."),
55
+ channelMessageId: zod.z.string().describe("Identifier of the message on the channel.").nullable().optional()
56
+ });
57
+ const respondIoGetMessage = require_action.action("RESPOND_IO_GET_MESSAGE", {
58
+ slug: "respond_io-get-message",
59
+ name: "Get Message",
60
+ description: "Tool to retrieve a specific message. Use when you need the details of a message sent to or received from a contact.",
61
+ input: RespondIoGetMessageInput,
62
+ output: RespondIoGetMessageOutput
63
+ });
64
+ //#endregion
65
+ exports.respondIoGetMessage = respondIoGetMessage;
66
+
67
+ //# sourceMappingURL=get-message.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-message.cjs","names":["z","action"],"sources":["../../src/actions/get-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoGetMessageInput: z.ZodTypeAny = z.object({\n messageId: z.number().int().describe(\"Unique ID of the message to retrieve.\"),\n identifier: z.string().describe(\"Identifier of the contact, can be a phone number ('+60121233112'), email ('abdc@gmail.com'), or contact ID prefixed by 'id:' (e.g., 'id:123').\"),\n}).describe(\"Request model for retrieving a specific message by its ID.\");\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEStatusSchema: z.ZodTypeAny = z.object({\n value: z.enum([\"pending\", \"sent\", \"delivered\", \"read\", \"failed\"]).describe(\"Delivery status of the message.\"),\n message: z.string().describe(\"Reason for failure, if status is 'failed'.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp in seconds indicating when the status was recorded.\"),\n});\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the attachment.\"),\n type: z.enum([\"image\", \"video\", \"audio\", \"file\"]).describe(\"Type of the attachment.\"),\n fileName: z.string().describe(\"Name of the file.\").nullable().optional(),\n mimeType: z.string().describe(\"MIME type of the attachment (e.g., 'image/png').\").nullable().optional(),\n description: z.string().describe(\"Optional description of the attachment.\").nullable().optional(),\n});\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Text content of the message (for text messages).\").nullable().optional(),\n type: z.enum([\"text\", \"image\", \"video\", \"audio\", \"file\", \"attachment\"]).describe(\"Type of the message. Supported types: text, image, video, audio, file, attachment.\"),\n attachment: RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema.nullable().optional(),\n messageTag: z.enum([\"ACCOUNT_UPDATE\", \"POST_PURCHASE_UPDATE\", \"CONFIRMED_EVENT_UPDATE\"]).describe(\"Tag for Facebook/Instagram messages sent outside 24h window. Allowed values: ACCOUNT_UPDATE, POST_PURCHASE_UPDATE, CONFIRMED_EVENT_UPDATE.\").nullable().optional(),\n});\nexport const RespondIoGetMessageOutput: z.ZodTypeAny = z.object({\n status: z.array(RespondIoGetMessage_RESPOND_IO_GET_MESSAGEStatusSchema).describe(\"Delivery statuses of the message.\"),\n message: RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema.nullable(),\n traffic: z.enum([\"outgoing\", \"incoming\"]).describe(\"Defines if the message was sent ('outgoing') or received ('incoming').\"),\n channelId: z.number().int().describe(\"ID of the channel through which the message was sent/received.\"),\n contactId: z.number().int().describe(\"ID of the contact associated with the message.\"),\n messageId: z.number().int().describe(\"Unique ID of the message.\"),\n channelMessageId: z.string().describe(\"Identifier of the message on the channel.\").nullable().optional(),\n});\n\nexport const respondIoGetMessage = action(\"RESPOND_IO_GET_MESSAGE\", {\n slug: \"respond_io-get-message\",\n name: \"Get Message\",\n description: \"Tool to retrieve a specific message. Use when you need the details of a message sent to or received from a contact.\",\n input: RespondIoGetMessageInput,\n output: RespondIoGetMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;AAClL,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAQ;EAAa;EAAQ;CAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE;AAC3G,CAAC;AACD,MAAM,6DAA2EA,IAAAA,EAAE,OAAO;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACjD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;EAAS;CAAM,CAAC,CAAC,CAAC,SAAS,yBAAyB;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC;AACD,MAAM,0DAAwEA,IAAAA,EAAE,OAAO;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAS;EAAS;EAAQ;CAAY,CAAC,CAAC,CAAC,SAAS,oFAAoF;CACrK,YAAY,2DAA2D,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAwB;CAAwB,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtQ,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,mCAAmC;CACpH,SAAS,wDAAwD,SAAS;CAC1E,SAASA,IAAAA,EAAE,KAAK,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,SAAS,wEAAwE;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAChE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-message.d.ts
4
+ declare const RespondIoGetMessageInput: z.ZodTypeAny;
5
+ declare const RespondIoGetMessageOutput: z.ZodTypeAny;
6
+ declare const respondIoGetMessage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { respondIoGetMessage };
9
+ //# sourceMappingURL=get-message.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-message.d.cts","names":[],"sources":["../../src/actions/get-message.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGgC;AAAA,cAmB5D,yBAAA,EAA2B,CAAA,CAAE,UAQxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-message.d.ts
4
+ declare const RespondIoGetMessageInput: z.ZodTypeAny;
5
+ declare const RespondIoGetMessageOutput: z.ZodTypeAny;
6
+ declare const respondIoGetMessage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { respondIoGetMessage };
9
+ //# sourceMappingURL=get-message.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-message.d.mts","names":[],"sources":["../../src/actions/get-message.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGgC;AAAA,cAmB5D,yBAAA,EAA2B,CAAA,CAAE,UAQxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,66 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-message.ts
4
+ const RespondIoGetMessageInput = z.object({
5
+ messageId: z.number().int().describe("Unique ID of the message to retrieve."),
6
+ identifier: z.string().describe("Identifier of the contact, can be a phone number ('+60121233112'), email ('abdc@gmail.com'), or contact ID prefixed by 'id:' (e.g., 'id:123').")
7
+ }).describe("Request model for retrieving a specific message by its ID.");
8
+ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEStatusSchema = z.object({
9
+ value: z.enum([
10
+ "pending",
11
+ "sent",
12
+ "delivered",
13
+ "read",
14
+ "failed"
15
+ ]).describe("Delivery status of the message."),
16
+ message: z.string().describe("Reason for failure, if status is 'failed'.").nullable().optional(),
17
+ timestamp: z.number().int().describe("Unix timestamp in seconds indicating when the status was recorded.")
18
+ });
19
+ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema = z.object({
20
+ url: z.string().describe("URL of the attachment."),
21
+ type: z.enum([
22
+ "image",
23
+ "video",
24
+ "audio",
25
+ "file"
26
+ ]).describe("Type of the attachment."),
27
+ fileName: z.string().describe("Name of the file.").nullable().optional(),
28
+ mimeType: z.string().describe("MIME type of the attachment (e.g., 'image/png').").nullable().optional(),
29
+ description: z.string().describe("Optional description of the attachment.").nullable().optional()
30
+ });
31
+ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema = z.object({
32
+ text: z.string().describe("Text content of the message (for text messages).").nullable().optional(),
33
+ type: z.enum([
34
+ "text",
35
+ "image",
36
+ "video",
37
+ "audio",
38
+ "file",
39
+ "attachment"
40
+ ]).describe("Type of the message. Supported types: text, image, video, audio, file, attachment."),
41
+ attachment: RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema.nullable().optional(),
42
+ messageTag: z.enum([
43
+ "ACCOUNT_UPDATE",
44
+ "POST_PURCHASE_UPDATE",
45
+ "CONFIRMED_EVENT_UPDATE"
46
+ ]).describe("Tag for Facebook/Instagram messages sent outside 24h window. Allowed values: ACCOUNT_UPDATE, POST_PURCHASE_UPDATE, CONFIRMED_EVENT_UPDATE.").nullable().optional()
47
+ });
48
+ const respondIoGetMessage = action("RESPOND_IO_GET_MESSAGE", {
49
+ slug: "respond_io-get-message",
50
+ name: "Get Message",
51
+ description: "Tool to retrieve a specific message. Use when you need the details of a message sent to or received from a contact.",
52
+ input: RespondIoGetMessageInput,
53
+ output: z.object({
54
+ status: z.array(RespondIoGetMessage_RESPOND_IO_GET_MESSAGEStatusSchema).describe("Delivery statuses of the message."),
55
+ message: RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema.nullable(),
56
+ traffic: z.enum(["outgoing", "incoming"]).describe("Defines if the message was sent ('outgoing') or received ('incoming')."),
57
+ channelId: z.number().int().describe("ID of the channel through which the message was sent/received."),
58
+ contactId: z.number().int().describe("ID of the contact associated with the message."),
59
+ messageId: z.number().int().describe("Unique ID of the message."),
60
+ channelMessageId: z.string().describe("Identifier of the message on the channel.").nullable().optional()
61
+ })
62
+ });
63
+ //#endregion
64
+ export { respondIoGetMessage };
65
+
66
+ //# sourceMappingURL=get-message.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-message.mjs","names":[],"sources":["../../src/actions/get-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoGetMessageInput: z.ZodTypeAny = z.object({\n messageId: z.number().int().describe(\"Unique ID of the message to retrieve.\"),\n identifier: z.string().describe(\"Identifier of the contact, can be a phone number ('+60121233112'), email ('abdc@gmail.com'), or contact ID prefixed by 'id:' (e.g., 'id:123').\"),\n}).describe(\"Request model for retrieving a specific message by its ID.\");\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEStatusSchema: z.ZodTypeAny = z.object({\n value: z.enum([\"pending\", \"sent\", \"delivered\", \"read\", \"failed\"]).describe(\"Delivery status of the message.\"),\n message: z.string().describe(\"Reason for failure, if status is 'failed'.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp in seconds indicating when the status was recorded.\"),\n});\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the attachment.\"),\n type: z.enum([\"image\", \"video\", \"audio\", \"file\"]).describe(\"Type of the attachment.\"),\n fileName: z.string().describe(\"Name of the file.\").nullable().optional(),\n mimeType: z.string().describe(\"MIME type of the attachment (e.g., 'image/png').\").nullable().optional(),\n description: z.string().describe(\"Optional description of the attachment.\").nullable().optional(),\n});\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Text content of the message (for text messages).\").nullable().optional(),\n type: z.enum([\"text\", \"image\", \"video\", \"audio\", \"file\", \"attachment\"]).describe(\"Type of the message. Supported types: text, image, video, audio, file, attachment.\"),\n attachment: RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema.nullable().optional(),\n messageTag: z.enum([\"ACCOUNT_UPDATE\", \"POST_PURCHASE_UPDATE\", \"CONFIRMED_EVENT_UPDATE\"]).describe(\"Tag for Facebook/Instagram messages sent outside 24h window. Allowed values: ACCOUNT_UPDATE, POST_PURCHASE_UPDATE, CONFIRMED_EVENT_UPDATE.\").nullable().optional(),\n});\nexport const RespondIoGetMessageOutput: z.ZodTypeAny = z.object({\n status: z.array(RespondIoGetMessage_RESPOND_IO_GET_MESSAGEStatusSchema).describe(\"Delivery statuses of the message.\"),\n message: RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema.nullable(),\n traffic: z.enum([\"outgoing\", \"incoming\"]).describe(\"Defines if the message was sent ('outgoing') or received ('incoming').\"),\n channelId: z.number().int().describe(\"ID of the channel through which the message was sent/received.\"),\n contactId: z.number().int().describe(\"ID of the contact associated with the message.\"),\n messageId: z.number().int().describe(\"Unique ID of the message.\"),\n channelMessageId: z.string().describe(\"Identifier of the message on the channel.\").nullable().optional(),\n});\n\nexport const respondIoGetMessage = action(\"RESPOND_IO_GET_MESSAGE\", {\n slug: \"respond_io-get-message\",\n name: \"Get Message\",\n description: \"Tool to retrieve a specific message. Use when you need the details of a message sent to or received from a contact.\",\n input: RespondIoGetMessageInput,\n output: RespondIoGetMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;AAClL,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yDAAuE,EAAE,OAAO;CACpF,OAAO,EAAE,KAAK;EAAC;EAAW;EAAQ;EAAa;EAAQ;CAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE;AAC3G,CAAC;AACD,MAAM,6DAA2E,EAAE,OAAO;CACxF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACjD,MAAM,EAAE,KAAK;EAAC;EAAS;EAAS;EAAS;CAAM,CAAC,CAAC,CAAC,SAAS,yBAAyB;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC;AACD,MAAM,0DAAwE,EAAE,OAAO;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAS;EAAS;EAAQ;CAAY,CAAC,CAAC,CAAC,SAAS,oFAAoF;CACrK,YAAY,2DAA2D,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,KAAK;EAAC;EAAkB;EAAwB;CAAwB,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtQ,CAAC;AAWD,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfqD,EAAE,OAAO;EAC9D,QAAQ,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,mCAAmC;EACpH,SAAS,wDAAwD,SAAS;EAC1E,SAAS,EAAE,KAAK,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,SAAS,wEAAwE;EAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;EAChE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAOU;AACV,CAAC"}
@@ -0,0 +1,15 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_create_comment = require("./create-comment.cjs");
3
+ const require_create_contact = require("./create-contact.cjs");
4
+ const require_create_space_tag = require("./create-space-tag.cjs");
5
+ const require_get_message = require("./get-message.cjs");
6
+ const require_list_channels = require("./list-channels.cjs");
7
+ const require_list_users = require("./list-users.cjs");
8
+ const require_update_space_tag = require("./update-space-tag.cjs");
9
+ exports.respondIoCreateComment = require_create_comment.respondIoCreateComment;
10
+ exports.respondIoCreateContact = require_create_contact.respondIoCreateContact;
11
+ exports.respondIoCreateSpaceTag = require_create_space_tag.respondIoCreateSpaceTag;
12
+ exports.respondIoGetMessage = require_get_message.respondIoGetMessage;
13
+ exports.respondIoListChannels = require_list_channels.respondIoListChannels;
14
+ exports.respondIoListUsers = require_list_users.respondIoListUsers;
15
+ exports.respondIoUpdateSpaceTag = require_update_space_tag.respondIoUpdateSpaceTag;
@@ -0,0 +1,8 @@
1
+ import { respondIoCreateComment } from "./create-comment.cjs";
2
+ import { respondIoCreateContact } from "./create-contact.cjs";
3
+ import { respondIoCreateSpaceTag } from "./create-space-tag.cjs";
4
+ import { respondIoGetMessage } from "./get-message.cjs";
5
+ import { respondIoListChannels } from "./list-channels.cjs";
6
+ import { respondIoListUsers } from "./list-users.cjs";
7
+ import { respondIoUpdateSpaceTag } from "./update-space-tag.cjs";
8
+ export { respondIoCreateComment, respondIoCreateContact, respondIoCreateSpaceTag, respondIoGetMessage, respondIoListChannels, respondIoListUsers, respondIoUpdateSpaceTag };