@keystrokehq/folk 0.1.1 → 0.1.2
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 +7 -7
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +8 -35
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +8 -35
- package/dist/actions/create-company.d.mts.map +1 -1
- package/dist/actions/create-company.mjs +7 -7
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-note.cjs +6 -6
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +7 -30
- package/dist/actions/create-note.d.mts +7 -30
- package/dist/actions/create-note.mjs +6 -6
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-person.cjs +21 -21
- package/dist/actions/create-person.cjs.map +1 -1
- package/dist/actions/create-person.d.cts +24 -70
- package/dist/actions/create-person.d.cts.map +1 -1
- package/dist/actions/create-person.d.mts +24 -70
- package/dist/actions/create-person.d.mts.map +1 -1
- package/dist/actions/create-person.mjs +21 -21
- package/dist/actions/create-person.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +1 -1
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +2 -7
- package/dist/actions/delete-company.d.mts +2 -7
- package/dist/actions/delete-company.mjs +1 -1
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-note.cjs +1 -1
- package/dist/actions/delete-note.cjs.map +1 -1
- package/dist/actions/delete-note.d.cts +2 -7
- package/dist/actions/delete-note.d.mts +2 -7
- package/dist/actions/delete-note.mjs +1 -1
- package/dist/actions/delete-note.mjs.map +1 -1
- package/dist/actions/delete-person.cjs +1 -1
- package/dist/actions/delete-person.cjs.map +1 -1
- package/dist/actions/delete-person.d.cts +2 -7
- package/dist/actions/delete-person.d.mts +2 -7
- package/dist/actions/delete-person.mjs +1 -1
- package/dist/actions/delete-person.mjs.map +1 -1
- package/dist/actions/delete-reminder.cjs +1 -1
- package/dist/actions/delete-reminder.cjs.map +1 -1
- package/dist/actions/delete-reminder.d.cts +2 -7
- package/dist/actions/delete-reminder.d.mts +2 -7
- package/dist/actions/delete-reminder.mjs +1 -1
- package/dist/actions/delete-reminder.mjs.map +1 -1
- package/dist/actions/get-company.cjs +1 -1
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +2 -17
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +2 -17
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +1 -1
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-current-workspace-user.d.cts +1 -7
- package/dist/actions/get-current-workspace-user.d.cts.map +1 -1
- package/dist/actions/get-current-workspace-user.d.mts +1 -7
- package/dist/actions/get-current-workspace-user.d.mts.map +1 -1
- package/dist/actions/get-note.cjs +11 -11
- package/dist/actions/get-note.cjs.map +1 -1
- package/dist/actions/get-note.d.cts +11 -65
- package/dist/actions/get-note.d.cts.map +1 -1
- package/dist/actions/get-note.d.mts +11 -65
- package/dist/actions/get-note.d.mts.map +1 -1
- package/dist/actions/get-note.mjs +11 -11
- package/dist/actions/get-note.mjs.map +1 -1
- package/dist/actions/get-person.cjs +17 -17
- package/dist/actions/get-person.cjs.map +1 -1
- package/dist/actions/get-person.d.cts +18 -47
- package/dist/actions/get-person.d.mts +18 -47
- package/dist/actions/get-person.mjs +17 -17
- package/dist/actions/get-person.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -1
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +2 -9
- package/dist/actions/get-user.d.mts +2 -9
- package/dist/actions/get-user.mjs +1 -1
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +8 -8
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +9 -41
- package/dist/actions/list-companies.d.cts.map +1 -1
- package/dist/actions/list-companies.d.mts +9 -41
- package/dist/actions/list-companies.d.mts.map +1 -1
- package/dist/actions/list-companies.mjs +8 -8
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-group-custom-fields.cjs +5 -5
- package/dist/actions/list-group-custom-fields.cjs.map +1 -1
- package/dist/actions/list-group-custom-fields.d.cts +6 -25
- package/dist/actions/list-group-custom-fields.d.mts +6 -25
- package/dist/actions/list-group-custom-fields.mjs +5 -5
- package/dist/actions/list-group-custom-fields.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +3 -3
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +4 -15
- package/dist/actions/list-groups.d.mts +4 -15
- package/dist/actions/list-groups.mjs +3 -3
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +5 -5
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +6 -42
- package/dist/actions/list-notes.d.mts +6 -42
- package/dist/actions/list-notes.mjs +5 -5
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/list-people.cjs +14 -14
- package/dist/actions/list-people.cjs.map +1 -1
- package/dist/actions/list-people.d.cts +15 -55
- package/dist/actions/list-people.d.cts.map +1 -1
- package/dist/actions/list-people.d.mts +15 -55
- package/dist/actions/list-people.d.mts.map +1 -1
- package/dist/actions/list-people.mjs +14 -14
- package/dist/actions/list-people.mjs.map +1 -1
- package/dist/actions/list-reminders.cjs +6 -6
- package/dist/actions/list-reminders.cjs.map +1 -1
- package/dist/actions/list-reminders.d.cts +7 -38
- package/dist/actions/list-reminders.d.mts +7 -38
- package/dist/actions/list-reminders.mjs +6 -6
- package/dist/actions/list-reminders.mjs.map +1 -1
- package/dist/actions/list-users.cjs +2 -2
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -15
- package/dist/actions/list-users.d.mts +3 -15
- package/dist/actions/list-users.mjs +2 -2
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +7 -7
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +8 -32
- package/dist/actions/list-webhooks.d.mts +8 -32
- package/dist/actions/list-webhooks.mjs +7 -7
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/update-company.cjs +2 -2
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +3 -19
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +3 -19
- package/dist/actions/update-company.d.mts.map +1 -1
- package/dist/actions/update-company.mjs +2 -2
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-note.cjs +9 -9
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +10 -31
- package/dist/actions/update-note.d.mts +10 -31
- package/dist/actions/update-note.mjs +9 -9
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-person.cjs +18 -18
- package/dist/actions/update-person.cjs.map +1 -1
- package/dist/actions/update-person.d.cts +19 -51
- package/dist/actions/update-person.d.cts.map +1 -1
- package/dist/actions/update-person.d.mts +19 -51
- package/dist/actions/update-person.d.mts.map +1 -1
- package/dist/actions/update-person.mjs +18 -18
- package/dist/actions/update-person.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-company.mjs","names":[],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a company.\");\nconst FolkDeleteCompany_DeleteCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted company.\").nullable(),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteCompanyOutput = z.object({\n data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),\n deprecations: z.
|
|
1
|
+
{"version":3,"file":"delete-company.mjs","names":[],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a company.\");\nconst FolkDeleteCompany_DeleteCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted company.\").nullable(),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteCompanyOutput = z.object({\n data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a company.\");\n\nexport const folkDeleteCompany = action(\"FOLK_DELETE_COMPANY\", {\n slug: \"folk-delete-company\",\n name: \"Delete Company\",\n description: \"Tool to delete a company from the workspace (irreversible). Use after confirming this company should be removed.\",\n input: FolkDeleteCompanyInput,\n output: FolkDeleteCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACnG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oDAAoD,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,kDAAkD,SAAS;EACjE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const FolkDeleteNoteInput = zod.z.object({ note_id: zod.z.string().describe("The
|
|
|
5
5
|
const FolkDeleteNote_DeleteNoteResponseDataSchema = zod.z.object({ id: zod.z.string().describe("ID of the deleted note.").nullable() }).describe("Data returned after a successful delete.");
|
|
6
6
|
const FolkDeleteNoteOutput = zod.z.object({
|
|
7
7
|
data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),
|
|
8
|
-
deprecations: zod.z.
|
|
8
|
+
deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
|
|
9
9
|
}).describe("Response schema for deleting a note.");
|
|
10
10
|
const folkDeleteNote = require_action.action("FOLK_DELETE_NOTE", {
|
|
11
11
|
slug: "folk-delete-note",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-note.cjs","names":["z","action"],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),\n deprecations: z.
|
|
1
|
+
{"version":3,"file":"delete-note.cjs","names":["z","action"],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a note.\");\n\nexport const folkDeleteNote = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,EAC9D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAM,4CAA4C,SAAS;CAC3D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,16 +8,11 @@ declare const FolkDeleteNoteOutput: z.ZodObject<{
|
|
|
8
8
|
data: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
}, z.core.$strip>>;
|
|
11
|
-
deprecations: z.
|
|
11
|
+
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const folkDeleteNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
note_id: string;
|
|
15
|
-
},
|
|
16
|
-
data: {
|
|
17
|
-
id: string | null;
|
|
18
|
-
} | null;
|
|
19
|
-
deprecations?: string[] | undefined;
|
|
20
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
16
|
//#endregion
|
|
22
17
|
export { folkDeleteNote };
|
|
23
18
|
//# sourceMappingURL=delete-note.d.cts.map
|
|
@@ -8,16 +8,11 @@ declare const FolkDeleteNoteOutput: z.ZodObject<{
|
|
|
8
8
|
data: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
}, z.core.$strip>>;
|
|
11
|
-
deprecations: z.
|
|
11
|
+
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const folkDeleteNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
note_id: string;
|
|
15
|
-
},
|
|
16
|
-
data: {
|
|
17
|
-
id: string | null;
|
|
18
|
-
} | null;
|
|
19
|
-
deprecations?: string[] | undefined;
|
|
20
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
16
|
//#endregion
|
|
22
17
|
export { folkDeleteNote };
|
|
23
18
|
//# sourceMappingURL=delete-note.d.mts.map
|
|
@@ -10,7 +10,7 @@ const folkDeleteNote = action("FOLK_DELETE_NOTE", {
|
|
|
10
10
|
input: FolkDeleteNoteInput,
|
|
11
11
|
output: z.object({
|
|
12
12
|
data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),
|
|
13
|
-
deprecations: z.
|
|
13
|
+
deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
|
|
14
14
|
}).describe("Response schema for deleting a note.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-note.mjs","names":[],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),\n deprecations: z.
|
|
1
|
+
{"version":3,"file":"delete-note.mjs","names":[],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a note.\");\n\nexport const folkDeleteNote = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA8C,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,EAC9D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkC,EAAE,OAAO;EAC3C,MAAM,4CAA4C,SAAS;EAC3D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const FolkDeletePersonInput = zod.z.object({ person_id: zod.z.string().describe(
|
|
|
5
5
|
const FolkDeletePerson_DeletePersonResponseDataSchema = zod.z.object({ id: zod.z.string().describe("The ID of the deleted person.").nullable() }).describe("Data returned after deleting a person.");
|
|
6
6
|
const FolkDeletePersonOutput = zod.z.object({
|
|
7
7
|
data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),
|
|
8
|
-
deprecations: zod.z.
|
|
8
|
+
deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
|
|
9
9
|
}).describe("Response schema for deleting a person.");
|
|
10
10
|
const folkDeletePerson = require_action.action("FOLK_DELETE_PERSON", {
|
|
11
11
|
slug: "folk-delete-person",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-person.cjs","names":["z","action"],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),\n deprecations: z.
|
|
1
|
+
{"version":3,"file":"delete-person.cjs","names":["z","action"],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a person.\");\n\nexport const folkDeletePerson = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAM,gDAAgD,SAAS;CAC/D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,16 +8,11 @@ declare const FolkDeletePersonOutput: z.ZodObject<{
|
|
|
8
8
|
data: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
}, z.core.$strip>>;
|
|
11
|
-
deprecations: z.
|
|
11
|
+
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const folkDeletePerson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
person_id: string;
|
|
15
|
-
},
|
|
16
|
-
data: {
|
|
17
|
-
id: string | null;
|
|
18
|
-
} | null;
|
|
19
|
-
deprecations?: string[] | undefined;
|
|
20
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
16
|
//#endregion
|
|
22
17
|
export { folkDeletePerson };
|
|
23
18
|
//# sourceMappingURL=delete-person.d.cts.map
|
|
@@ -8,16 +8,11 @@ declare const FolkDeletePersonOutput: z.ZodObject<{
|
|
|
8
8
|
data: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
}, z.core.$strip>>;
|
|
11
|
-
deprecations: z.
|
|
11
|
+
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const folkDeletePerson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
person_id: string;
|
|
15
|
-
},
|
|
16
|
-
data: {
|
|
17
|
-
id: string | null;
|
|
18
|
-
} | null;
|
|
19
|
-
deprecations?: string[] | undefined;
|
|
20
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
16
|
//#endregion
|
|
22
17
|
export { folkDeletePerson };
|
|
23
18
|
//# sourceMappingURL=delete-person.d.mts.map
|
|
@@ -10,7 +10,7 @@ const folkDeletePerson = action("FOLK_DELETE_PERSON", {
|
|
|
10
10
|
input: FolkDeletePersonInput,
|
|
11
11
|
output: z.object({
|
|
12
12
|
data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),
|
|
13
|
-
deprecations: z.
|
|
13
|
+
deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
|
|
14
14
|
}).describe("Response schema for deleting a person.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-person.mjs","names":[],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),\n deprecations: z.
|
|
1
|
+
{"version":3,"file":"delete-person.mjs","names":[],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a person.\");\n\nexport const folkDeletePerson = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAkD,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,MAAM,gDAAgD,SAAS;EAC/D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const FolkDeleteReminderInput = zod.z.object({ reminder_id: zod.z.string().descr
|
|
|
5
5
|
const FolkDeleteReminder_DeleteReminderResponseDataSchema = zod.z.object({ id: zod.z.string().describe("The ID of the deleted reminder.").nullable() }).describe("Data returned after deleting a reminder.");
|
|
6
6
|
const FolkDeleteReminderOutput = zod.z.object({
|
|
7
7
|
data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),
|
|
8
|
-
deprecations: zod.z.
|
|
8
|
+
deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
|
|
9
9
|
}).describe("Response schema for deleting a reminder.");
|
|
10
10
|
const folkDeleteReminder = require_action.action("FOLK_DELETE_REMINDER", {
|
|
11
11
|
slug: "folk-delete-reminder",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-reminder.cjs","names":["z","action"],"sources":["../../src/actions/delete-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteReminderInput = z.object({\n reminder_id: z.string().describe(\"The ID of the reminder to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a reminder.\");\nconst FolkDeleteReminder_DeleteReminderResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted reminder.\").nullable(),\n}).describe(\"Data returned after deleting a reminder.\");\nexport const FolkDeleteReminderOutput = z.object({\n data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),\n deprecations: z.
|
|
1
|
+
{"version":3,"file":"delete-reminder.cjs","names":["z","action"],"sources":["../../src/actions/delete-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteReminderInput = z.object({\n reminder_id: z.string().describe(\"The ID of the reminder to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a reminder.\");\nconst FolkDeleteReminder_DeleteReminderResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted reminder.\").nullable(),\n}).describe(\"Data returned after deleting a reminder.\");\nexport const FolkDeleteReminderOutput = z.object({\n data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a reminder.\");\n\nexport const folkDeleteReminder = action(\"FOLK_DELETE_REMINDER\", {\n slug: \"folk-delete-reminder\",\n name: \"Delete Reminder\",\n description: \"Tool to delete an existing reminder in the workspace (irreversible). Use after confirming this reminder should be permanently removed.\",\n input: FolkDeleteReminderInput,\n output: FolkDeleteReminderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,oDAAoD,SAAS;CACnE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,16 +8,11 @@ declare const FolkDeleteReminderOutput: z.ZodObject<{
|
|
|
8
8
|
data: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
}, z.core.$strip>>;
|
|
11
|
-
deprecations: z.
|
|
11
|
+
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const folkDeleteReminder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
reminder_id: string;
|
|
15
|
-
},
|
|
16
|
-
data: {
|
|
17
|
-
id: string | null;
|
|
18
|
-
} | null;
|
|
19
|
-
deprecations?: string[] | undefined;
|
|
20
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
16
|
//#endregion
|
|
22
17
|
export { folkDeleteReminder };
|
|
23
18
|
//# sourceMappingURL=delete-reminder.d.cts.map
|
|
@@ -8,16 +8,11 @@ declare const FolkDeleteReminderOutput: z.ZodObject<{
|
|
|
8
8
|
data: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
}, z.core.$strip>>;
|
|
11
|
-
deprecations: z.
|
|
11
|
+
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const folkDeleteReminder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
reminder_id: string;
|
|
15
|
-
},
|
|
16
|
-
data: {
|
|
17
|
-
id: string | null;
|
|
18
|
-
} | null;
|
|
19
|
-
deprecations?: string[] | undefined;
|
|
20
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
16
|
//#endregion
|
|
22
17
|
export { folkDeleteReminder };
|
|
23
18
|
//# sourceMappingURL=delete-reminder.d.mts.map
|
|
@@ -10,7 +10,7 @@ const folkDeleteReminder = action("FOLK_DELETE_REMINDER", {
|
|
|
10
10
|
input: FolkDeleteReminderInput,
|
|
11
11
|
output: z.object({
|
|
12
12
|
data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),
|
|
13
|
-
deprecations: z.
|
|
13
|
+
deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
|
|
14
14
|
}).describe("Response schema for deleting a reminder.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-reminder.mjs","names":[],"sources":["../../src/actions/delete-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteReminderInput = z.object({\n reminder_id: z.string().describe(\"The ID of the reminder to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a reminder.\");\nconst FolkDeleteReminder_DeleteReminderResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted reminder.\").nullable(),\n}).describe(\"Data returned after deleting a reminder.\");\nexport const FolkDeleteReminderOutput = z.object({\n data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),\n deprecations: z.
|
|
1
|
+
{"version":3,"file":"delete-reminder.mjs","names":[],"sources":["../../src/actions/delete-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteReminderInput = z.object({\n reminder_id: z.string().describe(\"The ID of the reminder to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a reminder.\");\nconst FolkDeleteReminder_DeleteReminderResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted reminder.\").nullable(),\n}).describe(\"Data returned after deleting a reminder.\");\nexport const FolkDeleteReminderOutput = z.object({\n data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a reminder.\");\n\nexport const folkDeleteReminder = action(\"FOLK_DELETE_REMINDER\", {\n slug: \"folk-delete-reminder\",\n name: \"Delete Reminder\",\n description: \"Tool to delete an existing reminder in the workspace (irreversible). Use after confirming this reminder should be permanently removed.\",\n input: FolkDeleteReminderInput,\n output: FolkDeleteReminderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,sDAAsD,EAAE,OAAO,EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,oDAAoD,SAAS;EACnE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ const FolkGetCompany_CompanyDataSchema = zod.z.object({
|
|
|
14
14
|
groups: zod.z.array(FolkGetCompany_GetCompanyGroupSchema).describe("Groups associated with the company."),
|
|
15
15
|
phones: zod.z.array(zod.z.string()).describe("Phone numbers of the company."),
|
|
16
16
|
addresses: zod.z.array(zod.z.string()).describe("Addresses of the company."),
|
|
17
|
-
description: zod.z.
|
|
17
|
+
description: zod.z.string().describe("Description of the company.").nullable().optional(),
|
|
18
18
|
customFieldValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values keyed by custom-field group ID. Each entry’s structure varies by group configuration.")
|
|
19
19
|
}).describe("Representation of a company in the workspace.");
|
|
20
20
|
const FolkGetCompanyOutput = zod.z.object({ data: FolkGetCompany_CompanyDataSchema.nullable() }).describe("Full response schema for get-company.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company.cjs","names":["z","action"],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to retrieve. Must be exactly 40 characters long.\"),\n}).describe(\"Request parameters for retrieving a company by its ID.\");\nconst FolkGetCompany_GetCompanyGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).describe(\"A group associated with the company.\");\nconst FolkGetCompany_CompanyDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the company.\").nullable(),\n name: z.string().describe(\"Name of the company.\").nullable(),\n urls: z.array(z.string()).describe(\"Websites of the company.\"),\n emails: z.array(z.string()).describe(\"Email addresses of the company.\"),\n groups: z.array(FolkGetCompany_GetCompanyGroupSchema).describe(\"Groups associated with the company.\"),\n phones: z.array(z.string()).describe(\"Phone numbers of the company.\"),\n addresses: z.array(z.string()).describe(\"Addresses of the company.\"),\n description: z.
|
|
1
|
+
{"version":3,"file":"get-company.cjs","names":["z","action"],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to retrieve. Must be exactly 40 characters long.\"),\n}).describe(\"Request parameters for retrieving a company by its ID.\");\nconst FolkGetCompany_GetCompanyGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).describe(\"A group associated with the company.\");\nconst FolkGetCompany_CompanyDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the company.\").nullable(),\n name: z.string().describe(\"Name of the company.\").nullable(),\n urls: z.array(z.string()).describe(\"Websites of the company.\"),\n emails: z.array(z.string()).describe(\"Email addresses of the company.\"),\n groups: z.array(FolkGetCompany_GetCompanyGroupSchema).describe(\"Groups associated with the company.\"),\n phones: z.array(z.string()).describe(\"Phone numbers of the company.\"),\n addresses: z.array(z.string()).describe(\"Addresses of the company.\"),\n description: z.string().describe(\"Description of the company.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by custom-field group ID. Each entry’s structure varies by group configuration.\"),\n}).describe(\"Representation of a company in the workspace.\");\nexport const FolkGetCompanyOutput = z.object({\n data: FolkGetCompany_CompanyDataSchema.nullable(),\n}).describe(\"Full response schema for get-company.\");\n\nexport const folkGetCompany = action(\"FOLK_GET_COMPANY\", {\n slug: \"folk-get-company\",\n name: \"Get Company\",\n description: \"Tool to retrieve an existing company by its ID. Use after authentication has been verified.\",\n input: FolkGetCompanyInput,\n output: FolkGetCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC1G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;AACpD,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;CAC7D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC;CACtE,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,qCAAqC;CACpG,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B;CACpE,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAC3K,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAM,iCAAiC,SAAS,EAClD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,28 +16,13 @@ declare const FolkGetCompanyOutput: z.ZodObject<{
|
|
|
16
16
|
}, z.core.$strip>>;
|
|
17
17
|
phones: z.ZodArray<z.ZodString>;
|
|
18
18
|
addresses: z.ZodArray<z.ZodString>;
|
|
19
|
-
description: z.
|
|
19
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
21
21
|
}, z.core.$strip>>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const folkGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
company_id: string;
|
|
25
|
-
},
|
|
26
|
-
data: {
|
|
27
|
-
id: string | null;
|
|
28
|
-
name: string | null;
|
|
29
|
-
urls: string[];
|
|
30
|
-
emails: string[];
|
|
31
|
-
groups: {
|
|
32
|
-
id: string | null;
|
|
33
|
-
name: string | null;
|
|
34
|
-
}[];
|
|
35
|
-
phones: string[];
|
|
36
|
-
addresses: string[];
|
|
37
|
-
customFieldValues: Record<string, unknown>;
|
|
38
|
-
description?: string | undefined;
|
|
39
|
-
} | null;
|
|
40
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
41
26
|
//#endregion
|
|
42
27
|
export { folkGetCompany };
|
|
43
28
|
//# sourceMappingURL=get-company.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company.d.cts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA
|
|
1
|
+
{"version":3,"file":"get-company.d.cts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -16,28 +16,13 @@ declare const FolkGetCompanyOutput: z.ZodObject<{
|
|
|
16
16
|
}, z.core.$strip>>;
|
|
17
17
|
phones: z.ZodArray<z.ZodString>;
|
|
18
18
|
addresses: z.ZodArray<z.ZodString>;
|
|
19
|
-
description: z.
|
|
19
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
21
21
|
}, z.core.$strip>>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const folkGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
company_id: string;
|
|
25
|
-
},
|
|
26
|
-
data: {
|
|
27
|
-
id: string | null;
|
|
28
|
-
name: string | null;
|
|
29
|
-
urls: string[];
|
|
30
|
-
emails: string[];
|
|
31
|
-
groups: {
|
|
32
|
-
id: string | null;
|
|
33
|
-
name: string | null;
|
|
34
|
-
}[];
|
|
35
|
-
phones: string[];
|
|
36
|
-
addresses: string[];
|
|
37
|
-
customFieldValues: Record<string, unknown>;
|
|
38
|
-
description?: string | undefined;
|
|
39
|
-
} | null;
|
|
40
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
41
26
|
//#endregion
|
|
42
27
|
export { folkGetCompany };
|
|
43
28
|
//# sourceMappingURL=get-company.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company.d.mts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA
|
|
1
|
+
{"version":3,"file":"get-company.d.mts","names":[],"sources":["../../src/actions/get-company.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -14,7 +14,7 @@ const FolkGetCompany_CompanyDataSchema = z.object({
|
|
|
14
14
|
groups: z.array(FolkGetCompany_GetCompanyGroupSchema).describe("Groups associated with the company."),
|
|
15
15
|
phones: z.array(z.string()).describe("Phone numbers of the company."),
|
|
16
16
|
addresses: z.array(z.string()).describe("Addresses of the company."),
|
|
17
|
-
description: z.
|
|
17
|
+
description: z.string().describe("Description of the company.").nullable().optional(),
|
|
18
18
|
customFieldValues: z.record(z.string(), z.unknown()).describe("Custom field values keyed by custom-field group ID. Each entry’s structure varies by group configuration.")
|
|
19
19
|
}).describe("Representation of a company in the workspace.");
|
|
20
20
|
const folkGetCompany = action("FOLK_GET_COMPANY", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company.mjs","names":[],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to retrieve. Must be exactly 40 characters long.\"),\n}).describe(\"Request parameters for retrieving a company by its ID.\");\nconst FolkGetCompany_GetCompanyGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).describe(\"A group associated with the company.\");\nconst FolkGetCompany_CompanyDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the company.\").nullable(),\n name: z.string().describe(\"Name of the company.\").nullable(),\n urls: z.array(z.string()).describe(\"Websites of the company.\"),\n emails: z.array(z.string()).describe(\"Email addresses of the company.\"),\n groups: z.array(FolkGetCompany_GetCompanyGroupSchema).describe(\"Groups associated with the company.\"),\n phones: z.array(z.string()).describe(\"Phone numbers of the company.\"),\n addresses: z.array(z.string()).describe(\"Addresses of the company.\"),\n description: z.
|
|
1
|
+
{"version":3,"file":"get-company.mjs","names":[],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to retrieve. Must be exactly 40 characters long.\"),\n}).describe(\"Request parameters for retrieving a company by its ID.\");\nconst FolkGetCompany_GetCompanyGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).describe(\"A group associated with the company.\");\nconst FolkGetCompany_CompanyDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the company.\").nullable(),\n name: z.string().describe(\"Name of the company.\").nullable(),\n urls: z.array(z.string()).describe(\"Websites of the company.\"),\n emails: z.array(z.string()).describe(\"Email addresses of the company.\"),\n groups: z.array(FolkGetCompany_GetCompanyGroupSchema).describe(\"Groups associated with the company.\"),\n phones: z.array(z.string()).describe(\"Phone numbers of the company.\"),\n addresses: z.array(z.string()).describe(\"Addresses of the company.\"),\n description: z.string().describe(\"Description of the company.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by custom-field group ID. Each entry’s structure varies by group configuration.\"),\n}).describe(\"Representation of a company in the workspace.\");\nexport const FolkGetCompanyOutput = z.object({\n data: FolkGetCompany_CompanyDataSchema.nullable(),\n}).describe(\"Full response schema for get-company.\");\n\nexport const folkGetCompany = action(\"FOLK_GET_COMPANY\", {\n slug: \"folk-get-company\",\n name: \"Get Company\",\n description: \"Tool to retrieve an existing company by its ID. Use after authentication has been verified.\",\n input: FolkGetCompanyInput,\n output: FolkGetCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC1G,CAAC,CAAC,CAAC,SAAS,wD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10
|
}, z.core.$strip>>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
|
-
declare const folkGetCurrentWorkspaceUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>,
|
|
13
|
-
data: {
|
|
14
|
-
id: string | null;
|
|
15
|
-
email: string | null;
|
|
16
|
-
fullName: string | null;
|
|
17
|
-
} | null;
|
|
18
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const folkGetCurrentWorkspaceUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
13
|
//#endregion
|
|
20
14
|
export { folkGetCurrentWorkspaceUser };
|
|
21
15
|
//# sourceMappingURL=get-current-workspace-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-workspace-user.d.cts","names":[],"sources":["../../src/actions/get-current-workspace-user.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA"}
|
|
1
|
+
{"version":3,"file":"get-current-workspace-user.d.cts","names":[],"sources":["../../src/actions/get-current-workspace-user.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -9,13 +9,7 @@ declare const FolkGetCurrentWorkspaceUserOutput: z.ZodObject<{
|
|
|
9
9
|
fullName: z.ZodNullable<z.ZodString>;
|
|
10
10
|
}, z.core.$strip>>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
|
-
declare const folkGetCurrentWorkspaceUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>,
|
|
13
|
-
data: {
|
|
14
|
-
id: string | null;
|
|
15
|
-
email: string | null;
|
|
16
|
-
fullName: string | null;
|
|
17
|
-
} | null;
|
|
18
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const folkGetCurrentWorkspaceUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
13
|
//#endregion
|
|
20
14
|
export { folkGetCurrentWorkspaceUser };
|
|
21
15
|
//# sourceMappingURL=get-current-workspace-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-workspace-user.d.mts","names":[],"sources":["../../src/actions/get-current-workspace-user.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA"}
|
|
1
|
+
{"version":3,"file":"get-current-workspace-user.d.mts","names":[],"sources":["../../src/actions/get-current-workspace-user.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -29,17 +29,17 @@ const FolkGetNote_GetNoteEntitySchema = zod.z.object({
|
|
|
29
29
|
}).describe("Entity (person, company, or object) associated with the note.");
|
|
30
30
|
const FolkGetNote_GetNoteParentNoteSchema = zod.z.object({
|
|
31
31
|
id: zod.z.string().describe("Parent note identifier").nullable(),
|
|
32
|
-
author: zod.z.
|
|
32
|
+
author: zod.z.union([
|
|
33
33
|
FolkGetNote_GetNoteActiveUserSchema,
|
|
34
34
|
FolkGetNote_GetNoteDeletedUserSchema,
|
|
35
35
|
FolkGetNote_GetNoteAssistantSchema
|
|
36
|
-
]).optional()
|
|
37
|
-
entity:
|
|
38
|
-
content: zod.z.
|
|
39
|
-
deleted: zod.z.
|
|
40
|
-
createdAt: zod.z.
|
|
41
|
-
parentNote: zod.z.
|
|
42
|
-
visibility: zod.z.
|
|
36
|
+
]).nullable().optional(),
|
|
37
|
+
entity: FolkGetNote_GetNoteEntitySchema.nullable().optional(),
|
|
38
|
+
content: zod.z.string().describe("Parent note content").nullable().optional(),
|
|
39
|
+
deleted: zod.z.boolean().describe("Whether the parent note has been deleted").nullable().optional(),
|
|
40
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp when the parent note was created").nullable().optional(),
|
|
41
|
+
parentNote: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Grandparent note if parent is also a reply").nullable().optional(),
|
|
42
|
+
visibility: zod.z.enum(["public", "private"]).describe("Visibility of the parent note").nullable().optional()
|
|
43
43
|
}).describe("Parent note information if this note is a reply.");
|
|
44
44
|
const FolkGetNote_GetNoteDataSchema = zod.z.object({
|
|
45
45
|
id: zod.z.string().describe("Unique identifier of the note").nullable(),
|
|
@@ -50,13 +50,13 @@ const FolkGetNote_GetNoteDataSchema = zod.z.object({
|
|
|
50
50
|
]),
|
|
51
51
|
entity: FolkGetNote_GetNoteEntitySchema.nullable(),
|
|
52
52
|
content: zod.z.string().describe("Note content in text or markdown format").nullable(),
|
|
53
|
-
createdAt: zod.z.
|
|
54
|
-
parentNote:
|
|
53
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp when the note was created").nullable().optional(),
|
|
54
|
+
parentNote: FolkGetNote_GetNoteParentNoteSchema.nullable().optional(),
|
|
55
55
|
visibility: zod.z.enum(["public", "private"]).describe("Visibility setting for the note").nullable()
|
|
56
56
|
}).describe("Note data object returned by the API.");
|
|
57
57
|
const FolkGetNoteOutput = zod.z.object({
|
|
58
58
|
data: FolkGetNote_GetNoteDataSchema.nullable(),
|
|
59
|
-
deprecations: zod.z.
|
|
59
|
+
deprecations: zod.z.array(zod.z.string()).describe("List of deprecation warnings, if any").nullable().optional()
|
|
60
60
|
}).describe("Full response schema for get-note endpoint.");
|
|
61
61
|
const folkGetNote = require_action.action("FOLK_GET_NOTE", {
|
|
62
62
|
slug: "folk-get-note",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-note.cjs","names":["z","action"],"sources":["../../src/actions/get-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to retrieve. Must be exactly 40 characters long.\"),\n}).describe(\"Request parameters for retrieving a note by its ID.\");\nconst FolkGetNote_GetNoteActiveUserSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable(),\n type: z.string().describe(\"Author type for active user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n deleted: z.boolean().describe(\"User deletion status\").nullable(),\n fullName: z.string().describe(\"User's full name\").nullable(),\n}).describe(\"Active user author information.\");\nconst FolkGetNote_GetNoteDeletedUserSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable(),\n type: z.string().describe(\"Author type for deleted user\").nullable(),\n deleted: z.boolean().describe(\"User deletion status\").nullable(),\n}).describe(\"Deleted user author information.\");\nconst FolkGetNote_GetNoteAssistantSchema = z.object({\n type: z.string().describe(\"Author type for assistant\").nullable(),\n fullName: z.string().describe(\"Assistant's display name\").nullable(),\n}).describe(\"Assistant author information.\");\nconst FolkGetNote_GetNoteEntitySchema = z.object({\n id: z.string().describe(\"Entity identifier (40 characters)\").nullable(),\n fullName: z.string().describe(\"Full name of the entity\").nullable(),\n entityType: z.enum([\"person\", \"company\", \"object\"]).describe(\"Type of entity the note is attached to\").nullable(),\n}).describe(\"Entity (person, company, or object) associated with the note.\");\nconst FolkGetNote_GetNoteParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note identifier\").nullable(),\n author: z.
|
|
1
|
+
{"version":3,"file":"get-note.cjs","names":["z","action"],"sources":["../../src/actions/get-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkGetNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to retrieve. Must be exactly 40 characters long.\"),\n}).describe(\"Request parameters for retrieving a note by its ID.\");\nconst FolkGetNote_GetNoteActiveUserSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable(),\n type: z.string().describe(\"Author type for active user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n deleted: z.boolean().describe(\"User deletion status\").nullable(),\n fullName: z.string().describe(\"User's full name\").nullable(),\n}).describe(\"Active user author information.\");\nconst FolkGetNote_GetNoteDeletedUserSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable(),\n type: z.string().describe(\"Author type for deleted user\").nullable(),\n deleted: z.boolean().describe(\"User deletion status\").nullable(),\n}).describe(\"Deleted user author information.\");\nconst FolkGetNote_GetNoteAssistantSchema = z.object({\n type: z.string().describe(\"Author type for assistant\").nullable(),\n fullName: z.string().describe(\"Assistant's display name\").nullable(),\n}).describe(\"Assistant author information.\");\nconst FolkGetNote_GetNoteEntitySchema = z.object({\n id: z.string().describe(\"Entity identifier (40 characters)\").nullable(),\n fullName: z.string().describe(\"Full name of the entity\").nullable(),\n entityType: z.enum([\"person\", \"company\", \"object\"]).describe(\"Type of entity the note is attached to\").nullable(),\n}).describe(\"Entity (person, company, or object) associated with the note.\");\nconst FolkGetNote_GetNoteParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note identifier\").nullable(),\n author: z.union([FolkGetNote_GetNoteActiveUserSchema, FolkGetNote_GetNoteDeletedUserSchema, FolkGetNote_GetNoteAssistantSchema]).nullable().optional(),\n entity: FolkGetNote_GetNoteEntitySchema.nullable().optional(),\n content: z.string().describe(\"Parent note content\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether the parent note has been deleted\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the parent note was created\").nullable().optional(),\n parentNote: z.record(z.string(), z.unknown()).describe(\"Grandparent note if parent is also a reply\").nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility of the parent note\").nullable().optional(),\n}).describe(\"Parent note information if this note is a reply.\");\nconst FolkGetNote_GetNoteDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the note\").nullable(),\n author: z.union([FolkGetNote_GetNoteActiveUserSchema, FolkGetNote_GetNoteDeletedUserSchema, FolkGetNote_GetNoteAssistantSchema]),\n entity: FolkGetNote_GetNoteEntitySchema.nullable(),\n content: z.string().describe(\"Note content in text or markdown format\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created\").nullable().optional(),\n parentNote: FolkGetNote_GetNoteParentNoteSchema.nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility setting for the note\").nullable(),\n}).describe(\"Note data object returned by the API.\");\nexport const FolkGetNoteOutput = z.object({\n data: FolkGetNote_GetNoteDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any\").nullable().optional(),\n}).describe(\"Full response schema for get-note endpoint.\");\n\nexport const folkGetNote = action(\"FOLK_GET_NOTE\", {\n slug: \"folk-get-note\",\n name: \"Get Note\",\n description: \"Tool to retrieve an existing note by its ID. Use when you need the full content and metadata of a specific note.\",\n input: FolkGetNoteInput,\n output: FolkGetNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAmBA,IAAAA,EAAE,OAAO,EACvC,SAASA,IAAAA,EAAE,O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