@keystrokehq/slite 0.1.2 → 0.1.4

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 (103) hide show
  1. package/dist/actions/ask-question.cjs +2 -2
  2. package/dist/actions/ask-question.cjs.map +1 -1
  3. package/dist/actions/ask-question.d.cts +2 -2
  4. package/dist/actions/ask-question.d.mts +2 -2
  5. package/dist/actions/ask-question.mjs +2 -2
  6. package/dist/actions/ask-question.mjs.map +1 -1
  7. package/dist/actions/create-note.cjs +1 -1
  8. package/dist/actions/create-note.cjs.map +1 -1
  9. package/dist/actions/create-note.d.cts +1 -1
  10. package/dist/actions/create-note.d.mts +1 -1
  11. package/dist/actions/create-note.mjs +1 -1
  12. package/dist/actions/create-note.mjs.map +1 -1
  13. package/dist/actions/delete-note-by-id.cjs +1 -1
  14. package/dist/actions/delete-note-by-id.cjs.map +1 -1
  15. package/dist/actions/delete-note-by-id.d.cts +1 -1
  16. package/dist/actions/delete-note-by-id.d.mts +1 -1
  17. package/dist/actions/delete-note-by-id.mjs +1 -1
  18. package/dist/actions/delete-note-by-id.mjs.map +1 -1
  19. package/dist/actions/flag-note-as-outdated.cjs +1 -1
  20. package/dist/actions/flag-note-as-outdated.cjs.map +1 -1
  21. package/dist/actions/flag-note-as-outdated.d.cts +1 -1
  22. package/dist/actions/flag-note-as-outdated.d.mts +1 -1
  23. package/dist/actions/flag-note-as-outdated.mjs +1 -1
  24. package/dist/actions/flag-note-as-outdated.mjs.map +1 -1
  25. package/dist/actions/get-authenticated-user.cjs +1 -1
  26. package/dist/actions/get-authenticated-user.cjs.map +1 -1
  27. package/dist/actions/get-authenticated-user.d.cts +1 -1
  28. package/dist/actions/get-authenticated-user.d.mts +1 -1
  29. package/dist/actions/get-authenticated-user.mjs +1 -1
  30. package/dist/actions/get-authenticated-user.mjs.map +1 -1
  31. package/dist/actions/get-note-by-id.cjs +1 -1
  32. package/dist/actions/get-note-by-id.cjs.map +1 -1
  33. package/dist/actions/get-note-by-id.d.cts +1 -1
  34. package/dist/actions/get-note-by-id.d.mts +1 -1
  35. package/dist/actions/get-note-by-id.mjs +1 -1
  36. package/dist/actions/get-note-by-id.mjs.map +1 -1
  37. package/dist/actions/get-note-children.cjs +2 -2
  38. package/dist/actions/get-note-children.cjs.map +1 -1
  39. package/dist/actions/get-note-children.d.cts +2 -2
  40. package/dist/actions/get-note-children.d.mts +2 -2
  41. package/dist/actions/get-note-children.mjs +2 -2
  42. package/dist/actions/get-note-children.mjs.map +1 -1
  43. package/dist/actions/list-notes.cjs +2 -2
  44. package/dist/actions/list-notes.cjs.map +1 -1
  45. package/dist/actions/list-notes.d.cts +2 -2
  46. package/dist/actions/list-notes.d.mts +2 -2
  47. package/dist/actions/list-notes.mjs +2 -2
  48. package/dist/actions/list-notes.mjs.map +1 -1
  49. package/dist/actions/search-groups.cjs +2 -2
  50. package/dist/actions/search-groups.cjs.map +1 -1
  51. package/dist/actions/search-groups.d.cts +2 -2
  52. package/dist/actions/search-groups.d.mts +2 -2
  53. package/dist/actions/search-groups.mjs +2 -2
  54. package/dist/actions/search-groups.mjs.map +1 -1
  55. package/dist/actions/search-notes.cjs +3 -3
  56. package/dist/actions/search-notes.cjs.map +1 -1
  57. package/dist/actions/search-notes.d.cts +3 -3
  58. package/dist/actions/search-notes.d.mts +3 -3
  59. package/dist/actions/search-notes.mjs +3 -3
  60. package/dist/actions/search-notes.mjs.map +1 -1
  61. package/dist/actions/search-users.cjs +2 -2
  62. package/dist/actions/search-users.cjs.map +1 -1
  63. package/dist/actions/search-users.d.cts +2 -2
  64. package/dist/actions/search-users.d.mts +2 -2
  65. package/dist/actions/search-users.mjs +2 -2
  66. package/dist/actions/search-users.mjs.map +1 -1
  67. package/dist/actions/update-note-archived-state.cjs +1 -1
  68. package/dist/actions/update-note-archived-state.cjs.map +1 -1
  69. package/dist/actions/update-note-archived-state.d.cts +1 -1
  70. package/dist/actions/update-note-archived-state.d.mts +1 -1
  71. package/dist/actions/update-note-archived-state.mjs +1 -1
  72. package/dist/actions/update-note-archived-state.mjs.map +1 -1
  73. package/dist/actions/update-note-owner.cjs +1 -1
  74. package/dist/actions/update-note-owner.cjs.map +1 -1
  75. package/dist/actions/update-note-owner.d.cts +1 -1
  76. package/dist/actions/update-note-owner.d.mts +1 -1
  77. package/dist/actions/update-note-owner.mjs +1 -1
  78. package/dist/actions/update-note-owner.mjs.map +1 -1
  79. package/dist/actions/update-note.cjs +1 -1
  80. package/dist/actions/update-note.cjs.map +1 -1
  81. package/dist/actions/update-note.d.cts +1 -1
  82. package/dist/actions/update-note.d.mts +1 -1
  83. package/dist/actions/update-note.mjs +1 -1
  84. package/dist/actions/update-note.mjs.map +1 -1
  85. package/dist/actions/update-tile.cjs +1 -1
  86. package/dist/actions/update-tile.cjs.map +1 -1
  87. package/dist/actions/update-tile.d.cts +1 -1
  88. package/dist/actions/update-tile.d.mts +1 -1
  89. package/dist/actions/update-tile.mjs +1 -1
  90. package/dist/actions/update-tile.mjs.map +1 -1
  91. package/dist/actions/verify-note.cjs +1 -1
  92. package/dist/actions/verify-note.cjs.map +1 -1
  93. package/dist/actions/verify-note.d.cts +1 -1
  94. package/dist/actions/verify-note.d.mts +1 -1
  95. package/dist/actions/verify-note.mjs +1 -1
  96. package/dist/actions/verify-note.mjs.map +1 -1
  97. package/dist/catalog.cjs +1 -1
  98. package/dist/catalog.cjs.map +1 -1
  99. package/dist/catalog.d.cts +1 -1
  100. package/dist/catalog.d.mts +1 -1
  101. package/dist/catalog.mjs +1 -1
  102. package/dist/catalog.mjs.map +1 -1
  103. package/package.json +1 -1
@@ -12,11 +12,11 @@ const SliteAskQuestion_SourceSchema = zod.z.object({
12
12
  title: zod.z.string().describe("Title of the note").nullable(),
13
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
- }).describe("Source note used for answering the question.");
15
+ }).passthrough().describe("Source note used for answering the question.");
16
16
  const SliteAskQuestionOutput = zod.z.object({
17
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
- }).describe("Response model containing the answer and sources.");
19
+ }).passthrough().describe("Response model containing the answer and sources.");
20
20
  const sliteAskQuestion = require_action.action("SLITE_ASK_QUESTION", {
21
21
  slug: "slite-ask-question",
22
22
  name: "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.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
+ {"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"}
@@ -14,8 +14,8 @@ declare const SliteAskQuestionOutput: z.ZodObject<{
14
14
  title: z.ZodNullable<z.ZodString>;
15
15
  updatedAt: z.ZodNullable<z.ZodString>;
16
16
  explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
19
  declare const sliteAskQuestion: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  question: string;
21
21
  assistantId?: string | undefined;
@@ -14,8 +14,8 @@ declare const SliteAskQuestionOutput: z.ZodObject<{
14
14
  title: z.ZodNullable<z.ZodString>;
15
15
  updatedAt: z.ZodNullable<z.ZodString>;
16
16
  explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
19
  declare const sliteAskQuestion: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  question: string;
21
21
  assistantId?: string | undefined;
@@ -12,7 +12,7 @@ const SliteAskQuestion_SourceSchema = z.object({
12
12
  title: z.string().describe("Title of the note").nullable(),
13
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
- }).describe("Source note used for answering the question.");
15
+ }).passthrough().describe("Source note used for answering the question.");
16
16
  const sliteAskQuestion = action("SLITE_ASK_QUESTION", {
17
17
  slug: "slite-ask-question",
18
18
  name: "Ask Question",
@@ -21,7 +21,7 @@ const sliteAskQuestion = action("SLITE_ASK_QUESTION", {
21
21
  output: z.object({
22
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
- }).describe("Response model containing the answer and sources.")
24
+ }).passthrough().describe("Response model containing the answer and sources.")
25
25
  });
26
26
  //#endregion
27
27
  export { sliteAskQuestion };
@@ -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}).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"}
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"}
@@ -16,7 +16,7 @@ const SliteCreateNoteOutput = zod.z.object({
16
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
- }).describe("Response model for creating a note in Slite.");
19
+ }).passthrough().describe("Response model for creating a note in Slite.");
20
20
  const sliteCreateNote = require_action.action("SLITE_CREATE_NOTE", {
21
21
  slug: "slite-create-note",
22
22
  name: "Create Note",
@@ -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}).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
+ {"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"}
@@ -16,7 +16,7 @@ declare const SliteCreateNoteOutput: z.ZodObject<{
16
16
  updatedAt: z.ZodNullable<z.ZodString>;
17
17
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const sliteCreateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  title: string;
22
22
  html?: string | undefined;
@@ -16,7 +16,7 @@ declare const SliteCreateNoteOutput: z.ZodObject<{
16
16
  updatedAt: z.ZodNullable<z.ZodString>;
17
17
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const sliteCreateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  title: string;
22
22
  html?: string | undefined;
@@ -19,7 +19,7 @@ const sliteCreateNote = action("SLITE_CREATE_NOTE", {
19
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
- }).describe("Response model for creating a note in Slite.")
22
+ }).passthrough().describe("Response model for creating a note in Slite.")
23
23
  });
24
24
  //#endregion
25
25
  export { sliteCreateNote };
@@ -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}).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"}
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"}
@@ -5,7 +5,7 @@ const SliteDeleteNoteByIdInput = zod.z.object({ note_id: zod.z.string().describe
5
5
  const SliteDeleteNoteByIdOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Status message for the deletion operation").nullable().optional(),
7
7
  status_code: zod.z.number().int().describe("HTTP status code returned by the API (204 for successful deletion)").nullable()
8
- }).describe("Response model for delete note action.");
8
+ }).passthrough().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",
11
11
  name: "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.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
+ {"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"}
@@ -7,7 +7,7 @@ declare const SliteDeleteNoteByIdInput: z.ZodObject<{
7
7
  declare const SliteDeleteNoteByIdOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  status_code: z.ZodNullable<z.ZodNumber>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const sliteDeleteNoteById: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  note_id: string;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,7 +7,7 @@ declare const SliteDeleteNoteByIdInput: z.ZodObject<{
7
7
  declare const SliteDeleteNoteByIdOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  status_code: z.ZodNullable<z.ZodNumber>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const sliteDeleteNoteById: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  note_id: string;
13
13
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,7 +8,7 @@ const sliteDeleteNoteById = action("SLITE_DELETE_NOTE_BY_ID", {
8
8
  output: z.object({
9
9
  message: z.string().describe("Status message for the deletion operation").nullable().optional(),
10
10
  status_code: z.number().int().describe("HTTP status code returned by the API (204 for successful deletion)").nullable()
11
- }).describe("Response model for delete note action.")
11
+ }).passthrough().describe("Response model for delete note action.")
12
12
  });
13
13
  //#endregion
14
14
  export { sliteDeleteNoteById };
@@ -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}).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"}
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"}
@@ -13,7 +13,7 @@ const SliteFlagNoteAsOutdatedOutput = zod.z.object({
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
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
+ }).passthrough();
17
17
  const sliteFlagNoteAsOutdated = require_action.action("SLITE_FLAG_NOTE_AS_OUTDATED", {
18
18
  slug: "slite-flag-note-as-outdated",
19
19
  name: "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.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
+ {"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"}
@@ -13,7 +13,7 @@ declare const SliteFlagNoteAsOutdatedOutput: z.ZodObject<{
13
13
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  reviewState: z.ZodNullable<z.ZodString>;
15
15
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const sliteFlagNoteAsOutdated: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  reason: string;
19
19
  note_id: string;
@@ -13,7 +13,7 @@ declare const SliteFlagNoteAsOutdatedOutput: z.ZodObject<{
13
13
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  reviewState: z.ZodNullable<z.ZodString>;
15
15
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const sliteFlagNoteAsOutdated: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  reason: string;
19
19
  note_id: string;
@@ -16,7 +16,7 @@ const sliteFlagNoteAsOutdated = action("SLITE_FLAG_NOTE_AS_OUTDATED", {
16
16
  archivedAt: z.string().describe("Date of the archiving of the note in ISO 8601 format. Null if not archived.").nullable().optional(),
17
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
+ }).passthrough()
20
20
  });
21
21
  //#endregion
22
22
  export { sliteFlagNoteAsOutdated };
@@ -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});\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"}
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"}
@@ -7,7 +7,7 @@ const SliteGetAuthenticatedUserOutput = zod.z.object({
7
7
  displayName: zod.z.string().describe("Display name of the authenticated user.").nullable(),
8
8
  organizationName: zod.z.string().describe("Name of the organization the authenticated user belongs to.").nullable(),
9
9
  organizationDomain: zod.z.string().describe("Domain of the organization the authenticated user belongs to.").nullable()
10
- }).describe("Response containing authenticated user information.");
10
+ }).passthrough().describe("Response containing authenticated user information.");
11
11
  const sliteGetAuthenticatedUser = require_action.action("SLITE_GET_AUTHENTICATED_USER", {
12
12
  slug: "slite-get-authenticated-user",
13
13
  name: "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.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"}
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"}
@@ -7,7 +7,7 @@ declare const SliteGetAuthenticatedUserOutput: z.ZodObject<{
7
7
  displayName: z.ZodNullable<z.ZodString>;
8
8
  organizationName: z.ZodNullable<z.ZodString>;
9
9
  organizationDomain: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
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]>;
12
12
  //#endregion
13
13
  export { sliteGetAuthenticatedUser };
@@ -7,7 +7,7 @@ declare const SliteGetAuthenticatedUserOutput: z.ZodObject<{
7
7
  displayName: z.ZodNullable<z.ZodString>;
8
8
  organizationName: z.ZodNullable<z.ZodString>;
9
9
  organizationDomain: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
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]>;
12
12
  //#endregion
13
13
  export { sliteGetAuthenticatedUser };
@@ -10,7 +10,7 @@ const sliteGetAuthenticatedUser = action("SLITE_GET_AUTHENTICATED_USER", {
10
10
  displayName: z.string().describe("Display name of the authenticated user.").nullable(),
11
11
  organizationName: z.string().describe("Name of the organization the authenticated user belongs to.").nullable(),
12
12
  organizationDomain: z.string().describe("Domain of the organization the authenticated user belongs to.").nullable()
13
- }).describe("Response containing authenticated user information.")
13
+ }).passthrough().describe("Response containing authenticated user information.")
14
14
  });
15
15
  //#endregion
16
16
  export { sliteGetAuthenticatedUser };
@@ -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}).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,SAAS,qDAOF;AACV,CAAC"}
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"}
@@ -20,7 +20,7 @@ const SliteGetNoteByIdOutput = zod.z.object({
20
20
  "VerificationRequested"
21
21
  ]).describe("Review state of the note").nullable().optional(),
22
22
  parentNoteId: zod.z.string().describe("Parent note ID or null if root").nullable().optional()
23
- }).describe("Response model for a note with content.");
23
+ }).passthrough().describe("Response model for a note with content.");
24
24
  const sliteGetNoteById = require_action.action("SLITE_GET_NOTE_BY_ID", {
25
25
  slug: "slite-get-note-by-id",
26
26
  name: "Get Note By ID",
@@ -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}).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,SAAS,yCAAyC;AAErD,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 { 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"}
@@ -23,7 +23,7 @@ declare const SliteGetNoteByIdOutput: z.ZodObject<{
23
23
  VerificationRequested: "VerificationRequested";
24
24
  }>>>;
25
25
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const sliteGetNoteById: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  noteId: string;
29
29
  format?: "html" | "md" | undefined;
@@ -23,7 +23,7 @@ declare const SliteGetNoteByIdOutput: z.ZodObject<{
23
23
  VerificationRequested: "VerificationRequested";
24
24
  }>>>;
25
25
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const sliteGetNoteById: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  noteId: string;
29
29
  format?: "html" | "md" | undefined;
@@ -23,7 +23,7 @@ const sliteGetNoteById = action("SLITE_GET_NOTE_BY_ID", {
23
23
  "VerificationRequested"
24
24
  ]).describe("Review state of the note").nullable().optional(),
25
25
  parentNoteId: z.string().describe("Parent note ID or null if root").nullable().optional()
26
- }).describe("Response model for a note with content.")
26
+ }).passthrough().describe("Response model for a note with content.")
27
27
  });
28
28
  //#endregion
29
29
  export { sliteGetNoteById };
@@ -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}).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,SAAS,yCAOF;AACV,CAAC"}
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"}
@@ -20,13 +20,13 @@ const SliteGetNoteChildren_NoteSchema = zod.z.object({
20
20
  ]).nullable()).describe("Collection row attributes").nullable().optional(),
21
21
  reviewState: zod.z.string().describe("Verification status - 'Verified', 'Outdated', or 'VerificationRequested'").nullable().optional(),
22
22
  parentNoteId: zod.z.string().describe("Parent note's identifier").nullable().optional()
23
- }).describe("Model representing a note object.");
23
+ }).passthrough().describe("Model representing a note object.");
24
24
  const SliteGetNoteChildrenOutput = zod.z.object({
25
25
  notes: zod.z.array(SliteGetNoteChildren_NoteSchema).describe("Collection of note objects"),
26
26
  total: zod.z.number().int().describe("Total number of children").nullable(),
27
27
  nextCursor: zod.z.string().describe("Next cursor to continue fetching the paginated children").nullable().optional(),
28
28
  hasNextPage: zod.z.boolean().describe("Indicates if there is another page to fetch").nullable()
29
- }).describe("Response model for paginated note children.");
29
+ }).passthrough().describe("Response model for paginated note children.");
30
30
  const sliteGetNoteChildren = require_action.action("SLITE_GET_NOTE_CHILDREN", {
31
31
  slug: "slite-get-note-children",
32
32
  name: "Get Note Children",
@@ -1 +1 @@
1
- {"version":3,"file":"get-note-children.cjs","names":["z","action"],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,4BAA4B;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-note-children.cjs","names":["z","action"],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).passthrough().describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).passthrough().describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,4BAA4B;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,11 +16,11 @@ declare const SliteGetNoteChildrenOutput: z.ZodObject<{
16
16
  attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>;
17
17
  reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  total: z.ZodNullable<z.ZodNumber>;
21
21
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const sliteGetNoteChildren: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  noteId: string;
26
26
  cursor?: string | undefined;
@@ -16,11 +16,11 @@ declare const SliteGetNoteChildrenOutput: z.ZodObject<{
16
16
  attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>;
17
17
  reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
19
+ }, z.core.$loose>>;
20
20
  total: z.ZodNullable<z.ZodNumber>;
21
21
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const sliteGetNoteChildren: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  noteId: string;
26
26
  cursor?: string | undefined;
@@ -20,7 +20,7 @@ const SliteGetNoteChildren_NoteSchema = z.object({
20
20
  ]).nullable()).describe("Collection row attributes").nullable().optional(),
21
21
  reviewState: z.string().describe("Verification status - 'Verified', 'Outdated', or 'VerificationRequested'").nullable().optional(),
22
22
  parentNoteId: z.string().describe("Parent note's identifier").nullable().optional()
23
- }).describe("Model representing a note object.");
23
+ }).passthrough().describe("Model representing a note object.");
24
24
  const sliteGetNoteChildren = action("SLITE_GET_NOTE_CHILDREN", {
25
25
  slug: "slite-get-note-children",
26
26
  name: "Get Note Children",
@@ -31,7 +31,7 @@ const sliteGetNoteChildren = action("SLITE_GET_NOTE_CHILDREN", {
31
31
  total: z.number().int().describe("Total number of children").nullable(),
32
32
  nextCursor: z.string().describe("Next cursor to continue fetching the paginated children").nullable().optional(),
33
33
  hasNextPage: z.boolean().describe("Indicates if there is another page to fetch").nullable()
34
- }).describe("Response model for paginated note children.")
34
+ }).passthrough().describe("Response model for paginated note children.")
35
35
  });
36
36
  //#endregion
37
37
  export { sliteGetNoteChildren };
@@ -1 +1 @@
1
- {"version":3,"file":"get-note-children.mjs","names":[],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,MAAM,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAQ/C,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwC,EAAE,OAAO;EACjD,OAAO,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,4BAA4B;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-note-children.mjs","names":[],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).passthrough().describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).passthrough().describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,MAAM,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAQ7D,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwC,EAAE,OAAO;EACjD,OAAO,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,4BAA4B;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -12,13 +12,13 @@ const SliteListNotes_NoteSchema = zod.z.object({
12
12
  updatedAt: zod.z.string().describe("Last update timestamp in ISO 8601 date-time format.").nullable(),
13
13
  archivedAt: zod.z.string().describe("Archive timestamp in ISO 8601 date-time format, or null if not archived.").nullable().optional(),
14
14
  parentNoteId: zod.z.string().describe("Parent note identifier.").nullable().optional()
15
- }).describe("Model representing a single note in the response.");
15
+ }).passthrough().describe("Model representing a single note in the response.");
16
16
  const SliteListNotesOutput = zod.z.object({
17
17
  notes: zod.z.array(SliteListNotes_NoteSchema).describe("Array of Note objects matching the filter criteria."),
18
18
  total: zod.z.number().describe("Total number of notes.").nullable(),
19
19
  nextCursor: zod.z.string().describe("Cursor to continue fetching the next page of notes, or null if no more pages exist.").nullable().optional(),
20
20
  hasNextPage: zod.z.boolean().describe("Indicates whether there is another page to fetch.").nullable()
21
- }).describe("Response model for listing notes with pagination information.");
21
+ }).passthrough().describe("Response model for listing notes with pagination information.");
22
22
  const sliteListNotes = require_action.action("SLITE_LIST_NOTES", {
23
23
  slug: "slite-list-notes",
24
24
  name: "List Notes",