@keystrokehq/respond_io 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-comment.cjs +1 -0
- package/dist/actions/create-comment.cjs.map +1 -1
- package/dist/actions/create-comment.d.cts +3 -16
- package/dist/actions/create-comment.d.cts.map +1 -1
- package/dist/actions/create-comment.d.mts +3 -16
- package/dist/actions/create-comment.d.mts.map +1 -1
- package/dist/actions/create-comment.mjs +1 -0
- package/dist/actions/create-comment.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -27
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -27
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-space-tag.cjs +1 -0
- package/dist/actions/create-space-tag.cjs.map +1 -1
- package/dist/actions/create-space-tag.d.cts +3 -17
- package/dist/actions/create-space-tag.d.cts.map +1 -1
- package/dist/actions/create-space-tag.d.mts +3 -17
- package/dist/actions/create-space-tag.d.mts.map +1 -1
- package/dist/actions/create-space-tag.mjs +1 -0
- package/dist/actions/create-space-tag.mjs.map +1 -1
- package/dist/actions/get-message.cjs +1 -0
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +3 -16
- package/dist/actions/get-message.d.cts.map +1 -1
- package/dist/actions/get-message.d.mts +3 -16
- package/dist/actions/get-message.d.mts.map +1 -1
- package/dist/actions/get-message.mjs +1 -0
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/list-channels.cjs +1 -0
- package/dist/actions/list-channels.cjs.map +1 -1
- package/dist/actions/list-channels.d.cts +3 -16
- package/dist/actions/list-channels.d.cts.map +1 -1
- package/dist/actions/list-channels.d.mts +3 -16
- package/dist/actions/list-channels.d.mts.map +1 -1
- package/dist/actions/list-channels.mjs +1 -0
- package/dist/actions/list-channels.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -13
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -13
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/update-space-tag.cjs +1 -0
- package/dist/actions/update-space-tag.cjs.map +1 -1
- package/dist/actions/update-space-tag.d.cts +3 -19
- package/dist/actions/update-space-tag.d.cts.map +1 -1
- package/dist/actions/update-space-tag.d.mts +3 -19
- package/dist/actions/update-space-tag.d.mts.map +1 -1
- package/dist/actions/update-space-tag.mjs +1 -0
- package/dist/actions/update-space-tag.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["respondIo","executeRespondIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof respondIo.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,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"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof respondIo.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,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"}
|
|
@@ -1 +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.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.object({\n text: z.string().describe(\"Text of the created comment.\").nullable(),\n contactId: z.number().int().describe(\"Numeric ID of the contact for which the comment was added.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the comment was created.\").nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"create-comment.cjs","names":["z","action"],"sources":["../../src/actions/create-comment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\n\nexport const RespondIoCreateCommentInput = 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.object({\n text: z.string().describe(\"Text of the created comment.\").nullable(),\n contactId: z.number().int().describe(\"Numeric ID of the contact for which the comment was added.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the comment was created.\").nullable(),\n}).passthrough().describe(\"Response model for the created comment.\");\n\nexport const respondIoCreateComment: AppAction<\n typeof RespondIoCreateCommentInput,\n typeof RespondIoCreateCommentOutput,\n typeof respondIo.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-comment.d.ts
|
|
@@ -10,22 +12,7 @@ declare const RespondIoCreateCommentOutput: z.ZodObject<{
|
|
|
10
12
|
contactId: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const respondIoCreateComment:
|
|
14
|
-
text: string;
|
|
15
|
-
identifier: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const respondIoCreateComment: AppAction<typeof RespondIoCreateCommentInput, typeof RespondIoCreateCommentOutput, typeof respondIo.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { respondIoCreateComment };
|
|
31
18
|
//# sourceMappingURL=create-comment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-comment.d.cts","names":[],"sources":["../../src/actions/create-comment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-comment.d.cts","names":[],"sources":["../../src/actions/create-comment.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAM5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-comment.d.ts
|
|
@@ -10,22 +12,7 @@ declare const RespondIoCreateCommentOutput: z.ZodObject<{
|
|
|
10
12
|
contactId: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const respondIoCreateComment:
|
|
14
|
-
text: string;
|
|
15
|
-
identifier: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const respondIoCreateComment: AppAction<typeof RespondIoCreateCommentInput, typeof RespondIoCreateCommentOutput, typeof respondIo.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { respondIoCreateComment };
|
|
31
18
|
//# sourceMappingURL=create-comment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-comment.d.mts","names":[],"sources":["../../src/actions/create-comment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-comment.d.mts","names":[],"sources":["../../src/actions/create-comment.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAM5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +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.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.object({\n text: z.string().describe(\"Text of the created comment.\").nullable(),\n contactId: z.number().int().describe(\"Numeric ID of the contact for which the comment was added.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the comment was created.\").nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"create-comment.mjs","names":[],"sources":["../../src/actions/create-comment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\n\nexport const RespondIoCreateCommentInput = 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.object({\n text: z.string().describe(\"Text of the created comment.\").nullable(),\n contactId: z.number().int().describe(\"Numeric ID of the contact for which the comment was added.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the comment was created.\").nullable(),\n}).passthrough().describe(\"Response model for the created comment.\");\n\nexport const respondIoCreateComment: AppAction<\n typeof RespondIoCreateCommentInput,\n typeof RespondIoCreateCommentOutput,\n typeof respondIo.credential\n> = 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":";;;AAgBA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;EAC5I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAClM,CAAC,CAAC,CAAC,SAAS,2EAeH;CACP,QAf0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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}).passthrough()).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.object({\n code: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n message: z.string().describe(\"API response message\").nullable(),\n}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\n\nexport const RespondIoCreateContactInput = 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}).passthrough()).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.object({\n code: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n message: z.string().describe(\"API response message\").nullable(),\n}).passthrough();\n\nexport const respondIoCreateContact: AppAction<\n typeof RespondIoCreateContactInput,\n typeof RespondIoCreateContactOutput,\n typeof respondIo.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,YAAY,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AAC/K,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-contact.d.ts
|
|
@@ -19,33 +21,7 @@ declare const RespondIoCreateContactOutput: z.ZodObject<{
|
|
|
19
21
|
code: z.ZodNullable<z.ZodNumber>;
|
|
20
22
|
message: z.ZodNullable<z.ZodString>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const respondIoCreateContact:
|
|
23
|
-
firstName: string;
|
|
24
|
-
identifier: string;
|
|
25
|
-
email?: string | undefined;
|
|
26
|
-
phone?: string | undefined;
|
|
27
|
-
language?: string | undefined;
|
|
28
|
-
lastName?: string | undefined;
|
|
29
|
-
profilePic?: string | undefined;
|
|
30
|
-
countryCode?: string | undefined;
|
|
31
|
-
custom_fields?: {
|
|
32
|
-
[x: string]: unknown;
|
|
33
|
-
name: string;
|
|
34
|
-
value?: string | undefined;
|
|
35
|
-
}[] | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const respondIoCreateContact: AppAction<typeof RespondIoCreateContactInput, typeof RespondIoCreateContactOutput, typeof respondIo.credential>;
|
|
49
25
|
//#endregion
|
|
50
26
|
export { respondIoCreateContact };
|
|
51
27
|
//# sourceMappingURL=create-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-contact.d.ts
|
|
@@ -19,33 +21,7 @@ declare const RespondIoCreateContactOutput: z.ZodObject<{
|
|
|
19
21
|
code: z.ZodNullable<z.ZodNumber>;
|
|
20
22
|
message: z.ZodNullable<z.ZodString>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const respondIoCreateContact:
|
|
23
|
-
firstName: string;
|
|
24
|
-
identifier: string;
|
|
25
|
-
email?: string | undefined;
|
|
26
|
-
phone?: string | undefined;
|
|
27
|
-
language?: string | undefined;
|
|
28
|
-
lastName?: string | undefined;
|
|
29
|
-
profilePic?: string | undefined;
|
|
30
|
-
countryCode?: string | undefined;
|
|
31
|
-
custom_fields?: {
|
|
32
|
-
[x: string]: unknown;
|
|
33
|
-
name: string;
|
|
34
|
-
value?: string | undefined;
|
|
35
|
-
}[] | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const respondIoCreateContact: AppAction<typeof RespondIoCreateContactInput, typeof RespondIoCreateContactOutput, typeof respondIo.credential>;
|
|
49
25
|
//#endregion
|
|
50
26
|
export { respondIoCreateContact };
|
|
51
27
|
//# sourceMappingURL=create-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +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.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}).passthrough()).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.object({\n code: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n message: z.string().describe(\"API response message\").nullable(),\n}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\n\nexport const RespondIoCreateContactInput = 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}).passthrough()).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.object({\n code: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n message: z.string().describe(\"API response message\").nullable(),\n}).passthrough();\n\nexport const respondIoCreateContact: AppAction<\n typeof RespondIoCreateContactInput,\n typeof RespondIoCreateContactOutput,\n typeof respondIo.credential\n> = 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":";;;AAyBA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3ByC,EAAE,OAAO;EAClD,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,YAAY,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;CAC/K,CAcS;CACP,QAd0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAChE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +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.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.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.\").nullable(),\n name: z.string().describe(\"The name of the tag exactly as stored in the workspace.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n description: z.string().describe(\"The tag's description text if provided, otherwise null.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"create-space-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-space-tag.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\n\nexport const RespondIoCreateSpaceTagInput = 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.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.\").nullable(),\n name: z.string().describe(\"The name of the tag exactly as stored in the workspace.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n description: z.string().describe(\"The tag's description text if provided, otherwise null.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a newly created workspace tag.\");\n\nexport const respondIoCreateSpaceTag: AppAction<\n typeof RespondIoCreateSpaceTagInput,\n typeof RespondIoCreateSpaceTagOutput,\n typeof respondIo.credential\n> = 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":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CACvL,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACxK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-space-tag.d.ts
|
|
@@ -14,23 +16,7 @@ declare const RespondIoCreateSpaceTagOutput: z.ZodObject<{
|
|
|
14
16
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
15
17
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const respondIoCreateSpaceTag:
|
|
18
|
-
name: string;
|
|
19
|
-
color_code?: string | undefined;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const respondIoCreateSpaceTag: AppAction<typeof RespondIoCreateSpaceTagInput, typeof RespondIoCreateSpaceTagOutput, typeof respondIo.credential>;
|
|
34
20
|
//#endregion
|
|
35
21
|
export { respondIoCreateSpaceTag };
|
|
36
22
|
//# sourceMappingURL=create-space-tag.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-space-tag.d.cts","names":[],"sources":["../../src/actions/create-space-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-space-tag.d.cts","names":[],"sources":["../../src/actions/create-space-tag.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAK5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-space-tag.d.ts
|
|
@@ -14,23 +16,7 @@ declare const RespondIoCreateSpaceTagOutput: z.ZodObject<{
|
|
|
14
16
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
15
17
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const respondIoCreateSpaceTag:
|
|
18
|
-
name: string;
|
|
19
|
-
color_code?: string | undefined;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const respondIoCreateSpaceTag: AppAction<typeof RespondIoCreateSpaceTagInput, typeof RespondIoCreateSpaceTagOutput, typeof respondIo.credential>;
|
|
34
20
|
//#endregion
|
|
35
21
|
export { respondIoCreateSpaceTag };
|
|
36
22
|
//# sourceMappingURL=create-space-tag.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-space-tag.d.mts","names":[],"sources":["../../src/actions/create-space-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-space-tag.d.mts","names":[],"sources":["../../src/actions/create-space-tag.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAK5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +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.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.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.\").nullable(),\n name: z.string().describe(\"The name of the tag exactly as stored in the workspace.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n description: z.string().describe(\"The tag's description text if provided, otherwise null.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"create-space-tag.mjs","names":[],"sources":["../../src/actions/create-space-tag.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\n\nexport const RespondIoCreateSpaceTagInput = 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.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.\").nullable(),\n name: z.string().describe(\"The name of the tag exactly as stored in the workspace.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n description: z.string().describe(\"The tag's description text if provided, otherwise null.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a newly created workspace tag.\");\n\nexport const respondIoCreateSpaceTag: AppAction<\n typeof RespondIoCreateSpaceTagInput,\n typeof RespondIoCreateSpaceTagOutput,\n typeof respondIo.credential\n> = 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":";;;AAoBA,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB0C,EAAE,OAAO;EACnD,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,gEAkBH;CACP,QAlB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;EACvL,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACxK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.object({\n value: z.enum([\"pending\", \"sent\", \"delivered\", \"read\", \"failed\"]).describe(\"Delivery status of the message.\").nullable(),\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.\").nullable(),\n}).passthrough();\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema = z.object({\n url: z.string().describe(\"URL of the attachment.\").nullable(),\n type: z.enum([\"image\", \"video\", \"audio\", \"file\"]).describe(\"Type of the attachment.\").nullable(),\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}).passthrough();\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema = 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.\").nullable(),\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}).passthrough();\nexport const RespondIoGetMessageOutput = 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').\").nullable(),\n channelId: z.number().int().describe(\"ID of the channel through which the message was sent/received.\").nullable(),\n contactId: z.number().int().describe(\"ID of the contact associated with the message.\").nullable(),\n messageId: z.number().int().describe(\"Unique ID of the message.\").nullable(),\n channelMessageId: z.string().describe(\"Identifier of the message on the channel.\").nullable().optional(),\n}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"get-message.cjs","names":["z","action"],"sources":["../../src/actions/get-message.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\n\nexport const RespondIoGetMessageInput = 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.object({\n value: z.enum([\"pending\", \"sent\", \"delivered\", \"read\", \"failed\"]).describe(\"Delivery status of the message.\").nullable(),\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.\").nullable(),\n}).passthrough();\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema = z.object({\n url: z.string().describe(\"URL of the attachment.\").nullable(),\n type: z.enum([\"image\", \"video\", \"audio\", \"file\"]).describe(\"Type of the attachment.\").nullable(),\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}).passthrough();\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema = 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.\").nullable(),\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}).passthrough();\nexport const RespondIoGetMessageOutput = 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').\").nullable(),\n channelId: z.number().int().describe(\"ID of the channel through which the message was sent/received.\").nullable(),\n contactId: z.number().int().describe(\"ID of the contact associated with the message.\").nullable(),\n messageId: z.number().int().describe(\"Unique ID of the message.\").nullable(),\n channelMessageId: z.string().describe(\"Identifier of the message on the channel.\").nullable().optional(),\n}).passthrough();\n\nexport const respondIoGetMessage: AppAction<\n typeof RespondIoGetMessageInput,\n typeof RespondIoGetMessageOutput,\n typeof respondIo.credential\n> = 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":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAQ;EAAa;EAAQ;CAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvH,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,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;EAAS;CAAM,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/F,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,CAAC,CAAC,YAAY;AACf,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,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,CAAC,CAAC,SAAS;CAChL,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,CAAC,CAAC,YAAY;AACf,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,CAAC,CAAC,SAAS;CACtI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-message.d.ts
|
|
@@ -54,22 +56,7 @@ declare const RespondIoGetMessageOutput: z.ZodObject<{
|
|
|
54
56
|
messageId: z.ZodNullable<z.ZodNumber>;
|
|
55
57
|
channelMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
58
|
}, z.core.$loose>;
|
|
57
|
-
declare const respondIoGetMessage:
|
|
58
|
-
messageId: number;
|
|
59
|
-
identifier: string;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
generic_api_key: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
67
|
-
connectionId: z.ZodString;
|
|
68
|
-
entityId: z.ZodString;
|
|
69
|
-
instanceId: z.ZodString;
|
|
70
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
71
|
-
generic_api_key: z.ZodString;
|
|
72
|
-
}, z.core.$strip>>]>;
|
|
59
|
+
declare const respondIoGetMessage: AppAction<typeof RespondIoGetMessageInput, typeof RespondIoGetMessageOutput, typeof respondIo.credential>;
|
|
73
60
|
//#endregion
|
|
74
61
|
export { respondIoGetMessage };
|
|
75
62
|
//# sourceMappingURL=get-message.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-message.d.cts","names":[],"sources":["../../src/actions/get-message.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-message.d.cts","names":[],"sources":["../../src/actions/get-message.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAsBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-message.d.ts
|
|
@@ -54,22 +56,7 @@ declare const RespondIoGetMessageOutput: z.ZodObject<{
|
|
|
54
56
|
messageId: z.ZodNullable<z.ZodNumber>;
|
|
55
57
|
channelMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
58
|
}, z.core.$loose>;
|
|
57
|
-
declare const respondIoGetMessage:
|
|
58
|
-
messageId: number;
|
|
59
|
-
identifier: string;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
generic_api_key: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
67
|
-
connectionId: z.ZodString;
|
|
68
|
-
entityId: z.ZodString;
|
|
69
|
-
instanceId: z.ZodString;
|
|
70
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
71
|
-
generic_api_key: z.ZodString;
|
|
72
|
-
}, z.core.$strip>>]>;
|
|
59
|
+
declare const respondIoGetMessage: AppAction<typeof RespondIoGetMessageInput, typeof RespondIoGetMessageOutput, typeof respondIo.credential>;
|
|
73
60
|
//#endregion
|
|
74
61
|
export { respondIoGetMessage };
|
|
75
62
|
//# sourceMappingURL=get-message.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-message.d.mts","names":[],"sources":["../../src/actions/get-message.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-message.d.mts","names":[],"sources":["../../src/actions/get-message.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAsBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +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.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.object({\n value: z.enum([\"pending\", \"sent\", \"delivered\", \"read\", \"failed\"]).describe(\"Delivery status of the message.\").nullable(),\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.\").nullable(),\n}).passthrough();\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema = z.object({\n url: z.string().describe(\"URL of the attachment.\").nullable(),\n type: z.enum([\"image\", \"video\", \"audio\", \"file\"]).describe(\"Type of the attachment.\").nullable(),\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}).passthrough();\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema = 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.\").nullable(),\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}).passthrough();\nexport const RespondIoGetMessageOutput = 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').\").nullable(),\n channelId: z.number().int().describe(\"ID of the channel through which the message was sent/received.\").nullable(),\n contactId: z.number().int().describe(\"ID of the contact associated with the message.\").nullable(),\n messageId: z.number().int().describe(\"Unique ID of the message.\").nullable(),\n channelMessageId: z.string().describe(\"Identifier of the message on the channel.\").nullable().optional(),\n}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"get-message.mjs","names":[],"sources":["../../src/actions/get-message.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\n\nexport const RespondIoGetMessageInput = 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.object({\n value: z.enum([\"pending\", \"sent\", \"delivered\", \"read\", \"failed\"]).describe(\"Delivery status of the message.\").nullable(),\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.\").nullable(),\n}).passthrough();\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema = z.object({\n url: z.string().describe(\"URL of the attachment.\").nullable(),\n type: z.enum([\"image\", \"video\", \"audio\", \"file\"]).describe(\"Type of the attachment.\").nullable(),\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}).passthrough();\nconst RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema = 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.\").nullable(),\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}).passthrough();\nexport const RespondIoGetMessageOutput = 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').\").nullable(),\n channelId: z.number().int().describe(\"ID of the channel through which the message was sent/received.\").nullable(),\n contactId: z.number().int().describe(\"ID of the contact associated with the message.\").nullable(),\n messageId: z.number().int().describe(\"Unique ID of the message.\").nullable(),\n channelMessageId: z.string().describe(\"Identifier of the message on the channel.\").nullable().optional(),\n}).passthrough();\n\nexport const respondIoGetMessage: AppAction<\n typeof RespondIoGetMessageInput,\n typeof RespondIoGetMessageOutput,\n typeof respondIo.credential\n> = 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":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,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,yDAAyD,EAAE,OAAO;CACtE,OAAO,EAAE,KAAK;EAAC;EAAW;EAAQ;EAAa;EAAQ;CAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvH,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,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6DAA6D,EAAE,OAAO;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,KAAK;EAAC;EAAS;EAAS;EAAS;CAAM,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/F,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,CAAC,CAAC,YAAY;AACf,MAAM,0DAA0D,EAAE,OAAO;CACvE,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,CAAC,CAAC,SAAS;CAChL,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,CAAC,CAAC,YAAY;AAWf,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBuC,EAAE,OAAO;EAChD,QAAQ,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,mCAAmC;EACpH,SAAS,wDAAwD,SAAS;EAC1E,SAAS,EAAE,KAAK,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACtI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAChH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC3E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-channels.cjs","names":["z","action"],"sources":["../../src/actions/list-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoListChannelsInput = z.object({\n limit: z.number().int().default(10).describe(\"Number of items to return (page size). Default is 10, maximum 100.\").optional(),\n cursorId: z.number().int().describe(\"Pointer to the channel ID from where the next batch of records should start.\").optional(),\n}).describe(\"Request model for listing channels with optional pagination.\");\nconst RespondIoListChannels_ChannelItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the channel.\").nullable(),\n name: z.string().describe(\"Name of the channel.\").nullable(),\n source: z.enum([\"facebook\", \"instagram\", \"line\", \"telegram\", \"viber\", \"twitter\", \"wechat\", \"custom_channel\", \"gmail\", \"other_email\", \"twilio\", \"message_bird\", \"nexmo\", \"360dialog_whatsapp\", \"twilio_whatsapp\", \"message_bird_whatsapp\", \"whatsappnexmo_whatsapp\", \"whatsapp_cloud\"]).describe(\"Type of the channel.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the channel was created.\").nullable(),\n}).passthrough().describe(\"Represents a messaging channel connected to the workspace.\");\nconst RespondIoListChannels_PaginationSchema = z.object({\n next: z.string().nullable(),\n previous: z.string().describe(\"URL to the previous page of results.\").nullable().optional(),\n}).passthrough().describe(\"URLs for navigating through paginated channel list.\");\nexport const RespondIoListChannelsOutput = z.object({\n items: z.array(RespondIoListChannels_ChannelItemSchema).describe(\"List of channels connected to the workspace.\"),\n pagination: RespondIoListChannels_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of channels and pagination info.\");\n\nexport const respondIoListChannels = action(\"RESPOND_IO_LIST_CHANNELS\", {\n slug: \"respond_io-list-channels\",\n name: \"List channels\",\n description: \"Tool to retrieve a list of channels connected to the workspace. Use when you need to enumerate all messaging channels with pagination support.\",\n input: RespondIoListChannelsInput,\n output: RespondIoListChannelsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-channels.cjs","names":["z","action"],"sources":["../../src/actions/list-channels.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\n\nexport const RespondIoListChannelsInput = z.object({\n limit: z.number().int().default(10).describe(\"Number of items to return (page size). Default is 10, maximum 100.\").optional(),\n cursorId: z.number().int().describe(\"Pointer to the channel ID from where the next batch of records should start.\").optional(),\n}).describe(\"Request model for listing channels with optional pagination.\");\nconst RespondIoListChannels_ChannelItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the channel.\").nullable(),\n name: z.string().describe(\"Name of the channel.\").nullable(),\n source: z.enum([\"facebook\", \"instagram\", \"line\", \"telegram\", \"viber\", \"twitter\", \"wechat\", \"custom_channel\", \"gmail\", \"other_email\", \"twilio\", \"message_bird\", \"nexmo\", \"360dialog_whatsapp\", \"twilio_whatsapp\", \"message_bird_whatsapp\", \"whatsappnexmo_whatsapp\", \"whatsapp_cloud\"]).describe(\"Type of the channel.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the channel was created.\").nullable(),\n}).passthrough().describe(\"Represents a messaging channel connected to the workspace.\");\nconst RespondIoListChannels_PaginationSchema = z.object({\n next: z.string().nullable(),\n previous: z.string().describe(\"URL to the previous page of results.\").nullable().optional(),\n}).passthrough().describe(\"URLs for navigating through paginated channel list.\");\nexport const RespondIoListChannelsOutput = z.object({\n items: z.array(RespondIoListChannels_ChannelItemSchema).describe(\"List of channels connected to the workspace.\"),\n pagination: RespondIoListChannels_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of channels and pagination info.\");\n\nexport const respondIoListChannels: AppAction<\n typeof RespondIoListChannelsInput,\n typeof RespondIoListChannelsOutput,\n typeof respondIo.credential\n> = action(\"RESPOND_IO_LIST_CHANNELS\", {\n slug: \"respond_io-list-channels\",\n name: \"List channels\",\n description: \"Tool to retrieve a list of channels connected to the workspace. Use when you need to enumerate all messaging channels with pagination support.\",\n input: RespondIoListChannelsInput,\n output: RespondIoListChannelsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAa;EAAQ;EAAY;EAAS;EAAW;EAAU;EAAkB;EAAS;EAAe;EAAU;EAAgB;EAAS;EAAsB;EAAmB;EAAyB;EAA0B;CAAgB,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjU,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8CAA8C;CAC/G,YAAY,uCAAuC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-channels.d.ts
|
|
@@ -36,22 +38,7 @@ declare const RespondIoListChannelsOutput: z.ZodObject<{
|
|
|
36
38
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$loose>>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const respondIoListChannels:
|
|
40
|
-
limit?: number | undefined;
|
|
41
|
-
cursorId?: number | undefined;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
41
|
+
declare const respondIoListChannels: AppAction<typeof RespondIoListChannelsInput, typeof RespondIoListChannelsOutput, typeof respondIo.credential>;
|
|
55
42
|
//#endregion
|
|
56
43
|
export { respondIoListChannels };
|
|
57
44
|
//# sourceMappingURL=list-channels.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-channels.d.cts","names":[],"sources":["../../src/actions/list-channels.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-channels.d.cts","names":[],"sources":["../../src/actions/list-channels.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAc1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-channels.d.ts
|
|
@@ -36,22 +38,7 @@ declare const RespondIoListChannelsOutput: z.ZodObject<{
|
|
|
36
38
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$loose>>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const respondIoListChannels:
|
|
40
|
-
limit?: number | undefined;
|
|
41
|
-
cursorId?: number | undefined;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
41
|
+
declare const respondIoListChannels: AppAction<typeof RespondIoListChannelsInput, typeof RespondIoListChannelsOutput, typeof respondIo.credential>;
|
|
55
42
|
//#endregion
|
|
56
43
|
export { respondIoListChannels };
|
|
57
44
|
//# sourceMappingURL=list-channels.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-channels.d.mts","names":[],"sources":["../../src/actions/list-channels.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-channels.d.mts","names":[],"sources":["../../src/actions/list-channels.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAc1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-channels.mjs","names":[],"sources":["../../src/actions/list-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoListChannelsInput = z.object({\n limit: z.number().int().default(10).describe(\"Number of items to return (page size). Default is 10, maximum 100.\").optional(),\n cursorId: z.number().int().describe(\"Pointer to the channel ID from where the next batch of records should start.\").optional(),\n}).describe(\"Request model for listing channels with optional pagination.\");\nconst RespondIoListChannels_ChannelItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the channel.\").nullable(),\n name: z.string().describe(\"Name of the channel.\").nullable(),\n source: z.enum([\"facebook\", \"instagram\", \"line\", \"telegram\", \"viber\", \"twitter\", \"wechat\", \"custom_channel\", \"gmail\", \"other_email\", \"twilio\", \"message_bird\", \"nexmo\", \"360dialog_whatsapp\", \"twilio_whatsapp\", \"message_bird_whatsapp\", \"whatsappnexmo_whatsapp\", \"whatsapp_cloud\"]).describe(\"Type of the channel.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the channel was created.\").nullable(),\n}).passthrough().describe(\"Represents a messaging channel connected to the workspace.\");\nconst RespondIoListChannels_PaginationSchema = z.object({\n next: z.string().nullable(),\n previous: z.string().describe(\"URL to the previous page of results.\").nullable().optional(),\n}).passthrough().describe(\"URLs for navigating through paginated channel list.\");\nexport const RespondIoListChannelsOutput = z.object({\n items: z.array(RespondIoListChannels_ChannelItemSchema).describe(\"List of channels connected to the workspace.\"),\n pagination: RespondIoListChannels_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of channels and pagination info.\");\n\nexport const respondIoListChannels = action(\"RESPOND_IO_LIST_CHANNELS\", {\n slug: \"respond_io-list-channels\",\n name: \"List channels\",\n description: \"Tool to retrieve a list of channels connected to the workspace. Use when you need to enumerate all messaging channels with pagination support.\",\n input: RespondIoListChannelsInput,\n output: RespondIoListChannelsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-channels.mjs","names":[],"sources":["../../src/actions/list-channels.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\n\nexport const RespondIoListChannelsInput = z.object({\n limit: z.number().int().default(10).describe(\"Number of items to return (page size). Default is 10, maximum 100.\").optional(),\n cursorId: z.number().int().describe(\"Pointer to the channel ID from where the next batch of records should start.\").optional(),\n}).describe(\"Request model for listing channels with optional pagination.\");\nconst RespondIoListChannels_ChannelItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the channel.\").nullable(),\n name: z.string().describe(\"Name of the channel.\").nullable(),\n source: z.enum([\"facebook\", \"instagram\", \"line\", \"telegram\", \"viber\", \"twitter\", \"wechat\", \"custom_channel\", \"gmail\", \"other_email\", \"twilio\", \"message_bird\", \"nexmo\", \"360dialog_whatsapp\", \"twilio_whatsapp\", \"message_bird_whatsapp\", \"whatsappnexmo_whatsapp\", \"whatsapp_cloud\"]).describe(\"Type of the channel.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the channel was created.\").nullable(),\n}).passthrough().describe(\"Represents a messaging channel connected to the workspace.\");\nconst RespondIoListChannels_PaginationSchema = z.object({\n next: z.string().nullable(),\n previous: z.string().describe(\"URL to the previous page of results.\").nullable().optional(),\n}).passthrough().describe(\"URLs for navigating through paginated channel list.\");\nexport const RespondIoListChannelsOutput = z.object({\n items: z.array(RespondIoListChannels_ChannelItemSchema).describe(\"List of channels connected to the workspace.\"),\n pagination: RespondIoListChannels_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model containing the list of channels and pagination info.\");\n\nexport const respondIoListChannels: AppAction<\n typeof RespondIoListChannelsInput,\n typeof RespondIoListChannelsOutput,\n typeof respondIo.credential\n> = action(\"RESPOND_IO_LIST_CHANNELS\", {\n slug: \"respond_io-list-channels\",\n name: \"List channels\",\n description: \"Tool to retrieve a list of channels connected to the workspace. Use when you need to enumerate all messaging channels with pagination support.\",\n input: RespondIoListChannelsInput,\n output: RespondIoListChannelsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,QAAQ,EAAE,KAAK;EAAC;EAAY;EAAa;EAAQ;EAAY;EAAS;EAAW;EAAU;EAAkB;EAAS;EAAe;EAAU;EAAgB;EAAS;EAAsB;EAAmB;EAAyB;EAA0B;CAAgB,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjU,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAM/E,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyC,EAAE,OAAO;EAClD,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8CAA8C;EAC/G,YAAY,uCAAuC,SAAS;CAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.cjs","names":["z","action"],"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":"
|
|
1
|
+
{"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\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: AppAction<\n typeof RespondIoListUsersInput,\n typeof RespondIoListUsersOutput,\n typeof respondIo.credential\n> = 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":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACpH,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpG,MAAM,8BAA8B,SAAS,CAAC,CAAC,SAAS;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,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;AAC/D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-users.d.ts
|
|
@@ -28,19 +30,7 @@ declare const RespondIoListUsersOutput: z.ZodObject<{
|
|
|
28
30
|
}>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const respondIoListUsers:
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const respondIoListUsers: AppAction<typeof RespondIoListUsersInput, typeof RespondIoListUsersOutput, typeof respondIo.credential>;
|
|
44
34
|
//#endregion
|
|
45
35
|
export { respondIoListUsers };
|
|
46
36
|
//# sourceMappingURL=list-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-users.d.ts
|
|
@@ -28,19 +30,7 @@ declare const RespondIoListUsersOutput: z.ZodObject<{
|
|
|
28
30
|
}>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const respondIoListUsers:
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const respondIoListUsers: AppAction<typeof RespondIoListUsersInput, typeof RespondIoListUsersOutput, typeof respondIo.credential>;
|
|
44
34
|
//#endregion
|
|
45
35
|
export { respondIoListUsers };
|
|
46
36
|
//# sourceMappingURL=list-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\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: AppAction<\n typeof RespondIoListUsersInput,\n typeof RespondIoListUsersOutput,\n typeof respondIo.credential\n> = 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":";;;;AAMA,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,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"update-space-tag.cjs","names":["z","action"],"sources":["../../src/actions/update-space-tag.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\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: AppAction<\n typeof RespondIoUpdateSpaceTagInput,\n typeof RespondIoUpdateSpaceTagOutput,\n typeof respondIo.credential\n> = 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":";;;;AAMA,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,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-space-tag.d.ts
|
|
@@ -15,25 +17,7 @@ declare const RespondIoUpdateSpaceTagOutput: z.ZodObject<{
|
|
|
15
17
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const respondIoUpdateSpaceTag:
|
|
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<"respond_io", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const respondIoUpdateSpaceTag: AppAction<typeof RespondIoUpdateSpaceTagInput, typeof RespondIoUpdateSpaceTagOutput, typeof respondIo.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { respondIoUpdateSpaceTag };
|
|
39
23
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"update-space-tag.d.cts","names":[],"sources":["../../src/actions/update-space-tag.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { respondIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-space-tag.d.ts
|
|
@@ -15,25 +17,7 @@ declare const RespondIoUpdateSpaceTagOutput: z.ZodObject<{
|
|
|
15
17
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const respondIoUpdateSpaceTag:
|
|
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<"respond_io", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"respond_io", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const respondIoUpdateSpaceTag: AppAction<typeof RespondIoUpdateSpaceTagInput, typeof RespondIoUpdateSpaceTagOutput, typeof respondIo.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { respondIoUpdateSpaceTag };
|
|
39
23
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"update-space-tag.d.mts","names":[],"sources":["../../src/actions/update-space-tag.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"update-space-tag.mjs","names":[],"sources":["../../src/actions/update-space-tag.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { respondIo } from \"../app\";\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: AppAction<\n typeof RespondIoUpdateSpaceTagInput,\n typeof RespondIoUpdateSpaceTagOutput,\n typeof respondIo.credential\n> = 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":";;;AAqBA,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB0C,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,iGAiBH;CACP,QAjB2C,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,0CAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const respondIo = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "respond_io",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.respondIo = respondIo;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const respondIo = defineApp({\n slug: \"respond_io\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const respondIo: KeystrokeApp<\"respond_io\", typeof credential> = defineApp({\n slug: \"respond_io\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAqE;CAChF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const respondIo: KeystrokeApp<"respond_io", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { respondIo };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,sBAAsB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const respondIo: KeystrokeApp<"respond_io", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { respondIo };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,sBAAsB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const respondIo = defineApp({\n slug: \"respond_io\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const respondIo: KeystrokeApp<\"respond_io\", typeof credential> = defineApp({\n slug: \"respond_io\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,YAA2D,UAAU;CAChF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { respondIo } from "./app.cjs";
|
|
1
2
|
import { respondIoCreateComment } from "./actions/create-comment.cjs";
|
|
2
3
|
import { respondIoCreateContact } from "./actions/create-contact.cjs";
|
|
3
4
|
import { respondIoCreateSpaceTag } from "./actions/create-space-tag.cjs";
|
|
@@ -5,6 +6,5 @@ import { respondIoGetMessage } from "./actions/get-message.cjs";
|
|
|
5
6
|
import { respondIoListChannels } from "./actions/list-channels.cjs";
|
|
6
7
|
import { respondIoListUsers } from "./actions/list-users.cjs";
|
|
7
8
|
import { respondIoUpdateSpaceTag } from "./actions/update-space-tag.cjs";
|
|
8
|
-
import { respondIo } from "./app.cjs";
|
|
9
9
|
import { respondIoCatalog } from "./catalog.cjs";
|
|
10
10
|
export { respondIo, respondIoCatalog, respondIoCreateComment, respondIoCreateContact, respondIoCreateSpaceTag, respondIoGetMessage, respondIoListChannels, respondIoListUsers, respondIoUpdateSpaceTag };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { respondIo } from "./app.mjs";
|
|
1
2
|
import { respondIoCreateComment } from "./actions/create-comment.mjs";
|
|
2
3
|
import { respondIoCreateContact } from "./actions/create-contact.mjs";
|
|
3
4
|
import { respondIoCreateSpaceTag } from "./actions/create-space-tag.mjs";
|
|
@@ -5,6 +6,5 @@ import { respondIoGetMessage } from "./actions/get-message.mjs";
|
|
|
5
6
|
import { respondIoListChannels } from "./actions/list-channels.mjs";
|
|
6
7
|
import { respondIoListUsers } from "./actions/list-users.mjs";
|
|
7
8
|
import { respondIoUpdateSpaceTag } from "./actions/update-space-tag.mjs";
|
|
8
|
-
import { respondIo } from "./app.mjs";
|
|
9
9
|
import { respondIoCatalog } from "./catalog.mjs";
|
|
10
10
|
export { respondIo, respondIoCatalog, respondIoCreateComment, respondIoCreateContact, respondIoCreateSpaceTag, respondIoGetMessage, respondIoListChannels, respondIoListUsers, respondIoUpdateSpaceTag };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/respond_io",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
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.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|