@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,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.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-reminders.d.mts","names":[],"sources":["../../src/actions/list-reminders.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"list-reminders.d.mts","names":[],"sources":["../../src/actions/list-reminders.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAkCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -7,32 +7,32 @@ const FolkListRemindersInput = z.object({
|
|
|
7
7
|
entity_id: 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 = z.object({
|
|
10
|
-
id: z.string().describe("Unique identifier of the entity."),
|
|
11
|
-
fullName: z.string().describe("Display name of the entity."),
|
|
10
|
+
id: z.string().describe("Unique identifier of the entity.").nullable(),
|
|
11
|
+
fullName: z.string().describe("Display name of the entity.").nullable(),
|
|
12
12
|
entityType: 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 = z.object({
|
|
19
|
-
id: z.string().describe("Unique identifier of the user."),
|
|
20
|
-
email: z.string().describe("Email address of the user."),
|
|
21
|
-
fullName: z.string().describe("Full name of the user.")
|
|
19
|
+
id: z.string().describe("Unique identifier of the user.").nullable(),
|
|
20
|
+
email: z.string().describe("Email address of the user.").nullable(),
|
|
21
|
+
fullName: z.string().describe("Full name of the user.").nullable()
|
|
22
22
|
}).describe("User information for reminder.");
|
|
23
23
|
const FolkListReminders_ListRemindersReminderSchema = z.object({
|
|
24
|
-
id: z.string().describe("Unique reminder identifier."),
|
|
25
|
-
name: z.string().describe("Reminder title (max 255 characters)."),
|
|
24
|
+
id: z.string().describe("Unique reminder identifier.").nullable(),
|
|
25
|
+
name: z.string().describe("Reminder title (max 255 characters).").nullable(),
|
|
26
26
|
entity: FolkListReminders_ListRemindersEntitySchema.nullable(),
|
|
27
|
-
createdAt: z.string().describe("ISO 8601 timestamp when the reminder was created.").
|
|
27
|
+
createdAt: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 timestamp when the reminder was created.").optional()),
|
|
28
28
|
createdBy: FolkListReminders_ListRemindersUserSchema.nullable(),
|
|
29
|
-
visibility: z.enum(["public", "private"]).describe("Visibility setting for the reminder."),
|
|
29
|
+
visibility: z.enum(["public", "private"]).describe("Visibility setting for the reminder.").nullable(),
|
|
30
30
|
assignedUsers: z.array(FolkListReminders_ListRemindersUserSchema).describe("Workspace users assigned to be notified."),
|
|
31
|
-
recurrenceRule: z.string().describe("iCalendar RFC 5545 format recurrence rule.").
|
|
32
|
-
lastTriggerTime: z.string().describe("ISO 8601 timestamp for previous trigger.").
|
|
33
|
-
nextTriggerTime: z.string().describe("ISO 8601 timestamp for upcoming trigger.").
|
|
31
|
+
recurrenceRule: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("iCalendar RFC 5545 format recurrence rule.").optional()),
|
|
32
|
+
lastTriggerTime: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 timestamp for previous trigger.").optional()),
|
|
33
|
+
nextTriggerTime: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 timestamp for upcoming trigger.").optional())
|
|
34
34
|
}).describe("A reminder object in the workspace.");
|
|
35
|
-
const FolkListReminders_ListRemindersPaginationSchema = z.object({ nextLink: z.string().describe("URL to fetch the next page of results. Omit if no further pages.").
|
|
35
|
+
const FolkListReminders_ListRemindersPaginationSchema = z.object({ nextLink: z.preprocess((value) => value === null ? void 0 : value, 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 = z.object({
|
|
37
37
|
items: z.array(FolkListReminders_ListRemindersReminderSchema).describe("List of retrieved reminders."),
|
|
38
38
|
pagination: FolkListReminders_ListRemindersPaginationSchema.nullable()
|
|
@@ -44,7 +44,7 @@ const folkListReminders = action("FOLK_LIST_REMINDERS", {
|
|
|
44
44
|
input: FolkListRemindersInput,
|
|
45
45
|
output: z.object({
|
|
46
46
|
data: FolkListReminders_ListRemindersDataSchema.nullable(),
|
|
47
|
-
deprecations: z.array(z.string()).describe("List of deprecation warnings, if any.").
|
|
47
|
+
deprecations: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("List of deprecation warnings, if any.").optional())
|
|
48
48
|
}).describe("Full response schema for list-reminders.")
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-reminders.mjs","names":[],"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.mjs","names":[],"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,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,KAAK;EAAC;EAAU;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,QAAQ,4CAA4C,SAAS;CAC7D,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC;CAC5J,WAAW,0CAA0C,SAAS;CAC9D,YAAY,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpG,eAAe,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,0CAA0C;CACrH,gBAAgB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC;CAC1J,iBAAiB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;CACzJ,iBAAiB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;AAC3J,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,kDAAkD,EAAE,OAAO,EAC/D,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,EAC5K,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,8BAA8B;CACrG,YAAY,gDAAgD,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAMxD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,0CAA0C,SAAS;EACzD,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;CAC9J,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
@@ -6,18 +6,18 @@ const FolkListUsersInput = zod.z.object({
|
|
|
6
6
|
cursor: zod.z.string().describe("A pagination cursor from previous response's `nextLink`. Omit on first call.").optional()
|
|
7
7
|
}).describe("Request parameters for listing workspace users.");
|
|
8
8
|
const FolkListUsers_UserSchema = zod.z.object({
|
|
9
|
-
id: zod.z.string().describe("Unique identifier for the user."),
|
|
10
|
-
email: zod.z.string().describe("Email address of the user."),
|
|
11
|
-
fullName: zod.z.string().describe("Full name of the user.")
|
|
9
|
+
id: zod.z.string().describe("Unique identifier for the user.").nullable(),
|
|
10
|
+
email: zod.z.string().describe("Email address of the user.").nullable(),
|
|
11
|
+
fullName: zod.z.string().describe("Full name of the user.").nullable()
|
|
12
12
|
}).describe("A workspace user.");
|
|
13
|
-
const FolkListUsers_PaginationSchema = zod.z.object({ nextLink: zod.z.string().describe("URL for the next page of results.").
|
|
13
|
+
const FolkListUsers_PaginationSchema = zod.z.object({ nextLink: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL for the next page of results.").optional()) }).describe("Pagination metadata.");
|
|
14
14
|
const FolkListUsers_ListUsersDataSchema = zod.z.object({
|
|
15
15
|
items: zod.z.array(FolkListUsers_UserSchema).describe("List of user objects."),
|
|
16
16
|
pagination: FolkListUsers_PaginationSchema.nullable()
|
|
17
17
|
}).describe("Paginated list of users.");
|
|
18
18
|
const FolkListUsersOutput = zod.z.object({
|
|
19
19
|
data: FolkListUsers_ListUsersDataSchema.nullable(),
|
|
20
|
-
deprecations: zod.z.array(zod.z.string()).describe("Deprecation warnings, if any.").
|
|
20
|
+
deprecations: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Deprecation warnings, if any.").optional())
|
|
21
21
|
}).describe("Response schema for listing workspace users.");
|
|
22
22
|
const folkListUsers = require_action.action("FOLK_LIST_USERS", {
|
|
23
23
|
slug: "folk-list-users",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListUsersInput
|
|
1
|
+
{"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListUsersInput = z.object({\n limit: z.number().int().default(20).describe(\"Number of users to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from previous response's `nextLink`. Omit on first call.\").optional(),\n}).describe(\"Request parameters for listing workspace users.\");\nconst FolkListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for 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(\"A workspace user.\");\nconst FolkListUsers_PaginationSchema = z.object({\n nextLink: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL for the next page of results.\").optional()),\n}).describe(\"Pagination metadata.\");\nconst FolkListUsers_ListUsersDataSchema = z.object({\n items: z.array(FolkListUsers_UserSchema).describe(\"List of user objects.\"),\n pagination: FolkListUsers_PaginationSchema.nullable(),\n}).describe(\"Paginated list of users.\");\nexport const FolkListUsersOutput = z.object({\n data: FolkListUsers_ListUsersDataSchema.nullable(),\n deprecations: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Deprecation warnings, if any.\").optional()),\n}).describe(\"Response schema for listing workspace users.\");\n\nexport const folkListUsers = action(\"FOLK_LIST_USERS\", {\n slug: \"folk-list-users\",\n name: \"List Users\",\n description: \"Tool to list workspace users. Use when you need to paginate through users list.\",\n input: FolkListUsersInput,\n output: FolkListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2BAA2BA,IAAAA,EAAE,OAAO;CACxC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,mBAAmB;AAC/B,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,EAC7I,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAClC,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,uBAAuB;CACzE,YAAY,+BAA+B,SAAS;AACtD,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAM,kCAAkC,SAAS;CACjD,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC;AACtJ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-users.d.ts
|
|
4
|
-
declare const FolkListUsersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FolkListUsersInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const FolkListUsersOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
items: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
email: z.ZodNullable<z.ZodString>;
|
|
13
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
16
|
+
nextLink: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
deprecations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const folkListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
limit?: number | undefined;
|
|
23
|
+
cursor?: string | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
data: {
|
|
26
|
+
items: {
|
|
27
|
+
id: string | null;
|
|
28
|
+
email: string | null;
|
|
29
|
+
fullName: string | null;
|
|
30
|
+
}[];
|
|
31
|
+
pagination: {
|
|
32
|
+
nextLink?: string | undefined;
|
|
33
|
+
} | null;
|
|
34
|
+
} | null;
|
|
35
|
+
deprecations?: string[] | undefined;
|
|
36
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { folkListUsers };
|
|
9
39
|
//# sourceMappingURL=list-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAgBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKnB,aAAA,gCAAa,wBAAA"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-users.d.ts
|
|
4
|
-
declare const FolkListUsersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FolkListUsersInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const FolkListUsersOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
items: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
email: z.ZodNullable<z.ZodString>;
|
|
13
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
16
|
+
nextLink: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
deprecations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const folkListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
limit?: number | undefined;
|
|
23
|
+
cursor?: string | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
data: {
|
|
26
|
+
items: {
|
|
27
|
+
id: string | null;
|
|
28
|
+
email: string | null;
|
|
29
|
+
fullName: string | null;
|
|
30
|
+
}[];
|
|
31
|
+
pagination: {
|
|
32
|
+
nextLink?: string | undefined;
|
|
33
|
+
} | null;
|
|
34
|
+
} | null;
|
|
35
|
+
deprecations?: string[] | undefined;
|
|
36
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { folkListUsers };
|
|
9
39
|
//# sourceMappingURL=list-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAgBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKnB,aAAA,gCAAa,wBAAA"}
|
|
@@ -6,11 +6,11 @@ const FolkListUsersInput = z.object({
|
|
|
6
6
|
cursor: z.string().describe("A pagination cursor from previous response's `nextLink`. Omit on first call.").optional()
|
|
7
7
|
}).describe("Request parameters for listing workspace users.");
|
|
8
8
|
const FolkListUsers_UserSchema = z.object({
|
|
9
|
-
id: z.string().describe("Unique identifier for the user."),
|
|
10
|
-
email: z.string().describe("Email address of the user."),
|
|
11
|
-
fullName: z.string().describe("Full name of the user.")
|
|
9
|
+
id: z.string().describe("Unique identifier for the user.").nullable(),
|
|
10
|
+
email: z.string().describe("Email address of the user.").nullable(),
|
|
11
|
+
fullName: z.string().describe("Full name of the user.").nullable()
|
|
12
12
|
}).describe("A workspace user.");
|
|
13
|
-
const FolkListUsers_PaginationSchema = z.object({ nextLink: z.string().describe("URL for the next page of results.").
|
|
13
|
+
const FolkListUsers_PaginationSchema = z.object({ nextLink: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL for the next page of results.").optional()) }).describe("Pagination metadata.");
|
|
14
14
|
const FolkListUsers_ListUsersDataSchema = z.object({
|
|
15
15
|
items: z.array(FolkListUsers_UserSchema).describe("List of user objects."),
|
|
16
16
|
pagination: FolkListUsers_PaginationSchema.nullable()
|
|
@@ -22,7 +22,7 @@ const folkListUsers = action("FOLK_LIST_USERS", {
|
|
|
22
22
|
input: FolkListUsersInput,
|
|
23
23
|
output: z.object({
|
|
24
24
|
data: FolkListUsers_ListUsersDataSchema.nullable(),
|
|
25
|
-
deprecations: z.array(z.string()).describe("Deprecation warnings, if any.").
|
|
25
|
+
deprecations: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Deprecation warnings, if any.").optional())
|
|
26
26
|
}).describe("Response schema for listing workspace users.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListUsersInput
|
|
1
|
+
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListUsersInput = z.object({\n limit: z.number().int().default(20).describe(\"Number of users to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from previous response's `nextLink`. Omit on first call.\").optional(),\n}).describe(\"Request parameters for listing workspace users.\");\nconst FolkListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for 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(\"A workspace user.\");\nconst FolkListUsers_PaginationSchema = z.object({\n nextLink: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL for the next page of results.\").optional()),\n}).describe(\"Pagination metadata.\");\nconst FolkListUsers_ListUsersDataSchema = z.object({\n items: z.array(FolkListUsers_UserSchema).describe(\"List of user objects.\"),\n pagination: FolkListUsers_PaginationSchema.nullable(),\n}).describe(\"Paginated list of users.\");\nexport const FolkListUsersOutput = z.object({\n data: FolkListUsers_ListUsersDataSchema.nullable(),\n deprecations: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Deprecation warnings, if any.\").optional()),\n}).describe(\"Response schema for listing workspace users.\");\n\nexport const folkListUsers = action(\"FOLK_LIST_USERS\", {\n slug: \"folk-list-users\",\n name: \"List Users\",\n description: \"Tool to list workspace users. Use when you need to paginate through users list.\",\n input: FolkListUsersInput,\n output: FolkListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2BAA2B,EAAE,OAAO;CACxC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,mBAAmB;AAC/B,MAAM,iCAAiC,EAAE,OAAO,EAC9C,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,EAC7I,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAClC,MAAM,oCAAoC,EAAE,OAAO;CACjD,OAAO,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,uBAAuB;CACzE,YAAY,+BAA+B,SAAS;AACtD,CAAC,CAAC,CAAC,SAAS,0BAA0B;AAMtC,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViC,EAAE,OAAO;EAC1C,MAAM,kCAAkC,SAAS;EACjD,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC;CACtJ,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -6,32 +6,32 @@ const FolkListWebhooksInput = zod.z.object({
|
|
|
6
6
|
cursor: zod.z.string().describe("A pagination cursor from previous response's `nextLink`. Omit on first call.").optional()
|
|
7
7
|
}).describe("Request parameters for listing webhooks in the workspace.");
|
|
8
8
|
const FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema = zod.z.object({
|
|
9
|
-
path: zod.z.array(zod.z.string()).describe("Filter by path (max 3 items).").
|
|
10
|
-
value: zod.z.string().describe("Filter by value.").
|
|
11
|
-
groupId: zod.z.string().describe("Filter by group ID.").
|
|
12
|
-
objectType: zod.z.string().describe("Filter by object type.").
|
|
9
|
+
path: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Filter by path (max 3 items).").optional()),
|
|
10
|
+
value: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Filter by value.").optional()),
|
|
11
|
+
groupId: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Filter by group ID.").optional()),
|
|
12
|
+
objectType: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Filter by object type.").optional())
|
|
13
13
|
}).describe("Filter criteria for a webhook event.");
|
|
14
14
|
const FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema = zod.z.object({
|
|
15
|
-
filter:
|
|
16
|
-
eventType: zod.z.string().describe("Type of event the webhook subscribes to.")
|
|
15
|
+
filter: zod.z.preprocess((value) => value === null ? void 0 : value, FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema.optional()),
|
|
16
|
+
eventType: zod.z.string().describe("Type of event the webhook subscribes to.").nullable()
|
|
17
17
|
}).describe("A subscribed event for a webhook.");
|
|
18
18
|
const FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema = zod.z.object({
|
|
19
|
-
id: zod.z.string().describe("Unique identifier for the webhook."),
|
|
20
|
-
name: zod.z.string().describe("Name of the webhook."),
|
|
21
|
-
status: zod.z.string().describe("Status of the webhook (active or inactive)."),
|
|
22
|
-
createdAt: zod.z.string().describe("ISO 8601 timestamp when webhook was created."),
|
|
23
|
-
targetUrl: zod.z.string().describe("Target URL where webhook events are sent."),
|
|
19
|
+
id: zod.z.string().describe("Unique identifier for the webhook.").nullable(),
|
|
20
|
+
name: zod.z.string().describe("Name of the webhook.").nullable(),
|
|
21
|
+
status: zod.z.string().describe("Status of the webhook (active or inactive).").nullable(),
|
|
22
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp when webhook was created.").nullable(),
|
|
23
|
+
targetUrl: zod.z.string().describe("Target URL where webhook events are sent.").nullable(),
|
|
24
24
|
subscribedEvents: zod.z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema).describe("List of events the webhook subscribes to (max 20)."),
|
|
25
|
-
redactedSigningSecret: zod.z.string().describe("Redacted signing secret for webhook verification.")
|
|
25
|
+
redactedSigningSecret: zod.z.string().describe("Redacted signing secret for webhook verification.").nullable()
|
|
26
26
|
}).describe("A webhook object in the workspace.");
|
|
27
|
-
const FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema = zod.z.object({ nextLink: zod.z.string().describe("URL for the next page of results.").
|
|
27
|
+
const FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema = zod.z.object({ nextLink: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL for the next page of results.").optional()) }).describe("Pagination metadata.");
|
|
28
28
|
const FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema = zod.z.object({
|
|
29
29
|
items: zod.z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema).describe("List of webhook objects."),
|
|
30
30
|
pagination: FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema.nullable()
|
|
31
31
|
}).describe("Paginated list of webhooks.");
|
|
32
32
|
const FolkListWebhooksOutput = zod.z.object({
|
|
33
33
|
data: FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema.nullable(),
|
|
34
|
-
deprecations: zod.z.array(zod.z.string()).describe("Deprecation warnings, if any.").
|
|
34
|
+
deprecations: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Deprecation warnings, if any.").optional())
|
|
35
35
|
}).describe("Response schema for listing webhooks.");
|
|
36
36
|
const folkListWebhooks = require_action.action("FOLK_LIST_WEBHOOKS", {
|
|
37
37
|
slug: "folk-list-webhooks",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListWebhooksInput
|
|
1
|
+
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListWebhooksInput = z.object({\n limit: z.number().int().default(20).describe(\"Number of webhooks to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from previous response's `nextLink`. Omit on first call.\").optional(),\n}).describe(\"Request parameters for listing webhooks in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema = z.object({\n path: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Filter by path (max 3 items).\").optional()),\n value: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Filter by value.\").optional()),\n groupId: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Filter by group ID.\").optional()),\n objectType: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Filter by object type.\").optional()),\n}).describe(\"Filter criteria for a webhook event.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema = z.object({\n filter: z.preprocess((value) => (value === null ? undefined : value), FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema.optional()),\n eventType: z.string().describe(\"Type of event the webhook subscribes to.\").nullable(),\n}).describe(\"A subscribed event for a webhook.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n name: z.string().describe(\"Name of the webhook.\").nullable(),\n status: z.string().describe(\"Status of the webhook (active or inactive).\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when webhook was created.\").nullable(),\n targetUrl: z.string().describe(\"Target URL where webhook events are sent.\").nullable(),\n subscribedEvents: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema).describe(\"List of events the webhook subscribes to (max 20).\"),\n redactedSigningSecret: z.string().describe(\"Redacted signing secret for webhook verification.\").nullable(),\n}).describe(\"A webhook object in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema = z.object({\n nextLink: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL for the next page of results.\").optional()),\n}).describe(\"Pagination metadata.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema = z.object({\n items: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema).describe(\"List of webhook objects.\"),\n pagination: FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema.nullable(),\n}).describe(\"Paginated list of webhooks.\");\nexport const FolkListWebhooksOutput = z.object({\n data: FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema.nullable(),\n deprecations: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Deprecation warnings, if any.\").optional()),\n}).describe(\"Response schema for listing webhooks.\");\n\nexport const folkListWebhooks = action(\"FOLK_LIST_WEBHOOKS\", {\n slug: \"folk-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list webhooks in the workspace. Use when you need to retrieve configured webhooks with pagination support.\",\n input: FolkListWebhooksInput,\n output: FolkListWebhooksOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,9 +1,63 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-webhooks.d.ts
|
|
4
|
-
declare const FolkListWebhooksInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FolkListWebhooksInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const FolkListWebhooksOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
items: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodNullable<z.ZodString>;
|
|
14
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
15
|
+
targetUrl: z.ZodNullable<z.ZodString>;
|
|
16
|
+
subscribedEvents: z.ZodArray<z.ZodObject<{
|
|
17
|
+
filter: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
18
|
+
path: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
19
|
+
value: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
groupId: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
objectType: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
eventType: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
redactedSigningSecret: z.ZodNullable<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
28
|
+
nextLink: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
deprecations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
declare const folkListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
|
+
limit?: number | undefined;
|
|
35
|
+
cursor?: string | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
data: {
|
|
38
|
+
items: {
|
|
39
|
+
id: string | null;
|
|
40
|
+
name: string | null;
|
|
41
|
+
status: string | null;
|
|
42
|
+
createdAt: string | null;
|
|
43
|
+
targetUrl: string | null;
|
|
44
|
+
subscribedEvents: {
|
|
45
|
+
eventType: string | null;
|
|
46
|
+
filter?: {
|
|
47
|
+
path?: string[] | undefined;
|
|
48
|
+
value?: string | undefined;
|
|
49
|
+
groupId?: string | undefined;
|
|
50
|
+
objectType?: string | undefined;
|
|
51
|
+
} | undefined;
|
|
52
|
+
}[];
|
|
53
|
+
redactedSigningSecret: string | null;
|
|
54
|
+
}[];
|
|
55
|
+
pagination: {
|
|
56
|
+
nextLink?: string | undefined;
|
|
57
|
+
} | null;
|
|
58
|
+
} | null;
|
|
59
|
+
deprecations?: string[] | undefined;
|
|
60
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
61
|
//#endregion
|
|
8
62
|
export { folkListWebhooks };
|
|
9
63
|
//# sourceMappingURL=list-webhooks.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cA8BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1,9 +1,63 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-webhooks.d.ts
|
|
4
|
-
declare const FolkListWebhooksInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FolkListWebhooksInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const FolkListWebhooksOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
items: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodNullable<z.ZodString>;
|
|
14
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
15
|
+
targetUrl: z.ZodNullable<z.ZodString>;
|
|
16
|
+
subscribedEvents: z.ZodArray<z.ZodObject<{
|
|
17
|
+
filter: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
18
|
+
path: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
19
|
+
value: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
groupId: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
objectType: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
eventType: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
redactedSigningSecret: z.ZodNullable<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
28
|
+
nextLink: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
deprecations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
declare const folkListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
|
+
limit?: number | undefined;
|
|
35
|
+
cursor?: string | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
data: {
|
|
38
|
+
items: {
|
|
39
|
+
id: string | null;
|
|
40
|
+
name: string | null;
|
|
41
|
+
status: string | null;
|
|
42
|
+
createdAt: string | null;
|
|
43
|
+
targetUrl: string | null;
|
|
44
|
+
subscribedEvents: {
|
|
45
|
+
eventType: string | null;
|
|
46
|
+
filter?: {
|
|
47
|
+
path?: string[] | undefined;
|
|
48
|
+
value?: string | undefined;
|
|
49
|
+
groupId?: string | undefined;
|
|
50
|
+
objectType?: string | undefined;
|
|
51
|
+
} | undefined;
|
|
52
|
+
}[];
|
|
53
|
+
redactedSigningSecret: string | null;
|
|
54
|
+
}[];
|
|
55
|
+
pagination: {
|
|
56
|
+
nextLink?: string | undefined;
|
|
57
|
+
} | null;
|
|
58
|
+
} | null;
|
|
59
|
+
deprecations?: string[] | undefined;
|
|
60
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
61
|
//#endregion
|
|
8
62
|
export { folkListWebhooks };
|
|
9
63
|
//# sourceMappingURL=list-webhooks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cA8BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
|