@keystrokehq/slite 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.
Files changed (141) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/ask-question.cjs +1 -0
  4. package/dist/actions/ask-question.cjs.map +1 -1
  5. package/dist/actions/ask-question.d.cts +3 -5
  6. package/dist/actions/ask-question.d.cts.map +1 -1
  7. package/dist/actions/ask-question.d.mts +3 -5
  8. package/dist/actions/ask-question.d.mts.map +1 -1
  9. package/dist/actions/ask-question.mjs +1 -0
  10. package/dist/actions/ask-question.mjs.map +1 -1
  11. package/dist/actions/create-note.cjs +1 -0
  12. package/dist/actions/create-note.cjs.map +1 -1
  13. package/dist/actions/create-note.d.cts +3 -8
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +3 -8
  16. package/dist/actions/create-note.d.mts.map +1 -1
  17. package/dist/actions/create-note.mjs +1 -0
  18. package/dist/actions/create-note.mjs.map +1 -1
  19. package/dist/actions/delete-note-by-id.cjs +1 -0
  20. package/dist/actions/delete-note-by-id.cjs.map +1 -1
  21. package/dist/actions/delete-note-by-id.d.cts +3 -3
  22. package/dist/actions/delete-note-by-id.d.cts.map +1 -1
  23. package/dist/actions/delete-note-by-id.d.mts +3 -3
  24. package/dist/actions/delete-note-by-id.d.mts.map +1 -1
  25. package/dist/actions/delete-note-by-id.mjs +1 -0
  26. package/dist/actions/delete-note-by-id.mjs.map +1 -1
  27. package/dist/actions/flag-note-as-outdated.cjs +1 -0
  28. package/dist/actions/flag-note-as-outdated.cjs.map +1 -1
  29. package/dist/actions/flag-note-as-outdated.d.cts +3 -4
  30. package/dist/actions/flag-note-as-outdated.d.cts.map +1 -1
  31. package/dist/actions/flag-note-as-outdated.d.mts +3 -4
  32. package/dist/actions/flag-note-as-outdated.d.mts.map +1 -1
  33. package/dist/actions/flag-note-as-outdated.mjs +1 -0
  34. package/dist/actions/flag-note-as-outdated.mjs.map +1 -1
  35. package/dist/actions/get-authenticated-user.cjs +1 -0
  36. package/dist/actions/get-authenticated-user.cjs.map +1 -1
  37. package/dist/actions/get-authenticated-user.d.cts +3 -1
  38. package/dist/actions/get-authenticated-user.d.cts.map +1 -1
  39. package/dist/actions/get-authenticated-user.d.mts +3 -1
  40. package/dist/actions/get-authenticated-user.d.mts.map +1 -1
  41. package/dist/actions/get-authenticated-user.mjs +1 -0
  42. package/dist/actions/get-authenticated-user.mjs.map +1 -1
  43. package/dist/actions/get-note-by-id.cjs +1 -0
  44. package/dist/actions/get-note-by-id.cjs.map +1 -1
  45. package/dist/actions/get-note-by-id.d.cts +3 -4
  46. package/dist/actions/get-note-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-note-by-id.d.mts +3 -4
  48. package/dist/actions/get-note-by-id.d.mts.map +1 -1
  49. package/dist/actions/get-note-by-id.mjs +1 -0
  50. package/dist/actions/get-note-by-id.mjs.map +1 -1
  51. package/dist/actions/get-note-children.cjs +1 -0
  52. package/dist/actions/get-note-children.cjs.map +1 -1
  53. package/dist/actions/get-note-children.d.cts +3 -4
  54. package/dist/actions/get-note-children.d.cts.map +1 -1
  55. package/dist/actions/get-note-children.d.mts +3 -4
  56. package/dist/actions/get-note-children.d.mts.map +1 -1
  57. package/dist/actions/get-note-children.mjs +1 -0
  58. package/dist/actions/get-note-children.mjs.map +1 -1
  59. package/dist/actions/list-notes.cjs +1 -0
  60. package/dist/actions/list-notes.cjs.map +1 -1
  61. package/dist/actions/list-notes.d.cts +3 -4
  62. package/dist/actions/list-notes.d.cts.map +1 -1
  63. package/dist/actions/list-notes.d.mts +3 -4
  64. package/dist/actions/list-notes.d.mts.map +1 -1
  65. package/dist/actions/list-notes.mjs +1 -0
  66. package/dist/actions/list-notes.mjs.map +1 -1
  67. package/dist/actions/search-groups.cjs +1 -0
  68. package/dist/actions/search-groups.cjs.map +1 -1
  69. package/dist/actions/search-groups.d.cts +3 -4
  70. package/dist/actions/search-groups.d.cts.map +1 -1
  71. package/dist/actions/search-groups.d.mts +3 -4
  72. package/dist/actions/search-groups.d.mts.map +1 -1
  73. package/dist/actions/search-groups.mjs +1 -0
  74. package/dist/actions/search-groups.mjs.map +1 -1
  75. package/dist/actions/search-notes.cjs +1 -0
  76. package/dist/actions/search-notes.cjs.map +1 -1
  77. package/dist/actions/search-notes.d.cts +3 -12
  78. package/dist/actions/search-notes.d.cts.map +1 -1
  79. package/dist/actions/search-notes.d.mts +3 -12
  80. package/dist/actions/search-notes.d.mts.map +1 -1
  81. package/dist/actions/search-notes.mjs +1 -0
  82. package/dist/actions/search-notes.mjs.map +1 -1
  83. package/dist/actions/search-users.cjs +1 -0
  84. package/dist/actions/search-users.cjs.map +1 -1
  85. package/dist/actions/search-users.d.cts +3 -5
  86. package/dist/actions/search-users.d.cts.map +1 -1
  87. package/dist/actions/search-users.d.mts +3 -5
  88. package/dist/actions/search-users.d.mts.map +1 -1
  89. package/dist/actions/search-users.mjs +1 -0
  90. package/dist/actions/search-users.mjs.map +1 -1
  91. package/dist/actions/update-note-archived-state.cjs +1 -0
  92. package/dist/actions/update-note-archived-state.cjs.map +1 -1
  93. package/dist/actions/update-note-archived-state.d.cts +3 -4
  94. package/dist/actions/update-note-archived-state.d.cts.map +1 -1
  95. package/dist/actions/update-note-archived-state.d.mts +3 -4
  96. package/dist/actions/update-note-archived-state.d.mts.map +1 -1
  97. package/dist/actions/update-note-archived-state.mjs +1 -0
  98. package/dist/actions/update-note-archived-state.mjs.map +1 -1
  99. package/dist/actions/update-note-owner.cjs +1 -0
  100. package/dist/actions/update-note-owner.cjs.map +1 -1
  101. package/dist/actions/update-note-owner.d.cts +3 -5
  102. package/dist/actions/update-note-owner.d.cts.map +1 -1
  103. package/dist/actions/update-note-owner.d.mts +3 -5
  104. package/dist/actions/update-note-owner.d.mts.map +1 -1
  105. package/dist/actions/update-note-owner.mjs +1 -0
  106. package/dist/actions/update-note-owner.mjs.map +1 -1
  107. package/dist/actions/update-note.cjs +1 -0
  108. package/dist/actions/update-note.cjs.map +1 -1
  109. package/dist/actions/update-note.d.cts +3 -7
  110. package/dist/actions/update-note.d.cts.map +1 -1
  111. package/dist/actions/update-note.d.mts +3 -7
  112. package/dist/actions/update-note.d.mts.map +1 -1
  113. package/dist/actions/update-note.mjs +1 -0
  114. package/dist/actions/update-note.mjs.map +1 -1
  115. package/dist/actions/update-tile.cjs +1 -0
  116. package/dist/actions/update-tile.cjs.map +1 -1
  117. package/dist/actions/update-tile.d.cts +3 -12
  118. package/dist/actions/update-tile.d.cts.map +1 -1
  119. package/dist/actions/update-tile.d.mts +3 -12
  120. package/dist/actions/update-tile.d.mts.map +1 -1
  121. package/dist/actions/update-tile.mjs +1 -0
  122. package/dist/actions/update-tile.mjs.map +1 -1
  123. package/dist/actions/verify-note.cjs +1 -0
  124. package/dist/actions/verify-note.cjs.map +1 -1
  125. package/dist/actions/verify-note.d.cts +3 -4
  126. package/dist/actions/verify-note.d.cts.map +1 -1
  127. package/dist/actions/verify-note.d.mts +3 -4
  128. package/dist/actions/verify-note.d.mts.map +1 -1
  129. package/dist/actions/verify-note.mjs +1 -0
  130. package/dist/actions/verify-note.mjs.map +1 -1
  131. package/dist/app.cjs +5 -2
  132. package/dist/app.cjs.map +1 -1
  133. package/dist/app.d.cts +7 -1
  134. package/dist/app.d.cts.map +1 -1
  135. package/dist/app.d.mts +7 -1
  136. package/dist/app.d.mts.map +1 -1
  137. package/dist/app.mjs +3 -2
  138. package/dist/app.mjs.map +1 -1
  139. package/dist/index.d.cts +1 -1
  140. package/dist/index.d.mts +1 -1
  141. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["slite","executeSliteTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { slite } from \"./app\";\nimport { executeSliteTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return slite.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSliteTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["slite","executeSliteTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { slite } from \"./app\";\nimport { executeSliteTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof slite.credential> {\n return slite.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSliteTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { slite } from \"./app\";\nimport { executeSliteTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return slite.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSliteTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { slite } from \"./app\";\nimport { executeSliteTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof slite.credential> {\n return slite.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSliteTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/ask-question.ts
@@ -1 +1 @@
1
- {"version":3,"file":"ask-question.cjs","names":["z","action"],"sources":["../../src/actions/ask-question.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteAskQuestionInput = z.object({\n question: z.string().describe(\"Question to ask on your notes in natural language\"),\n assistantId: z.string().describe(\"Optional filter to use a specific assistant (for super users only)\").optional(),\n parentNoteId: z.string().describe(\"Optional filter to only return notes under this parent note id\").optional(),\n}).describe(\"Request model for asking a question to Slite notes.\");\nconst SliteAskQuestion_SourceSchema = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url of the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n explanation: z.string().describe(\"For super users, gives explanation about the source\").nullable().optional(),\n}).passthrough().describe(\"Source note used for answering the question.\");\nexport const SliteAskQuestionOutput = z.object({\n answer: z.string().describe(\"Answer to the question\").nullable(),\n sources: z.array(SliteAskQuestion_SourceSchema).describe(\"Array of source notes used for the answer\"),\n}).passthrough().describe(\"Response model containing the answer and sources.\");\n\nexport const sliteAskQuestion = action(\"SLITE_ASK_QUESTION\", {\n slug: \"slite-ask-question\",\n name: \"Ask Question\",\n description: \"Tool to ask a question to your Slite notes in natural language. Use when you need to query or search information across your notes. Supports optional filters to narrow results by parent note or specific assistant.\",\n input: SliteAskQuestionInput,\n output: SliteAskQuestionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,2CAA2C;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"ask-question.cjs","names":["z","action"],"sources":["../../src/actions/ask-question.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteAskQuestionInput = z.object({\n question: z.string().describe(\"Question to ask on your notes in natural language\"),\n assistantId: z.string().describe(\"Optional filter to use a specific assistant (for super users only)\").optional(),\n parentNoteId: z.string().describe(\"Optional filter to only return notes under this parent note id\").optional(),\n}).describe(\"Request model for asking a question to Slite notes.\");\nconst SliteAskQuestion_SourceSchema = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url of the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n explanation: z.string().describe(\"For super users, gives explanation about the source\").nullable().optional(),\n}).passthrough().describe(\"Source note used for answering the question.\");\nexport const SliteAskQuestionOutput = z.object({\n answer: z.string().describe(\"Answer to the question\").nullable(),\n sources: z.array(SliteAskQuestion_SourceSchema).describe(\"Array of source notes used for the answer\"),\n}).passthrough().describe(\"Response model containing the answer and sources.\");\n\nexport const sliteAskQuestion: AppAction<\n typeof SliteAskQuestionInput,\n typeof SliteAskQuestionOutput,\n typeof slite.credential\n> = action(\"SLITE_ASK_QUESTION\", {\n slug: \"slite-ask-question\",\n name: \"Ask Question\",\n description: \"Tool to ask a question to your Slite notes in natural language. Use when you need to query or search information across your notes. Supports optional filters to narrow results by parent note or specific assistant.\",\n input: SliteAskQuestionInput,\n output: SliteAskQuestionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,2CAA2C;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/ask-question.d.ts
@@ -16,11 +18,7 @@ declare const SliteAskQuestionOutput: z.ZodObject<{
16
18
  explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const sliteAskQuestion: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- question: string;
21
- assistantId?: string | undefined;
22
- parentNoteId?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const sliteAskQuestion: AppAction<typeof SliteAskQuestionInput, typeof SliteAskQuestionOutput, typeof slite.credential>;
24
22
  //#endregion
25
23
  export { sliteAskQuestion };
26
24
  //# sourceMappingURL=ask-question.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ask-question.d.cts","names":[],"sources":["../../src/actions/ask-question.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAYrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"ask-question.d.cts","names":[],"sources":["../../src/actions/ask-question.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAYrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAKtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/ask-question.d.ts
@@ -16,11 +18,7 @@ declare const SliteAskQuestionOutput: z.ZodObject<{
16
18
  explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const sliteAskQuestion: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- question: string;
21
- assistantId?: string | undefined;
22
- parentNoteId?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const sliteAskQuestion: AppAction<typeof SliteAskQuestionInput, typeof SliteAskQuestionOutput, typeof slite.credential>;
24
22
  //#endregion
25
23
  export { sliteAskQuestion };
26
24
  //# sourceMappingURL=ask-question.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ask-question.d.mts","names":[],"sources":["../../src/actions/ask-question.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAYrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"ask-question.d.mts","names":[],"sources":["../../src/actions/ask-question.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAYrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAKtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/ask-question.ts
@@ -1 +1 @@
1
- {"version":3,"file":"ask-question.mjs","names":[],"sources":["../../src/actions/ask-question.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteAskQuestionInput = z.object({\n question: z.string().describe(\"Question to ask on your notes in natural language\"),\n assistantId: z.string().describe(\"Optional filter to use a specific assistant (for super users only)\").optional(),\n parentNoteId: z.string().describe(\"Optional filter to only return notes under this parent note id\").optional(),\n}).describe(\"Request model for asking a question to Slite notes.\");\nconst SliteAskQuestion_SourceSchema = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url of the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n explanation: z.string().describe(\"For super users, gives explanation about the source\").nullable().optional(),\n}).passthrough().describe(\"Source note used for answering the question.\");\nexport const SliteAskQuestionOutput = z.object({\n answer: z.string().describe(\"Answer to the question\").nullable(),\n sources: z.array(SliteAskQuestion_SourceSchema).describe(\"Array of source notes used for the answer\"),\n}).passthrough().describe(\"Response model containing the answer and sources.\");\n\nexport const sliteAskQuestion = action(\"SLITE_ASK_QUESTION\", {\n slug: \"slite-ask-question\",\n name: \"Ask Question\",\n description: \"Tool to ask a question to your Slite notes in natural language. Use when you need to query or search information across your notes. Supports optional filters to narrow results by parent note or specific assistant.\",\n input: SliteAskQuestionInput,\n output: SliteAskQuestionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAMxE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC/D,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,2CAA2C;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"ask-question.mjs","names":[],"sources":["../../src/actions/ask-question.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteAskQuestionInput = z.object({\n question: z.string().describe(\"Question to ask on your notes in natural language\"),\n assistantId: z.string().describe(\"Optional filter to use a specific assistant (for super users only)\").optional(),\n parentNoteId: z.string().describe(\"Optional filter to only return notes under this parent note id\").optional(),\n}).describe(\"Request model for asking a question to Slite notes.\");\nconst SliteAskQuestion_SourceSchema = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url of the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n explanation: z.string().describe(\"For super users, gives explanation about the source\").nullable().optional(),\n}).passthrough().describe(\"Source note used for answering the question.\");\nexport const SliteAskQuestionOutput = z.object({\n answer: z.string().describe(\"Answer to the question\").nullable(),\n sources: z.array(SliteAskQuestion_SourceSchema).describe(\"Array of source notes used for the answer\"),\n}).passthrough().describe(\"Response model containing the answer and sources.\");\n\nexport const sliteAskQuestion: AppAction<\n typeof SliteAskQuestionInput,\n typeof SliteAskQuestionOutput,\n typeof slite.credential\n> = action(\"SLITE_ASK_QUESTION\", {\n slug: \"slite-ask-question\",\n name: \"Ask Question\",\n description: \"Tool to ask a question to your Slite notes in natural language. Use when you need to query or search information across your notes. Supports optional filters to narrow results by parent note or specific assistant.\",\n input: SliteAskQuestionInput,\n output: SliteAskQuestionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAMxE,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdoC,EAAE,OAAO;EAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC/D,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,2CAA2C;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-note.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-note.cjs","names":["z","action"],"sources":["../../src/actions/create-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteCreateNoteInput = z.object({\n html: z.string().describe(\"Provide HTML content to fill the note.\").optional(),\n title: z.string().describe(\"Title of the note to create.\"),\n markdown: z.string().describe(\"Provide Markdown content to fill the note.\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column. If they don't match the appropriate type, they would be ignored.\").optional(),\n templateId: z.string().describe(\"If you want to apply a template to the created note.\").optional(),\n parentNoteId: z.string().describe(\"Below which other note to create this note. If not specified, the note would be created in your personal channel.\").optional(),\n}).describe(\"Request model for creating a note in Slite.\");\nexport const SliteCreateNoteOutput = z.object({\n id: z.string().describe(\"Id of the note.\").nullable(),\n url: z.string().describe(\"URL to the note.\").nullable(),\n title: z.string().describe(\"Title of the note.\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note.\").nullable(),\n archivedAt: z.string().describe(\"Date of archiving (null if not archived).\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a note in Slite.\");\n\nexport const sliteCreateNote = action(\"SLITE_CREATE_NOTE\", {\n slug: \"slite-create-note\",\n name: \"Create Note\",\n description: \"Tool to create a note from markdown or HTML content with optional template. Use when you need to create a new note in Slite with specified content and title.\",\n input: SliteCreateNoteInput,\n output: SliteCreateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAC9K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-note.cjs","names":["z","action"],"sources":["../../src/actions/create-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteCreateNoteInput = z.object({\n html: z.string().describe(\"Provide HTML content to fill the note.\").optional(),\n title: z.string().describe(\"Title of the note to create.\"),\n markdown: z.string().describe(\"Provide Markdown content to fill the note.\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column. If they don't match the appropriate type, they would be ignored.\").optional(),\n templateId: z.string().describe(\"If you want to apply a template to the created note.\").optional(),\n parentNoteId: z.string().describe(\"Below which other note to create this note. If not specified, the note would be created in your personal channel.\").optional(),\n}).describe(\"Request model for creating a note in Slite.\");\nexport const SliteCreateNoteOutput = z.object({\n id: z.string().describe(\"Id of the note.\").nullable(),\n url: z.string().describe(\"URL to the note.\").nullable(),\n title: z.string().describe(\"Title of the note.\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note.\").nullable(),\n archivedAt: z.string().describe(\"Date of archiving (null if not archived).\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a note in Slite.\");\n\nexport const sliteCreateNote: AppAction<\n typeof SliteCreateNoteInput,\n typeof SliteCreateNoteOutput,\n typeof slite.credential\n> = action(\"SLITE_CREATE_NOTE\", {\n slug: \"slite-create-note\",\n name: \"Create Note\",\n description: \"Tool to create a note from markdown or HTML content with optional template. Use when you need to create a new note in Slite with specified content and title.\",\n input: SliteCreateNoteInput,\n output: SliteCreateNoteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAC9K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-note.d.ts
@@ -17,14 +19,7 @@ declare const SliteCreateNoteOutput: z.ZodObject<{
17
19
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  }, z.core.$loose>;
20
- declare const sliteCreateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- title: string;
22
- html?: string | undefined;
23
- markdown?: string | undefined;
24
- attributes?: string[] | undefined;
25
- templateId?: string | undefined;
26
- parentNoteId?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const sliteCreateNote: AppAction<typeof SliteCreateNoteInput, typeof SliteCreateNoteOutput, typeof slite.credential>;
28
23
  //#endregion
29
24
  export { sliteCreateNote };
30
25
  //# sourceMappingURL=create-note.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-note.d.cts","names":[],"sources":["../../src/actions/create-note.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"create-note.d.cts","names":[],"sources":["../../src/actions/create-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-note.d.ts
@@ -17,14 +19,7 @@ declare const SliteCreateNoteOutput: z.ZodObject<{
17
19
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  }, z.core.$loose>;
20
- declare const sliteCreateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- title: string;
22
- html?: string | undefined;
23
- markdown?: string | undefined;
24
- attributes?: string[] | undefined;
25
- templateId?: string | undefined;
26
- parentNoteId?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const sliteCreateNote: AppAction<typeof SliteCreateNoteInput, typeof SliteCreateNoteOutput, typeof slite.credential>;
28
23
  //#endregion
29
24
  export { sliteCreateNote };
30
25
  //# sourceMappingURL=create-note.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-note.d.mts","names":[],"sources":["../../src/actions/create-note.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"create-note.d.mts","names":[],"sources":["../../src/actions/create-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const sliteCreateNote = action("SLITE_CREATE_NOTE", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-note.mjs","names":[],"sources":["../../src/actions/create-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteCreateNoteInput = z.object({\n html: z.string().describe(\"Provide HTML content to fill the note.\").optional(),\n title: z.string().describe(\"Title of the note to create.\"),\n markdown: z.string().describe(\"Provide Markdown content to fill the note.\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column. If they don't match the appropriate type, they would be ignored.\").optional(),\n templateId: z.string().describe(\"If you want to apply a template to the created note.\").optional(),\n parentNoteId: z.string().describe(\"Below which other note to create this note. If not specified, the note would be created in your personal channel.\").optional(),\n}).describe(\"Request model for creating a note in Slite.\");\nexport const SliteCreateNoteOutput = z.object({\n id: z.string().describe(\"Id of the note.\").nullable(),\n url: z.string().describe(\"URL to the note.\").nullable(),\n title: z.string().describe(\"Title of the note.\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note.\").nullable(),\n archivedAt: z.string().describe(\"Date of archiving (null if not archived).\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a note in Slite.\");\n\nexport const sliteCreateNote = action(\"SLITE_CREATE_NOTE\", {\n slug: \"slite-create-note\",\n name: \"Create Note\",\n description: \"Tool to create a note from markdown or HTML content with optional template. Use when you need to create a new note in Slite with specified content and title.\",\n input: SliteCreateNoteInput,\n output: SliteCreateNoteOutput,\n});\n"],"mappings":";;AAqBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EAC9K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAClK,CAAC,CAAC,CAAC,SAAS,6CAcH;CACP,QAdmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-note.mjs","names":[],"sources":["../../src/actions/create-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteCreateNoteInput = z.object({\n html: z.string().describe(\"Provide HTML content to fill the note.\").optional(),\n title: z.string().describe(\"Title of the note to create.\"),\n markdown: z.string().describe(\"Provide Markdown content to fill the note.\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column. If they don't match the appropriate type, they would be ignored.\").optional(),\n templateId: z.string().describe(\"If you want to apply a template to the created note.\").optional(),\n parentNoteId: z.string().describe(\"Below which other note to create this note. If not specified, the note would be created in your personal channel.\").optional(),\n}).describe(\"Request model for creating a note in Slite.\");\nexport const SliteCreateNoteOutput = z.object({\n id: z.string().describe(\"Id of the note.\").nullable(),\n url: z.string().describe(\"URL to the note.\").nullable(),\n title: z.string().describe(\"Title of the note.\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note.\").nullable(),\n archivedAt: z.string().describe(\"Date of archiving (null if not archived).\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note.\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a note in Slite.\");\n\nexport const sliteCreateNote: AppAction<\n typeof SliteCreateNoteInput,\n typeof SliteCreateNoteOutput,\n typeof slite.credential\n> = action(\"SLITE_CREATE_NOTE\", {\n slug: \"slite-create-note\",\n name: \"Create Note\",\n description: \"Tool to create a note from markdown or HTML content with optional template. Use when you need to create a new note in Slite with specified content and title.\",\n input: SliteCreateNoteInput,\n output: SliteCreateNoteOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EAC9K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAClK,CAAC,CAAC,CAAC,SAAS,6CAkBH;CACP,QAlBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-note-by-id.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-note-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-note-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteDeleteNoteByIdInput = z.object({\n note_id: z.string().describe(\"The unique ID of the note to delete. This will permanently delete the note and all its children.\"),\n}).describe(\"Request model for deleting a note and its children.\");\nexport const SliteDeleteNoteByIdOutput = z.object({\n message: z.string().describe(\"Status message for the deletion operation\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (204 for successful deletion)\").nullable(),\n}).passthrough().describe(\"Response model for delete note action.\");\n\nexport const sliteDeleteNoteById = action(\"SLITE_DELETE_NOTE_BY_ID\", {\n slug: \"slite-delete-note-by-id\",\n name: \"Delete Note By ID\",\n description: \"Tool to permanently delete a note and all its children by ID. Use when you need to remove a note irreversibly. This operation cannot be undone.\",\n input: SliteDeleteNoteByIdInput,\n output: SliteDeleteNoteByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EACjI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-note-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-note-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteDeleteNoteByIdInput = z.object({\n note_id: z.string().describe(\"The unique ID of the note to delete. This will permanently delete the note and all its children.\"),\n}).describe(\"Request model for deleting a note and its children.\");\nexport const SliteDeleteNoteByIdOutput = z.object({\n message: z.string().describe(\"Status message for the deletion operation\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (204 for successful deletion)\").nullable(),\n}).passthrough().describe(\"Response model for delete note action.\");\n\nexport const sliteDeleteNoteById: AppAction<\n typeof SliteDeleteNoteByIdInput,\n typeof SliteDeleteNoteByIdOutput,\n typeof slite.credential\n> = action(\"SLITE_DELETE_NOTE_BY_ID\", {\n slug: \"slite-delete-note-by-id\",\n name: \"Delete Note By ID\",\n description: \"Tool to permanently delete a note and all its children by ID. Use when you need to remove a note irreversibly. This operation cannot be undone.\",\n input: SliteDeleteNoteByIdInput,\n output: SliteDeleteNoteByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EACjI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-note-by-id.d.ts
@@ -8,9 +10,7 @@ declare const SliteDeleteNoteByIdOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  status_code: z.ZodNullable<z.ZodNumber>;
10
12
  }, z.core.$loose>;
11
- declare const sliteDeleteNoteById: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- note_id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const sliteDeleteNoteById: AppAction<typeof SliteDeleteNoteByIdInput, typeof SliteDeleteNoteByIdOutput, typeof slite.credential>;
14
14
  //#endregion
15
15
  export { sliteDeleteNoteById };
16
16
  //# sourceMappingURL=delete-note-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-note-by-id.d.cts","names":[],"sources":["../../src/actions/delete-note-by-id.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"delete-note-by-id.d.cts","names":[],"sources":["../../src/actions/delete-note-by-id.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-note-by-id.d.ts
@@ -8,9 +10,7 @@ declare const SliteDeleteNoteByIdOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  status_code: z.ZodNullable<z.ZodNumber>;
10
12
  }, z.core.$loose>;
11
- declare const sliteDeleteNoteById: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- note_id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const sliteDeleteNoteById: AppAction<typeof SliteDeleteNoteByIdInput, typeof SliteDeleteNoteByIdOutput, typeof slite.credential>;
14
14
  //#endregion
15
15
  export { sliteDeleteNoteById };
16
16
  //# sourceMappingURL=delete-note-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-note-by-id.d.mts","names":[],"sources":["../../src/actions/delete-note-by-id.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"delete-note-by-id.d.mts","names":[],"sources":["../../src/actions/delete-note-by-id.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const sliteDeleteNoteById = action("SLITE_DELETE_NOTE_BY_ID", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-note-by-id.mjs","names":[],"sources":["../../src/actions/delete-note-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteDeleteNoteByIdInput = z.object({\n note_id: z.string().describe(\"The unique ID of the note to delete. This will permanently delete the note and all its children.\"),\n}).describe(\"Request model for deleting a note and its children.\");\nexport const SliteDeleteNoteByIdOutput = z.object({\n message: z.string().describe(\"Status message for the deletion operation\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (204 for successful deletion)\").nullable(),\n}).passthrough().describe(\"Response model for delete note action.\");\n\nexport const sliteDeleteNoteById = action(\"SLITE_DELETE_NOTE_BY_ID\", {\n slug: \"slite-delete-note-by-id\",\n name: \"Delete Note By ID\",\n description: \"Tool to permanently delete a note and all its children by ID. Use when you need to remove a note irreversibly. This operation cannot be undone.\",\n input: SliteDeleteNoteByIdInput,\n output: SliteDeleteNoteByIdOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EACjI,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-note-by-id.mjs","names":[],"sources":["../../src/actions/delete-note-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteDeleteNoteByIdInput = z.object({\n note_id: z.string().describe(\"The unique ID of the note to delete. This will permanently delete the note and all its children.\"),\n}).describe(\"Request model for deleting a note and its children.\");\nexport const SliteDeleteNoteByIdOutput = z.object({\n message: z.string().describe(\"Status message for the deletion operation\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (204 for successful deletion)\").nullable(),\n}).passthrough().describe(\"Response model for delete note action.\");\n\nexport const sliteDeleteNoteById: AppAction<\n typeof SliteDeleteNoteByIdInput,\n typeof SliteDeleteNoteByIdOutput,\n typeof slite.credential\n> = action(\"SLITE_DELETE_NOTE_BY_ID\", {\n slug: \"slite-delete-note-by-id\",\n name: \"Delete Note By ID\",\n description: \"Tool to permanently delete a note and all its children by ID. Use when you need to remove a note irreversibly. This operation cannot be undone.\",\n input: SliteDeleteNoteByIdInput,\n output: SliteDeleteNoteByIdOutput,\n});\n"],"mappings":";;;AAcA,MAAa,sBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO,EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EACjI,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAduC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/flag-note-as-outdated.ts
@@ -1 +1 @@
1
- {"version":3,"file":"flag-note-as-outdated.cjs","names":["z","action"],"sources":["../../src/actions/flag-note-as-outdated.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteFlagNoteAsOutdatedInput = z.object({\n reason: z.string().describe(\"Outdated reason explaining why the note is being flagged as outdated.\"),\n note_id: z.string().describe(\"Note id to update.\"),\n});\nexport const SliteFlagNoteAsOutdatedOutput = z.object({\n id: z.string().describe(\"The note identifier.\").nullable(),\n url: z.string().describe(\"URL to the note.\").nullable(),\n title: z.string().describe(\"Title of the note.\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note in ISO 8601 format.\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note in ISO 8601 format. Null if not archived.\").nullable().optional(),\n reviewState: z.string().describe(\"Indicates the review state of the note. Can be Verified, Outdated, or VerificationRequested.\").nullable(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).passthrough();\n\nexport const sliteFlagNoteAsOutdated = action(\"SLITE_FLAG_NOTE_AS_OUTDATED\", {\n slug: \"slite-flag-note-as-outdated\",\n name: \"Flag Note as Outdated\",\n description: \"Tool to set Outdated status on a note with a reason. Use when you need to flag a note as containing outdated information.\",\n input: SliteFlagNoteAsOutdatedInput,\n output: SliteFlagNoteAsOutdatedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AACnD,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"flag-note-as-outdated.cjs","names":["z","action"],"sources":["../../src/actions/flag-note-as-outdated.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteFlagNoteAsOutdatedInput = z.object({\n reason: z.string().describe(\"Outdated reason explaining why the note is being flagged as outdated.\"),\n note_id: z.string().describe(\"Note id to update.\"),\n});\nexport const SliteFlagNoteAsOutdatedOutput = z.object({\n id: z.string().describe(\"The note identifier.\").nullable(),\n url: z.string().describe(\"URL to the note.\").nullable(),\n title: z.string().describe(\"Title of the note.\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note in ISO 8601 format.\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note in ISO 8601 format. Null if not archived.\").nullable().optional(),\n reviewState: z.string().describe(\"Indicates the review state of the note. Can be Verified, Outdated, or VerificationRequested.\").nullable(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).passthrough();\n\nexport const sliteFlagNoteAsOutdated: AppAction<\n typeof SliteFlagNoteAsOutdatedInput,\n typeof SliteFlagNoteAsOutdatedOutput,\n typeof slite.credential\n> = action(\"SLITE_FLAG_NOTE_AS_OUTDATED\", {\n slug: \"slite-flag-note-as-outdated\",\n name: \"Flag Note as Outdated\",\n description: \"Tool to set Outdated status on a note with a reason. Use when you need to flag a note as containing outdated information.\",\n input: SliteFlagNoteAsOutdatedInput,\n output: SliteFlagNoteAsOutdatedOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AACnD,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/flag-note-as-outdated.d.ts
@@ -14,10 +16,7 @@ declare const SliteFlagNoteAsOutdatedOutput: z.ZodObject<{
14
16
  reviewState: z.ZodNullable<z.ZodString>;
15
17
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const sliteFlagNoteAsOutdated: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- reason: string;
19
- note_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const sliteFlagNoteAsOutdated: AppAction<typeof SliteFlagNoteAsOutdatedInput, typeof SliteFlagNoteAsOutdatedOutput, typeof slite.credential>;
21
20
  //#endregion
22
21
  export { sliteFlagNoteAsOutdated };
23
22
  //# sourceMappingURL=flag-note-as-outdated.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flag-note-as-outdated.d.cts","names":[],"sources":["../../src/actions/flag-note-as-outdated.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"flag-note-as-outdated.d.cts","names":[],"sources":["../../src/actions/flag-note-as-outdated.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/flag-note-as-outdated.d.ts
@@ -14,10 +16,7 @@ declare const SliteFlagNoteAsOutdatedOutput: z.ZodObject<{
14
16
  reviewState: z.ZodNullable<z.ZodString>;
15
17
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const sliteFlagNoteAsOutdated: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- reason: string;
19
- note_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const sliteFlagNoteAsOutdated: AppAction<typeof SliteFlagNoteAsOutdatedInput, typeof SliteFlagNoteAsOutdatedOutput, typeof slite.credential>;
21
20
  //#endregion
22
21
  export { sliteFlagNoteAsOutdated };
23
22
  //# sourceMappingURL=flag-note-as-outdated.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flag-note-as-outdated.d.mts","names":[],"sources":["../../src/actions/flag-note-as-outdated.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"flag-note-as-outdated.d.mts","names":[],"sources":["../../src/actions/flag-note-as-outdated.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const sliteFlagNoteAsOutdated = action("SLITE_FLAG_NOTE_AS_OUTDATED", {
@@ -1 +1 @@
1
- {"version":3,"file":"flag-note-as-outdated.mjs","names":[],"sources":["../../src/actions/flag-note-as-outdated.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteFlagNoteAsOutdatedInput = z.object({\n reason: z.string().describe(\"Outdated reason explaining why the note is being flagged as outdated.\"),\n note_id: z.string().describe(\"Note id to update.\"),\n});\nexport const SliteFlagNoteAsOutdatedOutput = z.object({\n id: z.string().describe(\"The note identifier.\").nullable(),\n url: z.string().describe(\"URL to the note.\").nullable(),\n title: z.string().describe(\"Title of the note.\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note in ISO 8601 format.\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note in ISO 8601 format. Null if not archived.\").nullable().optional(),\n reviewState: z.string().describe(\"Indicates the review state of the note. Can be Verified, Outdated, or VerificationRequested.\").nullable(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).passthrough();\n\nexport const sliteFlagNoteAsOutdated = action(\"SLITE_FLAG_NOTE_AS_OUTDATED\", {\n slug: \"slite-flag-note-as-outdated\",\n name: \"Flag Note as Outdated\",\n description: \"Tool to set Outdated status on a note with a reason. Use when you need to flag a note as containing outdated information.\",\n input: SliteFlagNoteAsOutdatedInput,\n output: SliteFlagNoteAsOutdatedOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACnD,CAeS;CACP,QAf2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC1I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"flag-note-as-outdated.mjs","names":[],"sources":["../../src/actions/flag-note-as-outdated.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteFlagNoteAsOutdatedInput = z.object({\n reason: z.string().describe(\"Outdated reason explaining why the note is being flagged as outdated.\"),\n note_id: z.string().describe(\"Note id to update.\"),\n});\nexport const SliteFlagNoteAsOutdatedOutput = z.object({\n id: z.string().describe(\"The note identifier.\").nullable(),\n url: z.string().describe(\"URL to the note.\").nullable(),\n title: z.string().describe(\"Title of the note.\").nullable(),\n updatedAt: z.string().describe(\"Date of the last update of the note in ISO 8601 format.\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note in ISO 8601 format. Null if not archived.\").nullable().optional(),\n reviewState: z.string().describe(\"Indicates the review state of the note. Can be Verified, Outdated, or VerificationRequested.\").nullable(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).passthrough();\n\nexport const sliteFlagNoteAsOutdated: AppAction<\n typeof SliteFlagNoteAsOutdatedInput,\n typeof SliteFlagNoteAsOutdatedOutput,\n typeof slite.credential\n> = action(\"SLITE_FLAG_NOTE_AS_OUTDATED\", {\n slug: \"slite-flag-note-as-outdated\",\n name: \"Flag Note as Outdated\",\n description: \"Tool to set Outdated status on a note with a reason. Use when you need to flag a note as containing outdated information.\",\n input: SliteFlagNoteAsOutdatedInput,\n output: SliteFlagNoteAsOutdatedOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACnD,CAmBS;CACP,QAnB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC1I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-authenticated-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-authenticated-user.cjs","names":["z","action"],"sources":["../../src/actions/get-authenticated-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetAuthenticatedUserInput = z.object({}).describe(\"No parameters required to get authenticated user information.\");\nexport const SliteGetAuthenticatedUserOutput = z.object({\n email: z.string().describe(\"Email address of the authenticated user.\").nullable(),\n displayName: z.string().describe(\"Display name of the authenticated user.\").nullable(),\n organizationName: z.string().describe(\"Name of the organization the authenticated user belongs to.\").nullable(),\n organizationDomain: z.string().describe(\"Domain of the organization the authenticated user belongs to.\").nullable(),\n}).passthrough().describe(\"Response containing authenticated user information.\");\n\nexport const sliteGetAuthenticatedUser = action(\"SLITE_GET_AUTHENTICATED_USER\", {\n slug: \"slite-get-authenticated-user\",\n name: \"Get authenticated user\",\n description: \"Retrieves information about the currently authenticated user. Use this to get user details including email, display name, and organization information.\",\n input: SliteGetAuthenticatedUserInput,\n output: SliteGetAuthenticatedUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AACnI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-authenticated-user.cjs","names":["z","action"],"sources":["../../src/actions/get-authenticated-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteGetAuthenticatedUserInput = z.object({}).describe(\"No parameters required to get authenticated user information.\");\nexport const SliteGetAuthenticatedUserOutput = z.object({\n email: z.string().describe(\"Email address of the authenticated user.\").nullable(),\n displayName: z.string().describe(\"Display name of the authenticated user.\").nullable(),\n organizationName: z.string().describe(\"Name of the organization the authenticated user belongs to.\").nullable(),\n organizationDomain: z.string().describe(\"Domain of the organization the authenticated user belongs to.\").nullable(),\n}).passthrough().describe(\"Response containing authenticated user information.\");\n\nexport const sliteGetAuthenticatedUser: AppAction<\n typeof SliteGetAuthenticatedUserInput,\n typeof SliteGetAuthenticatedUserOutput,\n typeof slite.credential\n> = action(\"SLITE_GET_AUTHENTICATED_USER\", {\n slug: \"slite-get-authenticated-user\",\n name: \"Get authenticated user\",\n description: \"Retrieves information about the currently authenticated user. Use this to get user details including email, display name, and organization information.\",\n input: SliteGetAuthenticatedUserInput,\n output: SliteGetAuthenticatedUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AACnI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-authenticated-user.d.ts
@@ -8,7 +10,7 @@ declare const SliteGetAuthenticatedUserOutput: z.ZodObject<{
8
10
  organizationName: z.ZodNullable<z.ZodString>;
9
11
  organizationDomain: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const sliteGetAuthenticatedUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const sliteGetAuthenticatedUser: AppAction<typeof SliteGetAuthenticatedUserInput, typeof SliteGetAuthenticatedUserOutput, typeof slite.credential>;
12
14
  //#endregion
13
15
  export { sliteGetAuthenticatedUser };
14
16
  //# sourceMappingURL=get-authenticated-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-authenticated-user.d.cts","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-authenticated-user.d.cts","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-authenticated-user.d.ts
@@ -8,7 +10,7 @@ declare const SliteGetAuthenticatedUserOutput: z.ZodObject<{
8
10
  organizationName: z.ZodNullable<z.ZodString>;
9
11
  organizationDomain: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const sliteGetAuthenticatedUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const sliteGetAuthenticatedUser: AppAction<typeof SliteGetAuthenticatedUserInput, typeof SliteGetAuthenticatedUserOutput, typeof slite.credential>;
12
14
  //#endregion
13
15
  export { sliteGetAuthenticatedUser };
14
16
  //# sourceMappingURL=get-authenticated-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-authenticated-user.d.mts","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-authenticated-user.d.mts","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const sliteGetAuthenticatedUser = action("SLITE_GET_AUTHENTICATED_USER", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-authenticated-user.mjs","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetAuthenticatedUserInput = z.object({}).describe(\"No parameters required to get authenticated user information.\");\nexport const SliteGetAuthenticatedUserOutput = z.object({\n email: z.string().describe(\"Email address of the authenticated user.\").nullable(),\n displayName: z.string().describe(\"Display name of the authenticated user.\").nullable(),\n organizationName: z.string().describe(\"Name of the organization the authenticated user belongs to.\").nullable(),\n organizationDomain: z.string().describe(\"Domain of the organization the authenticated user belongs to.\").nullable(),\n}).passthrough().describe(\"Response containing authenticated user information.\");\n\nexport const sliteGetAuthenticatedUser = action(\"SLITE_GET_AUTHENTICATED_USER\", {\n slug: \"slite-get-authenticated-user\",\n name: \"Get authenticated user\",\n description: \"Retrieves information about the currently authenticated user. Use this to get user details including email, display name, and organization information.\",\n input: SliteGetAuthenticatedUserInput,\n output: SliteGetAuthenticatedUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAY3D;CACP,QAZ6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC9G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-authenticated-user.mjs","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteGetAuthenticatedUserInput = z.object({}).describe(\"No parameters required to get authenticated user information.\");\nexport const SliteGetAuthenticatedUserOutput = z.object({\n email: z.string().describe(\"Email address of the authenticated user.\").nullable(),\n displayName: z.string().describe(\"Display name of the authenticated user.\").nullable(),\n organizationName: z.string().describe(\"Name of the organization the authenticated user belongs to.\").nullable(),\n organizationDomain: z.string().describe(\"Domain of the organization the authenticated user belongs to.\").nullable(),\n}).passthrough().describe(\"Response containing authenticated user information.\");\n\nexport const sliteGetAuthenticatedUser: AppAction<\n typeof SliteGetAuthenticatedUserInput,\n typeof SliteGetAuthenticatedUserOutput,\n typeof slite.credential\n> = action(\"SLITE_GET_AUTHENTICATED_USER\", {\n slug: \"slite-get-authenticated-user\",\n name: \"Get authenticated user\",\n description: \"Retrieves information about the currently authenticated user. Use this to get user details including email, display name, and organization information.\",\n input: SliteGetAuthenticatedUserInput,\n output: SliteGetAuthenticatedUserOutput,\n});\n"],"mappings":";;;AAcA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAgB3D;CACP,QAhB6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC9G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-note-by-id.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-note-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-note-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteByIdInput = 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.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n url: z.string().describe(\"Direct note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\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\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\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}).passthrough().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":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,KAAK,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACvJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACjD,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,mBAAmBC,eAAAA,OAAO,wBAAwB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-note-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-note-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteGetNoteByIdInput = 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.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n url: z.string().describe(\"Direct note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\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\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\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}).passthrough().describe(\"Response model for a note with content.\");\n\nexport const sliteGetNoteById: AppAction<\n typeof SliteGetNoteByIdInput,\n typeof SliteGetNoteByIdOutput,\n typeof slite.credential\n> = 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":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,KAAK,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACvJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACjD,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,mBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-note-by-id.d.ts
@@ -24,10 +26,7 @@ declare const SliteGetNoteByIdOutput: z.ZodObject<{
24
26
  }>>>;
25
27
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>;
27
- declare const sliteGetNoteById: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- noteId: string;
29
- format?: "html" | "md" | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const sliteGetNoteById: AppAction<typeof SliteGetNoteByIdInput, typeof SliteGetNoteByIdOutput, typeof slite.credential>;
31
30
  //#endregion
32
31
  export { sliteGetNoteById };
33
32
  //# sourceMappingURL=get-note-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-note-by-id.d.cts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAatB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-note-by-id.d.cts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAatB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-note-by-id.d.ts
@@ -24,10 +26,7 @@ declare const SliteGetNoteByIdOutput: z.ZodObject<{
24
26
  }>>>;
25
27
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>;
27
- declare const sliteGetNoteById: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- noteId: string;
29
- format?: "html" | "md" | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const sliteGetNoteById: AppAction<typeof SliteGetNoteByIdInput, typeof SliteGetNoteByIdOutput, typeof slite.credential>;
31
30
  //#endregion
32
31
  export { sliteGetNoteById };
33
32
  //# sourceMappingURL=get-note-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-note-by-id.d.mts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAatB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-note-by-id.d.mts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAatB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const sliteGetNoteById = action("SLITE_GET_NOTE_BY_ID", {
@@ -1 +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.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.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n url: z.string().describe(\"Direct note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\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\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\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}).passthrough().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,OArBmC,EAAE,OAAO;EAC5C,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,QAlBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;EAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACjE,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,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-note-by-id.mjs","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteGetNoteByIdInput = 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.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n url: z.string().describe(\"Direct note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\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\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\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}).passthrough().describe(\"Response model for a note with content.\");\n\nexport const sliteGetNoteById: AppAction<\n typeof SliteGetNoteByIdInput,\n typeof SliteGetNoteByIdOutput,\n typeof slite.credential\n> = 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":";;;AAuBA,MAAa,mBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBmC,EAAE,OAAO;EAC5C,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,gDAsBH;CACP,QAtBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;EAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACjE,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,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}