@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,43 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-user.ts
|
|
4
|
+
const SpecificUpdateUserInput = zod.z.object({
|
|
5
|
+
data: zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Contact's ID to update").optional(),
|
|
7
|
+
name: zod.z.string().describe("Contact's name to update").optional(),
|
|
8
|
+
email: zod.z.string().describe("Contact's email to update").optional(),
|
|
9
|
+
company: zod.z.object({ connect: zod.z.string().describe("Company ID to connect to the contact").optional() }).describe("Input for establishing a relationship between contact and company.").optional(),
|
|
10
|
+
attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Update custom field values. Will merge current values with new ones.").optional()
|
|
11
|
+
}).describe("Data fields to update for the contact"),
|
|
12
|
+
where: zod.z.object({
|
|
13
|
+
id: zod.z.string().describe("Contact ID to filter by").optional(),
|
|
14
|
+
email: zod.z.string().describe("Contact email to filter by").optional()
|
|
15
|
+
}).describe("Filter to identify which contact to update (by id or email)")
|
|
16
|
+
}).describe("Request model for updating a user in Specific.");
|
|
17
|
+
const SpecificUpdateUser_CompanySchema = zod.z.object({
|
|
18
|
+
id: zod.z.string().describe("Company ID").nullable().optional(),
|
|
19
|
+
name: zod.z.string().describe("Company name").nullable().optional()
|
|
20
|
+
}).describe("Company information.");
|
|
21
|
+
const SpecificUpdateUser_UserSchema = zod.z.object({
|
|
22
|
+
id: zod.z.string().describe("Contact's ID"),
|
|
23
|
+
name: zod.z.string().describe("Contact's name"),
|
|
24
|
+
email: zod.z.string().describe("Contact's email").nullable().optional(),
|
|
25
|
+
company: SpecificUpdateUser_CompanySchema.nullable().optional(),
|
|
26
|
+
visitorId: zod.z.string().describe("Internal Specific ID")
|
|
27
|
+
}).describe("User/Contact information.");
|
|
28
|
+
const SpecificUpdateUserOutput = zod.z.object({
|
|
29
|
+
error: zod.z.string().describe("Error message if failed").nullable().optional(),
|
|
30
|
+
success: zod.z.boolean().describe("Whether the update was successful"),
|
|
31
|
+
contacts: zod.z.array(SpecificUpdateUser_UserSchema).describe("Updated contacts if successful").nullable().optional()
|
|
32
|
+
}).describe("Response model for updateUser mutation.");
|
|
33
|
+
const specificUpdateUser = require_action.action("SPECIFIC_UPDATE_USER", {
|
|
34
|
+
slug: "specific-update-user",
|
|
35
|
+
name: "Update User",
|
|
36
|
+
description: "Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.",
|
|
37
|
+
input: SpecificUpdateUserInput,
|
|
38
|
+
output: SpecificUpdateUserOutput
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.specificUpdateUser = specificUpdateUser;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=update-user.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateUserInput: z.ZodTypeAny = z.object({\n data: z.object({\n id: z.string().describe(\"Contact's ID to update\").optional(),\n name: z.string().describe(\"Contact's name to update\").optional(),\n email: z.string().describe(\"Contact's email to update\").optional(),\n company: z.object({\n connect: z.string().describe(\"Company ID to connect to the contact\").optional(),\n}).describe(\"Input for establishing a relationship between contact and company.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Update custom field values. Will merge current values with new ones.\").optional(),\n}).describe(\"Data fields to update for the contact\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by\").optional(),\n email: z.string().describe(\"Contact email to filter by\").optional(),\n}).describe(\"Filter to identify which contact to update (by id or email)\"),\n}).describe(\"Request model for updating a user in Specific.\");\nconst SpecificUpdateUser_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company ID\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n}).describe(\"Company information.\");\nconst SpecificUpdateUser_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact's ID\"),\n name: z.string().describe(\"Contact's name\"),\n email: z.string().describe(\"Contact's email\").nullable().optional(),\n company: SpecificUpdateUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\"),\n}).describe(\"User/Contact information.\");\nexport const SpecificUpdateUserOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful\"),\n contacts: z.array(SpecificUpdateUser_UserSchema).describe(\"Updated contacts if successful\").nullable().optional(),\n}).describe(\"Response model for updateUser mutation.\");\n\nexport const specificUpdateUser = action(\"SPECIFIC_UPDATE_USER\", {\n slug: \"specific-update-user\",\n name: \"Update User\",\n description: \"Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.\",\n input: SpecificUpdateUserInput,\n output: SpecificUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO;EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,SAASA,IAAAA,EAAE,OAAO,EAClB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACzF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACjD,OAAOA,IAAAA,EAAE,OAAO;EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAClC,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACtC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACvD,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CACjE,UAAUA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/update-user.d.ts
|
|
4
|
+
declare const SpecificUpdateUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpecificUpdateUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const specificUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { specificUpdateUser };
|
|
9
|
+
//# sourceMappingURL=update-user.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAcqB;AAAA,cAYhD,wBAAA,EAA0B,CAAA,CAAE,UAIa;AAAA,cAEzC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-user.d.ts
|
|
4
|
+
declare const SpecificUpdateUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SpecificUpdateUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const specificUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { specificUpdateUser };
|
|
9
|
+
//# sourceMappingURL=update-user.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAcqB;AAAA,cAYhD,wBAAA,EAA0B,CAAA,CAAE,UAIa;AAAA,cAEzC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-user.ts
|
|
4
|
+
const SpecificUpdateUserInput = z.object({
|
|
5
|
+
data: z.object({
|
|
6
|
+
id: z.string().describe("Contact's ID to update").optional(),
|
|
7
|
+
name: z.string().describe("Contact's name to update").optional(),
|
|
8
|
+
email: z.string().describe("Contact's email to update").optional(),
|
|
9
|
+
company: z.object({ connect: z.string().describe("Company ID to connect to the contact").optional() }).describe("Input for establishing a relationship between contact and company.").optional(),
|
|
10
|
+
attributes: z.record(z.string(), z.unknown()).describe("Update custom field values. Will merge current values with new ones.").optional()
|
|
11
|
+
}).describe("Data fields to update for the contact"),
|
|
12
|
+
where: z.object({
|
|
13
|
+
id: z.string().describe("Contact ID to filter by").optional(),
|
|
14
|
+
email: z.string().describe("Contact email to filter by").optional()
|
|
15
|
+
}).describe("Filter to identify which contact to update (by id or email)")
|
|
16
|
+
}).describe("Request model for updating a user in Specific.");
|
|
17
|
+
const SpecificUpdateUser_CompanySchema = z.object({
|
|
18
|
+
id: z.string().describe("Company ID").nullable().optional(),
|
|
19
|
+
name: z.string().describe("Company name").nullable().optional()
|
|
20
|
+
}).describe("Company information.");
|
|
21
|
+
const SpecificUpdateUser_UserSchema = z.object({
|
|
22
|
+
id: z.string().describe("Contact's ID"),
|
|
23
|
+
name: z.string().describe("Contact's name"),
|
|
24
|
+
email: z.string().describe("Contact's email").nullable().optional(),
|
|
25
|
+
company: SpecificUpdateUser_CompanySchema.nullable().optional(),
|
|
26
|
+
visitorId: z.string().describe("Internal Specific ID")
|
|
27
|
+
}).describe("User/Contact information.");
|
|
28
|
+
const specificUpdateUser = action("SPECIFIC_UPDATE_USER", {
|
|
29
|
+
slug: "specific-update-user",
|
|
30
|
+
name: "Update User",
|
|
31
|
+
description: "Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.",
|
|
32
|
+
input: SpecificUpdateUserInput,
|
|
33
|
+
output: z.object({
|
|
34
|
+
error: z.string().describe("Error message if failed").nullable().optional(),
|
|
35
|
+
success: z.boolean().describe("Whether the update was successful"),
|
|
36
|
+
contacts: z.array(SpecificUpdateUser_UserSchema).describe("Updated contacts if successful").nullable().optional()
|
|
37
|
+
}).describe("Response model for updateUser mutation.")
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { specificUpdateUser };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=update-user.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateUserInput: z.ZodTypeAny = z.object({\n data: z.object({\n id: z.string().describe(\"Contact's ID to update\").optional(),\n name: z.string().describe(\"Contact's name to update\").optional(),\n email: z.string().describe(\"Contact's email to update\").optional(),\n company: z.object({\n connect: z.string().describe(\"Company ID to connect to the contact\").optional(),\n}).describe(\"Input for establishing a relationship between contact and company.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Update custom field values. Will merge current values with new ones.\").optional(),\n}).describe(\"Data fields to update for the contact\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by\").optional(),\n email: z.string().describe(\"Contact email to filter by\").optional(),\n}).describe(\"Filter to identify which contact to update (by id or email)\"),\n}).describe(\"Request model for updating a user in Specific.\");\nconst SpecificUpdateUser_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company ID\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n}).describe(\"Company information.\");\nconst SpecificUpdateUser_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact's ID\"),\n name: z.string().describe(\"Contact's name\"),\n email: z.string().describe(\"Contact's email\").nullable().optional(),\n company: SpecificUpdateUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\"),\n}).describe(\"User/Contact information.\");\nexport const SpecificUpdateUserOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful\"),\n contacts: z.array(SpecificUpdateUser_UserSchema).describe(\"Updated contacts if successful\").nullable().optional(),\n}).describe(\"Response model for updateUser mutation.\");\n\nexport const specificUpdateUser = action(\"SPECIFIC_UPDATE_USER\", {\n slug: \"specific-update-user\",\n name: \"Update User\",\n description: \"Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.\",\n input: SpecificUpdateUserInput,\n output: SpecificUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO;EACf,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACjD,OAAO,EAAE,OAAO;EAChB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAClC,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACtC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACvD,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAOvC,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoD,EAAE,OAAO;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;EACjE,UAAU,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const specific = defineApp({\n slug: \"specific\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const specific = defineApp({\n slug: \"specific\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const specificCatalog = {
|
|
4
|
+
"slug": "specific",
|
|
5
|
+
"name": "Specific",
|
|
6
|
+
"description": "Sales call analytics to drive revenue",
|
|
7
|
+
"category": "AI Sales Tools",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/specific",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.specificCatalog = specificCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const specificCatalog = {\n \"slug\": \"specific\",\n \"name\": \"Specific\",\n \"description\": \"Sales call analytics to drive revenue\",\n \"category\": \"AI Sales Tools\",\n \"logo\": \"https://logos.composio.dev/api/specific\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const specificCatalog: {
|
|
4
|
+
readonly slug: "specific";
|
|
5
|
+
readonly name: "Specific";
|
|
6
|
+
readonly description: "Sales call analytics to drive revenue";
|
|
7
|
+
readonly category: "AI Sales Tools";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/specific";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { specificCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const specificCatalog: {
|
|
4
|
+
readonly slug: "specific";
|
|
5
|
+
readonly name: "Specific";
|
|
6
|
+
readonly description: "Sales call analytics to drive revenue";
|
|
7
|
+
readonly category: "AI Sales Tools";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/specific";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { specificCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const specificCatalog = {
|
|
4
|
+
"slug": "specific",
|
|
5
|
+
"name": "Specific",
|
|
6
|
+
"description": "Sales call analytics to drive revenue",
|
|
7
|
+
"category": "AI Sales Tools",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/specific",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { specificCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const specificCatalog = {\n \"slug\": \"specific\",\n \"name\": \"Specific\",\n \"description\": \"Sales call analytics to drive revenue\",\n \"category\": \"AI Sales Tools\",\n \"logo\": \"https://logos.composio.dev/api/specific\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "specific";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSpecificTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeSpecificTool = executeSpecificTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"specific\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSpecificTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "specific";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSpecificTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeSpecificTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"specific\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSpecificTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_create_company = require("./actions/create-company.cjs");
|
|
5
|
+
const require_create_conversation = require("./actions/create-conversation.cjs");
|
|
6
|
+
const require_create_or_update_company = require("./actions/create-or-update-company.cjs");
|
|
7
|
+
const require_create_or_update_user = require("./actions/create-or-update-user.cjs");
|
|
8
|
+
const require_create_user = require("./actions/create-user.cjs");
|
|
9
|
+
const require_delete_company = require("./actions/delete-company.cjs");
|
|
10
|
+
const require_delete_company_attributes = require("./actions/delete-company-attributes.cjs");
|
|
11
|
+
const require_delete_user = require("./actions/delete-user.cjs");
|
|
12
|
+
const require_delete_user_attributes = require("./actions/delete-user-attributes.cjs");
|
|
13
|
+
const require_get_my_workspace = require("./actions/get-my-workspace.cjs");
|
|
14
|
+
const require_list_companies = require("./actions/list-companies.cjs");
|
|
15
|
+
const require_list_conversations = require("./actions/list-conversations.cjs");
|
|
16
|
+
const require_list_custom_fields = require("./actions/list-custom-fields.cjs");
|
|
17
|
+
const require_list_sources = require("./actions/list-sources.cjs");
|
|
18
|
+
const require_list_surveys = require("./actions/list-surveys.cjs");
|
|
19
|
+
const require_list_users = require("./actions/list-users.cjs");
|
|
20
|
+
const require_update_company = require("./actions/update-company.cjs");
|
|
21
|
+
const require_update_user = require("./actions/update-user.cjs");
|
|
22
|
+
require("./actions/index.cjs");
|
|
23
|
+
exports.specific = require_app.specific;
|
|
24
|
+
exports.specificCatalog = require_catalog.specificCatalog;
|
|
25
|
+
exports.specificCreateCompany = require_create_company.specificCreateCompany;
|
|
26
|
+
exports.specificCreateConversation = require_create_conversation.specificCreateConversation;
|
|
27
|
+
exports.specificCreateOrUpdateCompany = require_create_or_update_company.specificCreateOrUpdateCompany;
|
|
28
|
+
exports.specificCreateOrUpdateUser = require_create_or_update_user.specificCreateOrUpdateUser;
|
|
29
|
+
exports.specificCreateUser = require_create_user.specificCreateUser;
|
|
30
|
+
exports.specificDeleteCompany = require_delete_company.specificDeleteCompany;
|
|
31
|
+
exports.specificDeleteCompanyAttributes = require_delete_company_attributes.specificDeleteCompanyAttributes;
|
|
32
|
+
exports.specificDeleteUser = require_delete_user.specificDeleteUser;
|
|
33
|
+
exports.specificDeleteUserAttributes = require_delete_user_attributes.specificDeleteUserAttributes;
|
|
34
|
+
exports.specificGetMyWorkspace = require_get_my_workspace.specificGetMyWorkspace;
|
|
35
|
+
exports.specificListCompanies = require_list_companies.specificListCompanies;
|
|
36
|
+
exports.specificListConversations = require_list_conversations.specificListConversations;
|
|
37
|
+
exports.specificListCustomFields = require_list_custom_fields.specificListCustomFields;
|
|
38
|
+
exports.specificListSources = require_list_sources.specificListSources;
|
|
39
|
+
exports.specificListSurveys = require_list_surveys.specificListSurveys;
|
|
40
|
+
exports.specificListUsers = require_list_users.specificListUsers;
|
|
41
|
+
exports.specificUpdateCompany = require_update_company.specificUpdateCompany;
|
|
42
|
+
exports.specificUpdateUser = require_update_user.specificUpdateUser;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { specificCreateCompany } from "./actions/create-company.cjs";
|
|
2
|
+
import { specificCreateConversation } from "./actions/create-conversation.cjs";
|
|
3
|
+
import { specificCreateOrUpdateCompany } from "./actions/create-or-update-company.cjs";
|
|
4
|
+
import { specificCreateOrUpdateUser } from "./actions/create-or-update-user.cjs";
|
|
5
|
+
import { specificCreateUser } from "./actions/create-user.cjs";
|
|
6
|
+
import { specificDeleteCompany } from "./actions/delete-company.cjs";
|
|
7
|
+
import { specificDeleteCompanyAttributes } from "./actions/delete-company-attributes.cjs";
|
|
8
|
+
import { specificDeleteUser } from "./actions/delete-user.cjs";
|
|
9
|
+
import { specificDeleteUserAttributes } from "./actions/delete-user-attributes.cjs";
|
|
10
|
+
import { specificGetMyWorkspace } from "./actions/get-my-workspace.cjs";
|
|
11
|
+
import { specificListCompanies } from "./actions/list-companies.cjs";
|
|
12
|
+
import { specificListConversations } from "./actions/list-conversations.cjs";
|
|
13
|
+
import { specificListCustomFields } from "./actions/list-custom-fields.cjs";
|
|
14
|
+
import { specificListSources } from "./actions/list-sources.cjs";
|
|
15
|
+
import { specificListSurveys } from "./actions/list-surveys.cjs";
|
|
16
|
+
import { specificListUsers } from "./actions/list-users.cjs";
|
|
17
|
+
import { specificUpdateCompany } from "./actions/update-company.cjs";
|
|
18
|
+
import { specificUpdateUser } from "./actions/update-user.cjs";
|
|
19
|
+
import { specific } from "./app.cjs";
|
|
20
|
+
import { specificCatalog } from "./catalog.cjs";
|
|
21
|
+
export { specific, specificCatalog, specificCreateCompany, specificCreateConversation, specificCreateOrUpdateCompany, specificCreateOrUpdateUser, specificCreateUser, specificDeleteCompany, specificDeleteCompanyAttributes, specificDeleteUser, specificDeleteUserAttributes, specificGetMyWorkspace, specificListCompanies, specificListConversations, specificListCustomFields, specificListSources, specificListSurveys, specificListUsers, specificUpdateCompany, specificUpdateUser };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { specificCreateCompany } from "./actions/create-company.mjs";
|
|
2
|
+
import { specificCreateConversation } from "./actions/create-conversation.mjs";
|
|
3
|
+
import { specificCreateOrUpdateCompany } from "./actions/create-or-update-company.mjs";
|
|
4
|
+
import { specificCreateOrUpdateUser } from "./actions/create-or-update-user.mjs";
|
|
5
|
+
import { specificCreateUser } from "./actions/create-user.mjs";
|
|
6
|
+
import { specificDeleteCompany } from "./actions/delete-company.mjs";
|
|
7
|
+
import { specificDeleteCompanyAttributes } from "./actions/delete-company-attributes.mjs";
|
|
8
|
+
import { specificDeleteUser } from "./actions/delete-user.mjs";
|
|
9
|
+
import { specificDeleteUserAttributes } from "./actions/delete-user-attributes.mjs";
|
|
10
|
+
import { specificGetMyWorkspace } from "./actions/get-my-workspace.mjs";
|
|
11
|
+
import { specificListCompanies } from "./actions/list-companies.mjs";
|
|
12
|
+
import { specificListConversations } from "./actions/list-conversations.mjs";
|
|
13
|
+
import { specificListCustomFields } from "./actions/list-custom-fields.mjs";
|
|
14
|
+
import { specificListSources } from "./actions/list-sources.mjs";
|
|
15
|
+
import { specificListSurveys } from "./actions/list-surveys.mjs";
|
|
16
|
+
import { specificListUsers } from "./actions/list-users.mjs";
|
|
17
|
+
import { specificUpdateCompany } from "./actions/update-company.mjs";
|
|
18
|
+
import { specificUpdateUser } from "./actions/update-user.mjs";
|
|
19
|
+
import { specific } from "./app.mjs";
|
|
20
|
+
import { specificCatalog } from "./catalog.mjs";
|
|
21
|
+
export { specific, specificCatalog, specificCreateCompany, specificCreateConversation, specificCreateOrUpdateCompany, specificCreateOrUpdateUser, specificCreateUser, specificDeleteCompany, specificDeleteCompanyAttributes, specificDeleteUser, specificDeleteUserAttributes, specificGetMyWorkspace, specificListCompanies, specificListConversations, specificListCustomFields, specificListSources, specificListSurveys, specificListUsers, specificUpdateCompany, specificUpdateUser };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { specific } from "./app.mjs";
|
|
2
|
+
import { specificCatalog } from "./catalog.mjs";
|
|
3
|
+
import { specificCreateCompany } from "./actions/create-company.mjs";
|
|
4
|
+
import { specificCreateConversation } from "./actions/create-conversation.mjs";
|
|
5
|
+
import { specificCreateOrUpdateCompany } from "./actions/create-or-update-company.mjs";
|
|
6
|
+
import { specificCreateOrUpdateUser } from "./actions/create-or-update-user.mjs";
|
|
7
|
+
import { specificCreateUser } from "./actions/create-user.mjs";
|
|
8
|
+
import { specificDeleteCompany } from "./actions/delete-company.mjs";
|
|
9
|
+
import { specificDeleteCompanyAttributes } from "./actions/delete-company-attributes.mjs";
|
|
10
|
+
import { specificDeleteUser } from "./actions/delete-user.mjs";
|
|
11
|
+
import { specificDeleteUserAttributes } from "./actions/delete-user-attributes.mjs";
|
|
12
|
+
import { specificGetMyWorkspace } from "./actions/get-my-workspace.mjs";
|
|
13
|
+
import { specificListCompanies } from "./actions/list-companies.mjs";
|
|
14
|
+
import { specificListConversations } from "./actions/list-conversations.mjs";
|
|
15
|
+
import { specificListCustomFields } from "./actions/list-custom-fields.mjs";
|
|
16
|
+
import { specificListSources } from "./actions/list-sources.mjs";
|
|
17
|
+
import { specificListSurveys } from "./actions/list-surveys.mjs";
|
|
18
|
+
import { specificListUsers } from "./actions/list-users.mjs";
|
|
19
|
+
import { specificUpdateCompany } from "./actions/update-company.mjs";
|
|
20
|
+
import { specificUpdateUser } from "./actions/update-user.mjs";
|
|
21
|
+
import "./actions/index.mjs";
|
|
22
|
+
export { specific, specificCatalog, specificCreateCompany, specificCreateConversation, specificCreateOrUpdateCompany, specificCreateOrUpdateUser, specificCreateUser, specificDeleteCompany, specificDeleteCompanyAttributes, specificDeleteUser, specificDeleteUserAttributes, specificGetMyWorkspace, specificListCompanies, specificListConversations, specificListCustomFields, specificListSources, specificListSurveys, specificListUsers, specificUpdateCompany, specificUpdateUser };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/specific",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/specific"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|