@keystrokehq/folk 0.1.0 → 0.1.1
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 +15 -15
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +89 -3
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +89 -3
- package/dist/actions/create-company.d.mts.map +1 -1
- package/dist/actions/create-company.mjs +15 -15
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-note.cjs +15 -15
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +70 -3
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +70 -3
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +15 -15
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-person.cjs +29 -29
- package/dist/actions/create-person.cjs.map +1 -1
- package/dist/actions/create-person.d.cts +113 -3
- package/dist/actions/create-person.d.cts.map +1 -1
- package/dist/actions/create-person.d.mts +113 -3
- package/dist/actions/create-person.d.mts.map +1 -1
- package/dist/actions/create-person.mjs +29 -29
- package/dist/actions/create-person.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +2 -2
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +17 -3
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +17 -3
- package/dist/actions/delete-company.d.mts.map +1 -1
- package/dist/actions/delete-company.mjs +2 -2
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-note.cjs +2 -2
- package/dist/actions/delete-note.cjs.map +1 -1
- package/dist/actions/delete-note.d.cts +17 -3
- package/dist/actions/delete-note.d.cts.map +1 -1
- package/dist/actions/delete-note.d.mts +17 -3
- package/dist/actions/delete-note.d.mts.map +1 -1
- package/dist/actions/delete-note.mjs +2 -2
- package/dist/actions/delete-note.mjs.map +1 -1
- package/dist/actions/delete-person.cjs +2 -2
- package/dist/actions/delete-person.cjs.map +1 -1
- package/dist/actions/delete-person.d.cts +17 -3
- package/dist/actions/delete-person.d.cts.map +1 -1
- package/dist/actions/delete-person.d.mts +17 -3
- package/dist/actions/delete-person.d.mts.map +1 -1
- package/dist/actions/delete-person.mjs +2 -2
- package/dist/actions/delete-person.mjs.map +1 -1
- package/dist/actions/delete-reminder.cjs +2 -2
- package/dist/actions/delete-reminder.cjs.map +1 -1
- package/dist/actions/delete-reminder.d.cts +17 -3
- package/dist/actions/delete-reminder.d.cts.map +1 -1
- package/dist/actions/delete-reminder.d.mts +17 -3
- package/dist/actions/delete-reminder.d.mts.map +1 -1
- package/dist/actions/delete-reminder.mjs +2 -2
- package/dist/actions/delete-reminder.mjs.map +1 -1
- package/dist/actions/get-company.cjs +5 -5
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +37 -3
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +37 -3
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +5 -5
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-current-workspace-user.cjs +3 -3
- package/dist/actions/get-current-workspace-user.cjs.map +1 -1
- package/dist/actions/get-current-workspace-user.d.cts +15 -3
- package/dist/actions/get-current-workspace-user.d.cts.map +1 -1
- package/dist/actions/get-current-workspace-user.d.mts +15 -3
- package/dist/actions/get-current-workspace-user.d.mts.map +1 -1
- package/dist/actions/get-current-workspace-user.mjs +3 -3
- package/dist/actions/get-current-workspace-user.mjs.map +1 -1
- package/dist/actions/get-note.cjs +28 -28
- package/dist/actions/get-note.cjs.map +1 -1
- package/dist/actions/get-note.d.cts +129 -3
- package/dist/actions/get-note.d.cts.map +1 -1
- package/dist/actions/get-note.d.mts +129 -3
- package/dist/actions/get-note.d.mts.map +1 -1
- package/dist/actions/get-note.mjs +28 -28
- package/dist/actions/get-note.mjs.map +1 -1
- package/dist/actions/get-person.cjs +25 -25
- package/dist/actions/get-person.cjs.map +1 -1
- package/dist/actions/get-person.d.cts +65 -3
- package/dist/actions/get-person.d.cts.map +1 -1
- package/dist/actions/get-person.d.mts +65 -3
- package/dist/actions/get-person.d.mts.map +1 -1
- package/dist/actions/get-person.mjs +25 -25
- package/dist/actions/get-person.mjs.map +1 -1
- package/dist/actions/get-user.cjs +4 -4
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +21 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +21 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +4 -4
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +16 -16
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +80 -3
- package/dist/actions/list-companies.d.cts.map +1 -1
- package/dist/actions/list-companies.d.mts +80 -3
- package/dist/actions/list-companies.d.mts.map +1 -1
- package/dist/actions/list-companies.mjs +16 -16
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-group-custom-fields.cjs +10 -10
- package/dist/actions/list-group-custom-fields.cjs.map +1 -1
- package/dist/actions/list-group-custom-fields.d.cts +64 -3
- package/dist/actions/list-group-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-group-custom-fields.d.mts +64 -3
- package/dist/actions/list-group-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-group-custom-fields.mjs +10 -10
- package/dist/actions/list-group-custom-fields.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +5 -5
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +31 -3
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +31 -3
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +5 -5
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +22 -22
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +88 -3
- package/dist/actions/list-notes.d.cts.map +1 -1
- package/dist/actions/list-notes.d.mts +88 -3
- package/dist/actions/list-notes.d.mts.map +1 -1
- package/dist/actions/list-notes.mjs +22 -22
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/list-people.cjs +22 -22
- package/dist/actions/list-people.cjs.map +1 -1
- package/dist/actions/list-people.d.cts +97 -3
- package/dist/actions/list-people.d.cts.map +1 -1
- package/dist/actions/list-people.d.mts +97 -3
- package/dist/actions/list-people.d.mts.map +1 -1
- package/dist/actions/list-people.mjs +22 -22
- package/dist/actions/list-people.mjs.map +1 -1
- package/dist/actions/list-reminders.cjs +15 -15
- package/dist/actions/list-reminders.cjs.map +1 -1
- package/dist/actions/list-reminders.d.cts +80 -3
- package/dist/actions/list-reminders.d.cts.map +1 -1
- package/dist/actions/list-reminders.d.mts +80 -3
- package/dist/actions/list-reminders.d.mts.map +1 -1
- package/dist/actions/list-reminders.mjs +15 -15
- package/dist/actions/list-reminders.mjs.map +1 -1
- package/dist/actions/list-users.cjs +5 -5
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +33 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +33 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +5 -5
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +14 -14
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +57 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +57 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +14 -14
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/update-company.cjs +6 -6
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +59 -3
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +59 -3
- package/dist/actions/update-company.d.mts.map +1 -1
- package/dist/actions/update-company.mjs +6 -6
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-note.cjs +15 -15
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +56 -3
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +56 -3
- package/dist/actions/update-note.d.mts.map +1 -1
- package/dist/actions/update-note.mjs +15 -15
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-person.cjs +26 -26
- package/dist/actions/update-person.cjs.map +1 -1
- package/dist/actions/update-person.d.cts +107 -3
- package/dist/actions/update-person.d.cts.map +1 -1
- package/dist/actions/update-person.d.mts +107 -3
- package/dist/actions/update-person.d.mts.map +1 -1
- package/dist/actions/update-person.mjs +26 -26
- package/dist/actions/update-person.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-people.cjs","names":["z","action"],"sources":["../../src/actions/list-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListPeopleInput
|
|
1
|
+
{"version":3,"file":"list-people.cjs","names":["z","action"],"sources":["../../src/actions/list-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListPeopleInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from a previous response's `pagination.nextLink`. Omit on the first call.\").optional(),\n filter: z.object({}).describe(\"Filters to apply, following `filter[attribute][operator]=value` format. E.g., {'firstName': {'eq': 'John'}}.\").optional(),\n combinator: z.enum([\"and\", \"or\"]).default(\"and\").describe(\"Logical operator to combine multiple filters.\").optional(),\n}).passthrough().describe(\"Request parameters for listing people in the workspace.\");\nconst FolkListPeople_GroupItemSchema = z.object({\n id: z.string().describe(\"Group ID for the person\").nullable(),\n name: z.string().describe(\"Group name for the person\").nullable(),\n});\nconst FolkListPeople_CompanyItemSchema = z.object({\n id: z.string().describe(\"Company ID for the person\").nullable(),\n name: z.string().describe(\"Company name for the person\").nullable(),\n});\nconst FolkListPeople_UserSchema = z.object({\n id: z.string().describe(\"User ID\").nullable(),\n email: z.string().describe(\"Email of the user\").nullable(),\n fullName: z.string().describe(\"Full name of the user\").nullable(),\n}).describe(\"User information model used across different contexts.\");\nconst FolkListPeople_InteractionMetadataSchema = z.object({\n user: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"User-specific interaction metadata (approximate count, last interacted timestamp).\").optional()),\n workspace: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Workspace-wide interaction metadata (approximate count, last interacted timestamp, last interacted by users).\").optional()),\n}).describe(\"Metadata about interactions with a person.\");\nconst FolkListPeople_PersonSchema = z.object({\n id: z.string().describe(\"Unique identifier of the person\").nullable(),\n urls: z.array(z.string()).describe(\"URLs associated with the person\"),\n emails: z.array(z.string()).describe(\"Emails for the person\"),\n groups: z.array(FolkListPeople_GroupItemSchema).describe(\"Groups the person belongs to\"),\n phones: z.array(z.string()).describe(\"Phone numbers for the person\"),\n birthday: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Birthday in YYYY-MM-DD format\").optional()),\n fullName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Person's full name\").optional()),\n jobTitle: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current job title\").optional()),\n lastName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Person's last name\").optional()),\n addresses: z.array(z.string()).describe(\"List of addresses for the person\"),\n companies: z.array(FolkListPeople_CompanyItemSchema).describe(\"Companies associated with the person\"),\n createdAt: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when person was created\").optional()),\n createdBy: z.preprocess((value) => (value === null ? undefined : value), FolkListPeople_UserSchema.optional()),\n firstName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Person's first name\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Textual description of the person\").optional()),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values organized by group ID. Each group contains user-defined field names with dynamic values (can be strings, arrays, user objects, or relationship objects). Structure varies by workspace configuration.\"),\n interactionMetadata: z.preprocess((value) => (value === null ? undefined : value), FolkListPeople_InteractionMetadataSchema.optional()),\n strongestConnection: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Strongest connection to this person, mapping group IDs to User objects\").optional()),\n});\nconst FolkListPeople_PaginationSchema = z.object({\n nextLink: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Link to retrieve the next page of results\").optional()),\n});\nconst FolkListPeople_ListPeopleDataSchema = z.object({\n items: z.array(FolkListPeople_PersonSchema).describe(\"List of people returned\"),\n pagination: FolkListPeople_PaginationSchema.nullable(),\n});\nexport const FolkListPeopleOutput = z.object({\n data: FolkListPeople_ListPeopleDataSchema.nullable(),\n deprecations: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Deprecation warnings returned by the API\").optional()),\n});\n\nexport const folkListPeople = action(\"FOLK_LIST_PEOPLE\", {\n slug: \"folk-list-people\",\n name: \"List People\",\n description: \"Tool to list people in the workspace. Use when you need to paginate through contacts after authentication.\",\n input: FolkListPeopleInput,\n output: FolkListPeopleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,OAAOA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EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,EACrJ,CAAC;AACD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,yBAAyB;CAC9E,YAAY,gCAAgC,SAAS;AACvD,CAAC;AACD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAM,oCAAoC,SAAS;CACnD,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;AACjK,CAAC;AAED,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,103 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-people.d.ts
|
|
4
|
-
declare const FolkListPeopleInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FolkListPeopleInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
8
|
+
combinator: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
9
|
+
and: "and";
|
|
10
|
+
or: "or";
|
|
11
|
+
}>>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const FolkListPeopleOutput: z.ZodObject<{
|
|
14
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
15
|
+
items: z.ZodArray<z.ZodObject<{
|
|
16
|
+
id: z.ZodNullable<z.ZodString>;
|
|
17
|
+
urls: z.ZodArray<z.ZodString>;
|
|
18
|
+
emails: z.ZodArray<z.ZodString>;
|
|
19
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodNullable<z.ZodString>;
|
|
21
|
+
name: z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
phones: z.ZodArray<z.ZodString>;
|
|
24
|
+
birthday: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
25
|
+
fullName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
26
|
+
jobTitle: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
27
|
+
lastName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
addresses: z.ZodArray<z.ZodString>;
|
|
29
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
30
|
+
id: z.ZodNullable<z.ZodString>;
|
|
31
|
+
name: z.ZodNullable<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
createdAt: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
34
|
+
createdBy: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
35
|
+
id: z.ZodNullable<z.ZodString>;
|
|
36
|
+
email: z.ZodNullable<z.ZodString>;
|
|
37
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
39
|
+
firstName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
40
|
+
description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
41
|
+
customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
42
|
+
interactionMetadata: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
43
|
+
user: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
44
|
+
workspace: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
|
+
}, z.core.$strip>>>;
|
|
46
|
+
strongestConnection: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
49
|
+
nextLink: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
deprecations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
declare const folkListPeople: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
|
+
[x: string]: unknown;
|
|
56
|
+
limit?: number | undefined;
|
|
57
|
+
cursor?: string | undefined;
|
|
58
|
+
filter?: Record<string, never> | undefined;
|
|
59
|
+
combinator?: "and" | "or" | undefined;
|
|
60
|
+
}, {
|
|
61
|
+
data: {
|
|
62
|
+
items: {
|
|
63
|
+
id: string | null;
|
|
64
|
+
urls: string[];
|
|
65
|
+
emails: string[];
|
|
66
|
+
groups: {
|
|
67
|
+
id: string | null;
|
|
68
|
+
name: string | null;
|
|
69
|
+
}[];
|
|
70
|
+
phones: string[];
|
|
71
|
+
addresses: string[];
|
|
72
|
+
companies: {
|
|
73
|
+
id: string | null;
|
|
74
|
+
name: string | null;
|
|
75
|
+
}[];
|
|
76
|
+
customFieldValues: Record<string, unknown>;
|
|
77
|
+
birthday?: string | undefined;
|
|
78
|
+
fullName?: string | undefined;
|
|
79
|
+
jobTitle?: string | undefined;
|
|
80
|
+
lastName?: string | undefined;
|
|
81
|
+
createdAt?: string | undefined;
|
|
82
|
+
createdBy?: {
|
|
83
|
+
id: string | null;
|
|
84
|
+
email: string | null;
|
|
85
|
+
fullName: string | null;
|
|
86
|
+
} | undefined;
|
|
87
|
+
firstName?: string | undefined;
|
|
88
|
+
description?: string | undefined;
|
|
89
|
+
interactionMetadata?: {
|
|
90
|
+
user?: Record<string, unknown> | undefined;
|
|
91
|
+
workspace?: Record<string, unknown> | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
strongestConnection?: Record<string, unknown> | undefined;
|
|
94
|
+
}[];
|
|
95
|
+
pagination: {
|
|
96
|
+
nextLink?: string | undefined;
|
|
97
|
+
} | null;
|
|
98
|
+
} | null;
|
|
99
|
+
deprecations?: string[] | undefined;
|
|
100
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
101
|
//#endregion
|
|
8
102
|
export { folkListPeople };
|
|
9
103
|
//# sourceMappingURL=list-people.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-people.d.cts","names":[],"sources":["../../src/actions/list-people.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"list-people.d.cts","names":[],"sources":["../../src/actions/list-people.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAkDnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpB,cAAA,gCAAc,wBAAA;EAAA"}
|
|
@@ -1,9 +1,103 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-people.d.ts
|
|
4
|
-
declare const FolkListPeopleInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FolkListPeopleInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
8
|
+
combinator: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
9
|
+
and: "and";
|
|
10
|
+
or: "or";
|
|
11
|
+
}>>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const FolkListPeopleOutput: z.ZodObject<{
|
|
14
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
15
|
+
items: z.ZodArray<z.ZodObject<{
|
|
16
|
+
id: z.ZodNullable<z.ZodString>;
|
|
17
|
+
urls: z.ZodArray<z.ZodString>;
|
|
18
|
+
emails: z.ZodArray<z.ZodString>;
|
|
19
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodNullable<z.ZodString>;
|
|
21
|
+
name: z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
phones: z.ZodArray<z.ZodString>;
|
|
24
|
+
birthday: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
25
|
+
fullName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
26
|
+
jobTitle: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
27
|
+
lastName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
addresses: z.ZodArray<z.ZodString>;
|
|
29
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
30
|
+
id: z.ZodNullable<z.ZodString>;
|
|
31
|
+
name: z.ZodNullable<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
createdAt: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
34
|
+
createdBy: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
35
|
+
id: z.ZodNullable<z.ZodString>;
|
|
36
|
+
email: z.ZodNullable<z.ZodString>;
|
|
37
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
39
|
+
firstName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
40
|
+
description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
41
|
+
customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
42
|
+
interactionMetadata: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
43
|
+
user: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
44
|
+
workspace: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
|
+
}, z.core.$strip>>>;
|
|
46
|
+
strongestConnection: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
49
|
+
nextLink: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
deprecations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
declare const folkListPeople: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
|
+
[x: string]: unknown;
|
|
56
|
+
limit?: number | undefined;
|
|
57
|
+
cursor?: string | undefined;
|
|
58
|
+
filter?: Record<string, never> | undefined;
|
|
59
|
+
combinator?: "and" | "or" | undefined;
|
|
60
|
+
}, {
|
|
61
|
+
data: {
|
|
62
|
+
items: {
|
|
63
|
+
id: string | null;
|
|
64
|
+
urls: string[];
|
|
65
|
+
emails: string[];
|
|
66
|
+
groups: {
|
|
67
|
+
id: string | null;
|
|
68
|
+
name: string | null;
|
|
69
|
+
}[];
|
|
70
|
+
phones: string[];
|
|
71
|
+
addresses: string[];
|
|
72
|
+
companies: {
|
|
73
|
+
id: string | null;
|
|
74
|
+
name: string | null;
|
|
75
|
+
}[];
|
|
76
|
+
customFieldValues: Record<string, unknown>;
|
|
77
|
+
birthday?: string | undefined;
|
|
78
|
+
fullName?: string | undefined;
|
|
79
|
+
jobTitle?: string | undefined;
|
|
80
|
+
lastName?: string | undefined;
|
|
81
|
+
createdAt?: string | undefined;
|
|
82
|
+
createdBy?: {
|
|
83
|
+
id: string | null;
|
|
84
|
+
email: string | null;
|
|
85
|
+
fullName: string | null;
|
|
86
|
+
} | undefined;
|
|
87
|
+
firstName?: string | undefined;
|
|
88
|
+
description?: string | undefined;
|
|
89
|
+
interactionMetadata?: {
|
|
90
|
+
user?: Record<string, unknown> | undefined;
|
|
91
|
+
workspace?: Record<string, unknown> | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
strongestConnection?: Record<string, unknown> | undefined;
|
|
94
|
+
}[];
|
|
95
|
+
pagination: {
|
|
96
|
+
nextLink?: string | undefined;
|
|
97
|
+
} | null;
|
|
98
|
+
} | null;
|
|
99
|
+
deprecations?: string[] | undefined;
|
|
100
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
101
|
//#endregion
|
|
8
102
|
export { folkListPeople };
|
|
9
103
|
//# sourceMappingURL=list-people.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-people.d.mts","names":[],"sources":["../../src/actions/list-people.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"list-people.d.mts","names":[],"sources":["../../src/actions/list-people.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAkDnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpB,cAAA,gCAAc,wBAAA;EAAA"}
|
|
@@ -8,43 +8,43 @@ const FolkListPeopleInput = z.object({
|
|
|
8
8
|
combinator: z.enum(["and", "or"]).default("and").describe("Logical operator to combine multiple filters.").optional()
|
|
9
9
|
}).passthrough().describe("Request parameters for listing people in the workspace.");
|
|
10
10
|
const FolkListPeople_GroupItemSchema = z.object({
|
|
11
|
-
id: z.string().describe("Group ID for the person"),
|
|
12
|
-
name: z.string().describe("Group name for the person")
|
|
11
|
+
id: z.string().describe("Group ID for the person").nullable(),
|
|
12
|
+
name: z.string().describe("Group name for the person").nullable()
|
|
13
13
|
});
|
|
14
14
|
const FolkListPeople_CompanyItemSchema = z.object({
|
|
15
|
-
id: z.string().describe("Company ID for the person"),
|
|
16
|
-
name: z.string().describe("Company name for the person")
|
|
15
|
+
id: z.string().describe("Company ID for the person").nullable(),
|
|
16
|
+
name: z.string().describe("Company name for the person").nullable()
|
|
17
17
|
});
|
|
18
18
|
const FolkListPeople_UserSchema = z.object({
|
|
19
|
-
id: z.string().describe("User ID"),
|
|
20
|
-
email: z.string().describe("Email of the user"),
|
|
21
|
-
fullName: z.string().describe("Full name of the user")
|
|
19
|
+
id: z.string().describe("User ID").nullable(),
|
|
20
|
+
email: z.string().describe("Email of the user").nullable(),
|
|
21
|
+
fullName: z.string().describe("Full name of the user").nullable()
|
|
22
22
|
}).describe("User information model used across different contexts.");
|
|
23
23
|
const FolkListPeople_InteractionMetadataSchema = z.object({
|
|
24
|
-
user: z.record(z.string(), z.unknown()).describe("User-specific interaction metadata (approximate count, last interacted timestamp).").
|
|
25
|
-
workspace: z.record(z.string(), z.unknown()).describe("Workspace-wide interaction metadata (approximate count, last interacted timestamp, last interacted by users).").
|
|
24
|
+
user: z.preprocess((value) => value === null ? void 0 : value, z.record(z.string(), z.unknown()).describe("User-specific interaction metadata (approximate count, last interacted timestamp).").optional()),
|
|
25
|
+
workspace: z.preprocess((value) => value === null ? void 0 : value, z.record(z.string(), z.unknown()).describe("Workspace-wide interaction metadata (approximate count, last interacted timestamp, last interacted by users).").optional())
|
|
26
26
|
}).describe("Metadata about interactions with a person.");
|
|
27
27
|
const FolkListPeople_PersonSchema = z.object({
|
|
28
|
-
id: z.string().describe("Unique identifier of the person"),
|
|
28
|
+
id: z.string().describe("Unique identifier of the person").nullable(),
|
|
29
29
|
urls: z.array(z.string()).describe("URLs associated with the person"),
|
|
30
30
|
emails: z.array(z.string()).describe("Emails for the person"),
|
|
31
31
|
groups: z.array(FolkListPeople_GroupItemSchema).describe("Groups the person belongs to"),
|
|
32
32
|
phones: z.array(z.string()).describe("Phone numbers for the person"),
|
|
33
|
-
birthday: z.string().describe("Birthday in YYYY-MM-DD format").
|
|
34
|
-
fullName: z.string().describe("Person's full name").
|
|
35
|
-
jobTitle: z.string().describe("Current job title").
|
|
36
|
-
lastName: z.string().describe("Person's last name").
|
|
33
|
+
birthday: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Birthday in YYYY-MM-DD format").optional()),
|
|
34
|
+
fullName: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Person's full name").optional()),
|
|
35
|
+
jobTitle: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Current job title").optional()),
|
|
36
|
+
lastName: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Person's last name").optional()),
|
|
37
37
|
addresses: z.array(z.string()).describe("List of addresses for the person"),
|
|
38
38
|
companies: z.array(FolkListPeople_CompanyItemSchema).describe("Companies associated with the person"),
|
|
39
|
-
createdAt: z.string().describe("ISO 8601 timestamp when person was created").
|
|
40
|
-
createdBy:
|
|
41
|
-
firstName: z.string().describe("Person's first name").
|
|
42
|
-
description: z.string().describe("Textual description of the person").
|
|
39
|
+
createdAt: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 timestamp when person was created").optional()),
|
|
40
|
+
createdBy: z.preprocess((value) => value === null ? void 0 : value, FolkListPeople_UserSchema.optional()),
|
|
41
|
+
firstName: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Person's first name").optional()),
|
|
42
|
+
description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Textual description of the person").optional()),
|
|
43
43
|
customFieldValues: z.record(z.string(), z.unknown()).describe("Custom field values organized by group ID. Each group contains user-defined field names with dynamic values (can be strings, arrays, user objects, or relationship objects). Structure varies by workspace configuration."),
|
|
44
|
-
interactionMetadata:
|
|
45
|
-
strongestConnection: z.record(z.string(), z.unknown()).describe("Strongest connection to this person, mapping group IDs to User objects").
|
|
44
|
+
interactionMetadata: z.preprocess((value) => value === null ? void 0 : value, FolkListPeople_InteractionMetadataSchema.optional()),
|
|
45
|
+
strongestConnection: z.preprocess((value) => value === null ? void 0 : value, z.record(z.string(), z.unknown()).describe("Strongest connection to this person, mapping group IDs to User objects").optional())
|
|
46
46
|
});
|
|
47
|
-
const FolkListPeople_PaginationSchema = z.object({ nextLink: z.string().describe("Link to retrieve the next page of results").
|
|
47
|
+
const FolkListPeople_PaginationSchema = z.object({ nextLink: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Link to retrieve the next page of results").optional()) });
|
|
48
48
|
const FolkListPeople_ListPeopleDataSchema = z.object({
|
|
49
49
|
items: z.array(FolkListPeople_PersonSchema).describe("List of people returned"),
|
|
50
50
|
pagination: FolkListPeople_PaginationSchema.nullable()
|
|
@@ -56,7 +56,7 @@ const folkListPeople = action("FOLK_LIST_PEOPLE", {
|
|
|
56
56
|
input: FolkListPeopleInput,
|
|
57
57
|
output: z.object({
|
|
58
58
|
data: FolkListPeople_ListPeopleDataSchema.nullable(),
|
|
59
|
-
deprecations: z.array(z.string()).describe("Deprecation warnings returned by the API").
|
|
59
|
+
deprecations: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Deprecation warnings returned by the API").optional())
|
|
60
60
|
})
|
|
61
61
|
});
|
|
62
62
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-people.mjs","names":[],"sources":["../../src/actions/list-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListPeopleInput
|
|
1
|
+
{"version":3,"file":"list-people.mjs","names":[],"sources":["../../src/actions/list-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListPeopleInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from a previous response's `pagination.nextLink`. Omit on the first call.\").optional(),\n filter: z.object({}).describe(\"Filters to apply, following `filter[attribute][operator]=value` format. E.g., {'firstName': {'eq': 'John'}}.\").optional(),\n combinator: z.enum([\"and\", \"or\"]).default(\"and\").describe(\"Logical operator to combine multiple filters.\").optional(),\n}).passthrough().describe(\"Request parameters for listing people in the workspace.\");\nconst FolkListPeople_GroupItemSchema = z.object({\n id: z.string().describe(\"Group ID for the person\").nullable(),\n name: z.string().describe(\"Group name for the person\").nullable(),\n});\nconst FolkListPeople_CompanyItemSchema = z.object({\n id: z.string().describe(\"Company ID for the person\").nullable(),\n name: z.string().describe(\"Company name for the person\").nullable(),\n});\nconst FolkListPeople_UserSchema = z.object({\n id: z.string().describe(\"User ID\").nullable(),\n email: z.string().describe(\"Email of the user\").nullable(),\n fullName: z.string().describe(\"Full name of the user\").nullable(),\n}).describe(\"User information model used across different contexts.\");\nconst FolkListPeople_InteractionMetadataSchema = z.object({\n user: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"User-specific interaction metadata (approximate count, last interacted timestamp).\").optional()),\n workspace: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Workspace-wide interaction metadata (approximate count, last interacted timestamp, last interacted by users).\").optional()),\n}).describe(\"Metadata about interactions with a person.\");\nconst FolkListPeople_PersonSchema = z.object({\n id: z.string().describe(\"Unique identifier of the person\").nullable(),\n urls: z.array(z.string()).describe(\"URLs associated with the person\"),\n emails: z.array(z.string()).describe(\"Emails for the person\"),\n groups: z.array(FolkListPeople_GroupItemSchema).describe(\"Groups the person belongs to\"),\n phones: z.array(z.string()).describe(\"Phone numbers for the person\"),\n birthday: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Birthday in YYYY-MM-DD format\").optional()),\n fullName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Person's full name\").optional()),\n jobTitle: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current job title\").optional()),\n lastName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Person's last name\").optional()),\n addresses: z.array(z.string()).describe(\"List of addresses for the person\"),\n companies: z.array(FolkListPeople_CompanyItemSchema).describe(\"Companies associated with the person\"),\n createdAt: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when person was created\").optional()),\n createdBy: z.preprocess((value) => (value === null ? undefined : value), FolkListPeople_UserSchema.optional()),\n firstName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Person's first name\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Textual description of the person\").optional()),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values organized by group ID. Each group contains user-defined field names with dynamic values (can be strings, arrays, user objects, or relationship objects). Structure varies by workspace configuration.\"),\n interactionMetadata: z.preprocess((value) => (value === null ? undefined : value), FolkListPeople_InteractionMetadataSchema.optional()),\n strongestConnection: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Strongest connection to this person, mapping group IDs to User objects\").optional()),\n});\nconst FolkListPeople_PaginationSchema = z.object({\n nextLink: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Link to retrieve the next page of results\").optional()),\n});\nconst FolkListPeople_ListPeopleDataSchema = z.object({\n items: z.array(FolkListPeople_PersonSchema).describe(\"List of people returned\"),\n pagination: FolkListPeople_PaginationSchema.nullable(),\n});\nexport const FolkListPeopleOutput = z.object({\n data: FolkListPeople_ListPeopleDataSchema.nullable(),\n deprecations: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Deprecation warnings returned by the API\").optional()),\n});\n\nexport const folkListPeople = action(\"FOLK_LIST_PEOPLE\", {\n slug: \"folk-list-people\",\n name: \"List People\",\n description: \"Tool to list people in the workspace. Use when you need to paginate through contacts after authentication.\",\n input: FolkListPeople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CAAoC,SAAS;EACnD,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;CACjK,CAOU;AACV,CAAC"}
|
|
@@ -7,39 +7,39 @@ const FolkListRemindersInput = zod.z.object({
|
|
|
7
7
|
entity_id: zod.z.string().describe("Filter reminders by entity ID (person, company, or object).").optional()
|
|
8
8
|
}).describe("Request parameters for listing reminders in the workspace.");
|
|
9
9
|
const FolkListReminders_ListRemindersEntitySchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Unique identifier of the entity."),
|
|
11
|
-
fullName: zod.z.string().describe("Display name of the entity."),
|
|
10
|
+
id: zod.z.string().describe("Unique identifier of the entity.").nullable(),
|
|
11
|
+
fullName: zod.z.string().describe("Display name of the entity.").nullable(),
|
|
12
12
|
entityType: zod.z.enum([
|
|
13
13
|
"person",
|
|
14
14
|
"company",
|
|
15
15
|
"object"
|
|
16
|
-
]).describe("Type of entity connected to the reminder.")
|
|
16
|
+
]).describe("Type of entity connected to the reminder.").nullable()
|
|
17
17
|
}).describe("Entity connected to the reminder.");
|
|
18
18
|
const FolkListReminders_ListRemindersUserSchema = zod.z.object({
|
|
19
|
-
id: zod.z.string().describe("Unique identifier of the user."),
|
|
20
|
-
email: zod.z.string().describe("Email address of the user."),
|
|
21
|
-
fullName: zod.z.string().describe("Full name of the user.")
|
|
19
|
+
id: zod.z.string().describe("Unique identifier of the user.").nullable(),
|
|
20
|
+
email: zod.z.string().describe("Email address of the user.").nullable(),
|
|
21
|
+
fullName: zod.z.string().describe("Full name of the user.").nullable()
|
|
22
22
|
}).describe("User information for reminder.");
|
|
23
23
|
const FolkListReminders_ListRemindersReminderSchema = zod.z.object({
|
|
24
|
-
id: zod.z.string().describe("Unique reminder identifier."),
|
|
25
|
-
name: zod.z.string().describe("Reminder title (max 255 characters)."),
|
|
24
|
+
id: zod.z.string().describe("Unique reminder identifier.").nullable(),
|
|
25
|
+
name: zod.z.string().describe("Reminder title (max 255 characters).").nullable(),
|
|
26
26
|
entity: FolkListReminders_ListRemindersEntitySchema.nullable(),
|
|
27
|
-
createdAt: zod.z.string().describe("ISO 8601 timestamp when the reminder was created.").
|
|
27
|
+
createdAt: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 8601 timestamp when the reminder was created.").optional()),
|
|
28
28
|
createdBy: FolkListReminders_ListRemindersUserSchema.nullable(),
|
|
29
|
-
visibility: zod.z.enum(["public", "private"]).describe("Visibility setting for the reminder."),
|
|
29
|
+
visibility: zod.z.enum(["public", "private"]).describe("Visibility setting for the reminder.").nullable(),
|
|
30
30
|
assignedUsers: zod.z.array(FolkListReminders_ListRemindersUserSchema).describe("Workspace users assigned to be notified."),
|
|
31
|
-
recurrenceRule: zod.z.string().describe("iCalendar RFC 5545 format recurrence rule.").
|
|
32
|
-
lastTriggerTime: zod.z.string().describe("ISO 8601 timestamp for previous trigger.").
|
|
33
|
-
nextTriggerTime: zod.z.string().describe("ISO 8601 timestamp for upcoming trigger.").
|
|
31
|
+
recurrenceRule: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("iCalendar RFC 5545 format recurrence rule.").optional()),
|
|
32
|
+
lastTriggerTime: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 8601 timestamp for previous trigger.").optional()),
|
|
33
|
+
nextTriggerTime: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 8601 timestamp for upcoming trigger.").optional())
|
|
34
34
|
}).describe("A reminder object in the workspace.");
|
|
35
|
-
const FolkListReminders_ListRemindersPaginationSchema = zod.z.object({ nextLink: zod.z.string().describe("URL to fetch the next page of results. Omit if no further pages.").
|
|
35
|
+
const FolkListReminders_ListRemindersPaginationSchema = zod.z.object({ nextLink: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL to fetch the next page of results. Omit if no further pages.").optional()) }).describe("Pagination information for list-reminders endpoint.");
|
|
36
36
|
const FolkListReminders_ListRemindersDataSchema = zod.z.object({
|
|
37
37
|
items: zod.z.array(FolkListReminders_ListRemindersReminderSchema).describe("List of retrieved reminders."),
|
|
38
38
|
pagination: FolkListReminders_ListRemindersPaginationSchema.nullable()
|
|
39
39
|
}).describe("Data envelope for list-reminders response.");
|
|
40
40
|
const FolkListRemindersOutput = zod.z.object({
|
|
41
41
|
data: FolkListReminders_ListRemindersDataSchema.nullable(),
|
|
42
|
-
deprecations: zod.z.array(zod.z.string()).describe("List of deprecation warnings, if any.").
|
|
42
|
+
deprecations: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("List of deprecation warnings, if any.").optional())
|
|
43
43
|
}).describe("Full response schema for list-reminders.");
|
|
44
44
|
const folkListReminders = require_action.action("FOLK_LIST_REMINDERS", {
|
|
45
45
|
slug: "folk-list-reminders",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-reminders.cjs","names":["z","action"],"sources":["../../src/actions/list-reminders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListRemindersInput
|
|
1
|
+
{"version":3,"file":"list-reminders.cjs","names":["z","action"],"sources":["../../src/actions/list-reminders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListRemindersInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from a previous response's `pagination.nextLink`. Omit on the first call.\").optional(),\n entity_id: z.string().describe(\"Filter reminders by entity ID (person, company, or object).\").optional(),\n}).describe(\"Request parameters for listing reminders in the workspace.\");\nconst FolkListReminders_ListRemindersEntitySchema = z.object({\n id: z.string().describe(\"Unique identifier of the entity.\").nullable(),\n fullName: z.string().describe(\"Display name of the entity.\").nullable(),\n entityType: z.enum([\"person\", \"company\", \"object\"]).describe(\"Type of entity connected to the reminder.\").nullable(),\n}).describe(\"Entity connected to the reminder.\");\nconst FolkListReminders_ListRemindersUserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n fullName: z.string().describe(\"Full name of the user.\").nullable(),\n}).describe(\"User information for reminder.\");\nconst FolkListReminders_ListRemindersReminderSchema = z.object({\n id: z.string().describe(\"Unique reminder identifier.\").nullable(),\n name: z.string().describe(\"Reminder title (max 255 characters).\").nullable(),\n entity: FolkListReminders_ListRemindersEntitySchema.nullable(),\n createdAt: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when the reminder was created.\").optional()),\n createdBy: FolkListReminders_ListRemindersUserSchema.nullable(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility setting for the reminder.\").nullable(),\n assignedUsers: z.array(FolkListReminders_ListRemindersUserSchema).describe(\"Workspace users assigned to be notified.\"),\n recurrenceRule: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"iCalendar RFC 5545 format recurrence rule.\").optional()),\n lastTriggerTime: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp for previous trigger.\").optional()),\n nextTriggerTime: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp for upcoming trigger.\").optional()),\n}).describe(\"A reminder object in the workspace.\");\nconst FolkListReminders_ListRemindersPaginationSchema = z.object({\n nextLink: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").optional()),\n}).describe(\"Pagination information for list-reminders endpoint.\");\nconst FolkListReminders_ListRemindersDataSchema = z.object({\n items: z.array(FolkListReminders_ListRemindersReminderSchema).describe(\"List of retrieved reminders.\"),\n pagination: FolkListReminders_ListRemindersPaginationSchema.nullable(),\n}).describe(\"Data envelope for list-reminders response.\");\nexport const FolkListRemindersOutput = z.object({\n data: FolkListReminders_ListRemindersDataSchema.nullable(),\n deprecations: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of deprecation warnings, if any.\").optional()),\n}).describe(\"Full response schema for list-reminders.\");\n\nexport const folkListReminders = action(\"FOLK_LIST_REMINDERS\", {\n slug: \"folk-list-reminders\",\n name: \"List Reminders\",\n description: \"Tool to list reminders in the workspace. Use when you need a paginated overview of reminders, optionally filtered by entity.\",\n input: FolkListRemindersInput,\n output: FolkListRemindersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC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AC,EAC5K,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,8BAA8B;CACrG,YAAY,gDAAgD,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAM,0CAA0C,SAAS;CACzD,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;AAC9J,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,86 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-reminders.d.ts
|
|
4
|
-
declare const FolkListRemindersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FolkListRemindersInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const FolkListRemindersOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
items: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
entity: z.ZodNullable<z.ZodObject<{
|
|
15
|
+
id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
17
|
+
entityType: z.ZodNullable<z.ZodEnum<{
|
|
18
|
+
object: "object";
|
|
19
|
+
person: "person";
|
|
20
|
+
company: "company";
|
|
21
|
+
}>>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
createdAt: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
createdBy: z.ZodNullable<z.ZodObject<{
|
|
25
|
+
id: z.ZodNullable<z.ZodString>;
|
|
26
|
+
email: z.ZodNullable<z.ZodString>;
|
|
27
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
visibility: z.ZodNullable<z.ZodEnum<{
|
|
30
|
+
public: "public";
|
|
31
|
+
private: "private";
|
|
32
|
+
}>>;
|
|
33
|
+
assignedUsers: z.ZodArray<z.ZodObject<{
|
|
34
|
+
id: z.ZodNullable<z.ZodString>;
|
|
35
|
+
email: z.ZodNullable<z.ZodString>;
|
|
36
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
recurrenceRule: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
lastTriggerTime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
40
|
+
nextTriggerTime: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
43
|
+
nextLink: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
deprecations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
declare const folkListReminders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
|
+
limit?: number | undefined;
|
|
50
|
+
cursor?: string | undefined;
|
|
51
|
+
entity_id?: string | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
data: {
|
|
54
|
+
items: {
|
|
55
|
+
id: string | null;
|
|
56
|
+
name: string | null;
|
|
57
|
+
entity: {
|
|
58
|
+
id: string | null;
|
|
59
|
+
fullName: string | null;
|
|
60
|
+
entityType: "object" | "person" | "company" | null;
|
|
61
|
+
} | null;
|
|
62
|
+
createdBy: {
|
|
63
|
+
id: string | null;
|
|
64
|
+
email: string | null;
|
|
65
|
+
fullName: string | null;
|
|
66
|
+
} | null;
|
|
67
|
+
visibility: "public" | "private" | null;
|
|
68
|
+
assignedUsers: {
|
|
69
|
+
id: string | null;
|
|
70
|
+
email: string | null;
|
|
71
|
+
fullName: string | null;
|
|
72
|
+
}[];
|
|
73
|
+
createdAt?: string | undefined;
|
|
74
|
+
recurrenceRule?: string | undefined;
|
|
75
|
+
lastTriggerTime?: string | undefined;
|
|
76
|
+
nextTriggerTime?: string | undefined;
|
|
77
|
+
}[];
|
|
78
|
+
pagination: {
|
|
79
|
+
nextLink?: string | undefined;
|
|
80
|
+
} | null;
|
|
81
|
+
} | null;
|
|
82
|
+
deprecations?: string[] | undefined;
|
|
83
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
84
|
//#endregion
|
|
8
85
|
export { folkListReminders };
|
|
9
86
|
//# sourceMappingURL=list-reminders.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-reminders.d.cts","names":[],"sources":["../../src/actions/list-reminders.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"list-reminders.d.cts","names":[],"sources":["../../src/actions/list-reminders.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAkCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
|