@keystrokehq/specific 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-company.cjs +27 -0
- package/dist/actions/create-company.cjs.map +1 -0
- package/dist/actions/create-company.d.cts +9 -0
- package/dist/actions/create-company.d.cts.map +1 -0
- package/dist/actions/create-company.d.mts +9 -0
- package/dist/actions/create-company.d.mts.map +1 -0
- package/dist/actions/create-company.mjs +24 -0
- package/dist/actions/create-company.mjs.map +1 -0
- package/dist/actions/create-conversation.cjs +67 -0
- package/dist/actions/create-conversation.cjs.map +1 -0
- package/dist/actions/create-conversation.d.cts +9 -0
- package/dist/actions/create-conversation.d.cts.map +1 -0
- package/dist/actions/create-conversation.d.mts +9 -0
- package/dist/actions/create-conversation.d.mts.map +1 -0
- package/dist/actions/create-conversation.mjs +66 -0
- package/dist/actions/create-conversation.mjs.map +1 -0
- package/dist/actions/create-or-update-company.cjs +40 -0
- package/dist/actions/create-or-update-company.cjs.map +1 -0
- package/dist/actions/create-or-update-company.d.cts +9 -0
- package/dist/actions/create-or-update-company.d.cts.map +1 -0
- package/dist/actions/create-or-update-company.d.mts +9 -0
- package/dist/actions/create-or-update-company.d.mts.map +1 -0
- package/dist/actions/create-or-update-company.mjs +39 -0
- package/dist/actions/create-or-update-company.mjs.map +1 -0
- package/dist/actions/create-or-update-user.cjs +43 -0
- package/dist/actions/create-or-update-user.cjs.map +1 -0
- package/dist/actions/create-or-update-user.d.cts +9 -0
- package/dist/actions/create-or-update-user.d.cts.map +1 -0
- package/dist/actions/create-or-update-user.d.mts +9 -0
- package/dist/actions/create-or-update-user.d.mts.map +1 -0
- package/dist/actions/create-or-update-user.mjs +42 -0
- package/dist/actions/create-or-update-user.mjs.map +1 -0
- package/dist/actions/create-user.cjs +35 -0
- package/dist/actions/create-user.cjs.map +1 -0
- package/dist/actions/create-user.d.cts +9 -0
- package/dist/actions/create-user.d.cts.map +1 -0
- package/dist/actions/create-user.d.mts +9 -0
- package/dist/actions/create-user.d.mts.map +1 -0
- package/dist/actions/create-user.mjs +34 -0
- package/dist/actions/create-user.mjs.map +1 -0
- package/dist/actions/delete-company-attributes.cjs +24 -0
- package/dist/actions/delete-company-attributes.cjs.map +1 -0
- package/dist/actions/delete-company-attributes.d.cts +9 -0
- package/dist/actions/delete-company-attributes.d.cts.map +1 -0
- package/dist/actions/delete-company-attributes.d.mts +9 -0
- package/dist/actions/delete-company-attributes.d.mts.map +1 -0
- package/dist/actions/delete-company-attributes.mjs +21 -0
- package/dist/actions/delete-company-attributes.mjs.map +1 -0
- package/dist/actions/delete-company.cjs +21 -0
- package/dist/actions/delete-company.cjs.map +1 -0
- package/dist/actions/delete-company.d.cts +9 -0
- package/dist/actions/delete-company.d.cts.map +1 -0
- package/dist/actions/delete-company.d.mts +9 -0
- package/dist/actions/delete-company.d.mts.map +1 -0
- package/dist/actions/delete-company.mjs +18 -0
- package/dist/actions/delete-company.mjs.map +1 -0
- package/dist/actions/delete-user-attributes.cjs +34 -0
- package/dist/actions/delete-user-attributes.cjs.map +1 -0
- package/dist/actions/delete-user-attributes.d.cts +9 -0
- package/dist/actions/delete-user-attributes.d.cts.map +1 -0
- package/dist/actions/delete-user-attributes.d.mts +9 -0
- package/dist/actions/delete-user-attributes.d.mts.map +1 -0
- package/dist/actions/delete-user-attributes.mjs +33 -0
- package/dist/actions/delete-user-attributes.mjs.map +1 -0
- package/dist/actions/delete-user.cjs +29 -0
- package/dist/actions/delete-user.cjs.map +1 -0
- package/dist/actions/delete-user.d.cts +9 -0
- package/dist/actions/delete-user.d.cts.map +1 -0
- package/dist/actions/delete-user.d.mts +9 -0
- package/dist/actions/delete-user.d.mts.map +1 -0
- package/dist/actions/delete-user.mjs +28 -0
- package/dist/actions/delete-user.mjs.map +1 -0
- package/dist/actions/get-my-workspace.cjs +21 -0
- package/dist/actions/get-my-workspace.cjs.map +1 -0
- package/dist/actions/get-my-workspace.d.cts +9 -0
- package/dist/actions/get-my-workspace.d.cts.map +1 -0
- package/dist/actions/get-my-workspace.d.mts +9 -0
- package/dist/actions/get-my-workspace.d.mts.map +1 -0
- package/dist/actions/get-my-workspace.mjs +20 -0
- package/dist/actions/get-my-workspace.mjs.map +1 -0
- package/dist/actions/index.cjs +37 -0
- package/dist/actions/index.d.cts +19 -0
- package/dist/actions/index.d.mts +19 -0
- package/dist/actions/index.mjs +19 -0
- package/dist/actions/list-companies.cjs +53 -0
- package/dist/actions/list-companies.cjs.map +1 -0
- package/dist/actions/list-companies.d.cts +9 -0
- package/dist/actions/list-companies.d.cts.map +1 -0
- package/dist/actions/list-companies.d.mts +9 -0
- package/dist/actions/list-companies.d.mts.map +1 -0
- package/dist/actions/list-companies.mjs +52 -0
- package/dist/actions/list-companies.mjs.map +1 -0
- package/dist/actions/list-conversations.cjs +50 -0
- package/dist/actions/list-conversations.cjs.map +1 -0
- package/dist/actions/list-conversations.d.cts +9 -0
- package/dist/actions/list-conversations.d.cts.map +1 -0
- package/dist/actions/list-conversations.d.mts +9 -0
- package/dist/actions/list-conversations.d.mts.map +1 -0
- package/dist/actions/list-conversations.mjs +49 -0
- package/dist/actions/list-conversations.mjs.map +1 -0
- package/dist/actions/list-custom-fields.cjs +29 -0
- package/dist/actions/list-custom-fields.cjs.map +1 -0
- package/dist/actions/list-custom-fields.d.cts +9 -0
- package/dist/actions/list-custom-fields.d.cts.map +1 -0
- package/dist/actions/list-custom-fields.d.mts +9 -0
- package/dist/actions/list-custom-fields.d.mts.map +1 -0
- package/dist/actions/list-custom-fields.mjs +28 -0
- package/dist/actions/list-custom-fields.mjs.map +1 -0
- package/dist/actions/list-sources.cjs +21 -0
- package/dist/actions/list-sources.cjs.map +1 -0
- package/dist/actions/list-sources.d.cts +9 -0
- package/dist/actions/list-sources.d.cts.map +1 -0
- package/dist/actions/list-sources.d.mts +9 -0
- package/dist/actions/list-sources.d.mts.map +1 -0
- package/dist/actions/list-sources.mjs +20 -0
- package/dist/actions/list-sources.mjs.map +1 -0
- package/dist/actions/list-surveys.cjs +37 -0
- package/dist/actions/list-surveys.cjs.map +1 -0
- package/dist/actions/list-surveys.d.cts +9 -0
- package/dist/actions/list-surveys.d.cts.map +1 -0
- package/dist/actions/list-surveys.d.mts +9 -0
- package/dist/actions/list-surveys.d.mts.map +1 -0
- package/dist/actions/list-surveys.mjs +36 -0
- package/dist/actions/list-surveys.mjs.map +1 -0
- package/dist/actions/list-users.cjs +61 -0
- package/dist/actions/list-users.cjs.map +1 -0
- package/dist/actions/list-users.d.cts +9 -0
- package/dist/actions/list-users.d.cts.map +1 -0
- package/dist/actions/list-users.d.mts +9 -0
- package/dist/actions/list-users.d.mts.map +1 -0
- package/dist/actions/list-users.mjs +60 -0
- package/dist/actions/list-users.mjs.map +1 -0
- package/dist/actions/update-company.cjs +26 -0
- package/dist/actions/update-company.cjs.map +1 -0
- package/dist/actions/update-company.d.cts +9 -0
- package/dist/actions/update-company.d.cts.map +1 -0
- package/dist/actions/update-company.d.mts +9 -0
- package/dist/actions/update-company.d.mts.map +1 -0
- package/dist/actions/update-company.mjs +25 -0
- package/dist/actions/update-company.mjs.map +1 -0
- package/dist/actions/update-user.cjs +43 -0
- package/dist/actions/update-user.cjs.map +1 -0
- package/dist/actions/update-user.d.cts +9 -0
- package/dist/actions/update-user.d.cts.map +1 -0
- package/dist/actions/update-user.d.mts +9 -0
- package/dist/actions/update-user.d.mts.map +1 -0
- package/dist/actions/update-user.mjs +42 -0
- package/dist/actions/update-user.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +42 -0
- package/dist/index.d.cts +21 -0
- package/dist/index.d.mts +21 -0
- package/dist/index.mjs +22 -0
- package/package.json +49 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-user.ts
|
|
4
|
+
const SpecificDeleteUserInput = z.object({
|
|
5
|
+
email: z.string().describe("The email address of the user to delete. Either user_id or email must be provided.").optional(),
|
|
6
|
+
user_id: z.string().describe("The unique identifier of the user to delete. Either user_id or email must be provided.").optional()
|
|
7
|
+
}).describe("Request model for deleting a user from the Specific platform.");
|
|
8
|
+
const SpecificDeleteUser_CompanySchema = z.object({
|
|
9
|
+
id: z.string().describe("Company's unique identifier.").nullable().optional(),
|
|
10
|
+
name: z.string().describe("Company name.").nullable().optional()
|
|
11
|
+
}).describe("Company information associated with a user.");
|
|
12
|
+
const specificDeleteUser = action("SPECIFIC_DELETE_USER", {
|
|
13
|
+
slug: "specific-delete-user",
|
|
14
|
+
name: "Delete User",
|
|
15
|
+
description: "Tool to remove a user record from the Specific platform. Use when you need to permanently delete a contact from the workspace.",
|
|
16
|
+
input: SpecificDeleteUserInput,
|
|
17
|
+
output: z.object({
|
|
18
|
+
id: z.string().describe("The unique identifier of the deleted user."),
|
|
19
|
+
name: z.string().describe("The name of the deleted user."),
|
|
20
|
+
email: z.string().describe("The email address of the deleted user.").nullable().optional(),
|
|
21
|
+
company: SpecificDeleteUser_CompanySchema.nullable().optional(),
|
|
22
|
+
visitorId: z.string().describe("Internal Specific ID for the deleted user.")
|
|
23
|
+
}).describe("Response model containing the deleted user's information.")
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { specificDeleteUser };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=delete-user.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteUserInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the user to delete. Either user_id or email must be provided.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user to delete. Either user_id or email must be provided.\").optional(),\n}).describe(\"Request model for deleting a user from the Specific platform.\");\nconst SpecificDeleteUser_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n}).describe(\"Company information associated with a user.\");\nexport const SpecificDeleteUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the deleted user.\"),\n name: z.string().describe(\"The name of the deleted user.\"),\n email: z.string().describe(\"The email address of the deleted user.\").nullable().optional(),\n company: SpecificDeleteUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID for the deleted user.\"),\n}).describe(\"Response model containing the deleted user's information.\");\n\nexport const specificDeleteUser = action(\"SPECIFIC_DELETE_USER\", {\n slug: \"specific-delete-user\",\n name: \"Delete User\",\n description: \"Tool to remove a user record from the Specific platform. Use when you need to permanently delete a contact from the workspace.\",\n input: SpecificDeleteUserInput,\n output: SpecificDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AASzD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC7E,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-my-workspace.ts
|
|
4
|
+
const SpecificGetMyWorkspaceInput = zod.z.object({}).describe("Request model for retrieving current workspace information.\nNo parameters required as it uses the authenticated user's context.");
|
|
5
|
+
const SpecificGetMyWorkspace_MyWorkspaceDataSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier for the workspace"),
|
|
7
|
+
name: zod.z.string().describe("Display name of the workspace")
|
|
8
|
+
}).describe("Workspace information returned by the myWorkspace query.");
|
|
9
|
+
const SpecificGetMyWorkspace_GraphQLDataWrapperSchema = zod.z.object({ myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable() }).describe("Data wrapper containing the myWorkspace field.");
|
|
10
|
+
const SpecificGetMyWorkspaceOutput = zod.z.object({ data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable() }).describe("Response model for the myWorkspace GraphQL query.");
|
|
11
|
+
const specificGetMyWorkspace = require_action.action("SPECIFIC_GET_MY_WORKSPACE", {
|
|
12
|
+
slug: "specific-get-my-workspace",
|
|
13
|
+
name: "Get My Workspace",
|
|
14
|
+
description: "Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.",
|
|
15
|
+
input: SpecificGetMyWorkspaceInput,
|
|
16
|
+
output: SpecificGetMyWorkspaceOutput
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.specificGetMyWorkspace = specificGetMyWorkspace;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=get-my-workspace.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-my-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificGetMyWorkspaceInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\"),\n name: z.string().describe(\"Display name of the workspace\"),\n}).describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema: z.ZodTypeAny = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput: z.ZodTypeAny = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACjN,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC3D,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,kDAAgEA,IAAAA,EAAE,OAAO,EAC7E,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-my-workspace.d.ts
|
|
4
|
+
declare const SpecificGetMyWorkspaceInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpecificGetMyWorkspaceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const specificGetMyWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { specificGetMyWorkspace };
|
|
9
|
+
//# sourceMappingURL=get-my-workspace.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-my-workspace.d.cts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAsK;AAAA,cAQrM,4BAAA,EAA8B,CAAA,CAAE,UAEmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-my-workspace.d.ts
|
|
4
|
+
declare const SpecificGetMyWorkspaceInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpecificGetMyWorkspaceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const specificGetMyWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { specificGetMyWorkspace };
|
|
9
|
+
//# sourceMappingURL=get-my-workspace.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-my-workspace.d.mts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAsK;AAAA,cAQrM,4BAAA,EAA8B,CAAA,CAAE,UAEmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-my-workspace.ts
|
|
4
|
+
const SpecificGetMyWorkspaceInput = z.object({}).describe("Request model for retrieving current workspace information.\nNo parameters required as it uses the authenticated user's context.");
|
|
5
|
+
const SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier for the workspace"),
|
|
7
|
+
name: z.string().describe("Display name of the workspace")
|
|
8
|
+
}).describe("Workspace information returned by the myWorkspace query.");
|
|
9
|
+
const SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({ myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable() }).describe("Data wrapper containing the myWorkspace field.");
|
|
10
|
+
const specificGetMyWorkspace = action("SPECIFIC_GET_MY_WORKSPACE", {
|
|
11
|
+
slug: "specific-get-my-workspace",
|
|
12
|
+
name: "Get My Workspace",
|
|
13
|
+
description: "Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.",
|
|
14
|
+
input: SpecificGetMyWorkspaceInput,
|
|
15
|
+
output: z.object({ data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable() }).describe("Response model for the myWorkspace GraphQL query.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { specificGetMyWorkspace };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-my-workspace.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-my-workspace.mjs","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificGetMyWorkspaceInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\"),\n name: z.string().describe(\"Display name of the workspace\"),\n}).describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema: z.ZodTypeAny = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput: z.ZodTypeAny = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACjN,MAAM,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC3D,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,kDAAgE,EAAE,OAAO,EAC7E,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAK5D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_company = require("./create-company.cjs");
|
|
3
|
+
const require_create_conversation = require("./create-conversation.cjs");
|
|
4
|
+
const require_create_or_update_company = require("./create-or-update-company.cjs");
|
|
5
|
+
const require_create_or_update_user = require("./create-or-update-user.cjs");
|
|
6
|
+
const require_create_user = require("./create-user.cjs");
|
|
7
|
+
const require_delete_company = require("./delete-company.cjs");
|
|
8
|
+
const require_delete_company_attributes = require("./delete-company-attributes.cjs");
|
|
9
|
+
const require_delete_user = require("./delete-user.cjs");
|
|
10
|
+
const require_delete_user_attributes = require("./delete-user-attributes.cjs");
|
|
11
|
+
const require_get_my_workspace = require("./get-my-workspace.cjs");
|
|
12
|
+
const require_list_companies = require("./list-companies.cjs");
|
|
13
|
+
const require_list_conversations = require("./list-conversations.cjs");
|
|
14
|
+
const require_list_custom_fields = require("./list-custom-fields.cjs");
|
|
15
|
+
const require_list_sources = require("./list-sources.cjs");
|
|
16
|
+
const require_list_surveys = require("./list-surveys.cjs");
|
|
17
|
+
const require_list_users = require("./list-users.cjs");
|
|
18
|
+
const require_update_company = require("./update-company.cjs");
|
|
19
|
+
const require_update_user = require("./update-user.cjs");
|
|
20
|
+
exports.specificCreateCompany = require_create_company.specificCreateCompany;
|
|
21
|
+
exports.specificCreateConversation = require_create_conversation.specificCreateConversation;
|
|
22
|
+
exports.specificCreateOrUpdateCompany = require_create_or_update_company.specificCreateOrUpdateCompany;
|
|
23
|
+
exports.specificCreateOrUpdateUser = require_create_or_update_user.specificCreateOrUpdateUser;
|
|
24
|
+
exports.specificCreateUser = require_create_user.specificCreateUser;
|
|
25
|
+
exports.specificDeleteCompany = require_delete_company.specificDeleteCompany;
|
|
26
|
+
exports.specificDeleteCompanyAttributes = require_delete_company_attributes.specificDeleteCompanyAttributes;
|
|
27
|
+
exports.specificDeleteUser = require_delete_user.specificDeleteUser;
|
|
28
|
+
exports.specificDeleteUserAttributes = require_delete_user_attributes.specificDeleteUserAttributes;
|
|
29
|
+
exports.specificGetMyWorkspace = require_get_my_workspace.specificGetMyWorkspace;
|
|
30
|
+
exports.specificListCompanies = require_list_companies.specificListCompanies;
|
|
31
|
+
exports.specificListConversations = require_list_conversations.specificListConversations;
|
|
32
|
+
exports.specificListCustomFields = require_list_custom_fields.specificListCustomFields;
|
|
33
|
+
exports.specificListSources = require_list_sources.specificListSources;
|
|
34
|
+
exports.specificListSurveys = require_list_surveys.specificListSurveys;
|
|
35
|
+
exports.specificListUsers = require_list_users.specificListUsers;
|
|
36
|
+
exports.specificUpdateCompany = require_update_company.specificUpdateCompany;
|
|
37
|
+
exports.specificUpdateUser = require_update_user.specificUpdateUser;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { specificCreateCompany } from "./create-company.cjs";
|
|
2
|
+
import { specificCreateConversation } from "./create-conversation.cjs";
|
|
3
|
+
import { specificCreateOrUpdateCompany } from "./create-or-update-company.cjs";
|
|
4
|
+
import { specificCreateOrUpdateUser } from "./create-or-update-user.cjs";
|
|
5
|
+
import { specificCreateUser } from "./create-user.cjs";
|
|
6
|
+
import { specificDeleteCompany } from "./delete-company.cjs";
|
|
7
|
+
import { specificDeleteCompanyAttributes } from "./delete-company-attributes.cjs";
|
|
8
|
+
import { specificDeleteUser } from "./delete-user.cjs";
|
|
9
|
+
import { specificDeleteUserAttributes } from "./delete-user-attributes.cjs";
|
|
10
|
+
import { specificGetMyWorkspace } from "./get-my-workspace.cjs";
|
|
11
|
+
import { specificListCompanies } from "./list-companies.cjs";
|
|
12
|
+
import { specificListConversations } from "./list-conversations.cjs";
|
|
13
|
+
import { specificListCustomFields } from "./list-custom-fields.cjs";
|
|
14
|
+
import { specificListSources } from "./list-sources.cjs";
|
|
15
|
+
import { specificListSurveys } from "./list-surveys.cjs";
|
|
16
|
+
import { specificListUsers } from "./list-users.cjs";
|
|
17
|
+
import { specificUpdateCompany } from "./update-company.cjs";
|
|
18
|
+
import { specificUpdateUser } from "./update-user.cjs";
|
|
19
|
+
export { specificCreateCompany, specificCreateConversation, specificCreateOrUpdateCompany, specificCreateOrUpdateUser, specificCreateUser, specificDeleteCompany, specificDeleteCompanyAttributes, specificDeleteUser, specificDeleteUserAttributes, specificGetMyWorkspace, specificListCompanies, specificListConversations, specificListCustomFields, specificListSources, specificListSurveys, specificListUsers, specificUpdateCompany, specificUpdateUser };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { specificCreateCompany } from "./create-company.mjs";
|
|
2
|
+
import { specificCreateConversation } from "./create-conversation.mjs";
|
|
3
|
+
import { specificCreateOrUpdateCompany } from "./create-or-update-company.mjs";
|
|
4
|
+
import { specificCreateOrUpdateUser } from "./create-or-update-user.mjs";
|
|
5
|
+
import { specificCreateUser } from "./create-user.mjs";
|
|
6
|
+
import { specificDeleteCompany } from "./delete-company.mjs";
|
|
7
|
+
import { specificDeleteCompanyAttributes } from "./delete-company-attributes.mjs";
|
|
8
|
+
import { specificDeleteUser } from "./delete-user.mjs";
|
|
9
|
+
import { specificDeleteUserAttributes } from "./delete-user-attributes.mjs";
|
|
10
|
+
import { specificGetMyWorkspace } from "./get-my-workspace.mjs";
|
|
11
|
+
import { specificListCompanies } from "./list-companies.mjs";
|
|
12
|
+
import { specificListConversations } from "./list-conversations.mjs";
|
|
13
|
+
import { specificListCustomFields } from "./list-custom-fields.mjs";
|
|
14
|
+
import { specificListSources } from "./list-sources.mjs";
|
|
15
|
+
import { specificListSurveys } from "./list-surveys.mjs";
|
|
16
|
+
import { specificListUsers } from "./list-users.mjs";
|
|
17
|
+
import { specificUpdateCompany } from "./update-company.mjs";
|
|
18
|
+
import { specificUpdateUser } from "./update-user.mjs";
|
|
19
|
+
export { specificCreateCompany, specificCreateConversation, specificCreateOrUpdateCompany, specificCreateOrUpdateUser, specificCreateUser, specificDeleteCompany, specificDeleteCompanyAttributes, specificDeleteUser, specificDeleteUserAttributes, specificGetMyWorkspace, specificListCompanies, specificListConversations, specificListCustomFields, specificListSources, specificListSurveys, specificListUsers, specificUpdateCompany, specificUpdateUser };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { specificCreateCompany } from "./create-company.mjs";
|
|
2
|
+
import { specificCreateConversation } from "./create-conversation.mjs";
|
|
3
|
+
import { specificCreateOrUpdateCompany } from "./create-or-update-company.mjs";
|
|
4
|
+
import { specificCreateOrUpdateUser } from "./create-or-update-user.mjs";
|
|
5
|
+
import { specificCreateUser } from "./create-user.mjs";
|
|
6
|
+
import { specificDeleteCompany } from "./delete-company.mjs";
|
|
7
|
+
import { specificDeleteCompanyAttributes } from "./delete-company-attributes.mjs";
|
|
8
|
+
import { specificDeleteUser } from "./delete-user.mjs";
|
|
9
|
+
import { specificDeleteUserAttributes } from "./delete-user-attributes.mjs";
|
|
10
|
+
import { specificGetMyWorkspace } from "./get-my-workspace.mjs";
|
|
11
|
+
import { specificListCompanies } from "./list-companies.mjs";
|
|
12
|
+
import { specificListConversations } from "./list-conversations.mjs";
|
|
13
|
+
import { specificListCustomFields } from "./list-custom-fields.mjs";
|
|
14
|
+
import { specificListSources } from "./list-sources.mjs";
|
|
15
|
+
import { specificListSurveys } from "./list-surveys.mjs";
|
|
16
|
+
import { specificListUsers } from "./list-users.mjs";
|
|
17
|
+
import { specificUpdateCompany } from "./update-company.mjs";
|
|
18
|
+
import { specificUpdateUser } from "./update-user.mjs";
|
|
19
|
+
export { specificCreateCompany, specificCreateConversation, specificCreateOrUpdateCompany, specificCreateOrUpdateUser, specificCreateUser, specificDeleteCompany, specificDeleteCompanyAttributes, specificDeleteUser, specificDeleteUserAttributes, specificGetMyWorkspace, specificListCompanies, specificListConversations, specificListCustomFields, specificListSources, specificListSurveys, specificListUsers, specificUpdateCompany, specificUpdateUser };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-companies.ts
|
|
4
|
+
const SpecificListCompaniesInput = zod.z.object({ where: zod.z.object({
|
|
5
|
+
id: zod.z.object({
|
|
6
|
+
gt: zod.z.string().describe("Greater than comparison.").optional(),
|
|
7
|
+
"in": zod.z.array(zod.z.string()).describe("List of values the field should match.").optional(),
|
|
8
|
+
is: zod.z.string().describe("Type check for the field.").optional(),
|
|
9
|
+
lt: zod.z.string().describe("Less than comparison.").optional(),
|
|
10
|
+
gte: zod.z.string().describe("Greater than or equal comparison.").optional(),
|
|
11
|
+
lte: zod.z.string().describe("Less than or equal comparison.").optional(),
|
|
12
|
+
not: zod.z.string().describe("Value that the field should not equal.").optional(),
|
|
13
|
+
isNot: zod.z.string().describe("Negated type check for the field.").optional(),
|
|
14
|
+
notIn: zod.z.array(zod.z.string()).describe("List of values the field should not match.").optional(),
|
|
15
|
+
equals: zod.z.string().describe("Exact match for the field value.").optional(),
|
|
16
|
+
contains: zod.z.string().describe("Substring that the field should contain.").optional(),
|
|
17
|
+
endsWith: zod.z.string().describe("Suffix that the field should end with.").optional(),
|
|
18
|
+
startsWith: zod.z.string().describe("Prefix that the field should start with.").optional()
|
|
19
|
+
}).describe("Filter for string fields supporting various operators.").optional(),
|
|
20
|
+
name: zod.z.object({
|
|
21
|
+
gt: zod.z.string().describe("Greater than comparison.").optional(),
|
|
22
|
+
"in": zod.z.array(zod.z.string()).describe("List of values the field should match.").optional(),
|
|
23
|
+
is: zod.z.string().describe("Type check for the field.").optional(),
|
|
24
|
+
lt: zod.z.string().describe("Less than comparison.").optional(),
|
|
25
|
+
gte: zod.z.string().describe("Greater than or equal comparison.").optional(),
|
|
26
|
+
lte: zod.z.string().describe("Less than or equal comparison.").optional(),
|
|
27
|
+
not: zod.z.string().describe("Value that the field should not equal.").optional(),
|
|
28
|
+
isNot: zod.z.string().describe("Negated type check for the field.").optional(),
|
|
29
|
+
notIn: zod.z.array(zod.z.string()).describe("List of values the field should not match.").optional(),
|
|
30
|
+
equals: zod.z.string().describe("Exact match for the field value.").optional(),
|
|
31
|
+
contains: zod.z.string().describe("Substring that the field should contain.").optional(),
|
|
32
|
+
endsWith: zod.z.string().describe("Suffix that the field should end with.").optional(),
|
|
33
|
+
startsWith: zod.z.string().describe("Prefix that the field should start with.").optional()
|
|
34
|
+
}).describe("Filter for string fields supporting various operators.").optional()
|
|
35
|
+
}).describe("Filter for company fields.").optional() }).describe("Request model for listing companies from Specific platform.");
|
|
36
|
+
const SpecificListCompanies_CompanySchema = zod.z.object({
|
|
37
|
+
id: zod.z.string().describe("Company's unique identifier."),
|
|
38
|
+
name: zod.z.string().describe("Company's name."),
|
|
39
|
+
visitorId: zod.z.string().describe("Internal Specific visitor ID for the company."),
|
|
40
|
+
usersCount: zod.z.number().int().describe("Number of users in the company.")
|
|
41
|
+
}).describe("Company object from Specific platform.");
|
|
42
|
+
const SpecificListCompaniesOutput = zod.z.object({ companies: zod.z.array(SpecificListCompanies_CompanySchema).describe("List of companies from the Specific platform.") }).describe("Response model for listing companies.");
|
|
43
|
+
const specificListCompanies = require_action.action("SPECIFIC_LIST_COMPANIES", {
|
|
44
|
+
slug: "specific-list-companies",
|
|
45
|
+
name: "List Companies",
|
|
46
|
+
description: "Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or name.",
|
|
47
|
+
input: SpecificListCompaniesInput,
|
|
48
|
+
output: SpecificListCompaniesOutput
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
exports.specificListCompanies = specificListCompanies;
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=list-companies.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-companies.cjs","names":["z","action"],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCompaniesInput: z.ZodTypeAny = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n name: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n}).describe(\"Filter for company fields.\").optional(),\n}).describe(\"Request model for listing companies from Specific platform.\");\nconst SpecificListCompanies_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company's unique identifier.\"),\n name: z.string().describe(\"Company's name.\"),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\"),\n usersCount: z.number().int().describe(\"Number of users in the company.\"),\n}).describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput: z.ZodTypeAny = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).describe(\"Response model for listing companies.\");\n\nexport const specificListCompanies = action(\"SPECIFIC_LIST_COMPANIES\", {\n slug: \"specific-list-companies\",\n name: \"List Companies\",\n description: \"Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or name.\",\n input: SpecificListCompaniesInput,\n output: SpecificListCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA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AAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;AACzE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,WAAWA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-companies.d.ts
|
|
4
|
+
declare const SpecificListCompaniesInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpecificListCompaniesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const specificListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { specificListCompanies };
|
|
9
|
+
//# sourceMappingURL=list-companies.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-companies.d.cts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAiC+B;AAAA,cAO7D,2BAAA,EAA6B,CAAA,CAAE,UAEQ;AAAA,cAEvC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-companies.d.ts
|
|
4
|
+
declare const SpecificListCompaniesInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpecificListCompaniesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const specificListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { specificListCompanies };
|
|
9
|
+
//# sourceMappingURL=list-companies.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-companies.d.mts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAiC+B;AAAA,cAO7D,2BAAA,EAA6B,CAAA,CAAE,UAEQ;AAAA,cAEvC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-companies.ts
|
|
4
|
+
const SpecificListCompaniesInput = z.object({ where: z.object({
|
|
5
|
+
id: z.object({
|
|
6
|
+
gt: z.string().describe("Greater than comparison.").optional(),
|
|
7
|
+
"in": z.array(z.string()).describe("List of values the field should match.").optional(),
|
|
8
|
+
is: z.string().describe("Type check for the field.").optional(),
|
|
9
|
+
lt: z.string().describe("Less than comparison.").optional(),
|
|
10
|
+
gte: z.string().describe("Greater than or equal comparison.").optional(),
|
|
11
|
+
lte: z.string().describe("Less than or equal comparison.").optional(),
|
|
12
|
+
not: z.string().describe("Value that the field should not equal.").optional(),
|
|
13
|
+
isNot: z.string().describe("Negated type check for the field.").optional(),
|
|
14
|
+
notIn: z.array(z.string()).describe("List of values the field should not match.").optional(),
|
|
15
|
+
equals: z.string().describe("Exact match for the field value.").optional(),
|
|
16
|
+
contains: z.string().describe("Substring that the field should contain.").optional(),
|
|
17
|
+
endsWith: z.string().describe("Suffix that the field should end with.").optional(),
|
|
18
|
+
startsWith: z.string().describe("Prefix that the field should start with.").optional()
|
|
19
|
+
}).describe("Filter for string fields supporting various operators.").optional(),
|
|
20
|
+
name: z.object({
|
|
21
|
+
gt: z.string().describe("Greater than comparison.").optional(),
|
|
22
|
+
"in": z.array(z.string()).describe("List of values the field should match.").optional(),
|
|
23
|
+
is: z.string().describe("Type check for the field.").optional(),
|
|
24
|
+
lt: z.string().describe("Less than comparison.").optional(),
|
|
25
|
+
gte: z.string().describe("Greater than or equal comparison.").optional(),
|
|
26
|
+
lte: z.string().describe("Less than or equal comparison.").optional(),
|
|
27
|
+
not: z.string().describe("Value that the field should not equal.").optional(),
|
|
28
|
+
isNot: z.string().describe("Negated type check for the field.").optional(),
|
|
29
|
+
notIn: z.array(z.string()).describe("List of values the field should not match.").optional(),
|
|
30
|
+
equals: z.string().describe("Exact match for the field value.").optional(),
|
|
31
|
+
contains: z.string().describe("Substring that the field should contain.").optional(),
|
|
32
|
+
endsWith: z.string().describe("Suffix that the field should end with.").optional(),
|
|
33
|
+
startsWith: z.string().describe("Prefix that the field should start with.").optional()
|
|
34
|
+
}).describe("Filter for string fields supporting various operators.").optional()
|
|
35
|
+
}).describe("Filter for company fields.").optional() }).describe("Request model for listing companies from Specific platform.");
|
|
36
|
+
const SpecificListCompanies_CompanySchema = z.object({
|
|
37
|
+
id: z.string().describe("Company's unique identifier."),
|
|
38
|
+
name: z.string().describe("Company's name."),
|
|
39
|
+
visitorId: z.string().describe("Internal Specific visitor ID for the company."),
|
|
40
|
+
usersCount: z.number().int().describe("Number of users in the company.")
|
|
41
|
+
}).describe("Company object from Specific platform.");
|
|
42
|
+
const specificListCompanies = action("SPECIFIC_LIST_COMPANIES", {
|
|
43
|
+
slug: "specific-list-companies",
|
|
44
|
+
name: "List Companies",
|
|
45
|
+
description: "Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or name.",
|
|
46
|
+
input: SpecificListCompaniesInput,
|
|
47
|
+
output: z.object({ companies: z.array(SpecificListCompanies_CompanySchema).describe("List of companies from the Specific platform.") }).describe("Response model for listing companies.")
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
export { specificListCompanies };
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=list-companies.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-companies.mjs","names":[],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCompaniesInput: z.ZodTypeAny = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n name: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n}).describe(\"Filter for company fields.\").optional(),\n}).describe(\"Request model for listing companies from Specific platform.\");\nconst SpecificListCompanies_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company's unique identifier.\"),\n name: z.string().describe(\"Company's name.\"),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\"),\n usersCount: z.number().int().describe(\"Number of users in the company.\"),\n}).describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput: z.ZodTypeAny = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).describe(\"Response model for listing companies.\");\n\nexport const specificListCompanies = action(\"SPECIFIC_LIST_COMPANIES\", {\n slug: \"specific-list-companies\",\n name: \"List Companies\",\n description: \"Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or name.\",\n input: SpecificListCompaniesInput,\n output: SpecificListCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,EAC/D,OAAO,EAAE,OAAO;CAChB,IAAI,EAAE,OAAO;EACb,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACtF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC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= require("zod");
|
|
3
|
+
//#region src/actions/list-conversations.ts
|
|
4
|
+
const SpecificListConversationsInput = zod.z.object({ where: zod.z.object({ sources: zod.z.array(zod.z.string()).describe("List of source identifiers to filter conversations. Only conversations from these sources will be returned.") }).describe("Filter for conversations by source identifiers.").optional() }).describe("Request model for listing conversations from Specific platform.");
|
|
5
|
+
const SpecificListConversations_SourceSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Source's unique identifier."),
|
|
7
|
+
name: zod.z.string().describe("Source's name.")
|
|
8
|
+
}).describe("Source information associated with a conversation.");
|
|
9
|
+
const SpecificListConversations_CompanySchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("Company's unique identifier."),
|
|
11
|
+
name: zod.z.string().describe("Company's name."),
|
|
12
|
+
visitorId: zod.z.string().describe("Internal Specific visitor ID for the company."),
|
|
13
|
+
usersCount: zod.z.number().int().describe("Number of users in the company.")
|
|
14
|
+
}).describe("Company information associated with a conversation.");
|
|
15
|
+
const SpecificListConversations_ContactSchema = zod.z.object({
|
|
16
|
+
id: zod.z.string().describe("Contact's unique identifier."),
|
|
17
|
+
name: zod.z.string().describe("Contact's full name."),
|
|
18
|
+
email: zod.z.string().describe("Contact's email address.").nullable().optional(),
|
|
19
|
+
company: SpecificListConversations_CompanySchema.nullable().optional(),
|
|
20
|
+
visitorId: zod.z.string().describe("Internal Specific visitor ID.")
|
|
21
|
+
}).describe("Contact information associated with a conversation.");
|
|
22
|
+
const SpecificListConversations_AssigneeSchema = zod.z.object({
|
|
23
|
+
id: zod.z.string().describe("User ID of the assignee."),
|
|
24
|
+
email: zod.z.string().describe("Email address of the assignee."),
|
|
25
|
+
fullName: zod.z.string().describe("Full name of the assignee.").nullable().optional()
|
|
26
|
+
}).describe("Person assigned to the conversation.");
|
|
27
|
+
const SpecificListConversations_ConversationSchema = zod.z.object({
|
|
28
|
+
id: zod.z.string().describe("Unique identifier for the conversation."),
|
|
29
|
+
name: zod.z.string().describe("Conversation name or title."),
|
|
30
|
+
source: SpecificListConversations_SourceSchema.nullable().optional(),
|
|
31
|
+
company: SpecificListConversations_CompanySchema.nullable().optional(),
|
|
32
|
+
contact: SpecificListConversations_ContactSchema.nullable().optional(),
|
|
33
|
+
assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),
|
|
34
|
+
plainText: zod.z.string().describe("Conversation content in plain text format.").nullable().optional(),
|
|
35
|
+
sourceUrl: zod.z.string().describe("Source URL where the conversation originated.").nullable().optional(),
|
|
36
|
+
insertedAt: zod.z.string().describe("Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ)."),
|
|
37
|
+
customFields: zod.z.object({}).describe("Custom fields associated with the conversation as key-value pairs.")
|
|
38
|
+
}).describe("Conversation object from Specific platform.");
|
|
39
|
+
const SpecificListConversationsOutput = zod.z.object({ conversations: zod.z.array(SpecificListConversations_ConversationSchema).describe("List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.") }).describe("Response model for listing conversations.");
|
|
40
|
+
const specificListConversations = require_action.action("SPECIFIC_LIST_CONVERSATIONS", {
|
|
41
|
+
slug: "specific-list-conversations",
|
|
42
|
+
name: "List Conversations",
|
|
43
|
+
description: "Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.",
|
|
44
|
+
input: SpecificListConversationsInput,
|
|
45
|
+
output: SpecificListConversationsOutput
|
|
46
|
+
});
|
|
47
|
+
//#endregion
|
|
48
|
+
exports.specificListConversations = specificListConversations;
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=list-conversations.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-conversations.cjs","names":["z","action"],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListConversationsInput: z.ZodTypeAny = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Source's unique identifier.\"),\n name: z.string().describe(\"Source's name.\"),\n}).describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company's unique identifier.\"),\n name: z.string().describe(\"Company's name.\"),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\"),\n usersCount: z.number().int().describe(\"Number of users in the company.\"),\n}).describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact's unique identifier.\"),\n name: z.string().describe(\"Contact's full name.\"),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\"),\n}).describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User ID of the assignee.\"),\n email: z.string().describe(\"Email address of the assignee.\"),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\"),\n name: z.string().describe(\"Conversation name or title.\"),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\"),\n customFields: z.object({}).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput: z.ZodTypeAny = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,OAAOA,IAAAA,EAAE,OAAO,EAChB,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,EACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;AAC5C,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC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AC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC1G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,eAAeA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2HAA2H,EAC3M,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-conversations.d.ts
|
|
4
|
+
declare const SpecificListConversationsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpecificListConversationsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const specificListConversations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { specificListConversations };
|
|
9
|
+
//# sourceMappingURL=list-conversations.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-conversations.d.cts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI+B;AAAA,cAmCjE,+BAAA,EAAiC,CAAA,CAAE,UAEQ;AAAA,cAE3C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-conversations.d.ts
|
|
4
|
+
declare const SpecificListConversationsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpecificListConversationsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const specificListConversations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { specificListConversations };
|
|
9
|
+
//# sourceMappingURL=list-conversations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-conversations.d.mts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI+B;AAAA,cAmCjE,+BAAA,EAAiC,CAAA,CAAE,UAEQ;AAAA,cAE3C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-conversations.ts
|
|
4
|
+
const SpecificListConversationsInput = z.object({ where: z.object({ sources: z.array(z.string()).describe("List of source identifiers to filter conversations. Only conversations from these sources will be returned.") }).describe("Filter for conversations by source identifiers.").optional() }).describe("Request model for listing conversations from Specific platform.");
|
|
5
|
+
const SpecificListConversations_SourceSchema = z.object({
|
|
6
|
+
id: z.string().describe("Source's unique identifier."),
|
|
7
|
+
name: z.string().describe("Source's name.")
|
|
8
|
+
}).describe("Source information associated with a conversation.");
|
|
9
|
+
const SpecificListConversations_CompanySchema = z.object({
|
|
10
|
+
id: z.string().describe("Company's unique identifier."),
|
|
11
|
+
name: z.string().describe("Company's name."),
|
|
12
|
+
visitorId: z.string().describe("Internal Specific visitor ID for the company."),
|
|
13
|
+
usersCount: z.number().int().describe("Number of users in the company.")
|
|
14
|
+
}).describe("Company information associated with a conversation.");
|
|
15
|
+
const SpecificListConversations_ContactSchema = z.object({
|
|
16
|
+
id: z.string().describe("Contact's unique identifier."),
|
|
17
|
+
name: z.string().describe("Contact's full name."),
|
|
18
|
+
email: z.string().describe("Contact's email address.").nullable().optional(),
|
|
19
|
+
company: SpecificListConversations_CompanySchema.nullable().optional(),
|
|
20
|
+
visitorId: z.string().describe("Internal Specific visitor ID.")
|
|
21
|
+
}).describe("Contact information associated with a conversation.");
|
|
22
|
+
const SpecificListConversations_AssigneeSchema = z.object({
|
|
23
|
+
id: z.string().describe("User ID of the assignee."),
|
|
24
|
+
email: z.string().describe("Email address of the assignee."),
|
|
25
|
+
fullName: z.string().describe("Full name of the assignee.").nullable().optional()
|
|
26
|
+
}).describe("Person assigned to the conversation.");
|
|
27
|
+
const SpecificListConversations_ConversationSchema = z.object({
|
|
28
|
+
id: z.string().describe("Unique identifier for the conversation."),
|
|
29
|
+
name: z.string().describe("Conversation name or title."),
|
|
30
|
+
source: SpecificListConversations_SourceSchema.nullable().optional(),
|
|
31
|
+
company: SpecificListConversations_CompanySchema.nullable().optional(),
|
|
32
|
+
contact: SpecificListConversations_ContactSchema.nullable().optional(),
|
|
33
|
+
assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),
|
|
34
|
+
plainText: z.string().describe("Conversation content in plain text format.").nullable().optional(),
|
|
35
|
+
sourceUrl: z.string().describe("Source URL where the conversation originated.").nullable().optional(),
|
|
36
|
+
insertedAt: z.string().describe("Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ)."),
|
|
37
|
+
customFields: z.object({}).describe("Custom fields associated with the conversation as key-value pairs.")
|
|
38
|
+
}).describe("Conversation object from Specific platform.");
|
|
39
|
+
const specificListConversations = action("SPECIFIC_LIST_CONVERSATIONS", {
|
|
40
|
+
slug: "specific-list-conversations",
|
|
41
|
+
name: "List Conversations",
|
|
42
|
+
description: "Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.",
|
|
43
|
+
input: SpecificListConversationsInput,
|
|
44
|
+
output: z.object({ conversations: z.array(SpecificListConversations_ConversationSchema).describe("List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.") }).describe("Response model for listing conversations.")
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
export { specificListConversations };
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=list-conversations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-conversations.mjs","names":[],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListConversationsInput: z.ZodTypeAny = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Source's unique identifier.\"),\n name: z.string().describe(\"Source's name.\"),\n}).describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company's unique identifier.\"),\n name: z.string().describe(\"Company's name.\"),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\"),\n usersCount: z.number().int().describe(\"Number of users in the company.\"),\n}).describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact's unique identifier.\"),\n name: z.string().describe(\"Contact's full name.\"),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\"),\n}).describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User ID of the assignee.\"),\n email: z.string().describe(\"Email address of the assignee.\"),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\"),\n name: z.string().describe(\"Conversation name or title.\"),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\"),\n customFields: z.object({}).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput: z.ZodTypeAny = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,EACnE,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,EACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAA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CAAC,CAAC,SAAS,6BAA6B;CACvD,QAAQ,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACnE,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC1G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,eAAe,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2HAA2H,EAC3M,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-custom-fields.ts
|
|
4
|
+
const SpecificListCustomFieldsInput = zod.z.object({ field_type: zod.z.enum([
|
|
5
|
+
"user",
|
|
6
|
+
"group",
|
|
7
|
+
"conversation"
|
|
8
|
+
]).describe("Optional filter to retrieve only custom fields of a specific type. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes. If not provided, returns all custom fields across all types.").optional() }).describe("Request model for listing custom fields in the Specific platform.");
|
|
9
|
+
const SpecificListCustomFields_CustomFieldSchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("The unique identifier of the custom field."),
|
|
11
|
+
name: zod.z.string().describe("The display name of the custom field."),
|
|
12
|
+
type: zod.z.enum([
|
|
13
|
+
"user",
|
|
14
|
+
"group",
|
|
15
|
+
"conversation"
|
|
16
|
+
]).describe("The type of the custom field indicating which entity it belongs to. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes.")
|
|
17
|
+
}).describe("Represents a single custom field definition.");
|
|
18
|
+
const SpecificListCustomFieldsOutput = zod.z.object({ attributes: zod.z.array(SpecificListCustomFields_CustomFieldSchema).describe("List of custom field definitions (attributes).") }).describe("Response model containing the list of custom fields from the GraphQL API.");
|
|
19
|
+
const specificListCustomFields = require_action.action("SPECIFIC_LIST_CUSTOM_FIELDS", {
|
|
20
|
+
slug: "specific-list-custom-fields",
|
|
21
|
+
name: "List Custom Fields",
|
|
22
|
+
description: "Tool to query custom field definitions in the Specific platform. Use when you need to retrieve available custom fields that can be associated with companies, contacts, or conversations. Optionally filter by entity type.",
|
|
23
|
+
input: SpecificListCustomFieldsInput,
|
|
24
|
+
output: SpecificListCustomFieldsOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.specificListCustomFields = specificListCustomFields;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=list-custom-fields.cjs.map
|