@keystrokehq/folk 0.1.4 → 0.1.6
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 +1 -0
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +3 -18
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +3 -18
- package/dist/actions/create-company.d.mts.map +1 -1
- package/dist/actions/create-company.mjs +1 -0
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-note.cjs +1 -0
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +3 -10
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +3 -10
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +1 -0
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-person.cjs +1 -0
- package/dist/actions/create-person.cjs.map +1 -1
- package/dist/actions/create-person.d.cts +3 -11
- package/dist/actions/create-person.d.cts.map +1 -1
- package/dist/actions/create-person.d.mts +3 -11
- package/dist/actions/create-person.d.mts.map +1 -1
- package/dist/actions/create-person.mjs +1 -0
- package/dist/actions/create-person.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +1 -0
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +3 -3
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +3 -3
- package/dist/actions/delete-company.d.mts.map +1 -1
- package/dist/actions/delete-company.mjs +1 -0
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-note.cjs +1 -0
- package/dist/actions/delete-note.cjs.map +1 -1
- package/dist/actions/delete-note.d.cts +3 -3
- package/dist/actions/delete-note.d.cts.map +1 -1
- package/dist/actions/delete-note.d.mts +3 -3
- package/dist/actions/delete-note.d.mts.map +1 -1
- package/dist/actions/delete-note.mjs +1 -0
- package/dist/actions/delete-note.mjs.map +1 -1
- package/dist/actions/delete-person.cjs +1 -0
- package/dist/actions/delete-person.cjs.map +1 -1
- package/dist/actions/delete-person.d.cts +3 -3
- package/dist/actions/delete-person.d.cts.map +1 -1
- package/dist/actions/delete-person.d.mts +3 -3
- package/dist/actions/delete-person.d.mts.map +1 -1
- package/dist/actions/delete-person.mjs +1 -0
- package/dist/actions/delete-person.mjs.map +1 -1
- package/dist/actions/delete-reminder.cjs +1 -0
- package/dist/actions/delete-reminder.cjs.map +1 -1
- package/dist/actions/delete-reminder.d.cts +3 -3
- package/dist/actions/delete-reminder.d.cts.map +1 -1
- package/dist/actions/delete-reminder.d.mts +3 -3
- package/dist/actions/delete-reminder.d.mts.map +1 -1
- package/dist/actions/delete-reminder.mjs +1 -0
- package/dist/actions/delete-reminder.mjs.map +1 -1
- package/dist/actions/get-company.cjs +1 -0
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +3 -3
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +3 -3
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +1 -0
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-current-workspace-user.cjs +1 -0
- package/dist/actions/get-current-workspace-user.cjs.map +1 -1
- package/dist/actions/get-current-workspace-user.d.cts +3 -1
- package/dist/actions/get-current-workspace-user.d.cts.map +1 -1
- package/dist/actions/get-current-workspace-user.d.mts +3 -1
- package/dist/actions/get-current-workspace-user.d.mts.map +1 -1
- package/dist/actions/get-current-workspace-user.mjs +1 -0
- package/dist/actions/get-current-workspace-user.mjs.map +1 -1
- package/dist/actions/get-note.cjs +1 -0
- package/dist/actions/get-note.cjs.map +1 -1
- package/dist/actions/get-note.d.cts +3 -3
- package/dist/actions/get-note.d.cts.map +1 -1
- package/dist/actions/get-note.d.mts +3 -3
- package/dist/actions/get-note.d.mts.map +1 -1
- package/dist/actions/get-note.mjs +1 -0
- package/dist/actions/get-note.mjs.map +1 -1
- package/dist/actions/get-person.cjs +1 -0
- package/dist/actions/get-person.cjs.map +1 -1
- package/dist/actions/get-person.d.cts +3 -3
- package/dist/actions/get-person.d.cts.map +1 -1
- package/dist/actions/get-person.d.mts +3 -3
- package/dist/actions/get-person.d.mts.map +1 -1
- package/dist/actions/get-person.mjs +1 -0
- package/dist/actions/get-person.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +1 -0
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +3 -6
- package/dist/actions/list-companies.d.cts.map +1 -1
- package/dist/actions/list-companies.d.mts +3 -6
- package/dist/actions/list-companies.d.mts.map +1 -1
- package/dist/actions/list-companies.mjs +1 -0
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-group-custom-fields.cjs +1 -0
- package/dist/actions/list-group-custom-fields.cjs.map +1 -1
- package/dist/actions/list-group-custom-fields.d.cts +3 -6
- package/dist/actions/list-group-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-group-custom-fields.d.mts +3 -6
- package/dist/actions/list-group-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-group-custom-fields.mjs +1 -0
- package/dist/actions/list-group-custom-fields.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +1 -0
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +3 -4
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -4
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +1 -0
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +1 -0
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +3 -4
- package/dist/actions/list-notes.d.cts.map +1 -1
- package/dist/actions/list-notes.d.mts +3 -4
- package/dist/actions/list-notes.d.mts.map +1 -1
- package/dist/actions/list-notes.mjs +1 -0
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/list-people.cjs +1 -0
- package/dist/actions/list-people.cjs.map +1 -1
- package/dist/actions/list-people.d.cts +3 -7
- package/dist/actions/list-people.d.cts.map +1 -1
- package/dist/actions/list-people.d.mts +3 -7
- package/dist/actions/list-people.d.mts.map +1 -1
- package/dist/actions/list-people.mjs +1 -0
- package/dist/actions/list-people.mjs.map +1 -1
- package/dist/actions/list-reminders.cjs +1 -0
- package/dist/actions/list-reminders.cjs.map +1 -1
- package/dist/actions/list-reminders.d.cts +3 -5
- package/dist/actions/list-reminders.d.cts.map +1 -1
- package/dist/actions/list-reminders.d.mts +3 -5
- package/dist/actions/list-reminders.d.mts.map +1 -1
- package/dist/actions/list-reminders.mjs +1 -0
- package/dist/actions/list-reminders.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -4
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -4
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -4
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -4
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/update-company.cjs +1 -0
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +3 -14
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +3 -14
- package/dist/actions/update-company.d.mts.map +1 -1
- package/dist/actions/update-company.mjs +1 -0
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-note.cjs +1 -0
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +3 -5
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +3 -5
- package/dist/actions/update-note.d.mts.map +1 -1
- package/dist/actions/update-note.mjs +1 -0
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-person.cjs +1 -0
- package/dist/actions/update-person.cjs.map +1 -1
- package/dist/actions/update-person.d.cts +3 -23
- package/dist/actions/update-person.d.cts.map +1 -1
- package/dist/actions/update-person.d.mts +3 -23
- package/dist/actions/update-person.d.mts.map +1 -1
- package/dist/actions/update-person.mjs +1 -0
- package/dist/actions/update-person.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.d.mts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-groups.d.mts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cAenB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListGroupsInput = 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(\"Cursor for pagination across multiple pages. Omit on first call. Use the `pagination.nextLink` value from a previous response for subsequent pages.\").optional(),\n}).describe(\"Request parameters for listing workspace groups.\");\nconst FolkListGroups_GroupItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group.\").nullable(),\n name: z.string().describe(\"Name of the group.\").nullable(),\n}).passthrough().describe(\"A group object in the workspace.\");\nconst FolkListGroups_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to the next page of results, if available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list endpoints.\");\nconst FolkListGroups_ListGroupsDataSchema = z.object({\n items: z.array(FolkListGroups_GroupItemSchema).describe(\"List of group objects.\"),\n pagination: FolkListGroups_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"The data envelope for list-groups response.\");\nexport const FolkListGroupsOutput = z.object({\n data: FolkListGroups_ListGroupsDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Array of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-groups.\");\n\nexport const folkListGroups = action(\"FOLK_LIST_GROUPS\", {\n slug: \"folk-list-groups\",\n name: \"List Groups\",\n description: \"Tool to list workspace groups. Use when you need to retrieve a paginated list of all workspace groups after authentication.\",\n input: FolkListGroupsInput,\n output: FolkListGroupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\n\nexport const FolkListGroupsInput = 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(\"Cursor for pagination across multiple pages. Omit on first call. Use the `pagination.nextLink` value from a previous response for subsequent pages.\").optional(),\n}).describe(\"Request parameters for listing workspace groups.\");\nconst FolkListGroups_GroupItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group.\").nullable(),\n name: z.string().describe(\"Name of the group.\").nullable(),\n}).passthrough().describe(\"A group object in the workspace.\");\nconst FolkListGroups_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to the next page of results, if available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list endpoints.\");\nconst FolkListGroups_ListGroupsDataSchema = z.object({\n items: z.array(FolkListGroups_GroupItemSchema).describe(\"List of group objects.\"),\n pagination: FolkListGroups_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"The data envelope for list-groups response.\");\nexport const FolkListGroupsOutput = z.object({\n data: FolkListGroups_ListGroupsDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Array of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-groups.\");\n\nexport const folkListGroups: AppAction<\n typeof FolkListGroupsInput,\n typeof FolkListGroupsOutput,\n typeof folk.credential\n> = action(\"FOLK_LIST_GROUPS\", {\n slug: \"folk-list-groups\",\n name: \"List Groups\",\n description: \"Tool to list workspace groups. Use when you need to retrieve a paginated list of all workspace groups after authentication.\",\n input: FolkListGroupsInput,\n output: FolkListGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,kCAAkC,EAAE,OAAO,EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,sCAAsC,EAAE,OAAO;CACnD,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wBAAwB;CAChF,YAAY,gCAAgC,SAAS,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkC,EAAE,OAAO;EAC3C,MAAM,oCAAoC,SAAS;EACnD,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListNotesInput = 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}).describe(\"Request parameters for listing notes in the workspace.\");\nconst FolkListNotes_NoteAuthorUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n deleted: z.boolean().describe(\"User is not deleted.\").nullable(),\n fullName: z.string().describe(\"Full name of the user.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a user.\");\nconst FolkListNotes_NoteAuthorAssistantSchema = z.object({\n type: z.string().describe(\"Author type: assistant.\").nullable(),\n fullName: z.string().describe(\"Name of the assistant.\").nullable(),\n}).passthrough().describe(\"Author information when the author is an assistant.\");\nconst FolkListNotes_NoteAuthorDeletedUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n deleted: z.boolean().describe(\"User has been deleted.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a deleted user.\");\nconst FolkListNotes_NoteEntitySchema = 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: person, company, or object.\").nullable(),\n}).passthrough().describe(\"Entity associated with the note (person, company, or object).\");\nconst FolkListNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Unique identifier of the parent note.\").nullable(),\n deleted: z.boolean().describe(\"Whether the parent note has been deleted.\").nullable().optional(),\n}).passthrough().describe(\"Information about the parent note if this note is a reply.\");\nconst FolkListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Unique note identifier.\").nullable(),\n author: z.union([FolkListNotes_NoteAuthorUserSchema, FolkListNotes_NoteAuthorAssistantSchema, FolkListNotes_NoteAuthorDeletedUserSchema]),\n entity: FolkListNotes_NoteEntitySchema.nullable(),\n content: z.string().describe(\"Note content text, supports markdown formatting.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkListNotes_ParentNoteSchema.nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility of the note: public or private.\").nullable(),\n}).passthrough().describe(\"A note object in the workspace.\");\nconst FolkListNotes_ListNotesPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list-notes endpoint.\");\nconst FolkListNotes_ListNotesDataSchema = z.object({\n items: z.array(FolkListNotes_NoteSchema).describe(\"List of retrieved notes.\"),\n pagination: FolkListNotes_ListNotesPaginationSchema.nullable(),\n}).passthrough().describe(\"Data envelope for list-notes response.\");\nexport const FolkListNotesOutput = z.object({\n data: FolkListNotes_ListNotesDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-notes.\");\n\nexport const folkListNotes = action(\"FOLK_LIST_NOTES\", {\n slug: \"folk-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes in the workspace. Use when you need to retrieve notes with pagination support.\",\n input: FolkListNotesInput,\n output: FolkListNotesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\n\nexport const FolkListNotesInput = 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}).describe(\"Request parameters for listing notes in the workspace.\");\nconst FolkListNotes_NoteAuthorUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n deleted: z.boolean().describe(\"User is not deleted.\").nullable(),\n fullName: z.string().describe(\"Full name of the user.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a user.\");\nconst FolkListNotes_NoteAuthorAssistantSchema = z.object({\n type: z.string().describe(\"Author type: assistant.\").nullable(),\n fullName: z.string().describe(\"Name of the assistant.\").nullable(),\n}).passthrough().describe(\"Author information when the author is an assistant.\");\nconst FolkListNotes_NoteAuthorDeletedUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n deleted: z.boolean().describe(\"User has been deleted.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a deleted user.\");\nconst FolkListNotes_NoteEntitySchema = 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: person, company, or object.\").nullable(),\n}).passthrough().describe(\"Entity associated with the note (person, company, or object).\");\nconst FolkListNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Unique identifier of the parent note.\").nullable(),\n deleted: z.boolean().describe(\"Whether the parent note has been deleted.\").nullable().optional(),\n}).passthrough().describe(\"Information about the parent note if this note is a reply.\");\nconst FolkListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Unique note identifier.\").nullable(),\n author: z.union([FolkListNotes_NoteAuthorUserSchema, FolkListNotes_NoteAuthorAssistantSchema, FolkListNotes_NoteAuthorDeletedUserSchema]),\n entity: FolkListNotes_NoteEntitySchema.nullable(),\n content: z.string().describe(\"Note content text, supports markdown formatting.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkListNotes_ParentNoteSchema.nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility of the note: public or private.\").nullable(),\n}).passthrough().describe(\"A note object in the workspace.\");\nconst FolkListNotes_ListNotesPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list-notes endpoint.\");\nconst FolkListNotes_ListNotesDataSchema = z.object({\n items: z.array(FolkListNotes_NoteSchema).describe(\"List of retrieved notes.\"),\n pagination: FolkListNotes_ListNotesPaginationSchema.nullable(),\n}).passthrough().describe(\"Data envelope for list-notes response.\");\nexport const FolkListNotesOutput = z.object({\n data: FolkListNotes_ListNotesDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-notes.\");\n\nexport const folkListNotes: AppAction<\n typeof FolkListNotesInput,\n typeof FolkListNotesOutput,\n typeof folk.credential\n> = action(\"FOLK_LIST_NOTES\", {\n slug: \"folk-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes in the workspace. Use when you need to retrieve notes with pagination support.\",\n input: FolkListNotesInput,\n output: FolkListNotesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,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;AACxI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC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AAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,gBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { folk } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-notes.d.ts
|
|
@@ -49,10 +51,7 @@ declare const FolkListNotesOutput: z.ZodObject<{
|
|
|
49
51
|
}, z.core.$loose>>;
|
|
50
52
|
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const folkListNotes:
|
|
53
|
-
limit?: number | undefined;
|
|
54
|
-
cursor?: string | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const folkListNotes: AppAction<typeof FolkListNotesInput, typeof FolkListNotesOutput, typeof folk.credential>;
|
|
56
55
|
//#endregion
|
|
57
56
|
export { folkListNotes };
|
|
58
57
|
//# sourceMappingURL=list-notes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.d.cts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-notes.d.cts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cA6ClB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { folk } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-notes.d.ts
|
|
@@ -49,10 +51,7 @@ declare const FolkListNotesOutput: z.ZodObject<{
|
|
|
49
51
|
}, z.core.$loose>>;
|
|
50
52
|
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const folkListNotes:
|
|
53
|
-
limit?: number | undefined;
|
|
54
|
-
cursor?: string | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const folkListNotes: AppAction<typeof FolkListNotesInput, typeof FolkListNotesOutput, typeof folk.credential>;
|
|
56
55
|
//#endregion
|
|
57
56
|
export { folkListNotes };
|
|
58
57
|
//# sourceMappingURL=list-notes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.d.mts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-notes.d.mts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cA6ClB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListNotesInput = 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}).describe(\"Request parameters for listing notes in the workspace.\");\nconst FolkListNotes_NoteAuthorUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n deleted: z.boolean().describe(\"User is not deleted.\").nullable(),\n fullName: z.string().describe(\"Full name of the user.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a user.\");\nconst FolkListNotes_NoteAuthorAssistantSchema = z.object({\n type: z.string().describe(\"Author type: assistant.\").nullable(),\n fullName: z.string().describe(\"Name of the assistant.\").nullable(),\n}).passthrough().describe(\"Author information when the author is an assistant.\");\nconst FolkListNotes_NoteAuthorDeletedUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n deleted: z.boolean().describe(\"User has been deleted.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a deleted user.\");\nconst FolkListNotes_NoteEntitySchema = 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: person, company, or object.\").nullable(),\n}).passthrough().describe(\"Entity associated with the note (person, company, or object).\");\nconst FolkListNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Unique identifier of the parent note.\").nullable(),\n deleted: z.boolean().describe(\"Whether the parent note has been deleted.\").nullable().optional(),\n}).passthrough().describe(\"Information about the parent note if this note is a reply.\");\nconst FolkListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Unique note identifier.\").nullable(),\n author: z.union([FolkListNotes_NoteAuthorUserSchema, FolkListNotes_NoteAuthorAssistantSchema, FolkListNotes_NoteAuthorDeletedUserSchema]),\n entity: FolkListNotes_NoteEntitySchema.nullable(),\n content: z.string().describe(\"Note content text, supports markdown formatting.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkListNotes_ParentNoteSchema.nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility of the note: public or private.\").nullable(),\n}).passthrough().describe(\"A note object in the workspace.\");\nconst FolkListNotes_ListNotesPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list-notes endpoint.\");\nconst FolkListNotes_ListNotesDataSchema = z.object({\n items: z.array(FolkListNotes_NoteSchema).describe(\"List of retrieved notes.\"),\n pagination: FolkListNotes_ListNotesPaginationSchema.nullable(),\n}).passthrough().describe(\"Data envelope for list-notes response.\");\nexport const FolkListNotesOutput = z.object({\n data: FolkListNotes_ListNotesDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-notes.\");\n\nexport const folkListNotes = action(\"FOLK_LIST_NOTES\", {\n slug: \"folk-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes in the workspace. Use when you need to retrieve notes with pagination support.\",\n input: FolkListNotesInput,\n output: FolkListNotesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\n\nexport const FolkListNotesInput = 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}).describe(\"Request parameters for listing notes in the workspace.\");\nconst FolkListNotes_NoteAuthorUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n deleted: z.boolean().describe(\"User is not deleted.\").nullable(),\n fullName: z.string().describe(\"Full name of the user.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a user.\");\nconst FolkListNotes_NoteAuthorAssistantSchema = z.object({\n type: z.string().describe(\"Author type: assistant.\").nullable(),\n fullName: z.string().describe(\"Name of the assistant.\").nullable(),\n}).passthrough().describe(\"Author information when the author is an assistant.\");\nconst FolkListNotes_NoteAuthorDeletedUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n deleted: z.boolean().describe(\"User has been deleted.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a deleted user.\");\nconst FolkListNotes_NoteEntitySchema = 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: person, company, or object.\").nullable(),\n}).passthrough().describe(\"Entity associated with the note (person, company, or object).\");\nconst FolkListNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Unique identifier of the parent note.\").nullable(),\n deleted: z.boolean().describe(\"Whether the parent note has been deleted.\").nullable().optional(),\n}).passthrough().describe(\"Information about the parent note if this note is a reply.\");\nconst FolkListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Unique note identifier.\").nullable(),\n author: z.union([FolkListNotes_NoteAuthorUserSchema, FolkListNotes_NoteAuthorAssistantSchema, FolkListNotes_NoteAuthorDeletedUserSchema]),\n entity: FolkListNotes_NoteEntitySchema.nullable(),\n content: z.string().describe(\"Note content text, supports markdown formatting.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkListNotes_ParentNoteSchema.nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility of the note: public or private.\").nullable(),\n}).passthrough().describe(\"A note object in the workspace.\");\nconst FolkListNotes_ListNotesPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list-notes endpoint.\");\nconst FolkListNotes_ListNotesDataSchema = z.object({\n items: z.array(FolkListNotes_NoteSchema).describe(\"List of retrieved notes.\"),\n pagination: FolkListNotes_ListNotesPaginationSchema.nullable(),\n}).passthrough().describe(\"Data envelope for list-notes response.\");\nexport const FolkListNotesOutput = z.object({\n data: FolkListNotes_ListNotesDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-notes.\");\n\nexport const folkListNotes: AppAction<\n typeof FolkListNotesInput,\n typeof FolkListNotesOutput,\n typeof folk.credential\n> = action(\"FOLK_LIST_NOTES\", {\n slug: \"folk-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes in the workspace. Use when you need to retrieve notes with pagination support.\",\n input: FolkListNotesInput,\n output: FolkListNotesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqB,EAAE,OAAO;CACzC,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;AACxI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,UAAU,EAAE,OAAO,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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.record(z.string(), z.unknown()).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}).passthrough();\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}).passthrough();\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}).passthrough().describe(\"User information model used across different contexts.\");\nconst FolkListPeople_InteractionMetadataSchema = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"User-specific interaction metadata (approximate count, last interacted timestamp).\").nullable().optional(),\n workspace: z.record(z.string(), z.unknown()).describe(\"Workspace-wide interaction metadata (approximate count, last interacted timestamp, last interacted by users).\").nullable().optional(),\n}).passthrough().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.string().describe(\"Birthday in YYYY-MM-DD format\").nullable().optional(),\n fullName: z.string().describe(\"Person's full name\").nullable().optional(),\n jobTitle: z.string().describe(\"Current job title\").nullable().optional(),\n lastName: z.string().describe(\"Person's last name\").nullable().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.string().describe(\"ISO 8601 timestamp when person was created\").nullable().optional(),\n createdBy: FolkListPeople_UserSchema.nullable().optional(),\n firstName: z.string().describe(\"Person's first name\").nullable().optional(),\n description: z.string().describe(\"Textual description of the person\").nullable().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: FolkListPeople_InteractionMetadataSchema.nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Strongest connection to this person, mapping group IDs to User objects\").nullable().optional(),\n}).passthrough();\nconst FolkListPeople_PaginationSchema = z.object({\n nextLink: z.string().describe(\"Link to retrieve the next page of results\").nullable().optional(),\n}).passthrough();\nconst FolkListPeople_ListPeopleDataSchema = z.object({\n items: z.array(FolkListPeople_PersonSchema).describe(\"List of people returned\"),\n pagination: FolkListPeople_PaginationSchema.nullable(),\n}).passthrough();\nexport const FolkListPeopleOutput = z.object({\n data: FolkListPeople_ListPeopleDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings returned by the API\").nullable().optional(),\n}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"list-people.cjs","names":["z","action"],"sources":["../../src/actions/list-people.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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.record(z.string(), z.unknown()).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}).passthrough();\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}).passthrough();\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}).passthrough().describe(\"User information model used across different contexts.\");\nconst FolkListPeople_InteractionMetadataSchema = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"User-specific interaction metadata (approximate count, last interacted timestamp).\").nullable().optional(),\n workspace: z.record(z.string(), z.unknown()).describe(\"Workspace-wide interaction metadata (approximate count, last interacted timestamp, last interacted by users).\").nullable().optional(),\n}).passthrough().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.string().describe(\"Birthday in YYYY-MM-DD format\").nullable().optional(),\n fullName: z.string().describe(\"Person's full name\").nullable().optional(),\n jobTitle: z.string().describe(\"Current job title\").nullable().optional(),\n lastName: z.string().describe(\"Person's last name\").nullable().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.string().describe(\"ISO 8601 timestamp when person was created\").nullable().optional(),\n createdBy: FolkListPeople_UserSchema.nullable().optional(),\n firstName: z.string().describe(\"Person's first name\").nullable().optional(),\n description: z.string().describe(\"Textual description of the person\").nullable().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: FolkListPeople_InteractionMetadataSchema.nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Strongest connection to this person, mapping group IDs to User objects\").nullable().optional(),\n}).passthrough();\nconst FolkListPeople_PaginationSchema = z.object({\n nextLink: z.string().describe(\"Link to retrieve the next page of results\").nullable().optional(),\n}).passthrough();\nconst FolkListPeople_ListPeopleDataSchema = z.object({\n items: z.array(FolkListPeople_PersonSchema).describe(\"List of people returned\"),\n pagination: FolkListPeople_PaginationSchema.nullable(),\n}).passthrough();\nexport const FolkListPeopleOutput = z.object({\n data: FolkListPeople_ListPeopleDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings returned by the API\").nullable().optional(),\n}).passthrough();\n\nexport const folkListPeople: AppAction<\n typeof FolkListPeopleInput,\n typeof FolkListPeopleOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,MAAa,sBAAsBA,IA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,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAM,oCAAoC,SAAS;CACnD,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { folk } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-people.d.ts
|
|
@@ -51,13 +53,7 @@ declare const FolkListPeopleOutput: z.ZodObject<{
|
|
|
51
53
|
}, z.core.$loose>>;
|
|
52
54
|
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const folkListPeople:
|
|
55
|
-
[x: string]: unknown;
|
|
56
|
-
limit?: number | undefined;
|
|
57
|
-
cursor?: string | undefined;
|
|
58
|
-
filter?: Record<string, unknown> | undefined;
|
|
59
|
-
combinator?: "and" | "or" | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const folkListPeople: AppAction<typeof FolkListPeopleInput, typeof FolkListPeopleOutput, typeof folk.credential>;
|
|
61
57
|
//#endregion
|
|
62
58
|
export { folkListPeople };
|
|
63
59
|
//# sourceMappingURL=list-people.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-people.d.cts","names":[],"sources":["../../src/actions/list-people.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-people.d.cts","names":[],"sources":["../../src/actions/list-people.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAkDnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { folk } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-people.d.ts
|
|
@@ -51,13 +53,7 @@ declare const FolkListPeopleOutput: z.ZodObject<{
|
|
|
51
53
|
}, z.core.$loose>>;
|
|
52
54
|
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const folkListPeople:
|
|
55
|
-
[x: string]: unknown;
|
|
56
|
-
limit?: number | undefined;
|
|
57
|
-
cursor?: string | undefined;
|
|
58
|
-
filter?: Record<string, unknown> | undefined;
|
|
59
|
-
combinator?: "and" | "or" | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const folkListPeople: AppAction<typeof FolkListPeopleInput, typeof FolkListPeopleOutput, typeof folk.credential>;
|
|
61
57
|
//#endregion
|
|
62
58
|
export { folkListPeople };
|
|
63
59
|
//# sourceMappingURL=list-people.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-people.d.mts","names":[],"sources":["../../src/actions/list-people.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-people.d.mts","names":[],"sources":["../../src/actions/list-people.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAkDnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -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 = 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.record(z.string(), z.unknown()).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}).passthrough();\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}).passthrough();\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}).passthrough().describe(\"User information model used across different contexts.\");\nconst FolkListPeople_InteractionMetadataSchema = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"User-specific interaction metadata (approximate count, last interacted timestamp).\").nullable().optional(),\n workspace: z.record(z.string(), z.unknown()).describe(\"Workspace-wide interaction metadata (approximate count, last interacted timestamp, last interacted by users).\").nullable().optional(),\n}).passthrough().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.string().describe(\"Birthday in YYYY-MM-DD format\").nullable().optional(),\n fullName: z.string().describe(\"Person's full name\").nullable().optional(),\n jobTitle: z.string().describe(\"Current job title\").nullable().optional(),\n lastName: z.string().describe(\"Person's last name\").nullable().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.string().describe(\"ISO 8601 timestamp when person was created\").nullable().optional(),\n createdBy: FolkListPeople_UserSchema.nullable().optional(),\n firstName: z.string().describe(\"Person's first name\").nullable().optional(),\n description: z.string().describe(\"Textual description of the person\").nullable().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: FolkListPeople_InteractionMetadataSchema.nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Strongest connection to this person, mapping group IDs to User objects\").nullable().optional(),\n}).passthrough();\nconst FolkListPeople_PaginationSchema = z.object({\n nextLink: z.string().describe(\"Link to retrieve the next page of results\").nullable().optional(),\n}).passthrough();\nconst FolkListPeople_ListPeopleDataSchema = z.object({\n items: z.array(FolkListPeople_PersonSchema).describe(\"List of people returned\"),\n pagination: FolkListPeople_PaginationSchema.nullable(),\n}).passthrough();\nexport const FolkListPeopleOutput = z.object({\n data: FolkListPeople_ListPeopleDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings returned by the API\").nullable().optional(),\n}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"list-people.mjs","names":[],"sources":["../../src/actions/list-people.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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.record(z.string(), z.unknown()).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}).passthrough();\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}).passthrough();\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}).passthrough().describe(\"User information model used across different contexts.\");\nconst FolkListPeople_InteractionMetadataSchema = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"User-specific interaction metadata (approximate count, last interacted timestamp).\").nullable().optional(),\n workspace: z.record(z.string(), z.unknown()).describe(\"Workspace-wide interaction metadata (approximate count, last interacted timestamp, last interacted by users).\").nullable().optional(),\n}).passthrough().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.string().describe(\"Birthday in YYYY-MM-DD format\").nullable().optional(),\n fullName: z.string().describe(\"Person's full name\").nullable().optional(),\n jobTitle: z.string().describe(\"Current job title\").nullable().optional(),\n lastName: z.string().describe(\"Person's last name\").nullable().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.string().describe(\"ISO 8601 timestamp when person was created\").nullable().optional(),\n createdBy: FolkListPeople_UserSchema.nullable().optional(),\n firstName: z.string().describe(\"Person's first name\").nullable().optional(),\n description: z.string().describe(\"Textual description of the person\").nullable().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: FolkListPeople_InteractionMetadataSchema.nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Strongest connection to this person, mapping group IDs to User objects\").nullable().optional(),\n}).passthrough();\nconst FolkListPeople_PaginationSchema = z.object({\n nextLink: z.string().describe(\"Link to retrieve the next page of results\").nullable().optional(),\n}).passthrough();\nconst FolkListPeople_ListPeopleDataSchema = z.object({\n items: z.array(FolkListPeople_PersonSchema).describe(\"List of people returned\"),\n pagination: FolkListPeople_PaginationSchema.nullable(),\n}).passthrough();\nexport const FolkListPeopleOutput = z.object({\n data: FolkListPeople_ListPeopleDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings returned by the API\").nullable().optional(),\n}).passthrough();\n\nexport const folkListPeople: AppAction<\n typeof FolkListPeopleInput,\n typeof FolkListPeopleOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,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,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAC5K,YAAY,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,OAAO,EAAE,OAAO,CA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AAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -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 = 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}).passthrough().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}).passthrough().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.string().describe(\"ISO 8601 timestamp when the reminder was created.\").nullable().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.string().describe(\"iCalendar RFC 5545 format recurrence rule.\").nullable().optional(),\n lastTriggerTime: z.string().describe(\"ISO 8601 timestamp for previous trigger.\").nullable().optional(),\n nextTriggerTime: z.string().describe(\"ISO 8601 timestamp for upcoming trigger.\").nullable().optional(),\n}).passthrough().describe(\"A reminder object in the workspace.\");\nconst FolkListReminders_ListRemindersPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Data envelope for list-reminders response.\");\nexport const FolkListRemindersOutput = z.object({\n data: FolkListReminders_ListRemindersDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-reminders.cjs","names":["z","action"],"sources":["../../src/actions/list-reminders.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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}).passthrough().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}).passthrough().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.string().describe(\"ISO 8601 timestamp when the reminder was created.\").nullable().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.string().describe(\"iCalendar RFC 5545 format recurrence rule.\").nullable().optional(),\n lastTriggerTime: z.string().describe(\"ISO 8601 timestamp for previous trigger.\").nullable().optional(),\n nextTriggerTime: z.string().describe(\"ISO 8601 timestamp for upcoming trigger.\").nullable().optional(),\n}).passthrough().describe(\"A reminder object in the workspace.\");\nconst FolkListReminders_ListRemindersPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Data envelope for list-reminders response.\");\nexport const FolkListRemindersOutput = z.object({\n data: FolkListReminders_ListRemindersDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-reminders.\");\n\nexport const folkListReminders: AppAction<\n typeof FolkListRemindersInput,\n typeof FolkListRemindersOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,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,4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M,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,8BAA8B;CACrG,YAAY,gDAAgD,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAM,0CAA0C,SAAS;CACzD,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { folk } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-reminders.d.ts
|
|
@@ -45,11 +47,7 @@ declare const FolkListRemindersOutput: z.ZodObject<{
|
|
|
45
47
|
}, z.core.$loose>>;
|
|
46
48
|
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const folkListReminders:
|
|
49
|
-
limit?: number | undefined;
|
|
50
|
-
cursor?: string | undefined;
|
|
51
|
-
entity_id?: string | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
50
|
+
declare const folkListReminders: AppAction<typeof FolkListRemindersInput, typeof FolkListRemindersOutput, typeof folk.credential>;
|
|
53
51
|
//#endregion
|
|
54
52
|
export { folkListReminders };
|
|
55
53
|
//# sourceMappingURL=list-reminders.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-reminders.d.cts","names":[],"sources":["../../src/actions/list-reminders.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-reminders.d.cts","names":[],"sources":["../../src/actions/list-reminders.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAkCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { folk } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-reminders.d.ts
|
|
@@ -45,11 +47,7 @@ declare const FolkListRemindersOutput: z.ZodObject<{
|
|
|
45
47
|
}, z.core.$loose>>;
|
|
46
48
|
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const folkListReminders:
|
|
49
|
-
limit?: number | undefined;
|
|
50
|
-
cursor?: string | undefined;
|
|
51
|
-
entity_id?: string | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
50
|
+
declare const folkListReminders: AppAction<typeof FolkListRemindersInput, typeof FolkListRemindersOutput, typeof folk.credential>;
|
|
53
51
|
//#endregion
|
|
54
52
|
export { folkListReminders };
|
|
55
53
|
//# sourceMappingURL=list-reminders.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-reminders.d.mts","names":[],"sources":["../../src/actions/list-reminders.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-reminders.d.mts","names":[],"sources":["../../src/actions/list-reminders.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAkCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -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 = 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}).passthrough().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}).passthrough().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.string().describe(\"ISO 8601 timestamp when the reminder was created.\").nullable().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.string().describe(\"iCalendar RFC 5545 format recurrence rule.\").nullable().optional(),\n lastTriggerTime: z.string().describe(\"ISO 8601 timestamp for previous trigger.\").nullable().optional(),\n nextTriggerTime: z.string().describe(\"ISO 8601 timestamp for upcoming trigger.\").nullable().optional(),\n}).passthrough().describe(\"A reminder object in the workspace.\");\nconst FolkListReminders_ListRemindersPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Data envelope for list-reminders response.\");\nexport const FolkListRemindersOutput = z.object({\n data: FolkListReminders_ListRemindersDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-reminders.mjs","names":[],"sources":["../../src/actions/list-reminders.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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}).passthrough().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}).passthrough().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.string().describe(\"ISO 8601 timestamp when the reminder was created.\").nullable().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.string().describe(\"iCalendar RFC 5545 format recurrence rule.\").nullable().optional(),\n lastTriggerTime: z.string().describe(\"ISO 8601 timestamp for previous trigger.\").nullable().optional(),\n nextTriggerTime: z.string().describe(\"ISO 8601 timestamp for upcoming trigger.\").nullable().optional(),\n}).passthrough().describe(\"A reminder object in the workspace.\");\nconst FolkListReminders_ListRemindersPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Data envelope for list-reminders response.\");\nexport const FolkListRemindersOutput = z.object({\n data: FolkListReminders_ListRemindersDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-reminders.\");\n\nexport const folkListReminders: AppAction<\n typeof FolkListRemindersInput,\n typeof FolkListRemindersOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,4CAA4C,EAAE,OAAO;C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AC/E,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,8BAA8B;CACrG,YAAY,gDAAgD,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqC,EAAE,OAAO;EAC9C,MAAM,0CAA0C,SAAS;EACzD,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -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 = 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}).passthrough().describe(\"A workspace user.\");\nconst FolkListUsers_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Paginated list of users.\");\nexport const FolkListUsersOutput = z.object({\n data: FolkListUsers_ListUsersDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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}).passthrough().describe(\"A workspace user.\");\nconst FolkListUsers_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Paginated list of users.\");\nexport const FolkListUsersOutput = z.object({\n data: FolkListUsers_ListUsersDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing workspace users.\");\n\nexport const folkListUsers: AppAction<\n typeof FolkListUsersInput,\n typeof FolkListUsersOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mBAAmB;AAC7C,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,uBAAuB;CACzE,YAAY,+BAA+B,SAAS;AACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AACpD,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAM,kCAAkC,SAAS;CACjD,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,gBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { folk } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-users.d.ts
|
|
@@ -18,10 +20,7 @@ declare const FolkListUsersOutput: z.ZodObject<{
|
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const folkListUsers:
|
|
22
|
-
limit?: number | undefined;
|
|
23
|
-
cursor?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const folkListUsers: AppAction<typeof FolkListUsersInput, typeof FolkListUsersOutput, typeof folk.credential>;
|
|
25
24
|
//#endregion
|
|
26
25
|
export { folkListUsers };
|
|
27
26
|
//# sourceMappingURL=list-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAgBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { folk } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-users.d.ts
|
|
@@ -18,10 +20,7 @@ declare const FolkListUsersOutput: z.ZodObject<{
|
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const folkListUsers:
|
|
22
|
-
limit?: number | undefined;
|
|
23
|
-
cursor?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const folkListUsers: AppAction<typeof FolkListUsersInput, typeof FolkListUsersOutput, typeof folk.credential>;
|
|
25
24
|
//#endregion
|
|
26
25
|
export { folkListUsers };
|
|
27
26
|
//# sourceMappingURL=list-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAgBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -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 = 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}).passthrough().describe(\"A workspace user.\");\nconst FolkListUsers_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Paginated list of users.\");\nexport const FolkListUsersOutput = z.object({\n data: FolkListUsers_ListUsersDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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}).passthrough().describe(\"A workspace user.\");\nconst FolkListUsers_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Paginated list of users.\");\nexport const FolkListUsersOutput = z.object({\n data: FolkListUsers_ListUsersDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing workspace users.\");\n\nexport const folkListUsers: AppAction<\n typeof FolkListUsersInput,\n typeof FolkListUsersOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mBAAmB;AAC7C,MAAM,iCAAiC,EAAE,OAAO,EAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,oCAAoC,EAAE,OAAO;CACjD,OAAO,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,uBAAuB;CACzE,YAAY,+BAA+B,SAAS;AACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AAMpD,MAAa,gBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdiC,EAAE,OAAO;EAC1C,MAAM,kCAAkC,SAAS;EACjD,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -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 = 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.array(z.string()).describe(\"Filter by path (max 3 items).\").nullable().optional(),\n value: z.string().describe(\"Filter by value.\").nullable().optional(),\n groupId: z.string().describe(\"Filter by group ID.\").nullable().optional(),\n objectType: z.string().describe(\"Filter by object type.\").nullable().optional(),\n}).passthrough().describe(\"Filter criteria for a webhook event.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema = z.object({\n filter: FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema.nullable().optional(),\n eventType: z.string().describe(\"Type of event the webhook subscribes to.\").nullable(),\n}).passthrough().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}).passthrough().describe(\"A webhook object in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Paginated list of webhooks.\");\nexport const FolkListWebhooksOutput = z.object({\n data: FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { folk } from \"../app\";\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.array(z.string()).describe(\"Filter by path (max 3 items).\").nullable().optional(),\n value: z.string().describe(\"Filter by value.\").nullable().optional(),\n groupId: z.string().describe(\"Filter by group ID.\").nullable().optional(),\n objectType: z.string().describe(\"Filter by object type.\").nullable().optional(),\n}).passthrough().describe(\"Filter criteria for a webhook event.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema = z.object({\n filter: FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema.nullable().optional(),\n eventType: z.string().describe(\"Type of event the webhook subscribes to.\").nullable(),\n}).passthrough().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}).passthrough().describe(\"A webhook object in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n}).passthrough().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}).passthrough().describe(\"Paginated list of webhooks.\");\nexport const FolkListWebhooksOutput = z.object({\n data: FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing webhooks.\");\n\nexport const folkListWebhooks: AppAction<\n typeof FolkListWebhooksInput,\n typeof FolkListWebhooksOutput,\n typeof folk.credential\n> = 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":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,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