@keystrokehq/slite 0.1.0 → 0.1.2

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 (137) 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 +5 -5
  4. package/dist/actions/ask-question.cjs.map +1 -1
  5. package/dist/actions/ask-question.d.cts +20 -3
  6. package/dist/actions/ask-question.d.cts.map +1 -1
  7. package/dist/actions/ask-question.d.mts +20 -3
  8. package/dist/actions/ask-question.d.mts.map +1 -1
  9. package/dist/actions/ask-question.mjs +5 -5
  10. package/dist/actions/ask-question.mjs.map +1 -1
  11. package/dist/actions/create-note.cjs +4 -4
  12. package/dist/actions/create-note.cjs.map +1 -1
  13. package/dist/actions/create-note.d.cts +24 -3
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +24 -3
  16. package/dist/actions/create-note.d.mts.map +1 -1
  17. package/dist/actions/create-note.mjs +4 -4
  18. package/dist/actions/create-note.mjs.map +1 -1
  19. package/dist/actions/delete-note-by-id.cjs +1 -1
  20. package/dist/actions/delete-note-by-id.cjs.map +1 -1
  21. package/dist/actions/delete-note-by-id.d.cts +10 -3
  22. package/dist/actions/delete-note-by-id.d.cts.map +1 -1
  23. package/dist/actions/delete-note-by-id.d.mts +10 -3
  24. package/dist/actions/delete-note-by-id.d.mts.map +1 -1
  25. package/dist/actions/delete-note-by-id.mjs +1 -1
  26. package/dist/actions/delete-note-by-id.mjs.map +1 -1
  27. package/dist/actions/flag-note-as-outdated.cjs +5 -5
  28. package/dist/actions/flag-note-as-outdated.cjs.map +1 -1
  29. package/dist/actions/flag-note-as-outdated.d.cts +17 -3
  30. package/dist/actions/flag-note-as-outdated.d.cts.map +1 -1
  31. package/dist/actions/flag-note-as-outdated.d.mts +17 -3
  32. package/dist/actions/flag-note-as-outdated.d.mts.map +1 -1
  33. package/dist/actions/flag-note-as-outdated.mjs +5 -5
  34. package/dist/actions/flag-note-as-outdated.mjs.map +1 -1
  35. package/dist/actions/get-authenticated-user.cjs +4 -4
  36. package/dist/actions/get-authenticated-user.cjs.map +1 -1
  37. package/dist/actions/get-authenticated-user.d.cts +8 -3
  38. package/dist/actions/get-authenticated-user.d.cts.map +1 -1
  39. package/dist/actions/get-authenticated-user.d.mts +8 -3
  40. package/dist/actions/get-authenticated-user.d.mts.map +1 -1
  41. package/dist/actions/get-authenticated-user.mjs +4 -4
  42. package/dist/actions/get-authenticated-user.mjs.map +1 -1
  43. package/dist/actions/get-note-by-id.cjs +5 -5
  44. package/dist/actions/get-note-by-id.cjs.map +1 -1
  45. package/dist/actions/get-note-by-id.d.cts +27 -3
  46. package/dist/actions/get-note-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-note-by-id.d.mts +27 -3
  48. package/dist/actions/get-note-by-id.d.mts.map +1 -1
  49. package/dist/actions/get-note-by-id.mjs +5 -5
  50. package/dist/actions/get-note-by-id.mjs.map +1 -1
  51. package/dist/actions/get-note-children.cjs +7 -7
  52. package/dist/actions/get-note-children.cjs.map +1 -1
  53. package/dist/actions/get-note-children.d.cts +24 -3
  54. package/dist/actions/get-note-children.d.cts.map +1 -1
  55. package/dist/actions/get-note-children.d.mts +24 -3
  56. package/dist/actions/get-note-children.d.mts.map +1 -1
  57. package/dist/actions/get-note-children.mjs +7 -7
  58. package/dist/actions/get-note-children.mjs.map +1 -1
  59. package/dist/actions/list-notes.cjs +6 -6
  60. package/dist/actions/list-notes.cjs.map +1 -1
  61. package/dist/actions/list-notes.d.cts +21 -3
  62. package/dist/actions/list-notes.d.cts.map +1 -1
  63. package/dist/actions/list-notes.d.mts +21 -3
  64. package/dist/actions/list-notes.d.mts.map +1 -1
  65. package/dist/actions/list-notes.mjs +6 -6
  66. package/dist/actions/list-notes.mjs.map +1 -1
  67. package/dist/actions/search-groups.cjs +5 -5
  68. package/dist/actions/search-groups.cjs.map +1 -1
  69. package/dist/actions/search-groups.d.cts +18 -3
  70. package/dist/actions/search-groups.d.cts.map +1 -1
  71. package/dist/actions/search-groups.d.mts +18 -3
  72. package/dist/actions/search-groups.d.mts.map +1 -1
  73. package/dist/actions/search-groups.mjs +5 -5
  74. package/dist/actions/search-groups.mjs.map +1 -1
  75. package/dist/actions/search-notes.cjs +10 -10
  76. package/dist/actions/search-notes.cjs.map +1 -1
  77. package/dist/actions/search-notes.d.cts +54 -3
  78. package/dist/actions/search-notes.d.cts.map +1 -1
  79. package/dist/actions/search-notes.d.mts +54 -3
  80. package/dist/actions/search-notes.d.mts.map +1 -1
  81. package/dist/actions/search-notes.mjs +10 -10
  82. package/dist/actions/search-notes.mjs.map +1 -1
  83. package/dist/actions/search-users.cjs +5 -5
  84. package/dist/actions/search-users.cjs.map +1 -1
  85. package/dist/actions/search-users.d.cts +23 -3
  86. package/dist/actions/search-users.d.cts.map +1 -1
  87. package/dist/actions/search-users.d.mts +23 -3
  88. package/dist/actions/search-users.d.mts.map +1 -1
  89. package/dist/actions/search-users.mjs +5 -5
  90. package/dist/actions/search-users.mjs.map +1 -1
  91. package/dist/actions/update-note-archived-state.cjs +4 -4
  92. package/dist/actions/update-note-archived-state.cjs.map +1 -1
  93. package/dist/actions/update-note-archived-state.d.cts +16 -3
  94. package/dist/actions/update-note-archived-state.d.cts.map +1 -1
  95. package/dist/actions/update-note-archived-state.d.mts +16 -3
  96. package/dist/actions/update-note-archived-state.d.mts.map +1 -1
  97. package/dist/actions/update-note-archived-state.mjs +4 -4
  98. package/dist/actions/update-note-archived-state.mjs.map +1 -1
  99. package/dist/actions/update-note-owner.cjs +4 -4
  100. package/dist/actions/update-note-owner.cjs.map +1 -1
  101. package/dist/actions/update-note-owner.d.cts +18 -3
  102. package/dist/actions/update-note-owner.d.cts.map +1 -1
  103. package/dist/actions/update-note-owner.d.mts +18 -3
  104. package/dist/actions/update-note-owner.d.mts.map +1 -1
  105. package/dist/actions/update-note-owner.mjs +4 -4
  106. package/dist/actions/update-note-owner.mjs.map +1 -1
  107. package/dist/actions/update-note.cjs +4 -4
  108. package/dist/actions/update-note.cjs.map +1 -1
  109. package/dist/actions/update-note.d.cts +25 -3
  110. package/dist/actions/update-note.d.cts.map +1 -1
  111. package/dist/actions/update-note.d.mts +25 -3
  112. package/dist/actions/update-note.d.mts.map +1 -1
  113. package/dist/actions/update-note.mjs +4 -4
  114. package/dist/actions/update-note.mjs.map +1 -1
  115. package/dist/actions/update-tile.cjs +1 -1
  116. package/dist/actions/update-tile.cjs.map +1 -1
  117. package/dist/actions/update-tile.d.cts +27 -3
  118. package/dist/actions/update-tile.d.cts.map +1 -1
  119. package/dist/actions/update-tile.d.mts +27 -3
  120. package/dist/actions/update-tile.d.mts.map +1 -1
  121. package/dist/actions/update-tile.mjs +1 -1
  122. package/dist/actions/update-tile.mjs.map +1 -1
  123. package/dist/actions/verify-note.cjs +4 -4
  124. package/dist/actions/verify-note.cjs.map +1 -1
  125. package/dist/actions/verify-note.d.cts +19 -3
  126. package/dist/actions/verify-note.d.cts.map +1 -1
  127. package/dist/actions/verify-note.d.mts +19 -3
  128. package/dist/actions/verify-note.d.mts.map +1 -1
  129. package/dist/actions/verify-note.mjs +4 -4
  130. package/dist/actions/verify-note.mjs.map +1 -1
  131. package/dist/catalog.cjs +7 -1
  132. package/dist/catalog.cjs.map +1 -1
  133. package/dist/catalog.d.cts +8 -0
  134. package/dist/catalog.d.mts +8 -0
  135. package/dist/catalog.mjs +7 -1
  136. package/dist/catalog.mjs.map +1 -1
  137. 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { 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 +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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { 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"}
@@ -7,14 +7,14 @@ const SliteAskQuestionInput = zod.z.object({
7
7
  parentNoteId: zod.z.string().describe("Optional filter to only return notes under this parent note id").optional()
8
8
  }).describe("Request model for asking a question to Slite notes.");
9
9
  const SliteAskQuestion_SourceSchema = zod.z.object({
10
- id: zod.z.string().describe("Id of the note"),
11
- url: zod.z.string().describe("Url of the note"),
12
- title: zod.z.string().describe("Title of the note"),
13
- updatedAt: zod.z.string().describe("Date of the last update of the note"),
10
+ id: zod.z.string().describe("Id of the note").nullable(),
11
+ url: zod.z.string().describe("Url of the note").nullable(),
12
+ title: zod.z.string().describe("Title of the note").nullable(),
13
+ updatedAt: zod.z.string().describe("Date of the last update of the note").nullable(),
14
14
  explanation: zod.z.string().describe("For super users, gives explanation about the source").nullable().optional()
15
15
  }).describe("Source note used for answering the question.");
16
16
  const SliteAskQuestionOutput = zod.z.object({
17
- answer: zod.z.string().describe("Answer to the question"),
17
+ answer: zod.z.string().describe("Answer to the question").nullable(),
18
18
  sources: zod.z.array(SliteAskQuestion_SourceSchema).describe("Array of source notes used for the answer")
19
19
  }).describe("Response model containing the answer and sources.");
20
20
  const sliteAskQuestion = require_action.action("SLITE_ASK_QUESTION", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the note\"),\n url: z.string().describe(\"Url of the note\"),\n title: z.string().describe(\"Title of the note\"),\n updatedAt: z.string().describe(\"Date of the last update of the note\"),\n explanation: z.string().describe(\"For super users, gives explanation about the source\").nullable().optional(),\n}).describe(\"Source note used for answering the question.\");\nexport const SliteAskQuestionOutput: z.ZodTypeAny = z.object({\n answer: z.string().describe(\"Answer to the question\"),\n sources: z.array(SliteAskQuestion_SourceSchema).describe(\"Array of source notes used for the answer\"),\n}).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,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CACxC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC9C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACpD,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,2CAA2C;AACtG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,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 { 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}).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}).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,SAAS,8CAA8C;AAC1D,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,SAAS,mDAAmD;AAE/D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/ask-question.d.ts
4
- declare const SliteAskQuestionInput: z.ZodTypeAny;
5
- declare const SliteAskQuestionOutput: z.ZodTypeAny;
6
- declare const sliteAskQuestion: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteAskQuestionInput: z.ZodObject<{
5
+ question: z.ZodString;
6
+ assistantId: z.ZodOptional<z.ZodString>;
7
+ parentNoteId: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const SliteAskQuestionOutput: z.ZodObject<{
10
+ answer: z.ZodNullable<z.ZodString>;
11
+ sources: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ url: z.ZodNullable<z.ZodString>;
14
+ title: z.ZodNullable<z.ZodString>;
15
+ updatedAt: z.ZodNullable<z.ZodString>;
16
+ explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
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]>;
7
24
  //#endregion
8
25
  export { sliteAskQuestion };
9
26
  //# 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,EAAuB,CAAA,CAAE,UAI4B;AAAA,cAQrD,sBAAA,EAAwB,CAAA,CAAE,UAGyB;AAAA,cAEnD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/ask-question.d.ts
4
- declare const SliteAskQuestionInput: z.ZodTypeAny;
5
- declare const SliteAskQuestionOutput: z.ZodTypeAny;
6
- declare const sliteAskQuestion: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteAskQuestionInput: z.ZodObject<{
5
+ question: z.ZodString;
6
+ assistantId: z.ZodOptional<z.ZodString>;
7
+ parentNoteId: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const SliteAskQuestionOutput: z.ZodObject<{
10
+ answer: z.ZodNullable<z.ZodString>;
11
+ sources: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ url: z.ZodNullable<z.ZodString>;
14
+ title: z.ZodNullable<z.ZodString>;
15
+ updatedAt: z.ZodNullable<z.ZodString>;
16
+ explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
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]>;
7
24
  //#endregion
8
25
  export { sliteAskQuestion };
9
26
  //# 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,EAAuB,CAAA,CAAE,UAI4B;AAAA,cAQrD,sBAAA,EAAwB,CAAA,CAAE,UAGyB;AAAA,cAEnD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -7,10 +7,10 @@ const SliteAskQuestionInput = z.object({
7
7
  parentNoteId: z.string().describe("Optional filter to only return notes under this parent note id").optional()
8
8
  }).describe("Request model for asking a question to Slite notes.");
9
9
  const SliteAskQuestion_SourceSchema = z.object({
10
- id: z.string().describe("Id of the note"),
11
- url: z.string().describe("Url of the note"),
12
- title: z.string().describe("Title of the note"),
13
- updatedAt: z.string().describe("Date of the last update of the note"),
10
+ id: z.string().describe("Id of the note").nullable(),
11
+ url: z.string().describe("Url of the note").nullable(),
12
+ title: z.string().describe("Title of the note").nullable(),
13
+ updatedAt: z.string().describe("Date of the last update of the note").nullable(),
14
14
  explanation: z.string().describe("For super users, gives explanation about the source").nullable().optional()
15
15
  }).describe("Source note used for answering the question.");
16
16
  const sliteAskQuestion = action("SLITE_ASK_QUESTION", {
@@ -19,7 +19,7 @@ const sliteAskQuestion = action("SLITE_ASK_QUESTION", {
19
19
  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.",
20
20
  input: SliteAskQuestionInput,
21
21
  output: z.object({
22
- answer: z.string().describe("Answer to the question"),
22
+ answer: z.string().describe("Answer to the question").nullable(),
23
23
  sources: z.array(SliteAskQuestion_SourceSchema).describe("Array of source notes used for the answer")
24
24
  }).describe("Response model containing the answer and sources.")
25
25
  });
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the note\"),\n url: z.string().describe(\"Url of the note\"),\n title: z.string().describe(\"Title of the note\"),\n updatedAt: z.string().describe(\"Date of the last update of the note\"),\n explanation: z.string().describe(\"For super users, gives explanation about the source\").nullable().optional(),\n}).describe(\"Source note used for answering the question.\");\nexport const SliteAskQuestionOutput: z.ZodTypeAny = z.object({\n answer: z.string().describe(\"Answer to the question\"),\n sources: z.array(SliteAskQuestion_SourceSchema).describe(\"Array of source notes used for the answer\"),\n}).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,wBAAsC,EAAE,OAAO;CAC1D,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,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CACxC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC9C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAM1D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACpD,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,2CAA2C;CACtG,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
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}).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}).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,SAAS,8CAA8C;AAM1D,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,SAAS,mDAOF;AACV,CAAC"}
@@ -10,10 +10,10 @@ const SliteCreateNoteInput = zod.z.object({
10
10
  parentNoteId: zod.z.string().describe("Below which other note to create this note. If not specified, the note would be created in your personal channel.").optional()
11
11
  }).describe("Request model for creating a note in Slite.");
12
12
  const SliteCreateNoteOutput = zod.z.object({
13
- id: zod.z.string().describe("Id of the note."),
14
- url: zod.z.string().describe("URL to the note."),
15
- title: zod.z.string().describe("Title of the note."),
16
- updatedAt: zod.z.string().describe("Date of the last update of the note."),
13
+ id: zod.z.string().describe("Id of the note.").nullable(),
14
+ url: zod.z.string().describe("URL to the note.").nullable(),
15
+ title: zod.z.string().describe("Title of the note.").nullable(),
16
+ updatedAt: zod.z.string().describe("Date of the last update of the note.").nullable(),
17
17
  archivedAt: zod.z.string().describe("Date of archiving (null if not archived).").nullable().optional(),
18
18
  parentNoteId: zod.z.string().describe("Parent note id of the current note.").nullable().optional()
19
19
  }).describe("Response model for creating a note in Slite.");
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the note.\"),\n url: z.string().describe(\"URL to the note.\"),\n title: z.string().describe(\"Title of the note.\"),\n updatedAt: z.string().describe(\"Date of the last update of the note.\"),\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}).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,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,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,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC/C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,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,SAAS,8CAA8C;AAE1D,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 { 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}).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,SAAS,8CAA8C;AAE1D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-note.d.ts
4
- declare const SliteCreateNoteInput: z.ZodTypeAny;
5
- declare const SliteCreateNoteOutput: z.ZodTypeAny;
6
- declare const sliteCreateNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteCreateNoteInput: z.ZodObject<{
5
+ html: z.ZodOptional<z.ZodString>;
6
+ title: z.ZodString;
7
+ markdown: z.ZodOptional<z.ZodString>;
8
+ attributes: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ templateId: z.ZodOptional<z.ZodString>;
10
+ parentNoteId: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const SliteCreateNoteOutput: z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ url: z.ZodNullable<z.ZodString>;
15
+ title: z.ZodNullable<z.ZodString>;
16
+ updatedAt: z.ZodNullable<z.ZodString>;
17
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>;
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]>;
7
28
  //#endregion
8
29
  export { sliteCreateNote };
9
30
  //# 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,EAAsB,CAAA,CAAE,UAOqB;AAAA,cAC7C,qBAAA,EAAuB,CAAA,CAAE,UAOqB;AAAA,cAE9C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-note.d.ts
4
- declare const SliteCreateNoteInput: z.ZodTypeAny;
5
- declare const SliteCreateNoteOutput: z.ZodTypeAny;
6
- declare const sliteCreateNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteCreateNoteInput: z.ZodObject<{
5
+ html: z.ZodOptional<z.ZodString>;
6
+ title: z.ZodString;
7
+ markdown: z.ZodOptional<z.ZodString>;
8
+ attributes: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ templateId: z.ZodOptional<z.ZodString>;
10
+ parentNoteId: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const SliteCreateNoteOutput: z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ url: z.ZodNullable<z.ZodString>;
15
+ title: z.ZodNullable<z.ZodString>;
16
+ updatedAt: z.ZodNullable<z.ZodString>;
17
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>;
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]>;
7
28
  //#endregion
8
29
  export { sliteCreateNote };
9
30
  //# 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,EAAsB,CAAA,CAAE,UAOqB;AAAA,cAC7C,qBAAA,EAAuB,CAAA,CAAE,UAOqB;AAAA,cAE9C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -13,10 +13,10 @@ const sliteCreateNote = action("SLITE_CREATE_NOTE", {
13
13
  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()
14
14
  }).describe("Request model for creating a note in Slite."),
15
15
  output: z.object({
16
- id: z.string().describe("Id of the note."),
17
- url: z.string().describe("URL to the note."),
18
- title: z.string().describe("Title of the note."),
19
- updatedAt: z.string().describe("Date of the last update of the note."),
16
+ id: z.string().describe("Id of the note.").nullable(),
17
+ url: z.string().describe("URL to the note.").nullable(),
18
+ title: z.string().describe("Title of the note.").nullable(),
19
+ updatedAt: z.string().describe("Date of the last update of the note.").nullable(),
20
20
  archivedAt: z.string().describe("Date of archiving (null if not archived).").nullable().optional(),
21
21
  parentNoteId: z.string().describe("Parent note id of the current note.").nullable().optional()
22
22
  }).describe("Response model for creating a note in Slite.")
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the note.\"),\n url: z.string().describe(\"URL to the note.\"),\n title: z.string().describe(\"Title of the note.\"),\n updatedAt: z.string().describe(\"Date of the last update of the note.\"),\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}).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,OArBgD,EAAE,OAAO;EACzD,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,QAdiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EACzC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACrE,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,SAAS,8CAOF;AACV,CAAC"}
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}).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,SAAS,8CAOF;AACV,CAAC"}
@@ -4,7 +4,7 @@ let zod = require("zod");
4
4
  const SliteDeleteNoteByIdInput = zod.z.object({ note_id: zod.z.string().describe("The unique ID of the note to delete. This will permanently delete the note and all its children.") }).describe("Request model for deleting a note and its children.");
5
5
  const SliteDeleteNoteByIdOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Status message for the deletion operation").nullable().optional(),
7
- status_code: zod.z.number().int().describe("HTTP status code returned by the API (204 for successful deletion)")
7
+ status_code: zod.z.number().int().describe("HTTP status code returned by the API (204 for successful deletion)").nullable()
8
8
  }).describe("Response model for delete note action.");
9
9
  const sliteDeleteNoteById = require_action.action("SLITE_DELETE_NOTE_BY_ID", {
10
10
  slug: "slite-delete-note-by-id",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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)\"),\n}).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,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EACjI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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;AAC7G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,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 { 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}).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,SAAS,wCAAwC;AAEpD,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-note-by-id.d.ts
4
- declare const SliteDeleteNoteByIdInput: z.ZodTypeAny;
5
- declare const SliteDeleteNoteByIdOutput: z.ZodTypeAny;
6
- declare const sliteDeleteNoteById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteDeleteNoteByIdInput: z.ZodObject<{
5
+ note_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SliteDeleteNoteByIdOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ status_code: z.ZodNullable<z.ZodNumber>;
10
+ }, z.core.$strip>;
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]>;
7
14
  //#endregion
8
15
  export { sliteDeleteNoteById };
9
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,EAA0B,CAAA,CAAE,UAEyB;AAAA,cACrD,yBAAA,EAA2B,CAAA,CAAE,UAGW;AAAA,cAExC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-note-by-id.d.ts
4
- declare const SliteDeleteNoteByIdInput: z.ZodTypeAny;
5
- declare const SliteDeleteNoteByIdOutput: z.ZodTypeAny;
6
- declare const sliteDeleteNoteById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteDeleteNoteByIdInput: z.ZodObject<{
5
+ note_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SliteDeleteNoteByIdOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ status_code: z.ZodNullable<z.ZodNumber>;
10
+ }, z.core.$strip>;
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]>;
7
14
  //#endregion
8
15
  export { sliteDeleteNoteById };
9
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,EAA0B,CAAA,CAAE,UAEyB;AAAA,cACrD,yBAAA,EAA2B,CAAA,CAAE,UAGW;AAAA,cAExC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -7,7 +7,7 @@ const sliteDeleteNoteById = action("SLITE_DELETE_NOTE_BY_ID", {
7
7
  input: z.object({ note_id: z.string().describe("The unique ID of the note to delete. This will permanently delete the note and all its children.") }).describe("Request model for deleting a note and its children."),
8
8
  output: z.object({
9
9
  message: z.string().describe("Status message for the deletion operation").nullable().optional(),
10
- status_code: z.number().int().describe("HTTP status code returned by the API (204 for successful deletion)")
10
+ status_code: z.number().int().describe("HTTP status code returned by the API (204 for successful deletion)").nullable()
11
11
  }).describe("Response model for delete note action.")
12
12
  });
13
13
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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)\"),\n}).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,OAZoD,EAAE,OAAO,EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EACjI,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE;CAC7G,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
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}).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,SAAS,wCAOF;AACV,CAAC"}
@@ -6,12 +6,12 @@ const SliteFlagNoteAsOutdatedInput = zod.z.object({
6
6
  note_id: zod.z.string().describe("Note id to update.")
7
7
  });
8
8
  const SliteFlagNoteAsOutdatedOutput = zod.z.object({
9
- id: zod.z.string().describe("The note identifier."),
10
- url: zod.z.string().describe("URL to the note."),
11
- title: zod.z.string().describe("Title of the note."),
12
- updatedAt: zod.z.string().describe("Date of the last update of the note in ISO 8601 format."),
9
+ id: zod.z.string().describe("The note identifier.").nullable(),
10
+ url: zod.z.string().describe("URL to the note.").nullable(),
11
+ title: zod.z.string().describe("Title of the note.").nullable(),
12
+ updatedAt: zod.z.string().describe("Date of the last update of the note in ISO 8601 format.").nullable(),
13
13
  archivedAt: zod.z.string().describe("Date of the archiving of the note in ISO 8601 format. Null if not archived.").nullable().optional(),
14
- reviewState: zod.z.string().describe("Indicates the review state of the note. Can be Verified, Outdated, or VerificationRequested."),
14
+ reviewState: zod.z.string().describe("Indicates the review state of the note. Can be Verified, Outdated, or VerificationRequested.").nullable(),
15
15
  parentNoteId: zod.z.string().describe("Parent note id of the current note. It can be null if it's a root note.").nullable().optional()
16
16
  });
17
17
  const sliteFlagNoteAsOutdated = require_action.action("SLITE_FLAG_NOTE_AS_OUTDATED", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The note identifier.\"),\n url: z.string().describe(\"URL to the note.\"),\n title: z.string().describe(\"Title of the note.\"),\n updatedAt: z.string().describe(\"Date of the last update of the note in ISO 8601 format.\"),\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.\"),\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});\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,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AACnD,CAAC;AACD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC/C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC;AAED,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 { 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});\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;AAED,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/flag-note-as-outdated.d.ts
4
- declare const SliteFlagNoteAsOutdatedInput: z.ZodTypeAny;
5
- declare const SliteFlagNoteAsOutdatedOutput: z.ZodTypeAny;
6
- declare const sliteFlagNoteAsOutdated: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteFlagNoteAsOutdatedInput: z.ZodObject<{
5
+ reason: z.ZodString;
6
+ note_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SliteFlagNoteAsOutdatedOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ url: z.ZodNullable<z.ZodString>;
11
+ title: z.ZodNullable<z.ZodString>;
12
+ updatedAt: z.ZodNullable<z.ZodString>;
13
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ reviewState: z.ZodNullable<z.ZodString>;
15
+ parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>;
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]>;
7
21
  //#endregion
8
22
  export { sliteFlagNoteAsOutdated };
9
23
  //# 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,EAA8B,CAAA,CAAE,UAG3C;AAAA,cACW,6BAAA,EAA+B,CAAA,CAAE,UAQ5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/flag-note-as-outdated.d.ts
4
- declare const SliteFlagNoteAsOutdatedInput: z.ZodTypeAny;
5
- declare const SliteFlagNoteAsOutdatedOutput: z.ZodTypeAny;
6
- declare const sliteFlagNoteAsOutdated: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteFlagNoteAsOutdatedInput: z.ZodObject<{
5
+ reason: z.ZodString;
6
+ note_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SliteFlagNoteAsOutdatedOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ url: z.ZodNullable<z.ZodString>;
11
+ title: z.ZodNullable<z.ZodString>;
12
+ updatedAt: z.ZodNullable<z.ZodString>;
13
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ reviewState: z.ZodNullable<z.ZodString>;
15
+ parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>;
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]>;
7
21
  //#endregion
8
22
  export { sliteFlagNoteAsOutdated };
9
23
  //# 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,EAA8B,CAAA,CAAE,UAG3C;AAAA,cACW,6BAAA,EAA+B,CAAA,CAAE,UAQ5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -9,12 +9,12 @@ const sliteFlagNoteAsOutdated = action("SLITE_FLAG_NOTE_AS_OUTDATED", {
9
9
  note_id: z.string().describe("Note id to update.")
10
10
  }),
11
11
  output: z.object({
12
- id: z.string().describe("The note identifier."),
13
- url: z.string().describe("URL to the note."),
14
- title: z.string().describe("Title of the note."),
15
- updatedAt: z.string().describe("Date of the last update of the note in ISO 8601 format."),
12
+ id: z.string().describe("The note identifier.").nullable(),
13
+ url: z.string().describe("URL to the note.").nullable(),
14
+ title: z.string().describe("Title of the note.").nullable(),
15
+ updatedAt: z.string().describe("Date of the last update of the note in ISO 8601 format.").nullable(),
16
16
  archivedAt: z.string().describe("Date of the archiving of the note in ISO 8601 format. Null if not archived.").nullable().optional(),
17
- reviewState: z.string().describe("Indicates the review state of the note. Can be Verified, Outdated, or VerificationRequested."),
17
+ reviewState: z.string().describe("Indicates the review state of the note. Can be Verified, Outdated, or VerificationRequested.").nullable(),
18
18
  parentNoteId: z.string().describe("Parent note id of the current note. It can be null if it's a root note.").nullable().optional()
19
19
  })
20
20
  });
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The note identifier.\"),\n url: z.string().describe(\"URL to the note.\"),\n title: z.string().describe(\"Title of the note.\"),\n updatedAt: z.string().describe(\"Date of the last update of the note in ISO 8601 format.\"),\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.\"),\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});\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,OAlBwD,EAAE,OAAO;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACnD,CAeS;CACP,QAfyD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAOU;AACV,CAAC"}
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});\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,CAOU;AACV,CAAC"}
@@ -3,10 +3,10 @@ let zod = require("zod");
3
3
  //#region src/actions/get-authenticated-user.ts
4
4
  const SliteGetAuthenticatedUserInput = zod.z.object({}).describe("No parameters required to get authenticated user information.");
5
5
  const SliteGetAuthenticatedUserOutput = zod.z.object({
6
- email: zod.z.string().describe("Email address of the authenticated user."),
7
- displayName: zod.z.string().describe("Display name of the authenticated user."),
8
- organizationName: zod.z.string().describe("Name of the organization the authenticated user belongs to."),
9
- organizationDomain: zod.z.string().describe("Domain of the organization the authenticated user belongs to.")
6
+ email: zod.z.string().describe("Email address of the authenticated user.").nullable(),
7
+ displayName: zod.z.string().describe("Display name of the authenticated user.").nullable(),
8
+ organizationName: zod.z.string().describe("Name of the organization the authenticated user belongs to.").nullable(),
9
+ organizationDomain: zod.z.string().describe("Domain of the organization the authenticated user belongs to.").nullable()
10
10
  }).describe("Response containing authenticated user information.");
11
11
  const sliteGetAuthenticatedUser = require_action.action("SLITE_GET_AUTHENTICATED_USER", {
12
12
  slug: "slite-get-authenticated-user",
@@ -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.ZodTypeAny = z.object({}).describe(\"No parameters required to get authenticated user information.\");\nexport const SliteGetAuthenticatedUserOutput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the authenticated user.\"),\n displayName: z.string().describe(\"Display name of the authenticated user.\"),\n organizationName: z.string().describe(\"Name of the organization the authenticated user belongs to.\"),\n organizationDomain: z.string().describe(\"Domain of the organization the authenticated user belongs to.\"),\n}).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,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AACjJ,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAC1E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACnG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AACzG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,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 { 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}).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,SAAS,qDAAqD;AAEjE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}