@keystrokehq/slite 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/ask-question.cjs +30 -0
  7. package/dist/actions/ask-question.cjs.map +1 -0
  8. package/dist/actions/ask-question.d.cts +9 -0
  9. package/dist/actions/ask-question.d.cts.map +1 -0
  10. package/dist/actions/ask-question.d.mts +9 -0
  11. package/dist/actions/ask-question.d.mts.map +1 -0
  12. package/dist/actions/ask-question.mjs +29 -0
  13. package/dist/actions/ask-question.mjs.map +1 -0
  14. package/dist/actions/create-note.cjs +30 -0
  15. package/dist/actions/create-note.cjs.map +1 -0
  16. package/dist/actions/create-note.d.cts +9 -0
  17. package/dist/actions/create-note.d.cts.map +1 -0
  18. package/dist/actions/create-note.d.mts +9 -0
  19. package/dist/actions/create-note.d.mts.map +1 -0
  20. package/dist/actions/create-note.mjs +27 -0
  21. package/dist/actions/create-note.mjs.map +1 -0
  22. package/dist/actions/delete-note-by-id.cjs +19 -0
  23. package/dist/actions/delete-note-by-id.cjs.map +1 -0
  24. package/dist/actions/delete-note-by-id.d.cts +9 -0
  25. package/dist/actions/delete-note-by-id.d.cts.map +1 -0
  26. package/dist/actions/delete-note-by-id.d.mts +9 -0
  27. package/dist/actions/delete-note-by-id.d.mts.map +1 -0
  28. package/dist/actions/delete-note-by-id.mjs +16 -0
  29. package/dist/actions/delete-note-by-id.mjs.map +1 -0
  30. package/dist/actions/flag-note-as-outdated.cjs +27 -0
  31. package/dist/actions/flag-note-as-outdated.cjs.map +1 -0
  32. package/dist/actions/flag-note-as-outdated.d.cts +9 -0
  33. package/dist/actions/flag-note-as-outdated.d.cts.map +1 -0
  34. package/dist/actions/flag-note-as-outdated.d.mts +9 -0
  35. package/dist/actions/flag-note-as-outdated.d.mts.map +1 -0
  36. package/dist/actions/flag-note-as-outdated.mjs +24 -0
  37. package/dist/actions/flag-note-as-outdated.mjs.map +1 -0
  38. package/dist/actions/get-authenticated-user.cjs +21 -0
  39. package/dist/actions/get-authenticated-user.cjs.map +1 -0
  40. package/dist/actions/get-authenticated-user.d.cts +9 -0
  41. package/dist/actions/get-authenticated-user.d.cts.map +1 -0
  42. package/dist/actions/get-authenticated-user.d.mts +9 -0
  43. package/dist/actions/get-authenticated-user.d.mts.map +1 -0
  44. package/dist/actions/get-authenticated-user.mjs +18 -0
  45. package/dist/actions/get-authenticated-user.mjs.map +1 -0
  46. package/dist/actions/get-note-by-id.cjs +34 -0
  47. package/dist/actions/get-note-by-id.cjs.map +1 -0
  48. package/dist/actions/get-note-by-id.d.cts +9 -0
  49. package/dist/actions/get-note-by-id.d.cts.map +1 -0
  50. package/dist/actions/get-note-by-id.d.mts +9 -0
  51. package/dist/actions/get-note-by-id.d.mts.map +1 -0
  52. package/dist/actions/get-note-by-id.mjs +31 -0
  53. package/dist/actions/get-note-by-id.mjs.map +1 -0
  54. package/dist/actions/get-note-children.cjs +40 -0
  55. package/dist/actions/get-note-children.cjs.map +1 -0
  56. package/dist/actions/get-note-children.d.cts +9 -0
  57. package/dist/actions/get-note-children.d.cts.map +1 -0
  58. package/dist/actions/get-note-children.d.mts +9 -0
  59. package/dist/actions/get-note-children.d.mts.map +1 -0
  60. package/dist/actions/get-note-children.mjs +39 -0
  61. package/dist/actions/get-note-children.mjs.map +1 -0
  62. package/dist/actions/index.cjs +33 -0
  63. package/dist/actions/index.d.cts +17 -0
  64. package/dist/actions/index.d.mts +17 -0
  65. package/dist/actions/index.mjs +17 -0
  66. package/dist/actions/list-notes.cjs +32 -0
  67. package/dist/actions/list-notes.cjs.map +1 -0
  68. package/dist/actions/list-notes.d.cts +9 -0
  69. package/dist/actions/list-notes.d.cts.map +1 -0
  70. package/dist/actions/list-notes.d.mts +9 -0
  71. package/dist/actions/list-notes.d.mts.map +1 -0
  72. package/dist/actions/list-notes.mjs +31 -0
  73. package/dist/actions/list-notes.mjs.map +1 -0
  74. package/dist/actions/search-groups.cjs +29 -0
  75. package/dist/actions/search-groups.cjs.map +1 -0
  76. package/dist/actions/search-groups.d.cts +9 -0
  77. package/dist/actions/search-groups.d.cts.map +1 -0
  78. package/dist/actions/search-groups.d.mts +9 -0
  79. package/dist/actions/search-groups.d.mts.map +1 -0
  80. package/dist/actions/search-groups.mjs +28 -0
  81. package/dist/actions/search-groups.mjs.map +1 -0
  82. package/dist/actions/search-notes.cjs +58 -0
  83. package/dist/actions/search-notes.cjs.map +1 -0
  84. package/dist/actions/search-notes.d.cts +9 -0
  85. package/dist/actions/search-notes.d.cts.map +1 -0
  86. package/dist/actions/search-notes.d.mts +9 -0
  87. package/dist/actions/search-notes.d.mts.map +1 -0
  88. package/dist/actions/search-notes.mjs +57 -0
  89. package/dist/actions/search-notes.mjs.map +1 -0
  90. package/dist/actions/search-users.cjs +33 -0
  91. package/dist/actions/search-users.cjs.map +1 -0
  92. package/dist/actions/search-users.d.cts +9 -0
  93. package/dist/actions/search-users.d.cts.map +1 -0
  94. package/dist/actions/search-users.d.mts +9 -0
  95. package/dist/actions/search-users.d.mts.map +1 -0
  96. package/dist/actions/search-users.mjs +32 -0
  97. package/dist/actions/search-users.mjs.map +1 -0
  98. package/dist/actions/update-note-archived-state.cjs +26 -0
  99. package/dist/actions/update-note-archived-state.cjs.map +1 -0
  100. package/dist/actions/update-note-archived-state.d.cts +9 -0
  101. package/dist/actions/update-note-archived-state.d.cts.map +1 -0
  102. package/dist/actions/update-note-archived-state.d.mts +9 -0
  103. package/dist/actions/update-note-archived-state.d.mts.map +1 -0
  104. package/dist/actions/update-note-archived-state.mjs +23 -0
  105. package/dist/actions/update-note-archived-state.mjs.map +1 -0
  106. package/dist/actions/update-note-owner.cjs +27 -0
  107. package/dist/actions/update-note-owner.cjs.map +1 -0
  108. package/dist/actions/update-note-owner.d.cts +9 -0
  109. package/dist/actions/update-note-owner.d.cts.map +1 -0
  110. package/dist/actions/update-note-owner.d.mts +9 -0
  111. package/dist/actions/update-note-owner.d.mts.map +1 -0
  112. package/dist/actions/update-note-owner.mjs +24 -0
  113. package/dist/actions/update-note-owner.mjs.map +1 -0
  114. package/dist/actions/update-note.cjs +32 -0
  115. package/dist/actions/update-note.cjs.map +1 -0
  116. package/dist/actions/update-note.d.cts +9 -0
  117. package/dist/actions/update-note.d.cts.map +1 -0
  118. package/dist/actions/update-note.d.mts +9 -0
  119. package/dist/actions/update-note.d.mts.map +1 -0
  120. package/dist/actions/update-note.mjs +29 -0
  121. package/dist/actions/update-note.mjs.map +1 -0
  122. package/dist/actions/update-tile.cjs +27 -0
  123. package/dist/actions/update-tile.cjs.map +1 -0
  124. package/dist/actions/update-tile.d.cts +9 -0
  125. package/dist/actions/update-tile.d.cts.map +1 -0
  126. package/dist/actions/update-tile.d.mts +9 -0
  127. package/dist/actions/update-tile.d.mts.map +1 -0
  128. package/dist/actions/update-tile.mjs +24 -0
  129. package/dist/actions/update-tile.mjs.map +1 -0
  130. package/dist/actions/verify-note.cjs +29 -0
  131. package/dist/actions/verify-note.cjs.map +1 -0
  132. package/dist/actions/verify-note.d.cts +9 -0
  133. package/dist/actions/verify-note.d.cts.map +1 -0
  134. package/dist/actions/verify-note.d.mts +9 -0
  135. package/dist/actions/verify-note.d.mts.map +1 -0
  136. package/dist/actions/verify-note.mjs +26 -0
  137. package/dist/actions/verify-note.mjs.map +1 -0
  138. package/dist/app.cjs +9 -0
  139. package/dist/app.cjs.map +1 -0
  140. package/dist/app.d.cts +5 -0
  141. package/dist/app.d.cts.map +1 -0
  142. package/dist/app.d.mts +5 -0
  143. package/dist/app.d.mts.map +1 -0
  144. package/dist/app.mjs +10 -0
  145. package/dist/app.mjs.map +1 -0
  146. package/dist/catalog.cjs +15 -0
  147. package/dist/catalog.cjs.map +1 -0
  148. package/dist/catalog.d.cts +14 -0
  149. package/dist/catalog.d.cts.map +1 -0
  150. package/dist/catalog.d.mts +14 -0
  151. package/dist/catalog.d.mts.map +1 -0
  152. package/dist/catalog.mjs +15 -0
  153. package/dist/catalog.mjs.map +1 -0
  154. package/dist/execute.cjs +18 -0
  155. package/dist/execute.cjs.map +1 -0
  156. package/dist/execute.mjs +18 -0
  157. package/dist/execute.mjs.map +1 -0
  158. package/dist/index.cjs +38 -0
  159. package/dist/index.d.cts +19 -0
  160. package/dist/index.d.mts +19 -0
  161. package/dist/index.mjs +20 -0
  162. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-note-by-id.d.ts
4
+ declare const SliteGetNoteByIdInput: z.ZodTypeAny;
5
+ declare const SliteGetNoteByIdOutput: z.ZodTypeAny;
6
+ declare const sliteGetNoteById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sliteGetNoteById };
9
+ //# sourceMappingURL=get-note-by-id.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-note-by-id.d.cts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAGuB;AAAA,cAChD,sBAAA,EAAwB,CAAA,CAAE,UAWe;AAAA,cAEzC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-note-by-id.d.ts
4
+ declare const SliteGetNoteByIdInput: z.ZodTypeAny;
5
+ declare const SliteGetNoteByIdOutput: z.ZodTypeAny;
6
+ declare const sliteGetNoteById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sliteGetNoteById };
9
+ //# sourceMappingURL=get-note-by-id.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-note-by-id.d.mts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAGuB;AAAA,cAChD,sBAAA,EAAwB,CAAA,CAAE,UAWe;AAAA,cAEzC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const sliteGetNoteById = action("SLITE_GET_NOTE_BY_ID", {
4
+ slug: "slite-get-note-by-id",
5
+ name: "Get Note By ID",
6
+ description: "Tool to retrieve a complete note by its ID including content in Markdown or HTML format. Use when you need to fetch the full details and content of a specific note.",
7
+ input: z.object({
8
+ format: z.enum(["md", "html"]).describe("Specifies content format as either 'md' (Markdown) or 'html'. Defaults to Markdown if unspecified.").optional(),
9
+ noteId: z.string().describe("Note id to return")
10
+ }).describe("Request model for retrieving a note by its ID."),
11
+ output: z.object({
12
+ id: z.string().describe("Unique note identifier"),
13
+ url: z.string().describe("Direct note URL"),
14
+ title: z.string().describe("Note title"),
15
+ columns: z.array(z.string()).describe("Column names if note exists in collection").nullable().optional(),
16
+ content: z.string().describe("Content of the note in Markdown or HTML"),
17
+ updatedAt: z.string().describe("Last update timestamp"),
18
+ archivedAt: z.string().describe("Archive date or null if active").nullable().optional(),
19
+ attributes: z.array(z.string()).describe("Column attributes if note exists in a collection").nullable().optional(),
20
+ reviewState: z.enum([
21
+ "Verified",
22
+ "Outdated",
23
+ "VerificationRequested"
24
+ ]).describe("Review state of the note").nullable().optional(),
25
+ parentNoteId: z.string().describe("Parent note ID or null if root").nullable().optional()
26
+ }).describe("Response model for a note with content.")
27
+ });
28
+ //#endregion
29
+ export { sliteGetNoteById };
30
+
31
+ //# sourceMappingURL=get-note-by-id.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-note-by-id.mjs","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteByIdInput: z.ZodTypeAny = z.object({\n format: z.enum([\"md\", \"html\"]).describe(\"Specifies content format as either 'md' (Markdown) or 'html'. Defaults to Markdown if unspecified.\").optional(),\n noteId: z.string().describe(\"Note id to return\"),\n}).describe(\"Request model for retrieving a note by its ID.\");\nexport const SliteGetNoteByIdOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique note identifier\"),\n url: z.string().describe(\"Direct note URL\"),\n title: z.string().describe(\"Note title\"),\n columns: z.array(z.string()).describe(\"Column names if note exists in collection\").nullable().optional(),\n content: z.string().describe(\"Content of the note in Markdown or HTML\"),\n updatedAt: z.string().describe(\"Last update timestamp\"),\n archivedAt: z.string().describe(\"Archive date or null if active\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Column attributes if note exists in a collection\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review state of the note\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note ID or null if root\").nullable().optional(),\n}).describe(\"Response model for a note with content.\");\n\nexport const sliteGetNoteById = action(\"SLITE_GET_NOTE_BY_ID\", {\n slug: \"slite-get-note-by-id\",\n name: \"Get Note By ID\",\n description: \"Tool to retrieve a complete note by its ID including content in Markdown or HTML format. Use when you need to fetch the full details and content of a specific note.\",\n input: SliteGetNoteByIdInput,\n output: SliteGetNoteByIdOutput,\n});\n"],"mappings":";;AAqBA,MAAa,mBAAmB,OAAO,wBAAwB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBiD,EAAE,OAAO;EAC1D,QAAQ,EAAE,KAAK,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EACvJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,CAAC,CAAC,CAAC,SAAS,gDAkBH;CACP,QAlBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;EACvC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACtD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,KAAK;GAAC;GAAY;GAAY;EAAuB,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -0,0 +1,40 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-note-children.ts
4
+ const SliteGetNoteChildrenInput = zod.z.object({
5
+ cursor: zod.z.string().describe("Cursor to use to continue fetching the note children. Only used if current note has more than 50 children").optional(),
6
+ noteId: zod.z.string().describe("Note ID to fetch its children")
7
+ }).describe("Request model for retrieving note children by parent note ID.");
8
+ const SliteGetNoteChildren_NoteSchema = zod.z.object({
9
+ id: zod.z.string().describe("Note identifier"),
10
+ url: zod.z.string().describe("Note URL"),
11
+ title: zod.z.string().describe("Note title"),
12
+ columns: zod.z.array(zod.z.string()).describe("Collection column names").nullable().optional(),
13
+ updatedAt: zod.z.string().describe("Last update timestamp"),
14
+ archivedAt: zod.z.string().describe("Archive timestamp or null if active").nullable().optional(),
15
+ attributes: zod.z.array(zod.z.union([
16
+ zod.z.string(),
17
+ zod.z.number().int(),
18
+ zod.z.number(),
19
+ zod.z.boolean()
20
+ ]).nullable()).describe("Collection row attributes").optional(),
21
+ reviewState: zod.z.string().describe("Verification status - 'Verified', 'Outdated', or 'VerificationRequested'").nullable().optional(),
22
+ parentNoteId: zod.z.string().describe("Parent note's identifier").nullable().optional()
23
+ }).describe("Model representing a note object.");
24
+ const SliteGetNoteChildrenOutput = zod.z.object({
25
+ notes: zod.z.array(SliteGetNoteChildren_NoteSchema).describe("Collection of note objects"),
26
+ total: zod.z.number().int().describe("Total number of children"),
27
+ nextCursor: zod.z.string().describe("Next cursor to continue fetching the paginated children").nullable().optional(),
28
+ hasNextPage: zod.z.boolean().describe("Indicates if there is another page to fetch")
29
+ }).describe("Response model for paginated note children.");
30
+ const sliteGetNoteChildren = require_action.action("SLITE_GET_NOTE_CHILDREN", {
31
+ slug: "slite-get-note-children",
32
+ name: "Get Note Children",
33
+ description: "Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.",
34
+ input: SliteGetNoteChildrenInput,
35
+ output: SliteGetNoteChildrenOutput
36
+ });
37
+ //#endregion
38
+ exports.sliteGetNoteChildren = sliteGetNoteChildren;
39
+
40
+ //# sourceMappingURL=get-note-children.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-note-children.cjs","names":["z","action"],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteChildrenInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Note identifier\"),\n url: z.string().describe(\"Note URL\"),\n title: z.string().describe(\"Note title\"),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\"),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput: z.ZodTypeAny = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\"),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\"),\n}).describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU;CACnC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;CACvC,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,4BAA4B;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;AACjF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-note-children.d.ts
4
+ declare const SliteGetNoteChildrenInput: z.ZodTypeAny;
5
+ declare const SliteGetNoteChildrenOutput: z.ZodTypeAny;
6
+ declare const sliteGetNoteChildren: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sliteGetNoteChildren };
9
+ //# sourceMappingURL=get-note-children.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-note-children.d.cts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGkC;AAAA,cAY/D,0BAAA,EAA4B,CAAA,CAAE,UAKe;AAAA,cAE7C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-note-children.d.ts
4
+ declare const SliteGetNoteChildrenInput: z.ZodTypeAny;
5
+ declare const SliteGetNoteChildrenOutput: z.ZodTypeAny;
6
+ declare const sliteGetNoteChildren: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sliteGetNoteChildren };
9
+ //# sourceMappingURL=get-note-children.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-note-children.d.mts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGkC;AAAA,cAY/D,0BAAA,EAA4B,CAAA,CAAE,UAKe;AAAA,cAE7C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,39 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-note-children.ts
4
+ const SliteGetNoteChildrenInput = z.object({
5
+ cursor: z.string().describe("Cursor to use to continue fetching the note children. Only used if current note has more than 50 children").optional(),
6
+ noteId: z.string().describe("Note ID to fetch its children")
7
+ }).describe("Request model for retrieving note children by parent note ID.");
8
+ const SliteGetNoteChildren_NoteSchema = z.object({
9
+ id: z.string().describe("Note identifier"),
10
+ url: z.string().describe("Note URL"),
11
+ title: z.string().describe("Note title"),
12
+ columns: z.array(z.string()).describe("Collection column names").nullable().optional(),
13
+ updatedAt: z.string().describe("Last update timestamp"),
14
+ archivedAt: z.string().describe("Archive timestamp or null if active").nullable().optional(),
15
+ attributes: z.array(z.union([
16
+ z.string(),
17
+ z.number().int(),
18
+ z.number(),
19
+ z.boolean()
20
+ ]).nullable()).describe("Collection row attributes").optional(),
21
+ reviewState: z.string().describe("Verification status - 'Verified', 'Outdated', or 'VerificationRequested'").nullable().optional(),
22
+ parentNoteId: z.string().describe("Parent note's identifier").nullable().optional()
23
+ }).describe("Model representing a note object.");
24
+ const sliteGetNoteChildren = action("SLITE_GET_NOTE_CHILDREN", {
25
+ slug: "slite-get-note-children",
26
+ name: "Get Note Children",
27
+ description: "Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.",
28
+ input: SliteGetNoteChildrenInput,
29
+ output: z.object({
30
+ notes: z.array(SliteGetNoteChildren_NoteSchema).describe("Collection of note objects"),
31
+ total: z.number().int().describe("Total number of children"),
32
+ nextCursor: z.string().describe("Next cursor to continue fetching the paginated children").nullable().optional(),
33
+ hasNextPage: z.boolean().describe("Indicates if there is another page to fetch")
34
+ }).describe("Response model for paginated note children.")
35
+ });
36
+ //#endregion
37
+ export { sliteGetNoteChildren };
38
+
39
+ //# sourceMappingURL=get-note-children.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-note-children.mjs","names":[],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteChildrenInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Note identifier\"),\n url: z.string().describe(\"Note URL\"),\n title: z.string().describe(\"Note title\"),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\"),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput: z.ZodTypeAny = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\"),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\"),\n}).describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU;CACnC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;CACvC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACtD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,MAAM,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAQ/C,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsD,EAAE,OAAO;EAC/D,OAAO,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,4BAA4B;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CACjF,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -0,0 +1,33 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_ask_question = require("./ask-question.cjs");
3
+ const require_create_note = require("./create-note.cjs");
4
+ const require_delete_note_by_id = require("./delete-note-by-id.cjs");
5
+ const require_flag_note_as_outdated = require("./flag-note-as-outdated.cjs");
6
+ const require_get_authenticated_user = require("./get-authenticated-user.cjs");
7
+ const require_get_note_by_id = require("./get-note-by-id.cjs");
8
+ const require_get_note_children = require("./get-note-children.cjs");
9
+ const require_list_notes = require("./list-notes.cjs");
10
+ const require_search_groups = require("./search-groups.cjs");
11
+ const require_search_notes = require("./search-notes.cjs");
12
+ const require_search_users = require("./search-users.cjs");
13
+ const require_update_note = require("./update-note.cjs");
14
+ const require_update_note_archived_state = require("./update-note-archived-state.cjs");
15
+ const require_update_note_owner = require("./update-note-owner.cjs");
16
+ const require_update_tile = require("./update-tile.cjs");
17
+ const require_verify_note = require("./verify-note.cjs");
18
+ exports.sliteAskQuestion = require_ask_question.sliteAskQuestion;
19
+ exports.sliteCreateNote = require_create_note.sliteCreateNote;
20
+ exports.sliteDeleteNoteById = require_delete_note_by_id.sliteDeleteNoteById;
21
+ exports.sliteFlagNoteAsOutdated = require_flag_note_as_outdated.sliteFlagNoteAsOutdated;
22
+ exports.sliteGetAuthenticatedUser = require_get_authenticated_user.sliteGetAuthenticatedUser;
23
+ exports.sliteGetNoteById = require_get_note_by_id.sliteGetNoteById;
24
+ exports.sliteGetNoteChildren = require_get_note_children.sliteGetNoteChildren;
25
+ exports.sliteListNotes = require_list_notes.sliteListNotes;
26
+ exports.sliteSearchGroups = require_search_groups.sliteSearchGroups;
27
+ exports.sliteSearchNotes = require_search_notes.sliteSearchNotes;
28
+ exports.sliteSearchUsers = require_search_users.sliteSearchUsers;
29
+ exports.sliteUpdateNote = require_update_note.sliteUpdateNote;
30
+ exports.sliteUpdateNoteArchivedState = require_update_note_archived_state.sliteUpdateNoteArchivedState;
31
+ exports.sliteUpdateNoteOwner = require_update_note_owner.sliteUpdateNoteOwner;
32
+ exports.sliteUpdateTile = require_update_tile.sliteUpdateTile;
33
+ exports.sliteVerifyNote = require_verify_note.sliteVerifyNote;
@@ -0,0 +1,17 @@
1
+ import { sliteAskQuestion } from "./ask-question.cjs";
2
+ import { sliteCreateNote } from "./create-note.cjs";
3
+ import { sliteDeleteNoteById } from "./delete-note-by-id.cjs";
4
+ import { sliteFlagNoteAsOutdated } from "./flag-note-as-outdated.cjs";
5
+ import { sliteGetAuthenticatedUser } from "./get-authenticated-user.cjs";
6
+ import { sliteGetNoteById } from "./get-note-by-id.cjs";
7
+ import { sliteGetNoteChildren } from "./get-note-children.cjs";
8
+ import { sliteListNotes } from "./list-notes.cjs";
9
+ import { sliteSearchGroups } from "./search-groups.cjs";
10
+ import { sliteSearchNotes } from "./search-notes.cjs";
11
+ import { sliteSearchUsers } from "./search-users.cjs";
12
+ import { sliteUpdateNote } from "./update-note.cjs";
13
+ import { sliteUpdateNoteArchivedState } from "./update-note-archived-state.cjs";
14
+ import { sliteUpdateNoteOwner } from "./update-note-owner.cjs";
15
+ import { sliteUpdateTile } from "./update-tile.cjs";
16
+ import { sliteVerifyNote } from "./verify-note.cjs";
17
+ export { sliteAskQuestion, sliteCreateNote, sliteDeleteNoteById, sliteFlagNoteAsOutdated, sliteGetAuthenticatedUser, sliteGetNoteById, sliteGetNoteChildren, sliteListNotes, sliteSearchGroups, sliteSearchNotes, sliteSearchUsers, sliteUpdateNote, sliteUpdateNoteArchivedState, sliteUpdateNoteOwner, sliteUpdateTile, sliteVerifyNote };
@@ -0,0 +1,17 @@
1
+ import { sliteAskQuestion } from "./ask-question.mjs";
2
+ import { sliteCreateNote } from "./create-note.mjs";
3
+ import { sliteDeleteNoteById } from "./delete-note-by-id.mjs";
4
+ import { sliteFlagNoteAsOutdated } from "./flag-note-as-outdated.mjs";
5
+ import { sliteGetAuthenticatedUser } from "./get-authenticated-user.mjs";
6
+ import { sliteGetNoteById } from "./get-note-by-id.mjs";
7
+ import { sliteGetNoteChildren } from "./get-note-children.mjs";
8
+ import { sliteListNotes } from "./list-notes.mjs";
9
+ import { sliteSearchGroups } from "./search-groups.mjs";
10
+ import { sliteSearchNotes } from "./search-notes.mjs";
11
+ import { sliteSearchUsers } from "./search-users.mjs";
12
+ import { sliteUpdateNote } from "./update-note.mjs";
13
+ import { sliteUpdateNoteArchivedState } from "./update-note-archived-state.mjs";
14
+ import { sliteUpdateNoteOwner } from "./update-note-owner.mjs";
15
+ import { sliteUpdateTile } from "./update-tile.mjs";
16
+ import { sliteVerifyNote } from "./verify-note.mjs";
17
+ export { sliteAskQuestion, sliteCreateNote, sliteDeleteNoteById, sliteFlagNoteAsOutdated, sliteGetAuthenticatedUser, sliteGetNoteById, sliteGetNoteChildren, sliteListNotes, sliteSearchGroups, sliteSearchNotes, sliteSearchUsers, sliteUpdateNote, sliteUpdateNoteArchivedState, sliteUpdateNoteOwner, sliteUpdateTile, sliteVerifyNote };
@@ -0,0 +1,17 @@
1
+ import { sliteAskQuestion } from "./ask-question.mjs";
2
+ import { sliteCreateNote } from "./create-note.mjs";
3
+ import { sliteDeleteNoteById } from "./delete-note-by-id.mjs";
4
+ import { sliteFlagNoteAsOutdated } from "./flag-note-as-outdated.mjs";
5
+ import { sliteGetAuthenticatedUser } from "./get-authenticated-user.mjs";
6
+ import { sliteGetNoteById } from "./get-note-by-id.mjs";
7
+ import { sliteGetNoteChildren } from "./get-note-children.mjs";
8
+ import { sliteListNotes } from "./list-notes.mjs";
9
+ import { sliteSearchGroups } from "./search-groups.mjs";
10
+ import { sliteSearchNotes } from "./search-notes.mjs";
11
+ import { sliteSearchUsers } from "./search-users.mjs";
12
+ import { sliteUpdateNote } from "./update-note.mjs";
13
+ import { sliteUpdateNoteArchivedState } from "./update-note-archived-state.mjs";
14
+ import { sliteUpdateNoteOwner } from "./update-note-owner.mjs";
15
+ import { sliteUpdateTile } from "./update-tile.mjs";
16
+ import { sliteVerifyNote } from "./verify-note.mjs";
17
+ export { sliteAskQuestion, sliteCreateNote, sliteDeleteNoteById, sliteFlagNoteAsOutdated, sliteGetAuthenticatedUser, sliteGetNoteById, sliteGetNoteChildren, sliteListNotes, sliteSearchGroups, sliteSearchNotes, sliteSearchUsers, sliteUpdateNote, sliteUpdateNoteArchivedState, sliteUpdateNoteOwner, sliteUpdateTile, sliteVerifyNote };
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-notes.ts
4
+ const SliteListNotesInput = zod.z.object({
5
+ cursor: zod.z.string().describe("Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.").optional(),
6
+ ownerId: zod.z.string().describe("User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.").optional()
7
+ }).describe("Request model for listing notes with optional filtering by owner.");
8
+ const SliteListNotes_NoteSchema = zod.z.object({
9
+ id: zod.z.string().describe("Note identifier."),
10
+ url: zod.z.string().describe("Note URL."),
11
+ title: zod.z.string().describe("Note title."),
12
+ updatedAt: zod.z.string().describe("Last update timestamp in ISO 8601 date-time format."),
13
+ archivedAt: zod.z.string().describe("Archive timestamp in ISO 8601 date-time format, or null if not archived.").nullable().optional(),
14
+ parentNoteId: zod.z.string().describe("Parent note identifier.").nullable().optional()
15
+ }).describe("Model representing a single note in the response.");
16
+ const SliteListNotesOutput = zod.z.object({
17
+ notes: zod.z.array(SliteListNotes_NoteSchema).describe("Array of Note objects matching the filter criteria."),
18
+ total: zod.z.number().describe("Total number of notes."),
19
+ nextCursor: zod.z.string().describe("Cursor to continue fetching the next page of notes, or null if no more pages exist.").nullable().optional(),
20
+ hasNextPage: zod.z.boolean().describe("Indicates whether there is another page to fetch.")
21
+ }).describe("Response model for listing notes with pagination information.");
22
+ const sliteListNotes = require_action.action("SLITE_LIST_NOTES", {
23
+ slug: "slite-list-notes",
24
+ name: "List Notes",
25
+ description: "Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.",
26
+ input: SliteListNotesInput,
27
+ output: SliteListNotesOutput
28
+ });
29
+ //#endregion
30
+ exports.sliteListNotes = sliteListNotes;
31
+
32
+ //# sourceMappingURL=list-notes.cjs.map
@@ -0,0 +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 SliteListNotesInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Note identifier.\"),\n url: z.string().describe(\"Note URL.\"),\n title: z.string().describe(\"Note title.\"),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\"),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput: z.ZodTypeAny = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\"),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\"),\n}).describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4BAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC1C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACpC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACxC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,qDAAqD;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;AACvF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-notes.d.ts
4
+ declare const SliteListNotesInput: z.ZodTypeAny;
5
+ declare const SliteListNotesOutput: z.ZodTypeAny;
6
+ declare const sliteListNotes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sliteListNotes };
9
+ //# sourceMappingURL=list-notes.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-notes.d.cts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAG4C;AAAA,cASnE,oBAAA,EAAsB,CAAA,CAAE,UAKuC;AAAA,cAE/D,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-notes.d.ts
4
+ declare const SliteListNotesInput: z.ZodTypeAny;
5
+ declare const SliteListNotesOutput: z.ZodTypeAny;
6
+ declare const sliteListNotes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sliteListNotes };
9
+ //# sourceMappingURL=list-notes.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-notes.d.mts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAG4C;AAAA,cASnE,oBAAA,EAAsB,CAAA,CAAE,UAKuC;AAAA,cAE/D,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-notes.ts
4
+ const SliteListNotesInput = z.object({
5
+ cursor: z.string().describe("Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.").optional(),
6
+ ownerId: z.string().describe("User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.").optional()
7
+ }).describe("Request model for listing notes with optional filtering by owner.");
8
+ const SliteListNotes_NoteSchema = z.object({
9
+ id: z.string().describe("Note identifier."),
10
+ url: z.string().describe("Note URL."),
11
+ title: z.string().describe("Note title."),
12
+ updatedAt: z.string().describe("Last update timestamp in ISO 8601 date-time format."),
13
+ archivedAt: z.string().describe("Archive timestamp in ISO 8601 date-time format, or null if not archived.").nullable().optional(),
14
+ parentNoteId: z.string().describe("Parent note identifier.").nullable().optional()
15
+ }).describe("Model representing a single note in the response.");
16
+ const sliteListNotes = action("SLITE_LIST_NOTES", {
17
+ slug: "slite-list-notes",
18
+ name: "List Notes",
19
+ description: "Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.",
20
+ input: SliteListNotesInput,
21
+ output: z.object({
22
+ notes: z.array(SliteListNotes_NoteSchema).describe("Array of Note objects matching the filter criteria."),
23
+ total: z.number().describe("Total number of notes."),
24
+ nextCursor: z.string().describe("Cursor to continue fetching the next page of notes, or null if no more pages exist.").nullable().optional(),
25
+ hasNextPage: z.boolean().describe("Indicates whether there is another page to fetch.")
26
+ }).describe("Response model for listing notes with pagination information.")
27
+ });
28
+ //#endregion
29
+ export { sliteListNotes };
30
+
31
+ //# sourceMappingURL=list-notes.mjs.map
@@ -0,0 +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 SliteListNotesInput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Note identifier.\"),\n url: z.string().describe(\"Note URL.\"),\n title: z.string().describe(\"Note title.\"),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\"),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput: z.ZodTypeAny = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\"),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\"),\n}).describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4BAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC1C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACpC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACxC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAQ/D,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZgD,EAAE,OAAO;EACzD,OAAO,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,qDAAqD;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;CACvF,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/search-groups.ts
4
+ const SliteSearchGroupsInput = zod.z.object({
5
+ query: zod.z.string().describe("Search query to match against group names"),
6
+ cursor: zod.z.string().describe("Cursor to use to continue fetching groups for pagination").optional()
7
+ }).describe("Request model for searching groups by name.");
8
+ const SliteSearchGroups_GroupSchema = zod.z.object({
9
+ id: zod.z.string().describe("Unique identifier for the group"),
10
+ name: zod.z.string().describe("Name of the group"),
11
+ description: zod.z.string().describe("Description of the group")
12
+ }).describe("A group object containing group details.");
13
+ const SliteSearchGroupsOutput = zod.z.object({
14
+ total: zod.z.number().describe("Total count of groups matching the query"),
15
+ groups: zod.z.array(SliteSearchGroups_GroupSchema).describe("List of groups matching the search query"),
16
+ nextCursor: zod.z.string().describe("Cursor for the next page, null if no more pages").nullable().optional(),
17
+ hasNextPage: zod.z.boolean().describe("Whether there are more results available")
18
+ }).describe("Response model for searching groups.");
19
+ const sliteSearchGroups = require_action.action("SLITE_SEARCH_GROUPS", {
20
+ slug: "slite-search-groups",
21
+ name: "Search Groups",
22
+ description: "Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.",
23
+ input: SliteSearchGroupsInput,
24
+ output: SliteSearchGroupsOutput
25
+ });
26
+ //#endregion
27
+ exports.sliteSearchGroups = sliteSearchGroups;
28
+
29
+ //# sourceMappingURL=search-groups.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-groups.cjs","names":["z","action"],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchGroupsInput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the group\"),\n name: z.string().describe(\"Name of the group\"),\n description: z.string().describe(\"Description of the group\"),\n}).describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput: z.ZodTypeAny = z.object({\n total: z.number().describe(\"Total count of groups matching the query\"),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\"),\n}).describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AAC7D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACrE,QAAQA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;AAC9E,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-groups.d.ts
4
+ declare const SliteSearchGroupsInput: z.ZodTypeAny;
5
+ declare const SliteSearchGroupsOutput: z.ZodTypeAny;
6
+ declare const sliteSearchGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sliteSearchGroups };
9
+ //# sourceMappingURL=search-groups.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-groups.d.cts","names":[],"sources":["../../src/actions/search-groups.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGmB;AAAA,cAM7C,uBAAA,EAAyB,CAAA,CAAE,UAKW;AAAA,cAEtC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-groups.d.ts
4
+ declare const SliteSearchGroupsInput: z.ZodTypeAny;
5
+ declare const SliteSearchGroupsOutput: z.ZodTypeAny;
6
+ declare const sliteSearchGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sliteSearchGroups };
9
+ //# sourceMappingURL=search-groups.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-groups.d.mts","names":[],"sources":["../../src/actions/search-groups.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGmB;AAAA,cAM7C,uBAAA,EAAyB,CAAA,CAAE,UAKW;AAAA,cAEtC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/search-groups.ts
4
+ const SliteSearchGroupsInput = z.object({
5
+ query: z.string().describe("Search query to match against group names"),
6
+ cursor: z.string().describe("Cursor to use to continue fetching groups for pagination").optional()
7
+ }).describe("Request model for searching groups by name.");
8
+ const SliteSearchGroups_GroupSchema = z.object({
9
+ id: z.string().describe("Unique identifier for the group"),
10
+ name: z.string().describe("Name of the group"),
11
+ description: z.string().describe("Description of the group")
12
+ }).describe("A group object containing group details.");
13
+ const sliteSearchGroups = action("SLITE_SEARCH_GROUPS", {
14
+ slug: "slite-search-groups",
15
+ name: "Search Groups",
16
+ description: "Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.",
17
+ input: SliteSearchGroupsInput,
18
+ output: z.object({
19
+ total: z.number().describe("Total count of groups matching the query"),
20
+ groups: z.array(SliteSearchGroups_GroupSchema).describe("List of groups matching the search query"),
21
+ nextCursor: z.string().describe("Cursor for the next page, null if no more pages").nullable().optional(),
22
+ hasNextPage: z.boolean().describe("Whether there are more results available")
23
+ }).describe("Response model for searching groups.")
24
+ });
25
+ //#endregion
26
+ export { sliteSearchGroups };
27
+
28
+ //# sourceMappingURL=search-groups.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-groups.mjs","names":[],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchGroupsInput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the group\"),\n name: z.string().describe(\"Name of the group\"),\n description: z.string().describe(\"Description of the group\"),\n}).describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput: z.ZodTypeAny = z.object({\n total: z.number().describe(\"Total count of groups matching the query\"),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\"),\n}).describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AAC7D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAQtD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZmD,EAAE,OAAO;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACrE,QAAQ,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC9E,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -0,0 +1,58 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/search-notes.ts
4
+ const SliteSearchNotesInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Pagination control for results. Minimum value: 0.").optional(),
6
+ depth: zod.z.number().int().describe("Filters results by note hierarchy level.").optional(),
7
+ query: zod.z.string().describe("Search term for note lookup. Defaults to empty string if not provided.").optional(),
8
+ hitsPerPage: zod.z.number().int().describe("Number of results per page. Range: 1-100.").optional(),
9
+ reviewState: zod.z.enum([
10
+ "Verified",
11
+ "Outdated",
12
+ "VerificationRequested"
13
+ ]).describe("Filters by review status.").optional(),
14
+ parentNoteId: zod.z.string().describe("Filters results to notes under a specific parent note.").optional(),
15
+ highlightPreTag: zod.z.string().describe("Opening HTML/text tag for highlighting query matches in results.").optional(),
16
+ includeArchived: zod.z.boolean().describe("When true, includes archived notes in results. Defaults to false.").optional(),
17
+ lastEditedAfter: zod.z.string().describe("Returns only notes modified after the specified date (ISO 8601 date-time format).").optional(),
18
+ highlightPostTag: zod.z.string().describe("Closing HTML/text tag for highlighting query matches in results.").optional()
19
+ }).describe("Request model for searching notes.");
20
+ const SliteSearchNotes_ParentNoteSchema = zod.z.object({
21
+ id: zod.z.string().describe("Parent note ID"),
22
+ title: zod.z.string().describe("Parent note title")
23
+ }).describe("Parent note in the breadcrumb hierarchy.");
24
+ const SliteSearchNotes_SearchNoteHitSchema = zod.z.object({
25
+ id: zod.z.string().describe("Unique note identifier"),
26
+ type: zod.z.enum([
27
+ "rich_text",
28
+ "discussion",
29
+ "collection"
30
+ ]).describe("Note type"),
31
+ title: zod.z.string().describe("Note title"),
32
+ highlight: zod.z.string().describe("Part of the note content that matched the query (empty string when only title matches)"),
33
+ updatedAt: zod.z.string().describe("Last update timestamp"),
34
+ archivedAt: zod.z.string().describe("Archive timestamp if note is archived").nullable().optional(),
35
+ parentNotes: zod.z.array(SliteSearchNotes_ParentNoteSchema).describe("Breadcrumb hierarchy of parent notes").nullable().optional(),
36
+ reviewState: zod.z.enum([
37
+ "Verified",
38
+ "Outdated",
39
+ "VerificationRequested"
40
+ ]).describe("Review status of the note").nullable().optional(),
41
+ lastEditedAt: zod.z.string().describe("Last edit timestamp")
42
+ }).describe("A single search result hit.");
43
+ const SliteSearchNotesOutput = zod.z.object({
44
+ hits: zod.z.array(SliteSearchNotes_SearchNoteHitSchema).describe("Array of matching notes").nullable().optional(),
45
+ page: zod.z.number().describe("Current page number"),
46
+ nbPages: zod.z.number().describe("Total number of pages available for the current query")
47
+ }).describe("Response model for search notes action.");
48
+ const sliteSearchNotes = require_action.action("SLITE_SEARCH_NOTES", {
49
+ slug: "slite-search-notes",
50
+ name: "Search Notes",
51
+ description: "Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.",
52
+ input: SliteSearchNotesInput,
53
+ output: SliteSearchNotesOutput
54
+ });
55
+ //#endregion
56
+ exports.sliteSearchNotes = sliteSearchNotes;
57
+
58
+ //# sourceMappingURL=search-notes.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-notes.cjs","names":["z","action"],"sources":["../../src/actions/search-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchNotesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Pagination control for results. Minimum value: 0.\").optional(),\n depth: z.number().int().describe(\"Filters results by note hierarchy level.\").optional(),\n query: z.string().describe(\"Search term for note lookup. Defaults to empty string if not provided.\").optional(),\n hitsPerPage: z.number().int().describe(\"Number of results per page. Range: 1-100.\").optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Filters by review status.\").optional(),\n parentNoteId: z.string().describe(\"Filters results to notes under a specific parent note.\").optional(),\n highlightPreTag: z.string().describe(\"Opening HTML/text tag for highlighting query matches in results.\").optional(),\n includeArchived: z.boolean().describe(\"When true, includes archived notes in results. Defaults to false.\").optional(),\n lastEditedAfter: z.string().describe(\"Returns only notes modified after the specified date (ISO 8601 date-time format).\").optional(),\n highlightPostTag: z.string().describe(\"Closing HTML/text tag for highlighting query matches in results.\").optional(),\n}).describe(\"Request model for searching notes.\");\nconst SliteSearchNotes_ParentNoteSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Parent note ID\"),\n title: z.string().describe(\"Parent note title\"),\n}).describe(\"Parent note in the breadcrumb hierarchy.\");\nconst SliteSearchNotes_SearchNoteHitSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique note identifier\"),\n type: z.enum([\"rich_text\", \"discussion\", \"collection\"]).describe(\"Note type\"),\n title: z.string().describe(\"Note title\"),\n highlight: z.string().describe(\"Part of the note content that matched the query (empty string when only title matches)\"),\n updatedAt: z.string().describe(\"Last update timestamp\"),\n archivedAt: z.string().describe(\"Archive timestamp if note is archived\").nullable().optional(),\n parentNotes: z.array(SliteSearchNotes_ParentNoteSchema).describe(\"Breadcrumb hierarchy of parent notes\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review status of the note\").nullable().optional(),\n lastEditedAt: z.string().describe(\"Last edit timestamp\"),\n}).describe(\"A single search result hit.\");\nexport const SliteSearchNotesOutput: z.ZodTypeAny = z.object({\n hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe(\"Array of matching notes\").nullable().optional(),\n page: z.number().describe(\"Current page number\"),\n nbPages: z.number().describe(\"Total number of pages available for the current query\"),\n}).describe(\"Response model for search notes action.\");\n\nexport const sliteSearchNotes = action(\"SLITE_SEARCH_NOTES\", {\n slug: \"slite-search-notes\",\n name: \"Search Notes\",\n description: \"Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.\",\n input: SliteSearchNotesInput,\n output: SliteSearchNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACpH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACnI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CACxC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AAChD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,WAAW;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;CACvC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AACzD,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACtF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-notes.d.ts
4
+ declare const SliteSearchNotesInput: z.ZodTypeAny;
5
+ declare const SliteSearchNotesOutput: z.ZodTypeAny;
6
+ declare const sliteSearchNotes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sliteSearchNotes };
9
+ //# sourceMappingURL=search-notes.d.cts.map