@keystrokehq/slite 0.1.0 → 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 (137) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/ask-question.cjs +7 -7
  4. package/dist/actions/ask-question.cjs.map +1 -1
  5. package/dist/actions/ask-question.d.cts +20 -3
  6. package/dist/actions/ask-question.d.cts.map +1 -1
  7. package/dist/actions/ask-question.d.mts +20 -3
  8. package/dist/actions/ask-question.d.mts.map +1 -1
  9. package/dist/actions/ask-question.mjs +7 -7
  10. package/dist/actions/ask-question.mjs.map +1 -1
  11. package/dist/actions/create-note.cjs +5 -5
  12. package/dist/actions/create-note.cjs.map +1 -1
  13. package/dist/actions/create-note.d.cts +24 -3
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +24 -3
  16. package/dist/actions/create-note.d.mts.map +1 -1
  17. package/dist/actions/create-note.mjs +5 -5
  18. package/dist/actions/create-note.mjs.map +1 -1
  19. package/dist/actions/delete-note-by-id.cjs +2 -2
  20. package/dist/actions/delete-note-by-id.cjs.map +1 -1
  21. package/dist/actions/delete-note-by-id.d.cts +10 -3
  22. package/dist/actions/delete-note-by-id.d.cts.map +1 -1
  23. package/dist/actions/delete-note-by-id.d.mts +10 -3
  24. package/dist/actions/delete-note-by-id.d.mts.map +1 -1
  25. package/dist/actions/delete-note-by-id.mjs +2 -2
  26. package/dist/actions/delete-note-by-id.mjs.map +1 -1
  27. package/dist/actions/flag-note-as-outdated.cjs +6 -6
  28. package/dist/actions/flag-note-as-outdated.cjs.map +1 -1
  29. package/dist/actions/flag-note-as-outdated.d.cts +17 -3
  30. package/dist/actions/flag-note-as-outdated.d.cts.map +1 -1
  31. package/dist/actions/flag-note-as-outdated.d.mts +17 -3
  32. package/dist/actions/flag-note-as-outdated.d.mts.map +1 -1
  33. package/dist/actions/flag-note-as-outdated.mjs +6 -6
  34. package/dist/actions/flag-note-as-outdated.mjs.map +1 -1
  35. package/dist/actions/get-authenticated-user.cjs +5 -5
  36. package/dist/actions/get-authenticated-user.cjs.map +1 -1
  37. package/dist/actions/get-authenticated-user.d.cts +8 -3
  38. package/dist/actions/get-authenticated-user.d.cts.map +1 -1
  39. package/dist/actions/get-authenticated-user.d.mts +8 -3
  40. package/dist/actions/get-authenticated-user.d.mts.map +1 -1
  41. package/dist/actions/get-authenticated-user.mjs +5 -5
  42. package/dist/actions/get-authenticated-user.mjs.map +1 -1
  43. package/dist/actions/get-note-by-id.cjs +6 -6
  44. package/dist/actions/get-note-by-id.cjs.map +1 -1
  45. package/dist/actions/get-note-by-id.d.cts +27 -3
  46. package/dist/actions/get-note-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-note-by-id.d.mts +27 -3
  48. package/dist/actions/get-note-by-id.d.mts.map +1 -1
  49. package/dist/actions/get-note-by-id.mjs +6 -6
  50. package/dist/actions/get-note-by-id.mjs.map +1 -1
  51. package/dist/actions/get-note-children.cjs +9 -9
  52. package/dist/actions/get-note-children.cjs.map +1 -1
  53. package/dist/actions/get-note-children.d.cts +24 -3
  54. package/dist/actions/get-note-children.d.cts.map +1 -1
  55. package/dist/actions/get-note-children.d.mts +24 -3
  56. package/dist/actions/get-note-children.d.mts.map +1 -1
  57. package/dist/actions/get-note-children.mjs +9 -9
  58. package/dist/actions/get-note-children.mjs.map +1 -1
  59. package/dist/actions/list-notes.cjs +8 -8
  60. package/dist/actions/list-notes.cjs.map +1 -1
  61. package/dist/actions/list-notes.d.cts +21 -3
  62. package/dist/actions/list-notes.d.cts.map +1 -1
  63. package/dist/actions/list-notes.d.mts +21 -3
  64. package/dist/actions/list-notes.d.mts.map +1 -1
  65. package/dist/actions/list-notes.mjs +8 -8
  66. package/dist/actions/list-notes.mjs.map +1 -1
  67. package/dist/actions/search-groups.cjs +7 -7
  68. package/dist/actions/search-groups.cjs.map +1 -1
  69. package/dist/actions/search-groups.d.cts +18 -3
  70. package/dist/actions/search-groups.d.cts.map +1 -1
  71. package/dist/actions/search-groups.d.mts +18 -3
  72. package/dist/actions/search-groups.d.mts.map +1 -1
  73. package/dist/actions/search-groups.mjs +7 -7
  74. package/dist/actions/search-groups.mjs.map +1 -1
  75. package/dist/actions/search-notes.cjs +13 -13
  76. package/dist/actions/search-notes.cjs.map +1 -1
  77. package/dist/actions/search-notes.d.cts +54 -3
  78. package/dist/actions/search-notes.d.cts.map +1 -1
  79. package/dist/actions/search-notes.d.mts +54 -3
  80. package/dist/actions/search-notes.d.mts.map +1 -1
  81. package/dist/actions/search-notes.mjs +13 -13
  82. package/dist/actions/search-notes.mjs.map +1 -1
  83. package/dist/actions/search-users.cjs +7 -7
  84. package/dist/actions/search-users.cjs.map +1 -1
  85. package/dist/actions/search-users.d.cts +23 -3
  86. package/dist/actions/search-users.d.cts.map +1 -1
  87. package/dist/actions/search-users.d.mts +23 -3
  88. package/dist/actions/search-users.d.mts.map +1 -1
  89. package/dist/actions/search-users.mjs +7 -7
  90. package/dist/actions/search-users.mjs.map +1 -1
  91. package/dist/actions/update-note-archived-state.cjs +5 -5
  92. package/dist/actions/update-note-archived-state.cjs.map +1 -1
  93. package/dist/actions/update-note-archived-state.d.cts +16 -3
  94. package/dist/actions/update-note-archived-state.d.cts.map +1 -1
  95. package/dist/actions/update-note-archived-state.d.mts +16 -3
  96. package/dist/actions/update-note-archived-state.d.mts.map +1 -1
  97. package/dist/actions/update-note-archived-state.mjs +5 -5
  98. package/dist/actions/update-note-archived-state.mjs.map +1 -1
  99. package/dist/actions/update-note-owner.cjs +5 -5
  100. package/dist/actions/update-note-owner.cjs.map +1 -1
  101. package/dist/actions/update-note-owner.d.cts +18 -3
  102. package/dist/actions/update-note-owner.d.cts.map +1 -1
  103. package/dist/actions/update-note-owner.d.mts +18 -3
  104. package/dist/actions/update-note-owner.d.mts.map +1 -1
  105. package/dist/actions/update-note-owner.mjs +5 -5
  106. package/dist/actions/update-note-owner.mjs.map +1 -1
  107. package/dist/actions/update-note.cjs +5 -5
  108. package/dist/actions/update-note.cjs.map +1 -1
  109. package/dist/actions/update-note.d.cts +25 -3
  110. package/dist/actions/update-note.d.cts.map +1 -1
  111. package/dist/actions/update-note.d.mts +25 -3
  112. package/dist/actions/update-note.d.mts.map +1 -1
  113. package/dist/actions/update-note.mjs +5 -5
  114. package/dist/actions/update-note.mjs.map +1 -1
  115. package/dist/actions/update-tile.cjs +1 -1
  116. package/dist/actions/update-tile.cjs.map +1 -1
  117. package/dist/actions/update-tile.d.cts +27 -3
  118. package/dist/actions/update-tile.d.cts.map +1 -1
  119. package/dist/actions/update-tile.d.mts +27 -3
  120. package/dist/actions/update-tile.d.mts.map +1 -1
  121. package/dist/actions/update-tile.mjs +1 -1
  122. package/dist/actions/update-tile.mjs.map +1 -1
  123. package/dist/actions/verify-note.cjs +5 -5
  124. package/dist/actions/verify-note.cjs.map +1 -1
  125. package/dist/actions/verify-note.d.cts +19 -3
  126. package/dist/actions/verify-note.d.cts.map +1 -1
  127. package/dist/actions/verify-note.d.mts +19 -3
  128. package/dist/actions/verify-note.d.mts.map +1 -1
  129. package/dist/actions/verify-note.mjs +5 -5
  130. package/dist/actions/verify-note.mjs.map +1 -1
  131. package/dist/catalog.cjs +7 -1
  132. package/dist/catalog.cjs.map +1 -1
  133. package/dist/catalog.d.cts +8 -0
  134. package/dist/catalog.d.mts +8 -0
  135. package/dist/catalog.mjs +7 -1
  136. package/dist/catalog.mjs.map +1 -1
  137. package/package.json +2 -2
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/search-users.d.ts
4
- declare const SliteSearchUsersInput: z.ZodTypeAny;
5
- declare const SliteSearchUsersOutput: z.ZodTypeAny;
6
- declare const sliteSearchUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteSearchUsersInput: z.ZodObject<{
5
+ query: z.ZodString;
6
+ cursor: z.ZodOptional<z.ZodString>;
7
+ includeArchived: z.ZodOptional<z.ZodBoolean>;
8
+ }, z.core.$strip>;
9
+ declare const SliteSearchUsersOutput: z.ZodObject<{
10
+ total: z.ZodNullable<z.ZodNumber>;
11
+ users: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ email: z.ZodNullable<z.ZodString>;
14
+ isGuest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ displayName: z.ZodNullable<z.ZodString>;
17
+ organizationRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>;
19
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ hasNextPage: z.ZodNullable<z.ZodBoolean>;
21
+ }, z.core.$loose>;
22
+ declare const sliteSearchUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ query: string;
24
+ cursor?: string | undefined;
25
+ includeArchived?: boolean | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { sliteSearchUsers };
9
29
  //# sourceMappingURL=search-users.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-users.d.cts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIuC;AAAA,cAShE,sBAAA,EAAwB,CAAA,CAAE,UAK+B;AAAA,cAEzD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"search-users.d.cts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAarB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOtB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/search-users.d.ts
4
- declare const SliteSearchUsersInput: z.ZodTypeAny;
5
- declare const SliteSearchUsersOutput: z.ZodTypeAny;
6
- declare const sliteSearchUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteSearchUsersInput: z.ZodObject<{
5
+ query: z.ZodString;
6
+ cursor: z.ZodOptional<z.ZodString>;
7
+ includeArchived: z.ZodOptional<z.ZodBoolean>;
8
+ }, z.core.$strip>;
9
+ declare const SliteSearchUsersOutput: z.ZodObject<{
10
+ total: z.ZodNullable<z.ZodNumber>;
11
+ users: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ email: z.ZodNullable<z.ZodString>;
14
+ isGuest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ displayName: z.ZodNullable<z.ZodString>;
17
+ organizationRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>;
19
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ hasNextPage: z.ZodNullable<z.ZodBoolean>;
21
+ }, z.core.$loose>;
22
+ declare const sliteSearchUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ query: string;
24
+ cursor?: string | undefined;
25
+ includeArchived?: boolean | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { sliteSearchUsers };
9
29
  //# sourceMappingURL=search-users.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-users.d.mts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIuC;AAAA,cAShE,sBAAA,EAAwB,CAAA,CAAE,UAK+B;AAAA,cAEzD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"search-users.d.mts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAarB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOtB,gBAAA,gCAAgB,wBAAA"}
@@ -7,24 +7,24 @@ const SliteSearchUsersInput = z.object({
7
7
  includeArchived: z.boolean().describe("Include archived users in the search results. Defaults to false if not specified.").optional()
8
8
  }).describe("Request model for searching users by email, name, or username.");
9
9
  const SliteSearchUsers_UserSchema = z.object({
10
- id: z.string().describe("Unique user identifier"),
11
- email: z.string().describe("User's email address"),
10
+ id: z.string().describe("Unique user identifier").nullable(),
11
+ email: z.string().describe("User's email address").nullable(),
12
12
  isGuest: z.boolean().describe("Whether the user is a guest").nullable().optional(),
13
13
  archivedAt: z.string().describe("Timestamp when user was archived, null if not archived").nullable().optional(),
14
- displayName: z.string().describe("User's display name"),
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",
20
20
  description: "Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.",
21
21
  input: SliteSearchUsersInput,
22
22
  output: z.object({
23
- total: z.number().int().describe("Total count of users matching the query"),
23
+ total: z.number().int().describe("Total count of users matching the query").nullable(),
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
- hasNextPage: z.boolean().describe("Whether there are more results available")
27
- }).describe("Response model for user search results with pagination.")
26
+ hasNextPage: z.boolean().describe("Whether there are more results available").nullable()
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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique user identifier\"),\n email: z.string().describe(\"User's email address\"),\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\"),\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.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\"),\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\"),\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,wBAAsC,EAAE,OAAO;CAC1D,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,8BAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,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;CACtD,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,QAZkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EAC1E,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;CAC9E,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"}
@@ -6,13 +6,13 @@ const SliteUpdateNoteArchivedStateInput = zod.z.object({
6
6
  archived: zod.z.boolean().describe("Set to true to archive the note, false to unarchive it")
7
7
  }).describe("Request model for updating a note's archived state.");
8
8
  const SliteUpdateNoteArchivedStateOutput = zod.z.object({
9
- id: zod.z.string().describe("The note identifier"),
10
- url: zod.z.string().describe("The note URL"),
11
- title: zod.z.string().describe("The note title"),
12
- updatedAt: zod.z.string().describe("ISO 8601 date-time of last update"),
9
+ id: zod.z.string().describe("The note identifier").nullable(),
10
+ url: zod.z.string().describe("The note URL").nullable(),
11
+ title: zod.z.string().describe("The note title").nullable(),
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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The note identifier\"),\n url: z.string().describe(\"The note URL\"),\n title: z.string().describe(\"The note title\"),\n updatedAt: z.string().describe(\"ISO 8601 date-time of last update\"),\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,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,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,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACvC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,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"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-note-archived-state.d.ts
4
- declare const SliteUpdateNoteArchivedStateInput: z.ZodTypeAny;
5
- declare const SliteUpdateNoteArchivedStateOutput: z.ZodTypeAny;
6
- declare const sliteUpdateNoteArchivedState: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteUpdateNoteArchivedStateInput: z.ZodObject<{
5
+ note_id: z.ZodString;
6
+ archived: z.ZodBoolean;
7
+ }, z.core.$strip>;
8
+ declare const SliteUpdateNoteArchivedStateOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ url: z.ZodNullable<z.ZodString>;
11
+ title: z.ZodNullable<z.ZodString>;
12
+ updatedAt: z.ZodNullable<z.ZodString>;
13
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>;
16
+ declare const sliteUpdateNoteArchivedState: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ note_id: string;
18
+ archived: boolean;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sliteUpdateNoteArchivedState };
9
22
  //# sourceMappingURL=update-note-archived-state.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-note-archived-state.d.cts","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGgB;AAAA,cACrD,kCAAA,EAAoC,CAAA,CAAE,UAOA;AAAA,cAEtC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-note-archived-state.d.cts","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cASlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-note-archived-state.d.ts
4
- declare const SliteUpdateNoteArchivedStateInput: z.ZodTypeAny;
5
- declare const SliteUpdateNoteArchivedStateOutput: z.ZodTypeAny;
6
- declare const sliteUpdateNoteArchivedState: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteUpdateNoteArchivedStateInput: z.ZodObject<{
5
+ note_id: z.ZodString;
6
+ archived: z.ZodBoolean;
7
+ }, z.core.$strip>;
8
+ declare const SliteUpdateNoteArchivedStateOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ url: z.ZodNullable<z.ZodString>;
11
+ title: z.ZodNullable<z.ZodString>;
12
+ updatedAt: z.ZodNullable<z.ZodString>;
13
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>;
16
+ declare const sliteUpdateNoteArchivedState: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ note_id: string;
18
+ archived: boolean;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sliteUpdateNoteArchivedState };
9
22
  //# sourceMappingURL=update-note-archived-state.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-note-archived-state.d.mts","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGgB;AAAA,cACrD,kCAAA,EAAoC,CAAA,CAAE,UAOA;AAAA,cAEtC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-note-archived-state.d.mts","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cASlC,4BAAA,gCAA4B,wBAAA"}
@@ -9,13 +9,13 @@ const sliteUpdateNoteArchivedState = action("SLITE_UPDATE_NOTE_ARCHIVED_STATE",
9
9
  archived: z.boolean().describe("Set to true to archive the note, false to unarchive it")
10
10
  }).describe("Request model for updating a note's archived state."),
11
11
  output: z.object({
12
- id: z.string().describe("The note identifier"),
13
- url: z.string().describe("The note URL"),
14
- title: z.string().describe("The note title"),
15
- updatedAt: z.string().describe("ISO 8601 date-time of last update"),
12
+ id: z.string().describe("The note identifier").nullable(),
13
+ url: z.string().describe("The note URL").nullable(),
14
+ title: z.string().describe("The note title").nullable(),
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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The note identifier\"),\n url: z.string().describe(\"The note URL\"),\n title: z.string().describe(\"The note title\"),\n updatedAt: z.string().describe(\"ISO 8601 date-time of last update\"),\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,OAjB6D,EAAE,OAAO;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACnE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;CACzF,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAd8D,EAAE,OAAO;EACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACvC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAClE,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"}
@@ -7,13 +7,13 @@ const SliteUpdateNoteOwnerInput = zod.z.object({
7
7
  group_id: zod.z.string().describe("Group id to set as the owner of the note. Either userId or groupId must be provided.").optional()
8
8
  }).describe("Request model for updating note ownership.");
9
9
  const SliteUpdateNoteOwnerOutput = zod.z.object({
10
- id: zod.z.string().describe("The note identifier"),
11
- url: zod.z.string().describe("The note's accessible URL"),
12
- title: zod.z.string().describe("Note title"),
13
- updatedAt: zod.z.string().describe("Last modification timestamp"),
10
+ id: zod.z.string().describe("The note identifier").nullable(),
11
+ url: zod.z.string().describe("The note's accessible URL").nullable(),
12
+ title: zod.z.string().describe("Note title").nullable(),
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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The note identifier\"),\n url: z.string().describe(\"The note's accessible URL\"),\n title: z.string().describe(\"Note title\"),\n updatedAt: z.string().describe(\"Last modification timestamp\"),\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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;CACvC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC5D,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"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-note-owner.d.ts
4
- declare const SliteUpdateNoteOwnerInput: z.ZodTypeAny;
5
- declare const SliteUpdateNoteOwnerOutput: z.ZodTypeAny;
6
- declare const sliteUpdateNoteOwner: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteUpdateNoteOwnerInput: z.ZodObject<{
5
+ note_id: z.ZodString;
6
+ user_id: z.ZodOptional<z.ZodString>;
7
+ group_id: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const SliteUpdateNoteOwnerOutput: z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ url: z.ZodNullable<z.ZodString>;
12
+ title: z.ZodNullable<z.ZodString>;
13
+ updatedAt: z.ZodNullable<z.ZodString>;
14
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>;
17
+ declare const sliteUpdateNoteOwner: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ note_id: string;
19
+ user_id?: string | undefined;
20
+ group_id?: string | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { sliteUpdateNoteOwner };
9
24
  //# sourceMappingURL=update-note-owner.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-note-owner.d.cts","names":[],"sources":["../../src/actions/update-note-owner.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIe;AAAA,cAC5C,0BAAA,EAA4B,CAAA,CAAE,UAOa;AAAA,cAE3C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-note-owner.d.cts","names":[],"sources":["../../src/actions/update-note-owner.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-note-owner.d.ts
4
- declare const SliteUpdateNoteOwnerInput: z.ZodTypeAny;
5
- declare const SliteUpdateNoteOwnerOutput: z.ZodTypeAny;
6
- declare const sliteUpdateNoteOwner: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteUpdateNoteOwnerInput: z.ZodObject<{
5
+ note_id: z.ZodString;
6
+ user_id: z.ZodOptional<z.ZodString>;
7
+ group_id: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const SliteUpdateNoteOwnerOutput: z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ url: z.ZodNullable<z.ZodString>;
12
+ title: z.ZodNullable<z.ZodString>;
13
+ updatedAt: z.ZodNullable<z.ZodString>;
14
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>;
17
+ declare const sliteUpdateNoteOwner: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ note_id: string;
19
+ user_id?: string | undefined;
20
+ group_id?: string | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { sliteUpdateNoteOwner };
9
24
  //# sourceMappingURL=update-note-owner.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-note-owner.d.mts","names":[],"sources":["../../src/actions/update-note-owner.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIe;AAAA,cAC5C,0BAAA,EAA4B,CAAA,CAAE,UAOa;AAAA,cAE3C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-note-owner.d.mts","names":[],"sources":["../../src/actions/update-note-owner.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
@@ -10,13 +10,13 @@ const sliteUpdateNoteOwner = action("SLITE_UPDATE_NOTE_OWNER", {
10
10
  group_id: z.string().describe("Group id to set as the owner of the note. Either userId or groupId must be provided.").optional()
11
11
  }).describe("Request model for updating note ownership."),
12
12
  output: z.object({
13
- id: z.string().describe("The note identifier"),
14
- url: z.string().describe("The note's accessible URL"),
15
- title: z.string().describe("Note title"),
16
- updatedAt: z.string().describe("Last modification timestamp"),
13
+ id: z.string().describe("The note identifier").nullable(),
14
+ url: z.string().describe("The note's accessible URL").nullable(),
15
+ title: z.string().describe("Note title").nullable(),
16
+ updatedAt: z.string().describe("Last modification timestamp").nullable(),
17
17
  archivedAt: z.string().describe("Archive timestamp if applicable").nullable().optional(),
18
18
  parentNoteId: z.string().describe("Parent note reference").nullable().optional()
19
- }).describe("Response model for note ownership update.")
19
+ }).passthrough().describe("Response model for note ownership update.")
20
20
  });
21
21
  //#endregion
22
22
  export { sliteUpdateNoteOwner };
@@ -1 +1 @@
1
- {"version":3,"file":"update-note-owner.mjs","names":[],"sources":["../../src/actions/update-note-owner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteOwnerInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The note identifier\"),\n url: z.string().describe(\"The note's accessible URL\"),\n title: z.string().describe(\"Note title\"),\n updatedAt: z.string().describe(\"Last modification timestamp\"),\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":";;AAkBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,4CAcH;CACP,QAdsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;EACvC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-note-owner.mjs","names":[],"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":";;AAkBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,4CAcH;CACP,QAdwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -9,16 +9,16 @@ const SliteUpdateNoteInput = zod.z.object({
9
9
  attributes: zod.z.array(zod.z.string()).describe("Attributes for the parent collection ordered by column").optional()
10
10
  }).describe("Request model for updating a note's content and/or title.");
11
11
  const SliteUpdateNoteOutput = zod.z.object({
12
- id: zod.z.string().describe("Id of the note"),
13
- url: zod.z.string().describe("Url to the note"),
14
- title: zod.z.string().describe("Title of the note"),
12
+ id: zod.z.string().describe("Id of the note").nullable(),
13
+ url: zod.z.string().describe("Url to the note").nullable(),
14
+ title: zod.z.string().describe("Title of the note").nullable(),
15
15
  columns: zod.z.array(zod.z.string()).describe("Column names if note is in a collection").nullable().optional(),
16
- updatedAt: zod.z.string().describe("Date of the last update of the note"),
16
+ updatedAt: zod.z.string().describe("Date of the last update of the note").nullable(),
17
17
  archivedAt: zod.z.string().describe("Date of the archiving of the note").nullable().optional(),
18
18
  attributes: zod.z.array(zod.z.string()).describe("Attributes ordered by column if in a collection").nullable().optional(),
19
19
  reviewState: zod.z.string().describe("Review state (Verified, Outdated, VerificationRequested)").nullable().optional(),
20
20
  parentNoteId: zod.z.string().describe("Parent note id of the current note").nullable().optional()
21
- }).describe("Response model for the updated note object.");
21
+ }).passthrough().describe("Response model for the updated note object.");
22
22
  const sliteUpdateNote = require_action.action("SLITE_UPDATE_NOTE", {
23
23
  slug: "slite-update-note",
24
24
  name: "Update Note",
@@ -1 +1 @@
1
- {"version":3,"file":"update-note.cjs","names":["z","action"],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteInput: z.ZodTypeAny = z.object({\n html: z.string().describe(\"New html content to fill the note\").optional(),\n title: z.string().describe(\"Title of the note to update\").optional(),\n note_id: z.string().describe(\"Note id to update\"),\n markdown: z.string().describe(\"New markdown content to fill the note\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column\").optional(),\n}).describe(\"Request model for updating a note's content and/or title.\");\nexport const SliteUpdateNoteOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the note\"),\n url: z.string().describe(\"Url to the note\"),\n title: z.string().describe(\"Title of the note\"),\n columns: z.array(z.string()).describe(\"Column names if note is in a collection\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\"),\n archivedAt: z.string().describe(\"Date of the archiving of the note\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Attributes ordered by column if in a collection\").nullable().optional(),\n reviewState: z.string().describe(\"Review state (Verified, Outdated, VerificationRequested)\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note\").nullable().optional(),\n}).describe(\"Response model for the updated note object.\");\n\nexport const sliteUpdateNote = action(\"SLITE_UPDATE_NOTE\", {\n slug: \"slite-update-note\",\n name: \"Update Note\",\n description: \"Tool to update a note's content with markdown and/or title. Use when you need to modify an existing note's content or metadata.\",\n input: SliteUpdateNoteInput,\n output: SliteUpdateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CACxC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC9C,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-note.cjs","names":["z","action"],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteInput = z.object({\n html: z.string().describe(\"New html content to fill the note\").optional(),\n title: z.string().describe(\"Title of the note to update\").optional(),\n note_id: z.string().describe(\"Note id to update\"),\n markdown: z.string().describe(\"New markdown content to fill the note\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column\").optional(),\n}).describe(\"Request model for updating a note's content and/or title.\");\nexport const SliteUpdateNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"Column names if note is in a collection\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Attributes ordered by column if in a collection\").nullable().optional(),\n reviewState: z.string().describe(\"Review state (Verified, Outdated, VerificationRequested)\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated note object.\");\n\nexport const sliteUpdateNote = action(\"SLITE_UPDATE_NOTE\", {\n slug: \"slite-update-note\",\n name: \"Update Note\",\n description: \"Tool to update a note's content with markdown and/or title. Use when you need to modify an existing note's content or metadata.\",\n input: SliteUpdateNoteInput,\n output: SliteUpdateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-note.d.ts
4
- declare const SliteUpdateNoteInput: z.ZodTypeAny;
5
- declare const SliteUpdateNoteOutput: z.ZodTypeAny;
6
- declare const sliteUpdateNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteUpdateNoteInput: z.ZodObject<{
5
+ html: z.ZodOptional<z.ZodString>;
6
+ title: z.ZodOptional<z.ZodString>;
7
+ note_id: z.ZodString;
8
+ markdown: z.ZodOptional<z.ZodString>;
9
+ attributes: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const SliteUpdateNoteOutput: z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ url: z.ZodNullable<z.ZodString>;
14
+ title: z.ZodNullable<z.ZodString>;
15
+ columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
+ updatedAt: z.ZodNullable<z.ZodString>;
17
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
+ reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$loose>;
22
+ declare const sliteUpdateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ note_id: string;
24
+ html?: string | undefined;
25
+ title?: string | undefined;
26
+ markdown?: string | undefined;
27
+ attributes?: string[] | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { sliteUpdateNote };
9
31
  //# sourceMappingURL=update-note.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-note.d.cts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAMmC;AAAA,cAC3D,qBAAA,EAAuB,CAAA,CAAE,UAUoB;AAAA,cAE7C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-note.d.cts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;cAOpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,gCAAe,wBAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-note.d.ts
4
- declare const SliteUpdateNoteInput: z.ZodTypeAny;
5
- declare const SliteUpdateNoteOutput: z.ZodTypeAny;
6
- declare const sliteUpdateNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SliteUpdateNoteInput: z.ZodObject<{
5
+ html: z.ZodOptional<z.ZodString>;
6
+ title: z.ZodOptional<z.ZodString>;
7
+ note_id: z.ZodString;
8
+ markdown: z.ZodOptional<z.ZodString>;
9
+ attributes: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const SliteUpdateNoteOutput: z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ url: z.ZodNullable<z.ZodString>;
14
+ title: z.ZodNullable<z.ZodString>;
15
+ columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
+ updatedAt: z.ZodNullable<z.ZodString>;
17
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
+ reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$loose>;
22
+ declare const sliteUpdateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ note_id: string;
24
+ html?: string | undefined;
25
+ title?: string | undefined;
26
+ markdown?: string | undefined;
27
+ attributes?: string[] | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { sliteUpdateNote };
9
31
  //# sourceMappingURL=update-note.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-note.d.mts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAMmC;AAAA,cAC3D,qBAAA,EAAuB,CAAA,CAAE,UAUoB;AAAA,cAE7C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-note.d.mts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;cAOpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,gCAAe,wBAAA"}
@@ -12,16 +12,16 @@ const sliteUpdateNote = action("SLITE_UPDATE_NOTE", {
12
12
  attributes: z.array(z.string()).describe("Attributes for the parent collection ordered by column").optional()
13
13
  }).describe("Request model for updating a note's content and/or title."),
14
14
  output: z.object({
15
- id: z.string().describe("Id of the note"),
16
- url: z.string().describe("Url to the note"),
17
- title: z.string().describe("Title of the note"),
15
+ id: z.string().describe("Id of the note").nullable(),
16
+ url: z.string().describe("Url to the note").nullable(),
17
+ title: z.string().describe("Title of the note").nullable(),
18
18
  columns: z.array(z.string()).describe("Column names if note is in a collection").nullable().optional(),
19
- updatedAt: z.string().describe("Date of the last update of the note"),
19
+ updatedAt: z.string().describe("Date of the last update of the note").nullable(),
20
20
  archivedAt: z.string().describe("Date of the archiving of the note").nullable().optional(),
21
21
  attributes: z.array(z.string()).describe("Attributes ordered by column if in a collection").nullable().optional(),
22
22
  reviewState: z.string().describe("Review state (Verified, Outdated, VerificationRequested)").nullable().optional(),
23
23
  parentNoteId: z.string().describe("Parent note id of the current note").nullable().optional()
24
- }).describe("Response model for the updated note object.")
24
+ }).passthrough().describe("Response model for the updated note object.")
25
25
  });
26
26
  //#endregion
27
27
  export { sliteUpdateNote };
@@ -1 +1 @@
1
- {"version":3,"file":"update-note.mjs","names":[],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteInput: z.ZodTypeAny = z.object({\n html: z.string().describe(\"New html content to fill the note\").optional(),\n title: z.string().describe(\"Title of the note to update\").optional(),\n note_id: z.string().describe(\"Note id to update\"),\n markdown: z.string().describe(\"New markdown content to fill the note\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column\").optional(),\n}).describe(\"Request model for updating a note's content and/or title.\");\nexport const SliteUpdateNoteOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the note\"),\n url: z.string().describe(\"Url to the note\"),\n title: z.string().describe(\"Title of the note\"),\n columns: z.array(z.string()).describe(\"Column names if note is in a collection\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\"),\n archivedAt: z.string().describe(\"Date of the archiving of the note\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Attributes ordered by column if in a collection\").nullable().optional(),\n reviewState: z.string().describe(\"Review state (Verified, Outdated, VerificationRequested)\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note\").nullable().optional(),\n}).describe(\"Response model for the updated note object.\");\n\nexport const sliteUpdateNote = action(\"SLITE_UPDATE_NOTE\", {\n slug: \"slite-update-note\",\n name: \"Update Note\",\n description: \"Tool to update a note's content with markdown and/or title. Use when you need to modify an existing note's content or metadata.\",\n input: SliteUpdateNoteInput,\n output: SliteUpdateNoteOutput,\n});\n"],"mappings":";;AAuBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,2DAiBH;CACP,QAjBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EACxC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAC9C,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-note.mjs","names":[],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteInput = z.object({\n html: z.string().describe(\"New html content to fill the note\").optional(),\n title: z.string().describe(\"Title of the note to update\").optional(),\n note_id: z.string().describe(\"Note id to update\"),\n markdown: z.string().describe(\"New markdown content to fill the note\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column\").optional(),\n}).describe(\"Request model for updating a note's content and/or title.\");\nexport const SliteUpdateNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"Column names if note is in a collection\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Attributes ordered by column if in a collection\").nullable().optional(),\n reviewState: z.string().describe(\"Review state (Verified, Outdated, VerificationRequested)\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated note object.\");\n\nexport const sliteUpdateNote = action(\"SLITE_UPDATE_NOTE\", {\n slug: \"slite-update-note\",\n name: \"Update Note\",\n description: \"Tool to update a note's content with markdown and/or title. Use when you need to modify an existing note's content or metadata.\",\n input: SliteUpdateNoteInput,\n output: SliteUpdateNoteOutput,\n});\n"],"mappings":";;AAuBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,2DAiBH;CACP,QAjBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const SliteUpdateTileInput = zod.z.object({
13
13
  content: zod.z.string().describe("The content of the tile. Can be in markdown format.").optional(),
14
14
  iconURL: zod.z.string().describe("Icon URL to show in the tile").optional()
15
15
  }).describe("Request model for updating a tile in a Slite note.");
16
- const SliteUpdateTileOutput = zod.z.object({ url: zod.z.string().describe("Direct url of the tile in the note") }).describe("Response model for update tile action.");
16
+ const SliteUpdateTileOutput = zod.z.object({ url: zod.z.string().describe("Direct url of the tile in the note").nullable() }).passthrough().describe("Response model for update tile action.");
17
17
  const sliteUpdateTile = require_action.action("SLITE_UPDATE_TILE", {
18
18
  slug: "slite-update-tile",
19
19
  name: "Update Tile in Note",