@keystrokehq/specific 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-company.cjs +3 -3
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +18 -3
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +18 -3
- package/dist/actions/create-company.d.mts.map +1 -1
- package/dist/actions/create-company.mjs +3 -3
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-conversation.cjs +16 -16
- package/dist/actions/create-conversation.cjs.map +1 -1
- package/dist/actions/create-conversation.d.cts +92 -3
- package/dist/actions/create-conversation.d.cts.map +1 -1
- package/dist/actions/create-conversation.d.mts +92 -3
- package/dist/actions/create-conversation.d.mts.map +1 -1
- package/dist/actions/create-conversation.mjs +16 -16
- package/dist/actions/create-conversation.mjs.map +1 -1
- package/dist/actions/create-or-update-company.cjs +10 -10
- package/dist/actions/create-or-update-company.cjs.map +1 -1
- package/dist/actions/create-or-update-company.d.cts +32 -3
- package/dist/actions/create-or-update-company.d.cts.map +1 -1
- package/dist/actions/create-or-update-company.d.mts +32 -3
- package/dist/actions/create-or-update-company.d.mts.map +1 -1
- package/dist/actions/create-or-update-company.mjs +10 -10
- package/dist/actions/create-or-update-company.mjs.map +1 -1
- package/dist/actions/create-or-update-user.cjs +7 -7
- package/dist/actions/create-or-update-user.cjs.map +1 -1
- package/dist/actions/create-or-update-user.d.cts +44 -3
- package/dist/actions/create-or-update-user.d.cts.map +1 -1
- package/dist/actions/create-or-update-user.d.mts +44 -3
- package/dist/actions/create-or-update-user.d.mts.map +1 -1
- package/dist/actions/create-or-update-user.mjs +7 -7
- package/dist/actions/create-or-update-user.mjs.map +1 -1
- package/dist/actions/create-user.cjs +3 -3
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +35 -3
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +35 -3
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +3 -3
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-company-attributes.cjs +5 -5
- package/dist/actions/delete-company-attributes.cjs.map +1 -1
- package/dist/actions/delete-company-attributes.d.cts +14 -3
- package/dist/actions/delete-company-attributes.d.cts.map +1 -1
- package/dist/actions/delete-company-attributes.d.mts +14 -3
- package/dist/actions/delete-company-attributes.d.mts.map +1 -1
- package/dist/actions/delete-company-attributes.mjs +5 -5
- package/dist/actions/delete-company-attributes.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +5 -5
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +12 -3
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +12 -3
- package/dist/actions/delete-company.d.mts.map +1 -1
- package/dist/actions/delete-company.mjs +5 -5
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-user-attributes.cjs +7 -7
- package/dist/actions/delete-user-attributes.cjs.map +1 -1
- package/dist/actions/delete-user-attributes.d.cts +32 -3
- package/dist/actions/delete-user-attributes.d.cts.map +1 -1
- package/dist/actions/delete-user-attributes.d.mts +32 -3
- package/dist/actions/delete-user-attributes.d.mts.map +1 -1
- package/dist/actions/delete-user-attributes.mjs +7 -7
- package/dist/actions/delete-user-attributes.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +5 -5
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +18 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +18 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +5 -5
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-my-workspace.cjs +5 -5
- package/dist/actions/get-my-workspace.cjs.map +1 -1
- package/dist/actions/get-my-workspace.d.cts +10 -3
- package/dist/actions/get-my-workspace.d.cts.map +1 -1
- package/dist/actions/get-my-workspace.d.mts +10 -3
- package/dist/actions/get-my-workspace.d.mts.map +1 -1
- package/dist/actions/get-my-workspace.mjs +5 -5
- package/dist/actions/get-my-workspace.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +6 -6
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +76 -3
- package/dist/actions/list-companies.d.cts.map +1 -1
- package/dist/actions/list-companies.d.mts +76 -3
- package/dist/actions/list-companies.d.mts.map +1 -1
- package/dist/actions/list-companies.mjs +6 -6
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-conversations.cjs +21 -21
- package/dist/actions/list-conversations.cjs.map +1 -1
- package/dist/actions/list-conversations.d.cts +47 -3
- package/dist/actions/list-conversations.d.cts.map +1 -1
- package/dist/actions/list-conversations.d.mts +47 -3
- package/dist/actions/list-conversations.d.mts.map +1 -1
- package/dist/actions/list-conversations.mjs +21 -21
- package/dist/actions/list-conversations.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +5 -5
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +21 -3
- package/dist/actions/list-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-custom-fields.d.mts +21 -3
- package/dist/actions/list-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-custom-fields.mjs +5 -5
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-sources.cjs +5 -5
- package/dist/actions/list-sources.cjs.map +1 -1
- package/dist/actions/list-sources.d.cts +10 -3
- package/dist/actions/list-sources.d.cts.map +1 -1
- package/dist/actions/list-sources.d.mts +10 -3
- package/dist/actions/list-sources.d.mts.map +1 -1
- package/dist/actions/list-sources.mjs +5 -5
- package/dist/actions/list-sources.mjs.map +1 -1
- package/dist/actions/list-surveys.cjs +16 -16
- package/dist/actions/list-surveys.cjs.map +1 -1
- package/dist/actions/list-surveys.d.cts +23 -3
- package/dist/actions/list-surveys.d.cts.map +1 -1
- package/dist/actions/list-surveys.d.mts +23 -3
- package/dist/actions/list-surveys.d.mts.map +1 -1
- package/dist/actions/list-surveys.mjs +16 -16
- package/dist/actions/list-surveys.mjs.map +1 -1
- package/dist/actions/list-users.cjs +11 -11
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +84 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +84 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +11 -11
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/update-company.cjs +6 -6
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +18 -3
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +18 -3
- package/dist/actions/update-company.d.mts.map +1 -1
- package/dist/actions/update-company.mjs +6 -6
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-user.cjs +7 -7
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +44 -3
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +44 -3
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +7 -7
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-user.d.ts
|
|
4
|
-
declare const SpecificDeleteUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpecificDeleteUserInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodOptional<z.ZodString>;
|
|
6
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SpecificDeleteUserOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const specificDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
email?: string | undefined;
|
|
20
|
+
user_id?: string | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { specificDeleteUser };
|
|
9
24
|
//# sourceMappingURL=delete-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-user.d.ts
|
|
4
|
-
declare const SpecificDeleteUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpecificDeleteUserInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodOptional<z.ZodString>;
|
|
6
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SpecificDeleteUserOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const specificDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
email?: string | undefined;
|
|
20
|
+
user_id?: string | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { specificDeleteUser };
|
|
9
24
|
//# sourceMappingURL=delete-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -8,19 +8,19 @@ const SpecificDeleteUserInput = z.object({
|
|
|
8
8
|
const SpecificDeleteUser_CompanySchema = z.object({
|
|
9
9
|
id: z.string().describe("Company's unique identifier.").nullable().optional(),
|
|
10
10
|
name: z.string().describe("Company name.").nullable().optional()
|
|
11
|
-
}).describe("Company information associated with a user.");
|
|
11
|
+
}).passthrough().describe("Company information associated with a user.");
|
|
12
12
|
const specificDeleteUser = action("SPECIFIC_DELETE_USER", {
|
|
13
13
|
slug: "specific-delete-user",
|
|
14
14
|
name: "Delete User",
|
|
15
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
16
|
input: SpecificDeleteUserInput,
|
|
17
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."),
|
|
18
|
+
id: z.string().describe("The unique identifier of the deleted user.").nullable(),
|
|
19
|
+
name: z.string().describe("The name of the deleted user.").nullable(),
|
|
20
20
|
email: z.string().describe("The email address of the deleted user.").nullable().optional(),
|
|
21
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.")
|
|
22
|
+
visitorId: z.string().describe("Internal Specific ID for the deleted user.").nullable()
|
|
23
|
+
}).passthrough().describe("Response model containing the deleted user's information.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { specificDeleteUser };
|
|
@@ -1 +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
|
|
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.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.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n}).passthrough().describe(\"Company information associated with a user.\");\nexport const SpecificDeleteUserOutput = z.object({\n id: z.string().describe(\"The unique identifier of the deleted user.\").nullable(),\n name: z.string().describe(\"The name of the deleted user.\").nullable(),\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.\").nullable(),\n}).passthrough().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,0BAA0B,EAAE,OAAO;CAC9C,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,mCAAmC,EAAE,OAAO;CAChD,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,YAAY,CAAC,CAAC,SAAS,6CAA6C;AASvE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,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,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -3,11 +3,11 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-my-workspace.ts
|
|
4
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
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.");
|
|
6
|
+
id: zod.z.string().describe("Unique identifier for the workspace").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Display name of the workspace").nullable()
|
|
8
|
+
}).passthrough().describe("Workspace information returned by the myWorkspace query.");
|
|
9
|
+
const SpecificGetMyWorkspace_GraphQLDataWrapperSchema = zod.z.object({ myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable() }).passthrough().describe("Data wrapper containing the myWorkspace field.");
|
|
10
|
+
const SpecificGetMyWorkspaceOutput = zod.z.object({ data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable() }).passthrough().describe("Response model for the myWorkspace GraphQL query.");
|
|
11
11
|
const specificGetMyWorkspace = require_action.action("SPECIFIC_GET_MY_WORKSPACE", {
|
|
12
12
|
slug: "specific-get-my-workspace",
|
|
13
13
|
name: "Get My Workspace",
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\").nullable(),\n name: z.string().describe(\"Display name of the workspace\").nullable(),\n}).passthrough().describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).passthrough().describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACnM,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-my-workspace.d.ts
|
|
4
|
-
declare const SpecificGetMyWorkspaceInput: z.
|
|
5
|
-
declare const SpecificGetMyWorkspaceOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SpecificGetMyWorkspaceInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SpecificGetMyWorkspaceOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
myWorkspace: z.ZodNullable<z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const specificGetMyWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { specificGetMyWorkspace };
|
|
9
16
|
//# sourceMappingURL=get-my-workspace.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-my-workspace.d.cts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-my-workspace.d.cts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-my-workspace.d.ts
|
|
4
|
-
declare const SpecificGetMyWorkspaceInput: z.
|
|
5
|
-
declare const SpecificGetMyWorkspaceOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SpecificGetMyWorkspaceInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SpecificGetMyWorkspaceOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
myWorkspace: z.ZodNullable<z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const specificGetMyWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { specificGetMyWorkspace };
|
|
9
16
|
//# sourceMappingURL=get-my-workspace.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-my-workspace.d.mts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-my-workspace.d.mts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-my-workspace.ts
|
|
4
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
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.");
|
|
6
|
+
id: z.string().describe("Unique identifier for the workspace").nullable(),
|
|
7
|
+
name: z.string().describe("Display name of the workspace").nullable()
|
|
8
|
+
}).passthrough().describe("Workspace information returned by the myWorkspace query.");
|
|
9
|
+
const SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({ myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable() }).passthrough().describe("Data wrapper containing the myWorkspace field.");
|
|
10
10
|
const specificGetMyWorkspace = action("SPECIFIC_GET_MY_WORKSPACE", {
|
|
11
11
|
slug: "specific-get-my-workspace",
|
|
12
12
|
name: "Get My Workspace",
|
|
13
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
14
|
input: SpecificGetMyWorkspaceInput,
|
|
15
|
-
output: z.object({ data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable() }).describe("Response model for the myWorkspace GraphQL query.")
|
|
15
|
+
output: z.object({ data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable() }).passthrough().describe("Response model for the myWorkspace GraphQL query.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { specificGetMyWorkspace };
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\").nullable(),\n name: z.string().describe(\"Display name of the workspace\").nullable(),\n}).passthrough().describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).passthrough().describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).passthrough().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,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACnM,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,kDAAkD,EAAE,OAAO,EAC/D,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAK1E,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -34,12 +34,12 @@ const SpecificListCompaniesInput = zod.z.object({ where: zod.z.object({
|
|
|
34
34
|
}).describe("Filter for string fields supporting various operators.").optional()
|
|
35
35
|
}).describe("Filter for company fields.").optional() }).describe("Request model for listing companies from Specific platform.");
|
|
36
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.");
|
|
37
|
+
id: zod.z.string().describe("Company's unique identifier.").nullable(),
|
|
38
|
+
name: zod.z.string().describe("Company's name.").nullable(),
|
|
39
|
+
visitorId: zod.z.string().describe("Internal Specific visitor ID for the company.").nullable(),
|
|
40
|
+
usersCount: zod.z.number().int().describe("Number of users in the company.").nullable()
|
|
41
|
+
}).passthrough().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.") }).passthrough().describe("Response model for listing companies.");
|
|
43
43
|
const specificListCompanies = require_action.action("SPECIFIC_LIST_COMPANIES", {
|
|
44
44
|
slug: "specific-list-companies",
|
|
45
45
|
name: "List Companies",
|
|
@@ -1 +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
|
|
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.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.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).passthrough().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":"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"}
|
|
@@ -1,9 +1,82 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-companies.d.ts
|
|
4
|
-
declare const SpecificListCompaniesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpecificListCompaniesInput: z.ZodObject<{
|
|
5
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
8
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
is: z.ZodOptional<z.ZodString>;
|
|
10
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
11
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
12
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
13
|
+
not: z.ZodOptional<z.ZodString>;
|
|
14
|
+
isNot: z.ZodOptional<z.ZodString>;
|
|
15
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
17
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
18
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
19
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
name: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
23
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
+
is: z.ZodOptional<z.ZodString>;
|
|
25
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
26
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
27
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
28
|
+
not: z.ZodOptional<z.ZodString>;
|
|
29
|
+
isNot: z.ZodOptional<z.ZodString>;
|
|
30
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
32
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
33
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
34
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const SpecificListCompaniesOutput: z.ZodObject<{
|
|
39
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
40
|
+
id: z.ZodNullable<z.ZodString>;
|
|
41
|
+
name: z.ZodNullable<z.ZodString>;
|
|
42
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
43
|
+
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
|
+
declare const specificListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
+
where?: {
|
|
48
|
+
id?: {
|
|
49
|
+
gt?: string | undefined;
|
|
50
|
+
in?: string[] | undefined;
|
|
51
|
+
is?: string | undefined;
|
|
52
|
+
lt?: string | undefined;
|
|
53
|
+
gte?: string | undefined;
|
|
54
|
+
lte?: string | undefined;
|
|
55
|
+
not?: string | undefined;
|
|
56
|
+
isNot?: string | undefined;
|
|
57
|
+
notIn?: string[] | undefined;
|
|
58
|
+
equals?: string | undefined;
|
|
59
|
+
contains?: string | undefined;
|
|
60
|
+
endsWith?: string | undefined;
|
|
61
|
+
startsWith?: string | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
name?: {
|
|
64
|
+
gt?: string | undefined;
|
|
65
|
+
in?: string[] | undefined;
|
|
66
|
+
is?: string | undefined;
|
|
67
|
+
lt?: string | undefined;
|
|
68
|
+
gte?: string | undefined;
|
|
69
|
+
lte?: string | undefined;
|
|
70
|
+
not?: string | undefined;
|
|
71
|
+
isNot?: string | undefined;
|
|
72
|
+
notIn?: string[] | undefined;
|
|
73
|
+
equals?: string | undefined;
|
|
74
|
+
contains?: string | undefined;
|
|
75
|
+
endsWith?: string | undefined;
|
|
76
|
+
startsWith?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
80
|
//#endregion
|
|
8
81
|
export { specificListCompanies };
|
|
9
82
|
//# sourceMappingURL=list-companies.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-companies.d.cts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-companies.d.cts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,82 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-companies.d.ts
|
|
4
|
-
declare const SpecificListCompaniesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpecificListCompaniesInput: z.ZodObject<{
|
|
5
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
8
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
is: z.ZodOptional<z.ZodString>;
|
|
10
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
11
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
12
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
13
|
+
not: z.ZodOptional<z.ZodString>;
|
|
14
|
+
isNot: z.ZodOptional<z.ZodString>;
|
|
15
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
17
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
18
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
19
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
name: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
23
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
+
is: z.ZodOptional<z.ZodString>;
|
|
25
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
26
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
27
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
28
|
+
not: z.ZodOptional<z.ZodString>;
|
|
29
|
+
isNot: z.ZodOptional<z.ZodString>;
|
|
30
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
32
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
33
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
34
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const SpecificListCompaniesOutput: z.ZodObject<{
|
|
39
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
40
|
+
id: z.ZodNullable<z.ZodString>;
|
|
41
|
+
name: z.ZodNullable<z.ZodString>;
|
|
42
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
43
|
+
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
|
+
declare const specificListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
+
where?: {
|
|
48
|
+
id?: {
|
|
49
|
+
gt?: string | undefined;
|
|
50
|
+
in?: string[] | undefined;
|
|
51
|
+
is?: string | undefined;
|
|
52
|
+
lt?: string | undefined;
|
|
53
|
+
gte?: string | undefined;
|
|
54
|
+
lte?: string | undefined;
|
|
55
|
+
not?: string | undefined;
|
|
56
|
+
isNot?: string | undefined;
|
|
57
|
+
notIn?: string[] | undefined;
|
|
58
|
+
equals?: string | undefined;
|
|
59
|
+
contains?: string | undefined;
|
|
60
|
+
endsWith?: string | undefined;
|
|
61
|
+
startsWith?: string | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
name?: {
|
|
64
|
+
gt?: string | undefined;
|
|
65
|
+
in?: string[] | undefined;
|
|
66
|
+
is?: string | undefined;
|
|
67
|
+
lt?: string | undefined;
|
|
68
|
+
gte?: string | undefined;
|
|
69
|
+
lte?: string | undefined;
|
|
70
|
+
not?: string | undefined;
|
|
71
|
+
isNot?: string | undefined;
|
|
72
|
+
notIn?: string[] | undefined;
|
|
73
|
+
equals?: string | undefined;
|
|
74
|
+
contains?: string | undefined;
|
|
75
|
+
endsWith?: string | undefined;
|
|
76
|
+
startsWith?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
80
|
//#endregion
|
|
8
81
|
export { specificListCompanies };
|
|
9
82
|
//# sourceMappingURL=list-companies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-companies.d.mts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-companies.d.mts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -34,17 +34,17 @@ const SpecificListCompaniesInput = z.object({ where: z.object({
|
|
|
34
34
|
}).describe("Filter for string fields supporting various operators.").optional()
|
|
35
35
|
}).describe("Filter for company fields.").optional() }).describe("Request model for listing companies from Specific platform.");
|
|
36
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.");
|
|
37
|
+
id: z.string().describe("Company's unique identifier.").nullable(),
|
|
38
|
+
name: z.string().describe("Company's name.").nullable(),
|
|
39
|
+
visitorId: z.string().describe("Internal Specific visitor ID for the company.").nullable(),
|
|
40
|
+
usersCount: z.number().int().describe("Number of users in the company.").nullable()
|
|
41
|
+
}).passthrough().describe("Company object from Specific platform.");
|
|
42
42
|
const specificListCompanies = action("SPECIFIC_LIST_COMPANIES", {
|
|
43
43
|
slug: "specific-list-companies",
|
|
44
44
|
name: "List Companies",
|
|
45
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
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.")
|
|
47
|
+
output: z.object({ companies: z.array(SpecificListCompanies_CompanySchema).describe("List of companies from the Specific platform.") }).passthrough().describe("Response model for listing companies.")
|
|
48
48
|
});
|
|
49
49
|
//#endregion
|
|
50
50
|
export { specificListCompanies };
|
|
@@ -1 +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
|
|
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.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.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).passthrough().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":"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"}
|
|
@@ -3,40 +3,40 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-conversations.ts
|
|
4
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
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.");
|
|
6
|
+
id: zod.z.string().describe("Source's unique identifier.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Source's name.").nullable()
|
|
8
|
+
}).passthrough().describe("Source information associated with a conversation.");
|
|
9
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.");
|
|
10
|
+
id: zod.z.string().describe("Company's unique identifier.").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Company's name.").nullable(),
|
|
12
|
+
visitorId: zod.z.string().describe("Internal Specific visitor ID for the company.").nullable(),
|
|
13
|
+
usersCount: zod.z.number().int().describe("Number of users in the company.").nullable()
|
|
14
|
+
}).passthrough().describe("Company information associated with a conversation.");
|
|
15
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."),
|
|
16
|
+
id: zod.z.string().describe("Contact's unique identifier.").nullable(),
|
|
17
|
+
name: zod.z.string().describe("Contact's full name.").nullable(),
|
|
18
18
|
email: zod.z.string().describe("Contact's email address.").nullable().optional(),
|
|
19
19
|
company: SpecificListConversations_CompanySchema.nullable().optional(),
|
|
20
|
-
visitorId: zod.z.string().describe("Internal Specific visitor ID.")
|
|
21
|
-
}).describe("Contact information associated with a conversation.");
|
|
20
|
+
visitorId: zod.z.string().describe("Internal Specific visitor ID.").nullable()
|
|
21
|
+
}).passthrough().describe("Contact information associated with a conversation.");
|
|
22
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."),
|
|
23
|
+
id: zod.z.string().describe("User ID of the assignee.").nullable(),
|
|
24
|
+
email: zod.z.string().describe("Email address of the assignee.").nullable(),
|
|
25
25
|
fullName: zod.z.string().describe("Full name of the assignee.").nullable().optional()
|
|
26
|
-
}).describe("Person assigned to the conversation.");
|
|
26
|
+
}).passthrough().describe("Person assigned to the conversation.");
|
|
27
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."),
|
|
28
|
+
id: zod.z.string().describe("Unique identifier for the conversation.").nullable(),
|
|
29
|
+
name: zod.z.string().describe("Conversation name or title.").nullable(),
|
|
30
30
|
source: SpecificListConversations_SourceSchema.nullable().optional(),
|
|
31
31
|
company: SpecificListConversations_CompanySchema.nullable().optional(),
|
|
32
32
|
contact: SpecificListConversations_ContactSchema.nullable().optional(),
|
|
33
33
|
assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),
|
|
34
34
|
plainText: zod.z.string().describe("Conversation content in plain text format.").nullable().optional(),
|
|
35
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.
|
|
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.");
|
|
36
|
+
insertedAt: zod.z.string().describe("Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).").nullable(),
|
|
37
|
+
customFields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields associated with the conversation as key-value pairs.")
|
|
38
|
+
}).passthrough().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.") }).passthrough().describe("Response model for listing conversations.");
|
|
40
40
|
const specificListConversations = require_action.action("SPECIFIC_LIST_CONVERSATIONS", {
|
|
41
41
|
slug: "specific-list-conversations",
|
|
42
42
|
name: "List Conversations",
|