@keystrokehq/respond_io 0.1.2 → 0.1.4
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/actions/create-comment.cjs +1 -1
- package/dist/actions/create-comment.cjs.map +1 -1
- package/dist/actions/create-comment.d.cts +1 -1
- package/dist/actions/create-comment.d.mts +1 -1
- package/dist/actions/create-comment.mjs +1 -1
- package/dist/actions/create-comment.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +2 -2
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -2
- package/dist/actions/create-contact.d.mts +3 -2
- package/dist/actions/create-contact.mjs +2 -2
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-space-tag.cjs +1 -1
- package/dist/actions/create-space-tag.cjs.map +1 -1
- package/dist/actions/create-space-tag.d.cts +1 -1
- package/dist/actions/create-space-tag.d.mts +1 -1
- package/dist/actions/create-space-tag.mjs +1 -1
- package/dist/actions/create-space-tag.mjs.map +1 -1
- package/dist/actions/get-message.cjs +4 -4
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +5 -5
- package/dist/actions/get-message.d.mts +5 -5
- package/dist/actions/get-message.mjs +4 -4
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/list-channels.cjs +3 -3
- package/dist/actions/list-channels.cjs.map +1 -1
- package/dist/actions/list-channels.d.cts +3 -3
- package/dist/actions/list-channels.d.mts +3 -3
- package/dist/actions/list-channels.mjs +3 -3
- package/dist/actions/list-channels.mjs.map +1 -1
- package/dist/actions/list-users.cjs +3 -3
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -3
- package/dist/actions/list-users.d.mts +3 -3
- package/dist/actions/list-users.mjs +3 -3
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/update-space-tag.cjs +1 -1
- package/dist/actions/update-space-tag.cjs.map +1 -1
- package/dist/actions/update-space-tag.d.cts +1 -1
- package/dist/actions/update-space-tag.d.mts +1 -1
- package/dist/actions/update-space-tag.mjs +1 -1
- package/dist/actions/update-space-tag.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ const RespondIoCreateCommentOutput = zod.z.object({
|
|
|
9
9
|
text: zod.z.string().describe("Text of the created comment.").nullable(),
|
|
10
10
|
contactId: zod.z.number().int().describe("Numeric ID of the contact for which the comment was added.").nullable(),
|
|
11
11
|
created_at: zod.z.number().int().describe("Unix timestamp (in seconds) when the comment was created.").nullable()
|
|
12
|
-
}).describe("Response model for the created comment.");
|
|
12
|
+
}).passthrough().describe("Response model for the created comment.");
|
|
13
13
|
const respondIoCreateComment = require_action.action("RESPOND_IO_CREATE_COMMENT", {
|
|
14
14
|
slug: "respond_io-create-comment",
|
|
15
15
|
name: "Add internal comment to conversation",
|
|
@@ -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}).describe(\"Response model for the created comment.\");\n\nexport const respondIoCreateComment = action(\"RESPOND_IO_CREATE_COMMENT\", {\n slug: \"respond_io-create-comment\",\n name: \"Add internal comment to conversation\",\n description: \"Tool to add a comment (internal note) to a contact's conversation. Use after verifying the contact identifier.\",\n input: RespondIoCreateCommentInput,\n output: RespondIoCreateCommentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,yCAAyC;
|
|
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":";;;AAIA,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,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const RespondIoCreateCommentOutput: z.ZodObject<{
|
|
|
9
9
|
text: z.ZodNullable<z.ZodString>;
|
|
10
10
|
contactId: z.ZodNullable<z.ZodNumber>;
|
|
11
11
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const respondIoCreateComment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
text: string;
|
|
15
15
|
identifier: string;
|
|
@@ -9,7 +9,7 @@ declare const RespondIoCreateCommentOutput: z.ZodObject<{
|
|
|
9
9
|
text: z.ZodNullable<z.ZodString>;
|
|
10
10
|
contactId: z.ZodNullable<z.ZodNumber>;
|
|
11
11
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const respondIoCreateComment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
text: string;
|
|
15
15
|
identifier: string;
|
|
@@ -12,7 +12,7 @@ const respondIoCreateComment = action("RESPOND_IO_CREATE_COMMENT", {
|
|
|
12
12
|
text: z.string().describe("Text of the created comment.").nullable(),
|
|
13
13
|
contactId: z.number().int().describe("Numeric ID of the contact for which the comment was added.").nullable(),
|
|
14
14
|
created_at: z.number().int().describe("Unix timestamp (in seconds) when the comment was created.").nullable()
|
|
15
|
-
}).describe("Response model for the created comment.")
|
|
15
|
+
}).passthrough().describe("Response model for the created comment.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { respondIoCreateComment };
|
|
@@ -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}).describe(\"Response model for the created comment.\");\n\nexport const respondIoCreateComment = action(\"RESPOND_IO_CREATE_COMMENT\", {\n slug: \"respond_io-create-comment\",\n name: \"Add internal comment to conversation\",\n description: \"Tool to add a comment (internal note) to a contact's conversation. Use after verifying the contact identifier.\",\n input: RespondIoCreateCommentInput,\n output: RespondIoCreateCommentOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;EAC5I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAClM,CAAC,CAAC,CAAC,SAAS,2EAWH;CACP,QAX0C,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,SAAS,
|
|
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":";;AAcA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;EAC5I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAClM,CAAC,CAAC,CAAC,SAAS,2EAWH;CACP,QAX0C,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,yCAOhB;AACV,CAAC"}
|
|
@@ -13,12 +13,12 @@ const RespondIoCreateContactInput = zod.z.object({
|
|
|
13
13
|
custom_fields: zod.z.array(zod.z.object({
|
|
14
14
|
name: zod.z.string().describe("Name of the custom field"),
|
|
15
15
|
value: zod.z.string().describe("Value of the custom field").optional()
|
|
16
|
-
})).describe("List of custom fields for the contact. Note: Custom fields must already exist in the workspace before they can be assigned to a contact").optional()
|
|
16
|
+
}).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()
|
|
17
17
|
});
|
|
18
18
|
const RespondIoCreateContactOutput = zod.z.object({
|
|
19
19
|
code: zod.z.number().int().describe("HTTP status code of the response").nullable(),
|
|
20
20
|
message: zod.z.string().describe("API response message").nullable()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const respondIoCreateContact = require_action.action("RESPOND_IO_CREATE_CONTACT", {
|
|
23
23
|
slug: "respond_io-create-contact",
|
|
24
24
|
name: "Create Contact",
|
|
@@ -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})).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});\n\nexport const respondIoCreateContact = action(\"RESPOND_IO_CREATE_CONTACT\", {\n slug: \"respond_io-create-contact\",\n name: \"Create Contact\",\n description: \"Creates a new contact in the respond.io workspace with the specified details. The contact is identified by email, phone number, or contact ID. Supports adding profile information, language preferences, and custom fields that have been pre-configured in the workspace.\",\n input: RespondIoCreateContactInput,\n output: RespondIoCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;
|
|
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":";;;AAIA,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,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,12 +13,12 @@ declare const RespondIoCreateContactInput: z.ZodObject<{
|
|
|
13
13
|
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
14
|
name: z.ZodString;
|
|
15
15
|
value: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
declare const RespondIoCreateContactOutput: z.ZodObject<{
|
|
19
19
|
code: z.ZodNullable<z.ZodNumber>;
|
|
20
20
|
message: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const respondIoCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
firstName: string;
|
|
24
24
|
identifier: string;
|
|
@@ -29,6 +29,7 @@ declare const respondIoCreateContact: import("@keystrokehq/action").WorkflowActi
|
|
|
29
29
|
profilePic?: string | undefined;
|
|
30
30
|
countryCode?: string | undefined;
|
|
31
31
|
custom_fields?: {
|
|
32
|
+
[x: string]: unknown;
|
|
32
33
|
name: string;
|
|
33
34
|
value?: string | undefined;
|
|
34
35
|
}[] | undefined;
|
|
@@ -13,12 +13,12 @@ declare const RespondIoCreateContactInput: z.ZodObject<{
|
|
|
13
13
|
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
14
|
name: z.ZodString;
|
|
15
15
|
value: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
declare const RespondIoCreateContactOutput: z.ZodObject<{
|
|
19
19
|
code: z.ZodNullable<z.ZodNumber>;
|
|
20
20
|
message: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const respondIoCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
firstName: string;
|
|
24
24
|
identifier: string;
|
|
@@ -29,6 +29,7 @@ declare const respondIoCreateContact: import("@keystrokehq/action").WorkflowActi
|
|
|
29
29
|
profilePic?: string | undefined;
|
|
30
30
|
countryCode?: string | undefined;
|
|
31
31
|
custom_fields?: {
|
|
32
|
+
[x: string]: unknown;
|
|
32
33
|
name: string;
|
|
33
34
|
value?: string | undefined;
|
|
34
35
|
}[] | undefined;
|
|
@@ -16,12 +16,12 @@ const respondIoCreateContact = action("RESPOND_IO_CREATE_CONTACT", {
|
|
|
16
16
|
custom_fields: z.array(z.object({
|
|
17
17
|
name: z.string().describe("Name of the custom field"),
|
|
18
18
|
value: z.string().describe("Value of the custom field").optional()
|
|
19
|
-
})).describe("List of custom fields for the contact. Note: Custom fields must already exist in the workspace before they can be assigned to a contact").optional()
|
|
19
|
+
}).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()
|
|
20
20
|
}),
|
|
21
21
|
output: z.object({
|
|
22
22
|
code: z.number().int().describe("HTTP status code of the response").nullable(),
|
|
23
23
|
message: z.string().describe("API response message").nullable()
|
|
24
|
-
})
|
|
24
|
+
}).passthrough()
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { respondIoCreateContact };
|
|
@@ -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})).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});\n\nexport const respondIoCreateContact = action(\"RESPOND_IO_CREATE_CONTACT\", {\n slug: \"respond_io-create-contact\",\n name: \"Create Contact\",\n description: \"Creates a new contact in the respond.io workspace with the specified details. The contact is identified by email, phone number, or contact ID. Supports adding profile information, language preferences, and custom fields that have been pre-configured in the workspace.\",\n input: RespondIoCreateContactInput,\n output: RespondIoCreateContactOutput,\n});\n"],"mappings":";;AAuBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvByC,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,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;
|
|
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":";;AAuBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvByC,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,CAUS;CACP,QAV0C,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,YAOO;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const RespondIoCreateSpaceTagOutput = zod.z.object({
|
|
|
13
13
|
created_at: zod.z.string().describe("ISO 8601 formatted UTC timestamp indicating when the tag was created.").nullable(),
|
|
14
14
|
updated_at: zod.z.string().describe("ISO 8601 formatted UTC timestamp indicating when the tag was last modified. For newly created tags, this equals created_at.").nullable(),
|
|
15
15
|
description: zod.z.string().describe("The tag's description text if provided, otherwise null.").nullable().optional()
|
|
16
|
-
}).describe("Response schema for a newly created workspace tag.");
|
|
16
|
+
}).passthrough().describe("Response schema for a newly created workspace tag.");
|
|
17
17
|
const respondIoCreateSpaceTag = require_action.action("RESPOND_IO_CREATE_SPACE_TAG", {
|
|
18
18
|
slug: "respond_io-create-space-tag",
|
|
19
19
|
name: "Create Space Tag",
|
|
@@ -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}).describe(\"Response schema for a newly created workspace tag.\");\n\nexport const respondIoCreateSpaceTag = action(\"RESPOND_IO_CREATE_SPACE_TAG\", {\n slug: \"respond_io-create-space-tag\",\n name: \"Create Space Tag\",\n description: \"Creates a new tag in the Respond.io workspace for organizing and categorizing contacts and conversations. Tags help with segmentation, filtering, and workflow automation. Each tag must have a unique name within the workspace.\",\n input: RespondIoCreateSpaceTagInput,\n output: RespondIoCreateSpaceTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+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,SAAS,oDAAoD;
|
|
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":";;;AAIA,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,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const RespondIoCreateSpaceTagOutput: z.ZodObject<{
|
|
|
13
13
|
created_at: z.ZodNullable<z.ZodString>;
|
|
14
14
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
15
15
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const respondIoCreateSpaceTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
name: string;
|
|
19
19
|
color_code?: string | undefined;
|
|
@@ -13,7 +13,7 @@ declare const RespondIoCreateSpaceTagOutput: z.ZodObject<{
|
|
|
13
13
|
created_at: z.ZodNullable<z.ZodString>;
|
|
14
14
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
15
15
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const respondIoCreateSpaceTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
name: string;
|
|
19
19
|
color_code?: string | undefined;
|
|
@@ -16,7 +16,7 @@ const respondIoCreateSpaceTag = action("RESPOND_IO_CREATE_SPACE_TAG", {
|
|
|
16
16
|
created_at: z.string().describe("ISO 8601 formatted UTC timestamp indicating when the tag was created.").nullable(),
|
|
17
17
|
updated_at: z.string().describe("ISO 8601 formatted UTC timestamp indicating when the tag was last modified. For newly created tags, this equals created_at.").nullable(),
|
|
18
18
|
description: z.string().describe("The tag's description text if provided, otherwise null.").nullable().optional()
|
|
19
|
-
}).describe("Response schema for a newly created workspace tag.")
|
|
19
|
+
}).passthrough().describe("Response schema for a newly created workspace tag.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { respondIoCreateSpaceTag };
|
|
@@ -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}).describe(\"Response schema for a newly created workspace tag.\");\n\nexport const respondIoCreateSpaceTag = action(\"RESPOND_IO_CREATE_SPACE_TAG\", {\n slug: \"respond_io-create-space-tag\",\n name: \"Create Space Tag\",\n description: \"Creates a new tag in the Respond.io workspace for organizing and categorizing contacts and conversations. Tags help with segmentation, filtering, and workflow automation. Each tag must have a unique name within the workspace.\",\n input: RespondIoCreateSpaceTagInput,\n output: RespondIoCreateSpaceTagOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,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,gEAcH;CACP,QAd2C,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,SAAS,
|
|
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":";;AAkBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,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,gEAcH;CACP,QAd2C,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,oDAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEStatusSchema = zod.z.object({
|
|
|
15
15
|
]).describe("Delivery status of the message.").nullable(),
|
|
16
16
|
message: zod.z.string().describe("Reason for failure, if status is 'failed'.").nullable().optional(),
|
|
17
17
|
timestamp: zod.z.number().int().describe("Unix timestamp in seconds indicating when the status was recorded.").nullable()
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema = zod.z.object({
|
|
20
20
|
url: zod.z.string().describe("URL of the attachment.").nullable(),
|
|
21
21
|
type: zod.z.enum([
|
|
@@ -27,7 +27,7 @@ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema = zod.z.object(
|
|
|
27
27
|
fileName: zod.z.string().describe("Name of the file.").nullable().optional(),
|
|
28
28
|
mimeType: zod.z.string().describe("MIME type of the attachment (e.g., 'image/png').").nullable().optional(),
|
|
29
29
|
description: zod.z.string().describe("Optional description of the attachment.").nullable().optional()
|
|
30
|
-
});
|
|
30
|
+
}).passthrough();
|
|
31
31
|
const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema = zod.z.object({
|
|
32
32
|
text: zod.z.string().describe("Text content of the message (for text messages).").nullable().optional(),
|
|
33
33
|
type: zod.z.enum([
|
|
@@ -44,7 +44,7 @@ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema = zod.z.object({
|
|
|
44
44
|
"POST_PURCHASE_UPDATE",
|
|
45
45
|
"CONFIRMED_EVENT_UPDATE"
|
|
46
46
|
]).describe("Tag for Facebook/Instagram messages sent outside 24h window. Allowed values: ACCOUNT_UPDATE, POST_PURCHASE_UPDATE, CONFIRMED_EVENT_UPDATE.").nullable().optional()
|
|
47
|
-
});
|
|
47
|
+
}).passthrough();
|
|
48
48
|
const RespondIoGetMessageOutput = zod.z.object({
|
|
49
49
|
status: zod.z.array(RespondIoGetMessage_RESPOND_IO_GET_MESSAGEStatusSchema).describe("Delivery statuses of the message."),
|
|
50
50
|
message: RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema.nullable(),
|
|
@@ -53,7 +53,7 @@ const RespondIoGetMessageOutput = zod.z.object({
|
|
|
53
53
|
contactId: zod.z.number().int().describe("ID of the contact associated with the message.").nullable(),
|
|
54
54
|
messageId: zod.z.number().int().describe("Unique ID of the message.").nullable(),
|
|
55
55
|
channelMessageId: zod.z.string().describe("Identifier of the message on the channel.").nullable().optional()
|
|
56
|
-
});
|
|
56
|
+
}).passthrough();
|
|
57
57
|
const respondIoGetMessage = require_action.action("RESPOND_IO_GET_MESSAGE", {
|
|
58
58
|
slug: "respond_io-get-message",
|
|
59
59
|
name: "Get Message",
|
|
@@ -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});\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});\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});\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});\n\nexport const respondIoGetMessage = action(\"RESPOND_IO_GET_MESSAGE\", {\n slug: \"respond_io-get-message\",\n name: \"Get Message\",\n description: \"Tool to retrieve a specific message. Use when you need the details of a message sent to or received from a contact.\",\n input: RespondIoGetMessageInput,\n output: RespondIoGetMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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;
|
|
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":";;;AAIA,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,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,12 +16,12 @@ declare const RespondIoGetMessageOutput: z.ZodObject<{
|
|
|
16
16
|
}>>;
|
|
17
17
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
20
|
message: z.ZodNullable<z.ZodObject<{
|
|
21
21
|
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
type: z.ZodNullable<z.ZodEnum<{
|
|
23
|
-
text: "text";
|
|
24
23
|
file: "file";
|
|
24
|
+
text: "text";
|
|
25
25
|
image: "image";
|
|
26
26
|
video: "video";
|
|
27
27
|
audio: "audio";
|
|
@@ -38,13 +38,13 @@ declare const RespondIoGetMessageOutput: z.ZodObject<{
|
|
|
38
38
|
fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
messageTag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
43
43
|
ACCOUNT_UPDATE: "ACCOUNT_UPDATE";
|
|
44
44
|
POST_PURCHASE_UPDATE: "POST_PURCHASE_UPDATE";
|
|
45
45
|
CONFIRMED_EVENT_UPDATE: "CONFIRMED_EVENT_UPDATE";
|
|
46
46
|
}>>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>;
|
|
48
48
|
traffic: z.ZodNullable<z.ZodEnum<{
|
|
49
49
|
outgoing: "outgoing";
|
|
50
50
|
incoming: "incoming";
|
|
@@ -53,7 +53,7 @@ declare const RespondIoGetMessageOutput: z.ZodObject<{
|
|
|
53
53
|
contactId: z.ZodNullable<z.ZodNumber>;
|
|
54
54
|
messageId: z.ZodNullable<z.ZodNumber>;
|
|
55
55
|
channelMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const respondIoGetMessage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
messageId: number;
|
|
59
59
|
identifier: string;
|
|
@@ -16,12 +16,12 @@ declare const RespondIoGetMessageOutput: z.ZodObject<{
|
|
|
16
16
|
}>>;
|
|
17
17
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
20
|
message: z.ZodNullable<z.ZodObject<{
|
|
21
21
|
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
type: z.ZodNullable<z.ZodEnum<{
|
|
23
|
-
text: "text";
|
|
24
23
|
file: "file";
|
|
24
|
+
text: "text";
|
|
25
25
|
image: "image";
|
|
26
26
|
video: "video";
|
|
27
27
|
audio: "audio";
|
|
@@ -38,13 +38,13 @@ declare const RespondIoGetMessageOutput: z.ZodObject<{
|
|
|
38
38
|
fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
messageTag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
43
43
|
ACCOUNT_UPDATE: "ACCOUNT_UPDATE";
|
|
44
44
|
POST_PURCHASE_UPDATE: "POST_PURCHASE_UPDATE";
|
|
45
45
|
CONFIRMED_EVENT_UPDATE: "CONFIRMED_EVENT_UPDATE";
|
|
46
46
|
}>>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>;
|
|
48
48
|
traffic: z.ZodNullable<z.ZodEnum<{
|
|
49
49
|
outgoing: "outgoing";
|
|
50
50
|
incoming: "incoming";
|
|
@@ -53,7 +53,7 @@ declare const RespondIoGetMessageOutput: z.ZodObject<{
|
|
|
53
53
|
contactId: z.ZodNullable<z.ZodNumber>;
|
|
54
54
|
messageId: z.ZodNullable<z.ZodNumber>;
|
|
55
55
|
channelMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const respondIoGetMessage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
messageId: number;
|
|
59
59
|
identifier: string;
|
|
@@ -15,7 +15,7 @@ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEStatusSchema = z.object({
|
|
|
15
15
|
]).describe("Delivery status of the message.").nullable(),
|
|
16
16
|
message: z.string().describe("Reason for failure, if status is 'failed'.").nullable().optional(),
|
|
17
17
|
timestamp: z.number().int().describe("Unix timestamp in seconds indicating when the status was recorded.").nullable()
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema = z.object({
|
|
20
20
|
url: z.string().describe("URL of the attachment.").nullable(),
|
|
21
21
|
type: z.enum([
|
|
@@ -27,7 +27,7 @@ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEAttachmentSchema = z.object({
|
|
|
27
27
|
fileName: z.string().describe("Name of the file.").nullable().optional(),
|
|
28
28
|
mimeType: z.string().describe("MIME type of the attachment (e.g., 'image/png').").nullable().optional(),
|
|
29
29
|
description: z.string().describe("Optional description of the attachment.").nullable().optional()
|
|
30
|
-
});
|
|
30
|
+
}).passthrough();
|
|
31
31
|
const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema = z.object({
|
|
32
32
|
text: z.string().describe("Text content of the message (for text messages).").nullable().optional(),
|
|
33
33
|
type: z.enum([
|
|
@@ -44,7 +44,7 @@ const RespondIoGetMessage_RESPOND_IO_GET_MESSAGEMessageSchema = z.object({
|
|
|
44
44
|
"POST_PURCHASE_UPDATE",
|
|
45
45
|
"CONFIRMED_EVENT_UPDATE"
|
|
46
46
|
]).describe("Tag for Facebook/Instagram messages sent outside 24h window. Allowed values: ACCOUNT_UPDATE, POST_PURCHASE_UPDATE, CONFIRMED_EVENT_UPDATE.").nullable().optional()
|
|
47
|
-
});
|
|
47
|
+
}).passthrough();
|
|
48
48
|
const respondIoGetMessage = action("RESPOND_IO_GET_MESSAGE", {
|
|
49
49
|
slug: "respond_io-get-message",
|
|
50
50
|
name: "Get Message",
|
|
@@ -58,7 +58,7 @@ const respondIoGetMessage = action("RESPOND_IO_GET_MESSAGE", {
|
|
|
58
58
|
contactId: z.number().int().describe("ID of the contact associated with the message.").nullable(),
|
|
59
59
|
messageId: z.number().int().describe("Unique ID of the message.").nullable(),
|
|
60
60
|
channelMessageId: z.string().describe("Identifier of the message on the channel.").nullable().optional()
|
|
61
|
-
})
|
|
61
|
+
}).passthrough()
|
|
62
62
|
});
|
|
63
63
|
//#endregion
|
|
64
64
|
export { respondIoGetMessage };
|
|
@@ -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});\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});\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});\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});\n\nexport const respondIoGetMessage = action(\"RESPOND_IO_GET_MESSAGE\", {\n slug: \"respond_io-get-message\",\n name: \"Get Message\",\n description: \"Tool to retrieve a specific message. Use when you need the details of a message sent to or received from a contact.\",\n input: RespondIoGetMessageInput,\n output: RespondIoGetMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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;
|
|
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":";;;AAIA,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,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfuC,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,YAOO;AACV,CAAC"}
|
|
@@ -29,15 +29,15 @@ const RespondIoListChannels_ChannelItemSchema = zod.z.object({
|
|
|
29
29
|
"whatsapp_cloud"
|
|
30
30
|
]).describe("Type of the channel.").nullable(),
|
|
31
31
|
created_at: zod.z.number().int().describe("Unix timestamp (in seconds) when the channel was created.").nullable()
|
|
32
|
-
}).describe("Represents a messaging channel connected to the workspace.");
|
|
32
|
+
}).passthrough().describe("Represents a messaging channel connected to the workspace.");
|
|
33
33
|
const RespondIoListChannels_PaginationSchema = zod.z.object({
|
|
34
34
|
next: zod.z.string().nullable(),
|
|
35
35
|
previous: zod.z.string().describe("URL to the previous page of results.").nullable().optional()
|
|
36
|
-
}).describe("URLs for navigating through paginated channel list.");
|
|
36
|
+
}).passthrough().describe("URLs for navigating through paginated channel list.");
|
|
37
37
|
const RespondIoListChannelsOutput = zod.z.object({
|
|
38
38
|
items: zod.z.array(RespondIoListChannels_ChannelItemSchema).describe("List of channels connected to the workspace."),
|
|
39
39
|
pagination: RespondIoListChannels_PaginationSchema.nullable()
|
|
40
|
-
}).describe("Response model containing the list of channels and pagination info.");
|
|
40
|
+
}).passthrough().describe("Response model containing the list of channels and pagination info.");
|
|
41
41
|
const respondIoListChannels = require_action.action("RESPOND_IO_LIST_CHANNELS", {
|
|
42
42
|
slug: "respond_io-list-channels",
|
|
43
43
|
name: "List channels",
|
|
@@ -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}).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}).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}).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":";;;AAIA,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,SAAS,4DAA4D;
|
|
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":";;;AAIA,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,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -30,12 +30,12 @@ declare const RespondIoListChannelsOutput: z.ZodObject<{
|
|
|
30
30
|
whatsapp_cloud: "whatsapp_cloud";
|
|
31
31
|
}>>;
|
|
32
32
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
35
35
|
next: z.ZodNullable<z.ZodString>;
|
|
36
36
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const respondIoListChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
limit?: number | undefined;
|
|
41
41
|
cursorId?: number | undefined;
|
|
@@ -30,12 +30,12 @@ declare const RespondIoListChannelsOutput: z.ZodObject<{
|
|
|
30
30
|
whatsapp_cloud: "whatsapp_cloud";
|
|
31
31
|
}>>;
|
|
32
32
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
35
35
|
next: z.ZodNullable<z.ZodString>;
|
|
36
36
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const respondIoListChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
limit?: number | undefined;
|
|
41
41
|
cursorId?: number | undefined;
|
|
@@ -29,11 +29,11 @@ const RespondIoListChannels_ChannelItemSchema = z.object({
|
|
|
29
29
|
"whatsapp_cloud"
|
|
30
30
|
]).describe("Type of the channel.").nullable(),
|
|
31
31
|
created_at: z.number().int().describe("Unix timestamp (in seconds) when the channel was created.").nullable()
|
|
32
|
-
}).describe("Represents a messaging channel connected to the workspace.");
|
|
32
|
+
}).passthrough().describe("Represents a messaging channel connected to the workspace.");
|
|
33
33
|
const RespondIoListChannels_PaginationSchema = z.object({
|
|
34
34
|
next: z.string().nullable(),
|
|
35
35
|
previous: z.string().describe("URL to the previous page of results.").nullable().optional()
|
|
36
|
-
}).describe("URLs for navigating through paginated channel list.");
|
|
36
|
+
}).passthrough().describe("URLs for navigating through paginated channel list.");
|
|
37
37
|
const respondIoListChannels = action("RESPOND_IO_LIST_CHANNELS", {
|
|
38
38
|
slug: "respond_io-list-channels",
|
|
39
39
|
name: "List channels",
|
|
@@ -42,7 +42,7 @@ const respondIoListChannels = action("RESPOND_IO_LIST_CHANNELS", {
|
|
|
42
42
|
output: z.object({
|
|
43
43
|
items: z.array(RespondIoListChannels_ChannelItemSchema).describe("List of channels connected to the workspace."),
|
|
44
44
|
pagination: RespondIoListChannels_PaginationSchema.nullable()
|
|
45
|
-
}).describe("Response model containing the list of channels and pagination info.")
|
|
45
|
+
}).passthrough().describe("Response model containing the list of channels and pagination info.")
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
48
|
export { respondIoListChannels };
|
|
@@ -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}).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}).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}).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":";;;AAIA,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,SAAS,4DAA4D;
|
|
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":";;;AAIA,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,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8CAA8C;EAC/G,YAAY,uCAAuC,SAAS;CAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RespondIoListUsersInput = zod.z.object({}).describe("Request model for lis
|
|
|
5
5
|
const RespondIoListUsers_TeamSchema = zod.z.object({
|
|
6
6
|
id: zod.z.number().int().describe("Unique identifier of the team.").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Name of the team.").nullable()
|
|
8
|
-
}).describe("Team object associated with a user.");
|
|
8
|
+
}).passthrough().describe("Team object associated with a user.");
|
|
9
9
|
const RespondIoListUsers_UserItemSchema = zod.z.object({
|
|
10
10
|
id: zod.z.number().int().describe("Unique identifier of the user.").nullable(),
|
|
11
11
|
role: zod.z.enum([
|
|
@@ -26,8 +26,8 @@ const RespondIoListUsers_UserItemSchema = zod.z.object({
|
|
|
26
26
|
"restrict_space_integration",
|
|
27
27
|
"restrict_shortcuts"
|
|
28
28
|
])).describe("Workspace-level restrictions applied to the user.")
|
|
29
|
-
}).describe("Represents a user in the workspace.");
|
|
30
|
-
const RespondIoListUsersOutput = zod.z.object({ data: zod.z.array(RespondIoListUsers_UserItemSchema).describe("List of users in the workspace.") }).describe("Response model containing a list of users in the workspace.");
|
|
29
|
+
}).passthrough().describe("Represents a user in the workspace.");
|
|
30
|
+
const RespondIoListUsersOutput = zod.z.object({ data: zod.z.array(RespondIoListUsers_UserItemSchema).describe("List of users in the workspace.") }).passthrough().describe("Response model containing a list of users in the workspace.");
|
|
31
31
|
const respondIoListUsers = require_action.action("RESPOND_IO_LIST_USERS", {
|
|
32
32
|
slug: "respond_io-list-users",
|
|
33
33
|
name: "List users",
|
|
@@ -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}).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}).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}).describe(\"Response model containing a list of users in the workspace.\");\n\nexport const respondIoListUsers = action(\"RESPOND_IO_LIST_USERS\", {\n slug: \"respond_io-list-users\",\n name: \"List users\",\n description: \"Tool to retrieve a list of users in the workspace. Use when you need to fetch all workspace users for auditing or assignment.\",\n input: RespondIoListUsersInput,\n output: RespondIoListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,qCAAqC;
|
|
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":";;;AAIA,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,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const RespondIoListUsersOutput: z.ZodObject<{
|
|
|
13
13
|
team: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
id: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
name: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
email: z.ZodNullable<z.ZodString>;
|
|
18
18
|
lastName: z.ZodNullable<z.ZodString>;
|
|
19
19
|
firstName: z.ZodNullable<z.ZodString>;
|
|
@@ -26,8 +26,8 @@ declare const RespondIoListUsersOutput: z.ZodObject<{
|
|
|
26
26
|
restrict_space_integration: "restrict_space_integration";
|
|
27
27
|
restrict_shortcuts: "restrict_shortcuts";
|
|
28
28
|
}>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const respondIoListUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { respondIoListUsers };
|
|
@@ -13,7 +13,7 @@ declare const RespondIoListUsersOutput: z.ZodObject<{
|
|
|
13
13
|
team: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
id: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
name: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
email: z.ZodNullable<z.ZodString>;
|
|
18
18
|
lastName: z.ZodNullable<z.ZodString>;
|
|
19
19
|
firstName: z.ZodNullable<z.ZodString>;
|
|
@@ -26,8 +26,8 @@ declare const RespondIoListUsersOutput: z.ZodObject<{
|
|
|
26
26
|
restrict_space_integration: "restrict_space_integration";
|
|
27
27
|
restrict_shortcuts: "restrict_shortcuts";
|
|
28
28
|
}>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const respondIoListUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { respondIoListUsers };
|
|
@@ -5,7 +5,7 @@ const RespondIoListUsersInput = z.object({}).describe("Request model for listing
|
|
|
5
5
|
const RespondIoListUsers_TeamSchema = z.object({
|
|
6
6
|
id: z.number().int().describe("Unique identifier of the team.").nullable(),
|
|
7
7
|
name: z.string().describe("Name of the team.").nullable()
|
|
8
|
-
}).describe("Team object associated with a user.");
|
|
8
|
+
}).passthrough().describe("Team object associated with a user.");
|
|
9
9
|
const RespondIoListUsers_UserItemSchema = z.object({
|
|
10
10
|
id: z.number().int().describe("Unique identifier of the user.").nullable(),
|
|
11
11
|
role: z.enum([
|
|
@@ -26,13 +26,13 @@ const RespondIoListUsers_UserItemSchema = z.object({
|
|
|
26
26
|
"restrict_space_integration",
|
|
27
27
|
"restrict_shortcuts"
|
|
28
28
|
])).describe("Workspace-level restrictions applied to the user.")
|
|
29
|
-
}).describe("Represents a user in the workspace.");
|
|
29
|
+
}).passthrough().describe("Represents a user in the workspace.");
|
|
30
30
|
const respondIoListUsers = action("RESPOND_IO_LIST_USERS", {
|
|
31
31
|
slug: "respond_io-list-users",
|
|
32
32
|
name: "List users",
|
|
33
33
|
description: "Tool to retrieve a list of users in the workspace. Use when you need to fetch all workspace users for auditing or assignment.",
|
|
34
34
|
input: RespondIoListUsersInput,
|
|
35
|
-
output: z.object({ data: z.array(RespondIoListUsers_UserItemSchema).describe("List of users in the workspace.") }).describe("Response model containing a list of users in the workspace.")
|
|
35
|
+
output: z.object({ data: z.array(RespondIoListUsers_UserItemSchema).describe("List of users in the workspace.") }).passthrough().describe("Response model containing a list of users in the workspace.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { respondIoListUsers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoListUsersInput = z.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}).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}).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}).describe(\"Response model containing a list of users in the workspace.\");\n\nexport const respondIoListUsers = action(\"RESPOND_IO_LIST_USERS\", {\n slug: \"respond_io-list-users\",\n name: \"List users\",\n description: \"Tool to retrieve a list of users in the workspace. Use when you need to fetch all workspace users for auditing or assignment.\",\n input: RespondIoListUsersInput,\n output: RespondIoListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACpH,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoListUsersInput = z.object({}).describe(\"Request model for listing all users in the workspace.\");\nconst RespondIoListUsers_TeamSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the team.\").nullable(),\n name: z.string().describe(\"Name of the team.\").nullable(),\n}).passthrough().describe(\"Team object associated with a user.\");\nconst RespondIoListUsers_UserItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user.\").nullable(),\n role: z.enum([\"agent\", \"manager\", \"owner\"]).describe(\"Role of the user in the workspace.\").nullable(),\n team: RespondIoListUsers_TeamSchema.nullable().optional(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n lastName: z.string().describe(\"Last name of the user.\").nullable(),\n firstName: z.string().describe(\"First name of the user.\").nullable(),\n restrictions: z.array(z.enum([\"restrict_data_export\", \"restrict_contact_deletion\", \"restrict_space_settings\", \"show_team_contacts\", \"show_only_mine\", \"restrict_space_integration\", \"restrict_shortcuts\"])).describe(\"Workspace-level restrictions applied to the user.\"),\n}).passthrough().describe(\"Represents a user in the workspace.\");\nexport const RespondIoListUsersOutput = z.object({\n data: z.array(RespondIoListUsers_UserItemSchema).describe(\"List of users in the workspace.\"),\n}).passthrough().describe(\"Response model containing a list of users in the workspace.\");\n\nexport const respondIoListUsers = action(\"RESPOND_IO_LIST_USERS\", {\n slug: \"respond_io-list-users\",\n name: \"List users\",\n description: \"Tool to retrieve a list of users in the workspace. Use when you need to fetch all workspace users for auditing or assignment.\",\n input: RespondIoListUsersInput,\n output: RespondIoListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACpH,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpG,MAAM,8BAA8B,SAAS,CAAC,CAAC,SAAS;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,cAAc,EAAE,MAAM,EAAE,KAAK;EAAC;EAAwB;EAA6B;EAA2B;EAAsB;EAAkB;EAA8B;CAAoB,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC1Q,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ const RespondIoUpdateSpaceTagOutput = zod.z.object({
|
|
|
14
14
|
colorCode: zod.z.string().describe("Hex color code of the tag (usually empty string if not set)").nullable().optional(),
|
|
15
15
|
createdAt: zod.z.number().int().describe("Unix timestamp when the tag was originally created").nullable().optional(),
|
|
16
16
|
description: zod.z.string().describe("Updated description of the tag").nullable().optional()
|
|
17
|
-
}).describe("Response model for an updated space tag.");
|
|
17
|
+
}).passthrough().describe("Response model for an updated space tag.");
|
|
18
18
|
const respondIoUpdateSpaceTag = require_action.action("RESPOND_IO_UPDATE_SPACE_TAG", {
|
|
19
19
|
slug: "respond_io-update-space-tag",
|
|
20
20
|
name: "Update Space Tag",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-space-tag.cjs","names":["z","action"],"sources":["../../src/actions/update-space-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoUpdateSpaceTagInput = z.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}).describe(\"Response model for an updated space tag.\");\n\nexport const respondIoUpdateSpaceTag = action(\"RESPOND_IO_UPDATE_SPACE_TAG\", {\n slug: \"respond_io-update-space-tag\",\n name: \"Update Space Tag\",\n description: \"Updates an existing workspace tag by its current name. You can modify the tag's name, description, or emoji. Note: Color codes are not currently supported by the API and will be rejected if provided. At least one field besides currentName must be provided to update.\",\n input: RespondIoUpdateSpaceTagInput,\n output: RespondIoUpdateSpaceTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,iGAAiG;AAC7G,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"update-space-tag.cjs","names":["z","action"],"sources":["../../src/actions/update-space-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoUpdateSpaceTagInput = z.object({\n name: z.string().describe(\"New name for the tag (if you want to rename it)\").optional(),\n emoji: z.string().describe(\"Emoji to associate with the tag (single emoji character)\").optional(),\n colorCode: z.string().describe(\"Hex color code for the tag (Note: Currently not supported by API and will return error if provided)\").optional(),\n currentName: z.string().describe(\"The current name of the tag you want to update (must match exactly)\"),\n description: z.string().describe(\"New description for the tag (updates or sets the description)\").optional(),\n}).describe(\"Request model for updating an existing space tag. At least one optional field must be provided.\");\nexport const RespondIoUpdateSpaceTagOutput = z.object({\n name: z.string().describe(\"Updated name of the tag\").nullable().optional(),\n emoji: z.string().describe(\"Updated emoji associated with the tag\").nullable().optional(),\n colorCode: z.string().describe(\"Hex color code of the tag (usually empty string if not set)\").nullable().optional(),\n createdAt: z.number().int().describe(\"Unix timestamp when the tag was originally created\").nullable().optional(),\n description: z.string().describe(\"Updated description of the tag\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated space tag.\");\n\nexport const respondIoUpdateSpaceTag = action(\"RESPOND_IO_UPDATE_SPACE_TAG\", {\n slug: \"respond_io-update-space-tag\",\n name: \"Update Space Tag\",\n description: \"Updates an existing workspace tag by its current name. You can modify the tag's name, description, or emoji. Note: Color codes are not currently supported by the API and will be rejected if provided. At least one field besides currentName must be provided to update.\",\n input: RespondIoUpdateSpaceTagInput,\n output: RespondIoUpdateSpaceTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,iGAAiG;AAC7G,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ declare const RespondIoUpdateSpaceTagOutput: z.ZodObject<{
|
|
|
14
14
|
colorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const respondIoUpdateSpaceTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
currentName: string;
|
|
20
20
|
name?: string | undefined;
|
|
@@ -14,7 +14,7 @@ declare const RespondIoUpdateSpaceTagOutput: z.ZodObject<{
|
|
|
14
14
|
colorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const respondIoUpdateSpaceTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
currentName: string;
|
|
20
20
|
name?: string | undefined;
|
|
@@ -17,7 +17,7 @@ const respondIoUpdateSpaceTag = action("RESPOND_IO_UPDATE_SPACE_TAG", {
|
|
|
17
17
|
colorCode: z.string().describe("Hex color code of the tag (usually empty string if not set)").nullable().optional(),
|
|
18
18
|
createdAt: z.number().int().describe("Unix timestamp when the tag was originally created").nullable().optional(),
|
|
19
19
|
description: z.string().describe("Updated description of the tag").nullable().optional()
|
|
20
|
-
}).describe("Response model for an updated space tag.")
|
|
20
|
+
}).passthrough().describe("Response model for an updated space tag.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { respondIoUpdateSpaceTag };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-space-tag.mjs","names":[],"sources":["../../src/actions/update-space-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoUpdateSpaceTagInput = z.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}).describe(\"Response model for an updated space tag.\");\n\nexport const respondIoUpdateSpaceTag = action(\"RESPOND_IO_UPDATE_SPACE_TAG\", {\n slug: \"respond_io-update-space-tag\",\n name: \"Update Space Tag\",\n description: \"Updates an existing workspace tag by its current name. You can modify the tag's name, description, or emoji. Note: Color codes are not currently supported by the API and will be rejected if provided. At least one field besides currentName must be provided to update.\",\n input: RespondIoUpdateSpaceTagInput,\n output: RespondIoUpdateSpaceTagOutput,\n});\n"],"mappings":";;AAmBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,iGAaH;CACP,QAb2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-space-tag.mjs","names":[],"sources":["../../src/actions/update-space-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RespondIoUpdateSpaceTagInput = z.object({\n name: z.string().describe(\"New name for the tag (if you want to rename it)\").optional(),\n emoji: z.string().describe(\"Emoji to associate with the tag (single emoji character)\").optional(),\n colorCode: z.string().describe(\"Hex color code for the tag (Note: Currently not supported by API and will return error if provided)\").optional(),\n currentName: z.string().describe(\"The current name of the tag you want to update (must match exactly)\"),\n description: z.string().describe(\"New description for the tag (updates or sets the description)\").optional(),\n}).describe(\"Request model for updating an existing space tag. At least one optional field must be provided.\");\nexport const RespondIoUpdateSpaceTagOutput = z.object({\n name: z.string().describe(\"Updated name of the tag\").nullable().optional(),\n emoji: z.string().describe(\"Updated emoji associated with the tag\").nullable().optional(),\n colorCode: z.string().describe(\"Hex color code of the tag (usually empty string if not set)\").nullable().optional(),\n createdAt: z.number().int().describe(\"Unix timestamp when the tag was originally created\").nullable().optional(),\n description: z.string().describe(\"Updated description of the tag\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated space tag.\");\n\nexport const respondIoUpdateSpaceTag = action(\"RESPOND_IO_UPDATE_SPACE_TAG\", {\n slug: \"respond_io-update-space-tag\",\n name: \"Update Space Tag\",\n description: \"Updates an existing workspace tag by its current name. You can modify the tag's name, description, or emoji. Note: Color codes are not currently supported by the API and will be rejected if provided. At least one field besides currentName must be provided to update.\",\n input: RespondIoUpdateSpaceTagInput,\n output: RespondIoUpdateSpaceTagOutput,\n});\n"],"mappings":";;AAmBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,iGAaH;CACP,QAb2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const respondIoCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/respond_io",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The API key required to authenticate requests to the respond.io API."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const respondIoCatalog = {\n \"slug\": \"respond_io\",\n \"name\": \"Respond.io\",\n \"description\": \"AI-powered customer conversation management software.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/respond_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const respondIoCatalog = {\n \"slug\": \"respond_io\",\n \"name\": \"Respond.io\",\n \"description\": \"AI-powered customer conversation management software.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/respond_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"The API key required to authenticate requests to the respond.io API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const respondIoCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key required to authenticate requests to the respond.io API.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const respondIoCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key required to authenticate requests to the respond.io API.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const respondIoCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/respond_io",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The API key required to authenticate requests to the respond.io API."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const respondIoCatalog = {\n \"slug\": \"respond_io\",\n \"name\": \"Respond.io\",\n \"description\": \"AI-powered customer conversation management software.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/respond_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const respondIoCatalog = {\n \"slug\": \"respond_io\",\n \"name\": \"Respond.io\",\n \"description\": \"AI-powered customer conversation management software.\",\n \"category\": \"Customer Support\",\n \"logo\": \"https://logos.composio.dev/api/respond_io\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"The API key required to authenticate requests to the respond.io API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|