@keystrokehq/slite 0.1.2 → 0.1.3

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 (97) 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 +3 -3
  34. package/dist/actions/get-note-by-id.d.mts +3 -3
  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/package.json +1 -1
@@ -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,CA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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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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",
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.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 updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,qDAAqD;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.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 updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).passthrough().describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,qDAAqD;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,11 +13,11 @@ declare const SliteListNotesOutput: z.ZodObject<{
13
13
  updatedAt: z.ZodNullable<z.ZodString>;
14
14
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>;
17
17
  total: z.ZodNullable<z.ZodNumber>;
18
18
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const sliteListNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  cursor?: string | undefined;
23
23
  ownerId?: string | undefined;
@@ -13,11 +13,11 @@ declare const SliteListNotesOutput: z.ZodObject<{
13
13
  updatedAt: z.ZodNullable<z.ZodString>;
14
14
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>;
17
17
  total: z.ZodNullable<z.ZodNumber>;
18
18
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const sliteListNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  cursor?: string | undefined;
23
23
  ownerId?: string | undefined;
@@ -12,7 +12,7 @@ const SliteListNotes_NoteSchema = z.object({
12
12
  updatedAt: z.string().describe("Last update timestamp in ISO 8601 date-time format.").nullable(),
13
13
  archivedAt: z.string().describe("Archive timestamp in ISO 8601 date-time format, or null if not archived.").nullable().optional(),
14
14
  parentNoteId: 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 sliteListNotes = action("SLITE_LIST_NOTES", {
17
17
  slug: "slite-list-notes",
18
18
  name: "List Notes",
@@ -23,7 +23,7 @@ const sliteListNotes = action("SLITE_LIST_NOTES", {
23
23
  total: z.number().describe("Total number of notes.").nullable(),
24
24
  nextCursor: z.string().describe("Cursor to continue fetching the next page of notes, or null if no more pages exist.").nullable().optional(),
25
25
  hasNextPage: z.boolean().describe("Indicates whether there is another page to fetch.").nullable()
26
- }).describe("Response model for listing notes with pagination information.")
26
+ }).passthrough().describe("Response model for listing notes with pagination information.")
27
27
  });
28
28
  //#endregion
29
29
  export { sliteListNotes };
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.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 updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAQ/D,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkC,EAAE,OAAO;EAC3C,OAAO,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,qDAAqD;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.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 updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).passthrough().describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAQ7E,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkC,EAAE,OAAO;EAC3C,OAAO,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,qDAAqD;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
@@ -9,13 +9,13 @@ const SliteSearchGroups_GroupSchema = zod.z.object({
9
9
  id: zod.z.string().describe("Unique identifier for the group").nullable(),
10
10
  name: zod.z.string().describe("Name of the group").nullable(),
11
11
  description: zod.z.string().describe("Description of the group").nullable()
12
- }).describe("A group object containing group details.");
12
+ }).passthrough().describe("A group object containing group details.");
13
13
  const SliteSearchGroupsOutput = zod.z.object({
14
14
  total: zod.z.number().describe("Total count of groups matching the query").nullable(),
15
15
  groups: zod.z.array(SliteSearchGroups_GroupSchema).describe("List of groups matching the search query"),
16
16
  nextCursor: zod.z.string().describe("Cursor for the next page, null if no more pages").nullable().optional(),
17
17
  hasNextPage: zod.z.boolean().describe("Whether there are more results available").nullable()
18
- }).describe("Response model for searching groups.");
18
+ }).passthrough().describe("Response model for searching groups.");
19
19
  const sliteSearchGroups = require_action.action("SLITE_SEARCH_GROUPS", {
20
20
  slug: "slite-search-groups",
21
21
  name: "Search Groups",
@@ -1 +1 @@
1
- {"version":3,"file":"search-groups.cjs","names":["z","action"],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-groups.cjs","names":["z","action"],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).passthrough().describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,10 +11,10 @@ declare const SliteSearchGroupsOutput: z.ZodObject<{
11
11
  id: z.ZodNullable<z.ZodString>;
12
12
  name: z.ZodNullable<z.ZodString>;
13
13
  description: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>>;
14
+ }, z.core.$loose>>;
15
15
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const sliteSearchGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  query: string;
20
20
  cursor?: string | undefined;
@@ -11,10 +11,10 @@ declare const SliteSearchGroupsOutput: z.ZodObject<{
11
11
  id: z.ZodNullable<z.ZodString>;
12
12
  name: z.ZodNullable<z.ZodString>;
13
13
  description: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>>;
14
+ }, z.core.$loose>>;
15
15
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const sliteSearchGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  query: string;
20
20
  cursor?: string | undefined;
@@ -9,7 +9,7 @@ const SliteSearchGroups_GroupSchema = z.object({
9
9
  id: z.string().describe("Unique identifier for the group").nullable(),
10
10
  name: z.string().describe("Name of the group").nullable(),
11
11
  description: z.string().describe("Description of the group").nullable()
12
- }).describe("A group object containing group details.");
12
+ }).passthrough().describe("A group object containing group details.");
13
13
  const sliteSearchGroups = action("SLITE_SEARCH_GROUPS", {
14
14
  slug: "slite-search-groups",
15
15
  name: "Search Groups",
@@ -20,7 +20,7 @@ const sliteSearchGroups = action("SLITE_SEARCH_GROUPS", {
20
20
  groups: z.array(SliteSearchGroups_GroupSchema).describe("List of groups matching the search query"),
21
21
  nextCursor: z.string().describe("Cursor for the next page, null if no more pages").nullable().optional(),
22
22
  hasNextPage: z.boolean().describe("Whether there are more results available").nullable()
23
- }).describe("Response model for searching groups.")
23
+ }).passthrough().describe("Response model for searching groups.")
24
24
  });
25
25
  //#endregion
26
26
  export { sliteSearchGroups };
@@ -1 +1 @@
1
- {"version":3,"file":"search-groups.mjs","names":[],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAQtD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,QAAQ,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"search-groups.mjs","names":[],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).passthrough().describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAQpE,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,QAAQ,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
@@ -20,7 +20,7 @@ const SliteSearchNotesInput = zod.z.object({
20
20
  const SliteSearchNotes_ParentNoteSchema = zod.z.object({
21
21
  id: zod.z.string().describe("Parent note ID").nullable(),
22
22
  title: zod.z.string().describe("Parent note title").nullable()
23
- }).describe("Parent note in the breadcrumb hierarchy.");
23
+ }).passthrough().describe("Parent note in the breadcrumb hierarchy.");
24
24
  const SliteSearchNotes_SearchNoteHitSchema = zod.z.object({
25
25
  id: zod.z.string().describe("Unique note identifier").nullable(),
26
26
  type: zod.z.enum([
@@ -39,12 +39,12 @@ const SliteSearchNotes_SearchNoteHitSchema = zod.z.object({
39
39
  "VerificationRequested"
40
40
  ]).describe("Review status of the note").nullable().optional(),
41
41
  lastEditedAt: zod.z.string().describe("Last edit timestamp").nullable()
42
- }).describe("A single search result hit.");
42
+ }).passthrough().describe("A single search result hit.");
43
43
  const SliteSearchNotesOutput = zod.z.object({
44
44
  hits: zod.z.array(SliteSearchNotes_SearchNoteHitSchema).describe("Array of matching notes").nullable().optional(),
45
45
  page: zod.z.number().describe("Current page number").nullable(),
46
46
  nbPages: zod.z.number().describe("Total number of pages available for the current query").nullable()
47
- }).describe("Response model for search notes action.");
47
+ }).passthrough().describe("Response model for search notes action.");
48
48
  const sliteSearchNotes = require_action.action("SLITE_SEARCH_NOTES", {
49
49
  slug: "slite-search-notes",
50
50
  name: "Search Notes",
@@ -1 +1 @@
1
- {"version":3,"file":"search-notes.cjs","names":["z","action"],"sources":["../../src/actions/search-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchNotesInput = z.object({\n page: z.number().int().describe(\"Pagination control for results. Minimum value: 0.\").optional(),\n depth: z.number().int().describe(\"Filters results by note hierarchy level.\").optional(),\n query: z.string().describe(\"Search term for note lookup. Defaults to empty string if not provided.\").optional(),\n hitsPerPage: z.number().int().describe(\"Number of results per page. Range: 1-100.\").optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Filters by review status.\").optional(),\n parentNoteId: z.string().describe(\"Filters results to notes under a specific parent note.\").optional(),\n highlightPreTag: z.string().describe(\"Opening HTML/text tag for highlighting query matches in results.\").optional(),\n includeArchived: z.boolean().describe(\"When true, includes archived notes in results. Defaults to false.\").optional(),\n lastEditedAfter: z.string().describe(\"Returns only notes modified after the specified date (ISO 8601 date-time format).\").optional(),\n highlightPostTag: z.string().describe(\"Closing HTML/text tag for highlighting query matches in results.\").optional(),\n}).describe(\"Request model for searching notes.\");\nconst SliteSearchNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID\").nullable(),\n title: z.string().describe(\"Parent note title\").nullable(),\n}).describe(\"Parent note in the breadcrumb hierarchy.\");\nconst SliteSearchNotes_SearchNoteHitSchema = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n type: z.enum([\"rich_text\", \"discussion\", \"collection\"]).describe(\"Note type\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n highlight: z.string().describe(\"Part of the note content that matched the query (empty string when only title matches)\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if note is archived\").nullable().optional(),\n parentNotes: z.array(SliteSearchNotes_ParentNoteSchema).describe(\"Breadcrumb hierarchy of parent notes\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review status of the note\").nullable().optional(),\n lastEditedAt: z.string().describe(\"Last edit timestamp\").nullable(),\n}).describe(\"A single search result hit.\");\nexport const SliteSearchNotesOutput = z.object({\n hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe(\"Array of matching notes\").nullable().optional(),\n page: z.number().describe(\"Current page number\").nullable(),\n nbPages: z.number().describe(\"Total number of pages available for the current query\").nullable(),\n}).describe(\"Response model for search notes action.\");\n\nexport const sliteSearchNotes = action(\"SLITE_SEARCH_NOTES\", {\n slug: \"slite-search-notes\",\n name: \"Search Notes\",\n description: \"Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.\",\n input: SliteSearchNotesInput,\n output: SliteSearchNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,C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I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-notes.cjs","names":["z","action"],"sources":["../../src/actions/search-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchNotesInput = z.object({\n page: z.number().int().describe(\"Pagination control for results. Minimum value: 0.\").optional(),\n depth: z.number().int().describe(\"Filters results by note hierarchy level.\").optional(),\n query: z.string().describe(\"Search term for note lookup. Defaults to empty string if not provided.\").optional(),\n hitsPerPage: z.number().int().describe(\"Number of results per page. Range: 1-100.\").optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Filters by review status.\").optional(),\n parentNoteId: z.string().describe(\"Filters results to notes under a specific parent note.\").optional(),\n highlightPreTag: z.string().describe(\"Opening HTML/text tag for highlighting query matches in results.\").optional(),\n includeArchived: z.boolean().describe(\"When true, includes archived notes in results. Defaults to false.\").optional(),\n lastEditedAfter: z.string().describe(\"Returns only notes modified after the specified date (ISO 8601 date-time format).\").optional(),\n highlightPostTag: z.string().describe(\"Closing HTML/text tag for highlighting query matches in results.\").optional(),\n}).describe(\"Request model for searching notes.\");\nconst SliteSearchNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID\").nullable(),\n title: z.string().describe(\"Parent note title\").nullable(),\n}).passthrough().describe(\"Parent note in the breadcrumb hierarchy.\");\nconst SliteSearchNotes_SearchNoteHitSchema = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n type: z.enum([\"rich_text\", \"discussion\", \"collection\"]).describe(\"Note type\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n highlight: z.string().describe(\"Part of the note content that matched the query (empty string when only title matches)\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if note is archived\").nullable().optional(),\n parentNotes: z.array(SliteSearchNotes_ParentNoteSchema).describe(\"Breadcrumb hierarchy of parent notes\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review status of the note\").nullable().optional(),\n lastEditedAt: z.string().describe(\"Last edit timestamp\").nullable(),\n}).passthrough().describe(\"A single search result hit.\");\nexport const SliteSearchNotesOutput = z.object({\n hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe(\"Array of matching notes\").nullable().optional(),\n page: z.number().describe(\"Current page number\").nullable(),\n nbPages: z.number().describe(\"Total number of pages available for the current query\").nullable(),\n}).passthrough().describe(\"Response model for search notes action.\");\n\nexport const sliteSearchNotes = action(\"SLITE_SEARCH_NOTES\", {\n slug: \"slite-search-notes\",\n name: \"Search Notes\",\n description: \"Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.\",\n input: SliteSearchNotesInput,\n output: SliteSearchNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA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esOutput: z.ZodObject<{
32
32
  parentNotes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
33
33
  id: z.ZodNullable<z.ZodString>;
34
34
  title: z.ZodNullable<z.ZodString>;
35
- }, z.core.$strip>>>>;
35
+ }, z.core.$loose>>>>;
36
36
  reviewState: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
37
37
  Verified: "Verified";
38
38
  Outdated: "Outdated";
39
39
  VerificationRequested: "VerificationRequested";
40
40
  }>>>;
41
41
  lastEditedAt: z.ZodNullable<z.ZodString>;
42
- }, z.core.$strip>>>>;
42
+ }, z.core.$loose>>>>;
43
43
  page: z.ZodNullable<z.ZodNumber>;
44
44
  nbPages: z.ZodNullable<z.ZodNumber>;
45
- }, z.core.$strip>;
45
+ }, z.core.$loose>;
46
46
  declare const sliteSearchNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
47
47
  page?: number | undefined;
48
48
  depth?: number | undefined;
@@ -32,17 +32,17 @@ declare const SliteSearchNotesOutput: z.ZodObject<{
32
32
  parentNotes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
33
33
  id: z.ZodNullable<z.ZodString>;
34
34
  title: z.ZodNullable<z.ZodString>;
35
- }, z.core.$strip>>>>;
35
+ }, z.core.$loose>>>>;
36
36
  reviewState: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
37
37
  Verified: "Verified";
38
38
  Outdated: "Outdated";
39
39
  VerificationRequested: "VerificationRequested";
40
40
  }>>>;
41
41
  lastEditedAt: z.ZodNullable<z.ZodString>;
42
- }, z.core.$strip>>>>;
42
+ }, z.core.$loose>>>>;
43
43
  page: z.ZodNullable<z.ZodNumber>;
44
44
  nbPages: z.ZodNullable<z.ZodNumber>;
45
- }, z.core.$strip>;
45
+ }, z.core.$loose>;
46
46
  declare const sliteSearchNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
47
47
  page?: number | undefined;
48
48
  depth?: number | undefined;
@@ -20,7 +20,7 @@ const SliteSearchNotesInput = z.object({
20
20
  const SliteSearchNotes_ParentNoteSchema = z.object({
21
21
  id: z.string().describe("Parent note ID").nullable(),
22
22
  title: z.string().describe("Parent note title").nullable()
23
- }).describe("Parent note in the breadcrumb hierarchy.");
23
+ }).passthrough().describe("Parent note in the breadcrumb hierarchy.");
24
24
  const SliteSearchNotes_SearchNoteHitSchema = z.object({
25
25
  id: z.string().describe("Unique note identifier").nullable(),
26
26
  type: z.enum([
@@ -39,7 +39,7 @@ const SliteSearchNotes_SearchNoteHitSchema = z.object({
39
39
  "VerificationRequested"
40
40
  ]).describe("Review status of the note").nullable().optional(),
41
41
  lastEditedAt: z.string().describe("Last edit timestamp").nullable()
42
- }).describe("A single search result hit.");
42
+ }).passthrough().describe("A single search result hit.");
43
43
  const sliteSearchNotes = action("SLITE_SEARCH_NOTES", {
44
44
  slug: "slite-search-notes",
45
45
  name: "Search Notes",
@@ -49,7 +49,7 @@ const sliteSearchNotes = action("SLITE_SEARCH_NOTES", {
49
49
  hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe("Array of matching notes").nullable().optional(),
50
50
  page: z.number().describe("Current page number").nullable(),
51
51
  nbPages: z.number().describe("Total number of pages available for the current query").nullable()
52
- }).describe("Response model for search notes action.")
52
+ }).passthrough().describe("Response model for search notes action.")
53
53
  });
54
54
  //#endregion
55
55
  export { sliteSearchNotes };
@@ -1 +1 @@
1
- {"version":3,"file":"search-notes.mjs","names":[],"sources":["../../src/actions/search-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchNotesInput = z.object({\n page: z.number().int().describe(\"Pagination control for results. Minimum value: 0.\").optional(),\n depth: z.number().int().describe(\"Filters results by note hierarchy level.\").optional(),\n query: z.string().describe(\"Search term for note lookup. Defaults to empty string if not provided.\").optional(),\n hitsPerPage: z.number().int().describe(\"Number of results per page. Range: 1-100.\").optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Filters by review status.\").optional(),\n parentNoteId: z.string().describe(\"Filters results to notes under a specific parent note.\").optional(),\n highlightPreTag: z.string().describe(\"Opening HTML/text tag for highlighting query matches in results.\").optional(),\n includeArchived: z.boolean().describe(\"When true, includes archived notes in results. Defaults to false.\").optional(),\n lastEditedAfter: z.string().describe(\"Returns only notes modified after the specified date (ISO 8601 date-time format).\").optional(),\n highlightPostTag: z.string().describe(\"Closing HTML/text tag for highlighting query matches in results.\").optional(),\n}).describe(\"Request model for searching notes.\");\nconst SliteSearchNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID\").nullable(),\n title: z.string().describe(\"Parent note title\").nullable(),\n}).describe(\"Parent note in the breadcrumb hierarchy.\");\nconst SliteSearchNotes_SearchNoteHitSchema = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n type: z.enum([\"rich_text\", \"discussion\", \"collection\"]).describe(\"Note type\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n highlight: z.string().describe(\"Part of the note content that matched the query (empty string when only title matches)\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if note is archived\").nullable().optional(),\n parentNotes: z.array(SliteSearchNotes_ParentNoteSchema).describe(\"Breadcrumb hierarchy of parent notes\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review status of the note\").nullable().optional(),\n lastEditedAt: z.string().describe(\"Last edit timestamp\").nullable(),\n}).describe(\"A single search result hit.\");\nexport const SliteSearchNotesOutput = z.object({\n hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe(\"Array of matching notes\").nullable().optional(),\n page: z.number().describe(\"Current page number\").nullable(),\n nbPages: z.number().describe(\"Total number of pages available for the current query\").nullable(),\n}).describe(\"Response model for search notes action.\");\n\nexport const sliteSearchNotes = action(\"SLITE_SEARCH_NOTES\", {\n slug: \"slite-search-notes\",\n name: \"Search Notes\",\n description: \"Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.\",\n input: SliteSearchNotesInput,\n output: SliteSearchNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACpH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACnI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;AAC3D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC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action } from \"../action\";\n\nexport const SliteSearchNotesInput = z.object({\n page: z.number().int().describe(\"Pagination control for results. Minimum value: 0.\").optional(),\n depth: z.number().int().describe(\"Filters results by note hierarchy level.\").optional(),\n query: z.string().describe(\"Search term for note lookup. Defaults to empty string if not provided.\").optional(),\n hitsPerPage: z.number().int().describe(\"Number of results per page. Range: 1-100.\").optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Filters by review status.\").optional(),\n parentNoteId: z.string().describe(\"Filters results to notes under a specific parent note.\").optional(),\n highlightPreTag: z.string().describe(\"Opening HTML/text tag for highlighting query matches in results.\").optional(),\n includeArchived: z.boolean().describe(\"When true, includes archived notes in results. Defaults to false.\").optional(),\n lastEditedAfter: z.string().describe(\"Returns only notes modified after the specified date (ISO 8601 date-time format).\").optional(),\n highlightPostTag: z.string().describe(\"Closing HTML/text tag for highlighting query matches in results.\").optional(),\n}).describe(\"Request model for searching notes.\");\nconst SliteSearchNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID\").nullable(),\n title: z.string().describe(\"Parent note title\").nullable(),\n}).passthrough().describe(\"Parent note in the breadcrumb hierarchy.\");\nconst SliteSearchNotes_SearchNoteHitSchema = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n type: z.enum([\"rich_text\", \"discussion\", \"collection\"]).describe(\"Note type\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n highlight: z.string().describe(\"Part of the note content that matched the query (empty string when only title matches)\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if note is archived\").nullable().optional(),\n parentNotes: z.array(SliteSearchNotes_ParentNoteSchema).describe(\"Breadcrumb hierarchy of parent notes\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review status of the note\").nullable().optional(),\n lastEditedAt: z.string().describe(\"Last edit timestamp\").nullable(),\n}).passthrough().describe(\"A single search result hit.\");\nexport const SliteSearchNotesOutput = z.object({\n hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe(\"Array of matching notes\").nullable().optional(),\n page: z.number().describe(\"Current page number\").nullable(),\n nbPages: z.number().describe(\"Total number of pages available for the current query\").nullable(),\n}).passthrough().describe(\"Response model for search notes action.\");\n\nexport const sliteSearchNotes = action(\"SLITE_SEARCH_NOTES\", {\n slug: \"slite-search-notes\",\n name: \"Search Notes\",\n description: \"Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.\",\n input: SliteSearchNotesInput,\n output: SliteSearchNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACpH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACnI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS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oC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -13,13 +13,13 @@ const SliteSearchUsers_UserSchema = zod.z.object({
13
13
  archivedAt: zod.z.string().describe("Timestamp when user was archived, null if not archived").nullable().optional(),
14
14
  displayName: zod.z.string().describe("User's display name").nullable(),
15
15
  organizationRole: zod.z.string().describe("User's role in the organization").nullable().optional()
16
- }).describe("Individual user object in the search results.");
16
+ }).passthrough().describe("Individual user object in the search results.");
17
17
  const SliteSearchUsersOutput = zod.z.object({
18
18
  total: zod.z.number().int().describe("Total count of users matching the query").nullable(),
19
19
  users: zod.z.array(SliteSearchUsers_UserSchema).describe("List of users matching the query"),
20
20
  nextCursor: zod.z.string().describe("Cursor for retrieving the next page of results").nullable().optional(),
21
21
  hasNextPage: zod.z.boolean().describe("Whether there are more results available").nullable()
22
- }).describe("Response model for user search results with pagination.");
22
+ }).passthrough().describe("Response model for user search results with pagination.");
23
23
  const sliteSearchUsers = require_action.action("SLITE_SEARCH_USERS", {
24
24
  slug: "slite-search-users",
25
25
  name: "Search Users",
@@ -1 +1 @@
1
- {"version":3,"file":"search-users.cjs","names":["z","action"],"sources":["../../src/actions/search-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,kCAAkC;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-users.cjs","names":["z","action"],"sources":["../../src/actions/search-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).passthrough().describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,kCAAkC;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,10 +15,10 @@ declare const SliteSearchUsersOutput: z.ZodObject<{
15
15
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  displayName: z.ZodNullable<z.ZodString>;
17
17
  organizationRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const sliteSearchUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  query: string;
24
24
  cursor?: string | undefined;
@@ -15,10 +15,10 @@ declare const SliteSearchUsersOutput: z.ZodObject<{
15
15
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  displayName: z.ZodNullable<z.ZodString>;
17
17
  organizationRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const sliteSearchUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  query: string;
24
24
  cursor?: string | undefined;
@@ -13,7 +13,7 @@ const SliteSearchUsers_UserSchema = z.object({
13
13
  archivedAt: z.string().describe("Timestamp when user was archived, null if not archived").nullable().optional(),
14
14
  displayName: z.string().describe("User's display name").nullable(),
15
15
  organizationRole: z.string().describe("User's role in the organization").nullable().optional()
16
- }).describe("Individual user object in the search results.");
16
+ }).passthrough().describe("Individual user object in the search results.");
17
17
  const sliteSearchUsers = action("SLITE_SEARCH_USERS", {
18
18
  slug: "slite-search-users",
19
19
  name: "Search Users",
@@ -24,7 +24,7 @@ const sliteSearchUsers = action("SLITE_SEARCH_USERS", {
24
24
  users: z.array(SliteSearchUsers_UserSchema).describe("List of users matching the query"),
25
25
  nextCursor: z.string().describe("Cursor for retrieving the next page of results").nullable().optional(),
26
26
  hasNextPage: z.boolean().describe("Whether there are more results available").nullable()
27
- }).describe("Response model for user search results with pagination.")
27
+ }).passthrough().describe("Response model for user search results with pagination.")
28
28
  });
29
29
  //#endregion
30
30
  export { sliteSearchUsers };
@@ -1 +1 @@
1
- {"version":3,"file":"search-users.mjs","names":[],"sources":["../../src/actions/search-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAQ3D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoC,EAAE,OAAO;EAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,kCAAkC;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"search-users.mjs","names":[],"sources":["../../src/actions/search-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).passthrough().describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAQzE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoC,EAAE,OAAO;EAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,kCAAkC;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const SliteUpdateNoteArchivedStateOutput = zod.z.object({
12
12
  updatedAt: zod.z.string().describe("ISO 8601 date-time of last update").nullable(),
13
13
  archivedAt: zod.z.string().describe("ISO 8601 date-time when archived, or null if not archived").nullable().optional(),
14
14
  parentNoteId: zod.z.string().describe("Identifier of parent note if nested").nullable().optional()
15
- }).describe("Response model for the updated note.");
15
+ }).passthrough().describe("Response model for the updated note.");
16
16
  const sliteUpdateNoteArchivedState = require_action.action("SLITE_UPDATE_NOTE_ARCHIVED_STATE", {
17
17
  slug: "slite-update-note-archived-state",
18
18
  name: "Update Note Archived State",
@@ -1 +1 @@
1
- {"version":3,"file":"update-note-archived-state.cjs","names":["z","action"],"sources":["../../src/actions/update-note-archived-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteArchivedStateInput = z.object({\n note_id: z.string().describe(\"The identifier of the note to modify\"),\n archived: z.boolean().describe(\"Set to true to archive the note, false to unarchive it\"),\n}).describe(\"Request model for updating a note's archived state.\");\nexport const SliteUpdateNoteArchivedStateOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note URL\").nullable(),\n title: z.string().describe(\"The note title\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 date-time of last update\").nullable(),\n archivedAt: z.string().describe(\"ISO 8601 date-time when archived, or null if not archived\").nullable().optional(),\n parentNoteId: z.string().describe(\"Identifier of parent note if nested\").nullable().optional(),\n}).describe(\"Response model for the updated note.\");\n\nexport const sliteUpdateNoteArchivedState = action(\"SLITE_UPDATE_NOTE_ARCHIVED_STATE\", {\n slug: \"slite-update-note-archived-state\",\n name: \"Update Note Archived State\",\n description: \"Tool to update the archived state of a note in Slite. Use when you need to archive or unarchive a note.\",\n input: SliteUpdateNoteArchivedStateInput,\n output: SliteUpdateNoteArchivedStateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;AACzF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-note-archived-state.cjs","names":["z","action"],"sources":["../../src/actions/update-note-archived-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteArchivedStateInput = z.object({\n note_id: z.string().describe(\"The identifier of the note to modify\"),\n archived: z.boolean().describe(\"Set to true to archive the note, false to unarchive it\"),\n}).describe(\"Request model for updating a note's archived state.\");\nexport const SliteUpdateNoteArchivedStateOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note URL\").nullable(),\n title: z.string().describe(\"The note title\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 date-time of last update\").nullable(),\n archivedAt: z.string().describe(\"ISO 8601 date-time when archived, or null if not archived\").nullable().optional(),\n parentNoteId: z.string().describe(\"Identifier of parent note if nested\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated note.\");\n\nexport const sliteUpdateNoteArchivedState = action(\"SLITE_UPDATE_NOTE_ARCHIVED_STATE\", {\n slug: \"slite-update-note-archived-state\",\n name: \"Update Note Archived State\",\n description: \"Tool to update the archived state of a note in Slite. Use when you need to archive or unarchive a note.\",\n input: SliteUpdateNoteArchivedStateInput,\n output: SliteUpdateNoteArchivedStateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;AACzF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const SliteUpdateNoteArchivedStateOutput: z.ZodObject<{
12
12
  updatedAt: z.ZodNullable<z.ZodString>;
13
13
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const sliteUpdateNoteArchivedState: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  note_id: string;
18
18
  archived: boolean;
@@ -12,7 +12,7 @@ declare const SliteUpdateNoteArchivedStateOutput: z.ZodObject<{
12
12
  updatedAt: z.ZodNullable<z.ZodString>;
13
13
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const sliteUpdateNoteArchivedState: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  note_id: string;
18
18
  archived: boolean;
@@ -15,7 +15,7 @@ const sliteUpdateNoteArchivedState = action("SLITE_UPDATE_NOTE_ARCHIVED_STATE",
15
15
  updatedAt: z.string().describe("ISO 8601 date-time of last update").nullable(),
16
16
  archivedAt: z.string().describe("ISO 8601 date-time when archived, or null if not archived").nullable().optional(),
17
17
  parentNoteId: z.string().describe("Identifier of parent note if nested").nullable().optional()
18
- }).describe("Response model for the updated note.")
18
+ }).passthrough().describe("Response model for the updated note.")
19
19
  });
20
20
  //#endregion
21
21
  export { sliteUpdateNoteArchivedState };
@@ -1 +1 @@
1
- {"version":3,"file":"update-note-archived-state.mjs","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteArchivedStateInput = z.object({\n note_id: z.string().describe(\"The identifier of the note to modify\"),\n archived: z.boolean().describe(\"Set to true to archive the note, false to unarchive it\"),\n}).describe(\"Request model for updating a note's archived state.\");\nexport const SliteUpdateNoteArchivedStateOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note URL\").nullable(),\n title: z.string().describe(\"The note title\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 date-time of last update\").nullable(),\n archivedAt: z.string().describe(\"ISO 8601 date-time when archived, or null if not archived\").nullable().optional(),\n parentNoteId: z.string().describe(\"Identifier of parent note if nested\").nullable().optional(),\n}).describe(\"Response model for the updated note.\");\n\nexport const sliteUpdateNoteArchivedState = action(\"SLITE_UPDATE_NOTE_ARCHIVED_STATE\", {\n slug: \"slite-update-note-archived-state\",\n name: \"Update Note Archived State\",\n description: \"Tool to update the archived state of a note in Slite. Use when you need to archive or unarchive a note.\",\n input: SliteUpdateNoteArchivedStateInput,\n output: SliteUpdateNoteArchivedStateOutput,\n});\n"],"mappings":";;AAiBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACnE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;CACzF,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAdgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-note-archived-state.mjs","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteArchivedStateInput = z.object({\n note_id: z.string().describe(\"The identifier of the note to modify\"),\n archived: z.boolean().describe(\"Set to true to archive the note, false to unarchive it\"),\n}).describe(\"Request model for updating a note's archived state.\");\nexport const SliteUpdateNoteArchivedStateOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note URL\").nullable(),\n title: z.string().describe(\"The note title\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 date-time of last update\").nullable(),\n archivedAt: z.string().describe(\"ISO 8601 date-time when archived, or null if not archived\").nullable().optional(),\n parentNoteId: z.string().describe(\"Identifier of parent note if nested\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated note.\");\n\nexport const sliteUpdateNoteArchivedState = action(\"SLITE_UPDATE_NOTE_ARCHIVED_STATE\", {\n slug: \"slite-update-note-archived-state\",\n name: \"Update Note Archived State\",\n description: \"Tool to update the archived state of a note in Slite. Use when you need to archive or unarchive a note.\",\n input: SliteUpdateNoteArchivedStateInput,\n output: SliteUpdateNoteArchivedStateOutput,\n});\n"],"mappings":";;AAiBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACnE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;CACzF,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAdgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const SliteUpdateNoteOwnerOutput = zod.z.object({
13
13
  updatedAt: zod.z.string().describe("Last modification timestamp").nullable(),
14
14
  archivedAt: zod.z.string().describe("Archive timestamp if applicable").nullable().optional(),
15
15
  parentNoteId: zod.z.string().describe("Parent note reference").nullable().optional()
16
- }).describe("Response model for note ownership update.");
16
+ }).passthrough().describe("Response model for note ownership update.");
17
17
  const sliteUpdateNoteOwner = require_action.action("SLITE_UPDATE_NOTE_OWNER", {
18
18
  slug: "slite-update-note-owner",
19
19
  name: "Update Note Owner",
@@ -1 +1 @@
1
- {"version":3,"file":"update-note-owner.cjs","names":["z","action"],"sources":["../../src/actions/update-note-owner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteOwnerInput = z.object({\n note_id: z.string().describe(\"Note id to update\"),\n user_id: z.string().describe(\"User id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n group_id: z.string().describe(\"Group id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n}).describe(\"Request model for updating note ownership.\");\nexport const SliteUpdateNoteOwnerOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note's accessible URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n updatedAt: z.string().describe(\"Last modification timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if applicable\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note reference\").nullable().optional(),\n}).describe(\"Response model for note ownership update.\");\n\nexport const sliteUpdateNoteOwner = action(\"SLITE_UPDATE_NOTE_OWNER\", {\n slug: \"slite-update-note-owner\",\n name: \"Update Note Owner\",\n description: \"Tool to update the owner of a note. Use when you need to transfer note ownership to a user or group. Either userId or groupId must be provided.\",\n input: SliteUpdateNoteOwnerInput,\n output: SliteUpdateNoteOwnerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-note-owner.cjs","names":["z","action"],"sources":["../../src/actions/update-note-owner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteOwnerInput = z.object({\n note_id: z.string().describe(\"Note id to update\"),\n user_id: z.string().describe(\"User id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n group_id: z.string().describe(\"Group id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n}).describe(\"Request model for updating note ownership.\");\nexport const SliteUpdateNoteOwnerOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note's accessible URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n updatedAt: z.string().describe(\"Last modification timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if applicable\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note reference\").nullable().optional(),\n}).passthrough().describe(\"Response model for note ownership update.\");\n\nexport const sliteUpdateNoteOwner = action(\"SLITE_UPDATE_NOTE_OWNER\", {\n slug: \"slite-update-note-owner\",\n name: \"Update Note Owner\",\n description: \"Tool to update the owner of a note. Use when you need to transfer note ownership to a user or group. Either userId or groupId must be provided.\",\n input: SliteUpdateNoteOwnerInput,\n output: SliteUpdateNoteOwnerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}