@keystrokehq/notion 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/add-multiple-page-content.cjs +5 -5
  3. package/dist/actions/add-multiple-page-content.cjs.map +1 -1
  4. package/dist/actions/add-multiple-page-content.d.cts +30 -16
  5. package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
  6. package/dist/actions/add-multiple-page-content.d.mts +30 -16
  7. package/dist/actions/add-multiple-page-content.d.mts.map +1 -1
  8. package/dist/actions/add-multiple-page-content.mjs +5 -5
  9. package/dist/actions/add-multiple-page-content.mjs.map +1 -1
  10. package/dist/actions/append-code-blocks.cjs +60 -60
  11. package/dist/actions/append-code-blocks.cjs.map +1 -1
  12. package/dist/actions/append-code-blocks.d.cts +178 -148
  13. package/dist/actions/append-code-blocks.d.mts +178 -148
  14. package/dist/actions/append-code-blocks.mjs +60 -60
  15. package/dist/actions/append-code-blocks.mjs.map +1 -1
  16. package/dist/actions/append-layout-blocks.cjs +51 -51
  17. package/dist/actions/append-layout-blocks.cjs.map +1 -1
  18. package/dist/actions/append-layout-blocks.d.cts +162 -140
  19. package/dist/actions/append-layout-blocks.d.mts +162 -140
  20. package/dist/actions/append-layout-blocks.mjs +51 -51
  21. package/dist/actions/append-layout-blocks.mjs.map +1 -1
  22. package/dist/actions/append-media-blocks.cjs +85 -85
  23. package/dist/actions/append-media-blocks.cjs.map +1 -1
  24. package/dist/actions/append-media-blocks.d.cts +228 -173
  25. package/dist/actions/append-media-blocks.d.mts +228 -173
  26. package/dist/actions/append-media-blocks.mjs +85 -85
  27. package/dist/actions/append-media-blocks.mjs.map +1 -1
  28. package/dist/actions/append-table-blocks.cjs +47 -47
  29. package/dist/actions/append-table-blocks.cjs.map +1 -1
  30. package/dist/actions/append-table-blocks.d.cts +154 -136
  31. package/dist/actions/append-table-blocks.d.mts +154 -136
  32. package/dist/actions/append-table-blocks.mjs +47 -47
  33. package/dist/actions/append-table-blocks.mjs.map +1 -1
  34. package/dist/actions/append-task-blocks.cjs +61 -61
  35. package/dist/actions/append-task-blocks.cjs.map +1 -1
  36. package/dist/actions/append-task-blocks.d.cts +180 -149
  37. package/dist/actions/append-task-blocks.d.mts +180 -149
  38. package/dist/actions/append-task-blocks.mjs +61 -61
  39. package/dist/actions/append-task-blocks.mjs.map +1 -1
  40. package/dist/actions/append-text-blocks.cjs +78 -78
  41. package/dist/actions/append-text-blocks.cjs.map +1 -1
  42. package/dist/actions/append-text-blocks.d.cts +214 -166
  43. package/dist/actions/append-text-blocks.d.mts +214 -166
  44. package/dist/actions/append-text-blocks.mjs +78 -78
  45. package/dist/actions/append-text-blocks.mjs.map +1 -1
  46. package/dist/actions/archive-notion-page.cjs +17 -17
  47. package/dist/actions/archive-notion-page.cjs.map +1 -1
  48. package/dist/actions/archive-notion-page.d.cts +33 -21
  49. package/dist/actions/archive-notion-page.d.mts +33 -21
  50. package/dist/actions/archive-notion-page.mjs +17 -17
  51. package/dist/actions/archive-notion-page.mjs.map +1 -1
  52. package/dist/actions/create-comment.d.cts +21 -9
  53. package/dist/actions/create-comment.d.mts +21 -9
  54. package/dist/actions/create-database.cjs +15 -15
  55. package/dist/actions/create-database.cjs.map +1 -1
  56. package/dist/actions/create-database.d.cts +39 -26
  57. package/dist/actions/create-database.d.mts +39 -26
  58. package/dist/actions/create-database.mjs +15 -15
  59. package/dist/actions/create-database.mjs.map +1 -1
  60. package/dist/actions/create-file-upload.cjs +1 -1
  61. package/dist/actions/create-file-upload.cjs.map +1 -1
  62. package/dist/actions/create-file-upload.d.cts +14 -2
  63. package/dist/actions/create-file-upload.d.mts +14 -2
  64. package/dist/actions/create-file-upload.mjs +1 -1
  65. package/dist/actions/create-file-upload.mjs.map +1 -1
  66. package/dist/actions/create-notion-page.cjs +14 -14
  67. package/dist/actions/create-notion-page.cjs.map +1 -1
  68. package/dist/actions/create-notion-page.d.cts +31 -19
  69. package/dist/actions/create-notion-page.d.mts +31 -19
  70. package/dist/actions/create-notion-page.mjs +14 -14
  71. package/dist/actions/create-notion-page.mjs.map +1 -1
  72. package/dist/actions/delete-block.cjs +46 -46
  73. package/dist/actions/delete-block.cjs.map +1 -1
  74. package/dist/actions/delete-block.d.cts +345 -333
  75. package/dist/actions/delete-block.d.mts +345 -333
  76. package/dist/actions/delete-block.mjs +46 -46
  77. package/dist/actions/delete-block.mjs.map +1 -1
  78. package/dist/actions/duplicate-page.cjs +20 -20
  79. package/dist/actions/duplicate-page.cjs.map +1 -1
  80. package/dist/actions/duplicate-page.d.cts +37 -25
  81. package/dist/actions/duplicate-page.d.mts +37 -25
  82. package/dist/actions/duplicate-page.mjs +20 -20
  83. package/dist/actions/duplicate-page.mjs.map +1 -1
  84. package/dist/actions/fetch-all-block-contents.cjs +58 -58
  85. package/dist/actions/fetch-all-block-contents.cjs.map +1 -1
  86. package/dist/actions/fetch-all-block-contents.d.cts +17 -5
  87. package/dist/actions/fetch-all-block-contents.d.mts +17 -5
  88. package/dist/actions/fetch-all-block-contents.mjs +58 -58
  89. package/dist/actions/fetch-all-block-contents.mjs.map +1 -1
  90. package/dist/actions/fetch-block-contents.cjs +49 -49
  91. package/dist/actions/fetch-block-contents.cjs.map +1 -1
  92. package/dist/actions/fetch-block-contents.d.cts +185 -173
  93. package/dist/actions/fetch-block-contents.d.mts +185 -173
  94. package/dist/actions/fetch-block-contents.mjs +49 -49
  95. package/dist/actions/fetch-block-contents.mjs.map +1 -1
  96. package/dist/actions/fetch-block-metadata.cjs +43 -43
  97. package/dist/actions/fetch-block-metadata.cjs.map +1 -1
  98. package/dist/actions/fetch-block-metadata.d.cts +304 -292
  99. package/dist/actions/fetch-block-metadata.d.mts +304 -292
  100. package/dist/actions/fetch-block-metadata.mjs +43 -43
  101. package/dist/actions/fetch-block-metadata.mjs.map +1 -1
  102. package/dist/actions/fetch-comments.cjs +24 -24
  103. package/dist/actions/fetch-comments.cjs.map +1 -1
  104. package/dist/actions/fetch-comments.d.cts +42 -30
  105. package/dist/actions/fetch-comments.d.mts +42 -30
  106. package/dist/actions/fetch-comments.mjs +24 -24
  107. package/dist/actions/fetch-comments.mjs.map +1 -1
  108. package/dist/actions/fetch-data.cjs +33 -33
  109. package/dist/actions/fetch-data.cjs.map +1 -1
  110. package/dist/actions/fetch-data.d.cts +122 -110
  111. package/dist/actions/fetch-data.d.mts +122 -110
  112. package/dist/actions/fetch-data.mjs +33 -33
  113. package/dist/actions/fetch-data.mjs.map +1 -1
  114. package/dist/actions/fetch-database.cjs +13 -13
  115. package/dist/actions/fetch-database.cjs.map +1 -1
  116. package/dist/actions/fetch-database.d.cts +31 -19
  117. package/dist/actions/fetch-database.d.mts +31 -19
  118. package/dist/actions/fetch-database.mjs +13 -13
  119. package/dist/actions/fetch-database.mjs.map +1 -1
  120. package/dist/actions/fetch-row.cjs +23 -23
  121. package/dist/actions/fetch-row.cjs.map +1 -1
  122. package/dist/actions/fetch-row.d.cts +51 -39
  123. package/dist/actions/fetch-row.d.mts +51 -39
  124. package/dist/actions/fetch-row.mjs +23 -23
  125. package/dist/actions/fetch-row.mjs.map +1 -1
  126. package/dist/actions/get-about-user.cjs +6 -6
  127. package/dist/actions/get-about-user.cjs.map +1 -1
  128. package/dist/actions/get-about-user.d.cts +20 -8
  129. package/dist/actions/get-about-user.d.mts +20 -8
  130. package/dist/actions/get-about-user.mjs +6 -6
  131. package/dist/actions/get-about-user.mjs.map +1 -1
  132. package/dist/actions/get-page-markdown.cjs +1 -1
  133. package/dist/actions/get-page-markdown.cjs.map +1 -1
  134. package/dist/actions/get-page-markdown.d.cts +14 -2
  135. package/dist/actions/get-page-markdown.d.mts +14 -2
  136. package/dist/actions/get-page-markdown.mjs +1 -1
  137. package/dist/actions/get-page-markdown.mjs.map +1 -1
  138. package/dist/actions/get-page-property-action.d.cts +13 -1
  139. package/dist/actions/get-page-property-action.d.mts +13 -1
  140. package/dist/actions/insert-row-database.cjs +22 -22
  141. package/dist/actions/insert-row-database.cjs.map +1 -1
  142. package/dist/actions/insert-row-database.d.cts +52 -38
  143. package/dist/actions/insert-row-database.d.mts +52 -38
  144. package/dist/actions/insert-row-database.mjs +22 -22
  145. package/dist/actions/insert-row-database.mjs.map +1 -1
  146. package/dist/actions/insert-row-from-nl.cjs +1 -1
  147. package/dist/actions/insert-row-from-nl.cjs.map +1 -1
  148. package/dist/actions/insert-row-from-nl.d.cts +14 -2
  149. package/dist/actions/insert-row-from-nl.d.mts +14 -2
  150. package/dist/actions/insert-row-from-nl.mjs +1 -1
  151. package/dist/actions/insert-row-from-nl.mjs.map +1 -1
  152. package/dist/actions/list-data-source-templates.cjs +2 -2
  153. package/dist/actions/list-data-source-templates.cjs.map +1 -1
  154. package/dist/actions/list-data-source-templates.d.cts +15 -3
  155. package/dist/actions/list-data-source-templates.d.mts +15 -3
  156. package/dist/actions/list-data-source-templates.mjs +2 -2
  157. package/dist/actions/list-data-source-templates.mjs.map +1 -1
  158. package/dist/actions/list-file-uploads.cjs +2 -2
  159. package/dist/actions/list-file-uploads.cjs.map +1 -1
  160. package/dist/actions/list-file-uploads.d.cts +15 -3
  161. package/dist/actions/list-file-uploads.d.mts +15 -3
  162. package/dist/actions/list-file-uploads.mjs +2 -2
  163. package/dist/actions/list-file-uploads.mjs.map +1 -1
  164. package/dist/actions/list-users.cjs +8 -8
  165. package/dist/actions/list-users.cjs.map +1 -1
  166. package/dist/actions/list-users.d.cts +22 -10
  167. package/dist/actions/list-users.d.mts +22 -10
  168. package/dist/actions/list-users.mjs +8 -8
  169. package/dist/actions/list-users.mjs.map +1 -1
  170. package/dist/actions/move-page.cjs +18 -18
  171. package/dist/actions/move-page.cjs.map +1 -1
  172. package/dist/actions/move-page.d.cts +36 -22
  173. package/dist/actions/move-page.d.mts +36 -22
  174. package/dist/actions/move-page.mjs +18 -18
  175. package/dist/actions/move-page.mjs.map +1 -1
  176. package/dist/actions/query-data-source.cjs +18 -18
  177. package/dist/actions/query-data-source.cjs.map +1 -1
  178. package/dist/actions/query-data-source.d.cts +42 -28
  179. package/dist/actions/query-data-source.d.cts.map +1 -1
  180. package/dist/actions/query-data-source.d.mts +42 -28
  181. package/dist/actions/query-data-source.d.mts.map +1 -1
  182. package/dist/actions/query-data-source.mjs +18 -18
  183. package/dist/actions/query-data-source.mjs.map +1 -1
  184. package/dist/actions/query-database-with-filter.cjs +25 -25
  185. package/dist/actions/query-database-with-filter.cjs.map +1 -1
  186. package/dist/actions/query-database-with-filter.d.cts +63 -49
  187. package/dist/actions/query-database-with-filter.d.cts.map +1 -1
  188. package/dist/actions/query-database-with-filter.d.mts +63 -49
  189. package/dist/actions/query-database-with-filter.d.mts.map +1 -1
  190. package/dist/actions/query-database-with-filter.mjs +25 -25
  191. package/dist/actions/query-database-with-filter.mjs.map +1 -1
  192. package/dist/actions/query-database.cjs +24 -24
  193. package/dist/actions/query-database.cjs.map +1 -1
  194. package/dist/actions/query-database.d.cts +62 -49
  195. package/dist/actions/query-database.d.mts +62 -49
  196. package/dist/actions/query-database.mjs +24 -24
  197. package/dist/actions/query-database.mjs.map +1 -1
  198. package/dist/actions/replace-page-content.cjs +130 -130
  199. package/dist/actions/replace-page-content.cjs.map +1 -1
  200. package/dist/actions/replace-page-content.d.cts +274 -132
  201. package/dist/actions/replace-page-content.d.mts +274 -132
  202. package/dist/actions/replace-page-content.mjs +130 -130
  203. package/dist/actions/replace-page-content.mjs.map +1 -1
  204. package/dist/actions/retrieve-comment.d.cts +13 -1
  205. package/dist/actions/retrieve-comment.d.mts +13 -1
  206. package/dist/actions/retrieve-database-property.cjs +25 -25
  207. package/dist/actions/retrieve-database-property.cjs.map +1 -1
  208. package/dist/actions/retrieve-database-property.d.cts +41 -29
  209. package/dist/actions/retrieve-database-property.d.mts +41 -29
  210. package/dist/actions/retrieve-database-property.mjs +25 -25
  211. package/dist/actions/retrieve-database-property.mjs.map +1 -1
  212. package/dist/actions/retrieve-file-upload.cjs +1 -1
  213. package/dist/actions/retrieve-file-upload.cjs.map +1 -1
  214. package/dist/actions/retrieve-file-upload.d.cts +14 -2
  215. package/dist/actions/retrieve-file-upload.d.mts +14 -2
  216. package/dist/actions/retrieve-file-upload.mjs +1 -1
  217. package/dist/actions/retrieve-file-upload.mjs.map +1 -1
  218. package/dist/actions/retrieve-page.cjs +23 -23
  219. package/dist/actions/retrieve-page.cjs.map +1 -1
  220. package/dist/actions/retrieve-page.d.cts +49 -37
  221. package/dist/actions/retrieve-page.d.mts +49 -37
  222. package/dist/actions/retrieve-page.mjs +23 -23
  223. package/dist/actions/retrieve-page.mjs.map +1 -1
  224. package/dist/actions/search-notion-page.cjs +34 -34
  225. package/dist/actions/search-notion-page.cjs.map +1 -1
  226. package/dist/actions/search-notion-page.d.cts +152 -140
  227. package/dist/actions/search-notion-page.d.mts +152 -140
  228. package/dist/actions/search-notion-page.mjs +34 -34
  229. package/dist/actions/search-notion-page.mjs.map +1 -1
  230. package/dist/actions/send-file-upload.cjs +1 -1
  231. package/dist/actions/send-file-upload.cjs.map +1 -1
  232. package/dist/actions/send-file-upload.d.cts +14 -2
  233. package/dist/actions/send-file-upload.d.mts +14 -2
  234. package/dist/actions/send-file-upload.mjs +1 -1
  235. package/dist/actions/send-file-upload.mjs.map +1 -1
  236. package/dist/actions/update-block.cjs +47 -47
  237. package/dist/actions/update-block.cjs.map +1 -1
  238. package/dist/actions/update-block.d.cts +154 -142
  239. package/dist/actions/update-block.d.cts.map +1 -1
  240. package/dist/actions/update-block.d.mts +154 -142
  241. package/dist/actions/update-block.d.mts.map +1 -1
  242. package/dist/actions/update-block.mjs +47 -47
  243. package/dist/actions/update-block.mjs.map +1 -1
  244. package/dist/actions/update-page.cjs +16 -16
  245. package/dist/actions/update-page.cjs.map +1 -1
  246. package/dist/actions/update-page.d.cts +36 -24
  247. package/dist/actions/update-page.d.mts +36 -24
  248. package/dist/actions/update-page.mjs +16 -16
  249. package/dist/actions/update-page.mjs.map +1 -1
  250. package/dist/actions/update-row-database.cjs +21 -21
  251. package/dist/actions/update-row-database.cjs.map +1 -1
  252. package/dist/actions/update-row-database.d.cts +42 -29
  253. package/dist/actions/update-row-database.d.mts +42 -29
  254. package/dist/actions/update-row-database.mjs +21 -21
  255. package/dist/actions/update-row-database.mjs.map +1 -1
  256. package/dist/actions/update-schema-database.cjs +8 -8
  257. package/dist/actions/update-schema-database.cjs.map +1 -1
  258. package/dist/actions/update-schema-database.d.cts +25 -12
  259. package/dist/actions/update-schema-database.d.mts +25 -12
  260. package/dist/actions/update-schema-database.mjs +8 -8
  261. package/dist/actions/update-schema-database.mjs.map +1 -1
  262. package/dist/actions/upsert-row-database.cjs +28 -28
  263. package/dist/actions/upsert-row-database.cjs.map +1 -1
  264. package/dist/actions/upsert-row-database.d.cts +67 -31
  265. package/dist/actions/upsert-row-database.d.mts +67 -31
  266. package/dist/actions/upsert-row-database.mjs +28 -28
  267. package/dist/actions/upsert-row-database.mjs.map +1 -1
  268. package/dist/app.cjs +5 -2
  269. package/dist/app.cjs.map +1 -1
  270. package/dist/app.d.cts +9 -1
  271. package/dist/app.d.cts.map +1 -1
  272. package/dist/app.d.mts +9 -1
  273. package/dist/app.d.mts.map +1 -1
  274. package/dist/app.mjs +3 -1
  275. package/dist/app.mjs.map +1 -1
  276. package/dist/execute.cjs +1 -1
  277. package/dist/execute.cjs.map +1 -1
  278. package/dist/execute.mjs +1 -1
  279. package/dist/execute.mjs.map +1 -1
  280. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"insert-row-database.cjs","names":["z","action"],"sources":["../../src/actions/insert-row-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionInsertRowDatabaseInput = z.object({\n icon: z.string().describe(\"Emoji to be used as the page icon. Must be a single emoji character.\").optional(),\n cover: z.string().describe(\"URL of an external image to set as the page cover. The URL must point to a publicly accessible image.\").optional(),\n properties: z.array(z.object({\n name: z.string().describe(\"Name of the property\"),\n type: z.enum([\"title\", \"rich_text\", \"number\", \"select\", \"multi_select\", \"date\", \"people\", \"files\", \"checkbox\", \"url\", \"email\", \"phone_number\", \"formula\", \"relation\", \"rollup\", \"status\", \"created_time\", \"created_by\", \"last_edited_time\", \"last_edited_by\", \"place\", \"unique_id\"]).describe(\"Type of the property. Common types: title (ONE per database), rich_text, number, select (for dropdowns), multi_select, date, people, files, checkbox, url, email, phone_number, relation. ⚠️ IMPORTANT: Use 'select' for dropdown properties - NOT 'status'. The 'status' type is a SPECIAL Notion property type (with 'To-do', 'In progress', 'Complete' groups) that most databases do NOT have. If your property shows a simple dropdown list, use 'select' even if the property is NAMED 'Status'. Read-only/unsupported types (auto-skipped): created_time, created_by, last_edited_time, last_edited_by, formula, rollup, unique_id, place.\"),\n value: z.string().describe(\"Value formatted according to the property type:\\n- title, rich_text - text string (max 2000 chars, truncated if longer)\\n- number - numeric string ex. \\\"23.4\\\"\\n- select - single option name (no commas). For multiple values, use multi_select.\\n- multi_select - comma separated values ex. \\\"India,USA\\\"\\n- date - ISO 8601. Single: \\\"2021-05-11\\\". Range: \\\"2021-05-11/2021-05-15\\\" (slash-separated).\\n- people - comma separated USER UUIDs (not names). Use NOTION_LIST_USERS to find UUIDs.\\n- relation - comma separated PAGE UUIDs (not titles). Use NOTION_QUERY_DATABASE to find UUIDs.\\n- url - a URL string.\\n- files - comma separated HTTPS URLs only (no file:// or http://).\\n- checkbox - \\\"True\\\" or \\\"False\\\"\"),\n})).default([]).describe(\"Property values for the new page. Accepts a LIST of objects or a JSON-encoded string. Each object must include: `name` (exact property name, case-sensitive), `type` (property data type), and `value` (string-formatted value).\\n\\nProperty names AND types are CASE-SENSITIVE and must match your Notion database schema exactly. Each database has exactly ONE 'title' type property; all other text properties use 'rich_text'. Use NOTION_FETCH_DATA with fetch_type='databases' to find exact property names and types.\\n\\nCORRECT FORMAT (list of property objects):\\n[\\n {\\\"name\\\": \\\"Task Name\\\", \\\"type\\\": \\\"title\\\", \\\"value\\\": \\\"Finalize Q3 report\\\"},\\n {\\\"name\\\": \\\"Priority\\\", \\\"type\\\": \\\"select\\\", \\\"value\\\": \\\"High\\\"},\\n {\\\"name\\\": \\\"Tags\\\", \\\"type\\\": \\\"multi_select\\\", \\\"value\\\": \\\"Work,Personal\\\"},\\n {\\\"name\\\": \\\"Due Date\\\", \\\"type\\\": \\\"date\\\", \\\"value\\\": \\\"2024-06-01T12:00:00.000-04:00\\\"},\\n {\\\"name\\\": \\\"Completed\\\", \\\"type\\\": \\\"checkbox\\\", \\\"value\\\": \\\"False\\\"}\\n]\\n\\nINCORRECT FORMAT (dict - causes validation error): {\\\"Task Name\\\": \\\"value\\\", \\\"Priority\\\": \\\"High\\\"}\\n\\n'status' vs 'select' TYPE CONFUSION:\\n- Dropdown lists use type='select' - even if the property is NAMED 'Status'.\\n- The 'status' type is a special Notion property with workflow groups ('To-do', 'In progress', 'Complete').\\n- Use NOTION_FETCH_DATA to verify the actual type in your database schema.\\n\\nPROPERTY TYPE ERRORS:\\n- 'X is not a property that exists': Check schema - wrong property name or wrong type.\\n- 'X is expected to be Y': Wrong type specified - use the type shown in the error.\\n\\nValue formatting rules by type:\\n- `title` / `rich_text`: Plain text string (max 2000 chars).\\n- `number`: String of a number (e.g., \\\"23.4\\\").\\n- `select`: Single option name. Commas NOT allowed - use 'multi_select' for multiple values.\\n- `multi_select`: Comma-separated option names (e.g., \\\"Work,Personal\\\"). Options must exist in schema.\\n- `date`: ISO 8601. Single: \\\"2024-06-01T12:00:00.000-04:00\\\". Range: \\\"start/end\\\" separated by \\\"/\\\".\\n- `people`: Comma-separated Notion user IDs.\\n- `relation`: Comma-separated page UUIDs (NOT text/titles). Use NOTION_QUERY_DATABASE to get page IDs.\\n- `checkbox`: \\\"True\\\" or \\\"False\\\".\\n- `url`: Valid URL string.\\n- `files`: Comma-separated URLs.\\n- `email`: Valid email string.\\n- `phone_number`: Phone number string. Only use if database property type is 'Phone'.\").optional(),\n database_id: z.string().describe(\"Identifier (UUID) of the Notion database where the new page (row) will be inserted. Can be provided with or without hyphens (e.g., '59833787-2cf9-4fdf-8782-e53db20768a5' or '598337872cf94fdf8782e53db20768a5'). This ID must correspond to an existing database that has been explicitly shared with your integration. IMPORTANT: The database must be shared with your integration in Notion settings, otherwise you will get a 404 error. NOTE: Databases with multiple data sources (synced databases or combined views) are not supported by this integration. Use the `NOTION_FETCH_DATA` action to find available database IDs that are already shared with your integration.\"),\n child_blocks: z.array(z.object({\n bold: z.boolean().default(false).describe(\"Indicates if the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Indicates if the text is formatted as code.\").optional(),\n link: z.string().describe(\"URL for hyperlinks or media blocks. For TEXT blocks: optional URL to make text clickable. For MEDIA blocks (image, video, file): REQUIRED - must be a valid external URL (http/https). Do not pass placeholder text in 'content' for media blocks.\").optional(),\n color: z.string().default(\"default\").describe(\"The color of the text background or text itself.\").optional(),\n italic: z.boolean().default(false).describe(\"Indicates if the text is italic.\").optional(),\n content: z.string().describe(\"The textual content for TEXT blocks only. ENHANCED: Automatically parses markdown formatting including bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Required for: paragraph, heading_1, heading_2, heading_3, callout, to_do, toggle, quote. NOT USED for media blocks (image, video, file) - use 'link' field instead.\").optional(),\n underline: z.boolean().default(false).describe(\"Indicates if the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Indicates if the text has strikethrough.\").optional(),\n block_property: z.enum([\"paragraph\", \"heading_1\", \"heading_2\", \"heading_3\", \"callout\", \"to_do\", \"toggle\", \"quote\", \"bulleted_list_item\", \"numbered_list_item\", \"file\", \"image\", \"video\", \"divider\"]).default(\"paragraph\").describe(\"The block property of the block to be added. **Common text blocks:** `paragraph`, `heading_1`, `heading_2`, `heading_3`, `callout`, `to_do`, `toggle`, `quote`, `bulleted_list_item`, `numbered_list_item`. **Special blocks:** `divider` (creates a horizontal divider line, no content required). **Media/embed blocks:** `file`, `image`, `video` (requires `link` field with external URL - direct file uploads not supported). \\n\\n**NOTE:** Notion API only supports heading levels 1-3. heading_4, heading_5, etc. are automatically converted to heading_3.\").optional(),\n}).describe(\"Include these fields in the json: {'content': 'Some words', 'link': 'https://random-link.com'. For content styling, refer to https://developers.notion.com/reference/rich-text.\\n\\nENHANCED: The 'content' field now automatically detects and parses markdown formatting - supports bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Headers (# ## ###) are handled via block_property.\")).default([]).describe(\"A list of `NotionRichText` objects defining content blocks (e.g., paragraphs, headings, media) to append to the new page's body. Accepts either a list of objects OR a JSON-encoded string representing a list. If omitted, the page body will be empty. \\n\\n**Supported block types:** paragraph, heading_1, heading_2, heading_3, callout, to_do, toggle, quote, bulleted_list_item, numbered_list_item, divider, image, video, file. \\n\\n**Media blocks (image, video, file):** Require the `link` field with an external URL. The Notion API does not support uploading files directly - you must provide publicly accessible URLs.\\n\\n**Note:** Notion API limits children to 100 blocks per request. If more than 100 blocks are provided, the action will automatically create the page with the first 100 blocks and then append remaining blocks in subsequent API calls.\").optional(),\n});\nconst NotionInsertRowDatabase_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"emoji\\\".\").nullable(),\n emoji: z.string().describe(\"The emoji character (e.g., '😻').\").nullable(),\n}).describe(\"Standard emoji icon.\");\nconst NotionInsertRowDatabase_CustomEmojiObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL to the emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).describe(\"Custom emoji object with identifier, name, and URL.\");\nconst NotionInsertRowDatabase_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"custom_emoji\\\".\").nullable(),\n custom_emoji: NotionInsertRowDatabase_CustomEmojiObjectSchema.nullable(),\n}).describe(\"Custom emoji icon.\");\nconst NotionInsertRowDatabase_NotionHostedFileSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).describe(\"Notion-hosted file with authenticated URL.\");\nconst NotionInsertRowDatabase_FileIconWithHostedSchema = z.object({\n file: NotionInsertRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Always \\\"file\\\".\").nullable(),\n}).describe(\"File icon with Notion-hosted file.\");\nconst NotionInsertRowDatabase_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"UUID of the uploaded file object.\").nullable(),\n}).describe(\"File uploaded via API.\");\nconst NotionInsertRowDatabase_FileIconWithUploadSchema = z.object({\n type: z.string().describe(\"Always \\\"file_upload\\\".\").nullable(),\n file_upload: NotionInsertRowDatabase_FileUploadObjectSchema.nullable(),\n}).describe(\"File icon with uploaded file.\");\nconst NotionInsertRowDatabase_ExternalFileObjectSchema = z.object({\n url: z.string().describe(\"Link to the externally hosted content.\").nullable(),\n}).describe(\"External file reference.\");\nconst NotionInsertRowDatabase_FileIconWithExternalSchema = z.object({\n type: z.string().describe(\"Always \\\"external\\\".\").nullable(),\n external: NotionInsertRowDatabase_ExternalFileObjectSchema.nullable(),\n}).describe(\"File icon with external URL.\");\nconst NotionInsertRowDatabase_CoverWithHostedSchema = z.object({\n file: NotionInsertRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Always \\\"file\\\".\").nullable(),\n}).describe(\"Cover with Notion-hosted file.\");\nconst NotionInsertRowDatabase_CoverWithUploadSchema = z.object({\n type: z.string().describe(\"Always \\\"file_upload\\\".\").nullable(),\n file_upload: NotionInsertRowDatabase_FileUploadObjectSchema.nullable(),\n}).describe(\"Cover with uploaded file.\");\nconst NotionInsertRowDatabase_CoverWithExternalSchema = z.object({\n type: z.string().describe(\"Always \\\"external\\\".\").nullable(),\n external: NotionInsertRowDatabase_ExternalFileObjectSchema.nullable(),\n}).describe(\"Cover with external URL.\");\nconst NotionInsertRowDatabase_DatabaseParentSchema = z.object({\n type: z.string().describe(\"Always \\\"database_id\\\".\").nullable(),\n database_id: z.string().describe(\"The database identifier in UUIDv4 format.\").nullable(),\n}).describe(\"Parent is a database.\");\nconst NotionInsertRowDatabase_DataSourceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"data_source_id\\\".\").nullable(),\n database_id: z.string().describe(\"The parent database identifier in UUIDv4 format.\").nullable().optional(),\n data_source_id: z.string().describe(\"The data source identifier in UUIDv4 format.\").nullable(),\n}).describe(\"Parent is a data source.\");\nconst NotionInsertRowDatabase_PageParentSchema = z.object({\n type: z.string().describe(\"Always \\\"page_id\\\".\").nullable(),\n page_id: z.string().describe(\"The page identifier in UUIDv4 format.\").nullable(),\n}).describe(\"Parent is a page.\");\nconst NotionInsertRowDatabase_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"workspace\\\".\").nullable(),\n workspace: z.boolean().describe(\"Always true.\").nullable(),\n}).describe(\"Parent is the workspace.\");\nconst NotionInsertRowDatabase_BlockParentSchema = z.object({\n type: z.string().describe(\"Always \\\"block_id\\\".\").nullable(),\n block_id: z.string().describe(\"The block identifier in UUIDv4 format.\").nullable(),\n}).describe(\"Parent is a block.\");\nconst NotionInsertRowDatabase_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user in UUID format.\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n}).describe(\"Partial user object representing a Notion user.\");\nexport const NotionInsertRowDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier for the page in UUIDv4 format.\").nullable(),\n url: z.string().describe(\"URL of the Notion page.\").nullable().optional(),\n icon: z.union([NotionInsertRowDatabase_EmojiIconSchema, NotionInsertRowDatabase_CustomEmojiIconSchema, NotionInsertRowDatabase_FileIconWithHostedSchema, NotionInsertRowDatabase_FileIconWithUploadSchema, NotionInsertRowDatabase_FileIconWithExternalSchema]).nullable().optional(),\n cover: z.union([NotionInsertRowDatabase_CoverWithHostedSchema, NotionInsertRowDatabase_CoverWithUploadSchema, NotionInsertRowDatabase_CoverWithExternalSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\". Identifies the type of object.\").nullable(),\n parent: z.union([NotionInsertRowDatabase_DatabaseParentSchema, NotionInsertRowDatabase_DataSourceParentSchema, NotionInsertRowDatabase_PageParentSchema, NotionInsertRowDatabase_WorkspaceParentSchema, NotionInsertRowDatabase_BlockParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable().optional(),\n is_locked: z.boolean().describe(\"Whether the page is locked for editing.\").nullable().optional(),\n created_by: NotionInsertRowDatabase_PartialUserSchema.nullable().optional(),\n properties: z.object({}).describe(\"Property values of the page. Keys are property names, values are property objects.\").nullable().optional(),\n public_url: z.string().describe(\"Public URL if the page is published, otherwise null.\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the API request.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the page was created.\").nullable().optional(),\n last_edited_by: NotionInsertRowDatabase_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the page was last edited.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Message indicating any special handling performed during execution, such as automatic chunking of blocks when more than 100 were provided.\").nullable().optional(),\n}).describe(\"Response object returned when inserting a row (page) in a Notion database.\\n\\nReturns the complete created page object with all properties and metadata.\");\n\nexport const notionInsertRowDatabase = action(\"NOTION_INSERT_ROW_DATABASE\", {\n slug: \"notion-insert-row-database\",\n name: \"Insert row database\",\n description: \"Creates a new page (row) in a specified Notion database. Prerequisites: - Database must be shared with your integration - Property names AND types must match schema exactly (case-sensitive) - Use NOTION_FETCH_DATA with fetch_type='databases' first to get exact property names and types - Each database has ONE 'title' property; other text fields are 'rich_text' - Database must NOT have multiple data sources (synced databases are not supported) Common Errors: - 404: Database not shared with integration - 400 \\\"not a property\\\": Wrong property name - 400 \\\"expected to be X\\\": Wrong property type - 400 \\\"multiple_data_sources\\\": Database uses multiple data sources (not supported) Note: Rich text content in child_blocks is automat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AAS,CAAC,CAAC,SAAS;CAC/G,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpN,CAAC,CAAC,CAAC,SAAS,0JAA0J;AAEtK,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"insert-row-database.cjs","names":["z","action"],"sources":["../../src/actions/insert-row-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionInsertRowDatabaseInput = z.object({\n icon: z.string().describe(\"Emoji to be used as the page icon. Must be a single emoji character.\").optional(),\n cover: z.string().describe(\"URL of an external image to set as the page cover. The URL must point to a publicly accessible image.\").optional(),\n properties: z.array(z.object({\n name: z.string().describe(\"Name of the property\"),\n type: z.enum([\"title\", \"rich_text\", \"number\", \"select\", \"multi_select\", \"date\", \"people\", \"files\", \"checkbox\", \"url\", \"email\", \"phone_number\", \"formula\", \"relation\", \"rollup\", \"status\", \"created_time\", \"created_by\", \"last_edited_time\", \"last_edited_by\", \"place\", \"unique_id\"]).describe(\"Type of the property. Common types: title (ONE per database), rich_text, number, select (for dropdowns), multi_select, date, people, files, checkbox, url, email, phone_number, relation. ⚠️ IMPORTANT: Use 'select' for dropdown properties - NOT 'status'. The 'status' type is a SPECIAL Notion property type (with 'To-do', 'In progress', 'Complete' groups) that most databases do NOT have. If your property shows a simple dropdown list, use 'select' even if the property is NAMED 'Status'. Read-only/unsupported types (auto-skipped): created_time, created_by, last_edited_time, last_edited_by, formula, rollup, unique_id, place.\"),\n value: z.string().describe(\"Value formatted according to the property type:\\n- title, rich_text - text string (max 2000 chars, truncated if longer)\\n- number - numeric string ex. \\\"23.4\\\"\\n- select - single option name (no commas). For multiple values, use multi_select.\\n- multi_select - comma separated values ex. \\\"India,USA\\\"\\n- date - ISO 8601. Single: \\\"2021-05-11\\\". Range: \\\"2021-05-11/2021-05-15\\\" (slash-separated).\\n- people - comma separated USER UUIDs (not names). Use NOTION_LIST_USERS to find UUIDs.\\n- relation - comma separated PAGE UUIDs (not titles). Use NOTION_QUERY_DATABASE to find UUIDs.\\n- url - a URL string.\\n- files - comma separated HTTPS URLs only (no file:// or http://).\\n- checkbox - \\\"True\\\" or \\\"False\\\"\"),\n}).passthrough()).default([]).describe(\"Property values for the new page. Accepts a LIST of objects or a JSON-encoded string. Each object must include: `name` (exact property name, case-sensitive), `type` (property data type), and `value` (string-formatted value).\\n\\nProperty names AND types are CASE-SENSITIVE and must match your Notion database schema exactly. Each database has exactly ONE 'title' type property; all other text properties use 'rich_text'. Use NOTION_FETCH_DATA with fetch_type='databases' to find exact property names and types.\\n\\nCORRECT FORMAT (list of property objects):\\n[\\n {\\\"name\\\": \\\"Task Name\\\", \\\"type\\\": \\\"title\\\", \\\"value\\\": \\\"Finalize Q3 report\\\"},\\n {\\\"name\\\": \\\"Priority\\\", \\\"type\\\": \\\"select\\\", \\\"value\\\": \\\"High\\\"},\\n {\\\"name\\\": \\\"Tags\\\", \\\"type\\\": \\\"multi_select\\\", \\\"value\\\": \\\"Work,Personal\\\"},\\n {\\\"name\\\": \\\"Due Date\\\", \\\"type\\\": \\\"date\\\", \\\"value\\\": \\\"2024-06-01T12:00:00.000-04:00\\\"},\\n {\\\"name\\\": \\\"Completed\\\", \\\"type\\\": \\\"checkbox\\\", \\\"value\\\": \\\"False\\\"}\\n]\\n\\nINCORRECT FORMAT (dict - causes validation error): {\\\"Task Name\\\": \\\"value\\\", \\\"Priority\\\": \\\"High\\\"}\\n\\n'status' vs 'select' TYPE CONFUSION:\\n- Dropdown lists use type='select' - even if the property is NAMED 'Status'.\\n- The 'status' type is a special Notion property with workflow groups ('To-do', 'In progress', 'Complete').\\n- Use NOTION_FETCH_DATA to verify the actual type in your database schema.\\n\\nPROPERTY TYPE ERRORS:\\n- 'X is not a property that exists': Check schema - wrong property name or wrong type.\\n- 'X is expected to be Y': Wrong type specified - use the type shown in the error.\\n\\nValue formatting rules by type:\\n- `title` / `rich_text`: Plain text string (max 2000 chars).\\n- `number`: String of a number (e.g., \\\"23.4\\\").\\n- `select`: Single option name. Commas NOT allowed - use 'multi_select' for multiple values.\\n- `multi_select`: Comma-separated option names (e.g., \\\"Work,Personal\\\"). Options must exist in schema.\\n- `date`: ISO 8601. Single: \\\"2024-06-01T12:00:00.000-04:00\\\". Range: \\\"start/end\\\" separated by \\\"/\\\".\\n- `people`: Comma-separated Notion user IDs.\\n- `relation`: Comma-separated page UUIDs (NOT text/titles). Use NOTION_QUERY_DATABASE to get page IDs.\\n- `checkbox`: \\\"True\\\" or \\\"False\\\".\\n- `url`: Valid URL string.\\n- `files`: Comma-separated URLs.\\n- `email`: Valid email string.\\n- `phone_number`: Phone number string. Only use if database property type is 'Phone'.\").optional(),\n database_id: z.string().describe(\"Identifier (UUID) of the Notion database where the new page (row) will be inserted. Can be provided with or without hyphens (e.g., '59833787-2cf9-4fdf-8782-e53db20768a5' or '598337872cf94fdf8782e53db20768a5'). This ID must correspond to an existing database that has been explicitly shared with your integration. IMPORTANT: The database must be shared with your integration in Notion settings, otherwise you will get a 404 error. NOTE: Databases with multiple data sources (synced databases or combined views) are not supported by this integration. Use the `NOTION_FETCH_DATA` action to find available database IDs that are already shared with your integration.\"),\n child_blocks: z.array(z.object({\n bold: z.boolean().default(false).describe(\"Indicates if the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Indicates if the text is formatted as code.\").optional(),\n link: z.string().describe(\"URL for hyperlinks or media blocks. For TEXT blocks: optional URL to make text clickable. For MEDIA blocks (image, video, file): REQUIRED - must be a valid external URL (http/https). Do not pass placeholder text in 'content' for media blocks.\").optional(),\n color: z.string().default(\"default\").describe(\"The color of the text background or text itself.\").optional(),\n italic: z.boolean().default(false).describe(\"Indicates if the text is italic.\").optional(),\n content: z.string().describe(\"The textual content for TEXT blocks only. ENHANCED: Automatically parses markdown formatting including bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Required for: paragraph, heading_1, heading_2, heading_3, callout, to_do, toggle, quote. NOT USED for media blocks (image, video, file) - use 'link' field instead.\").optional(),\n underline: z.boolean().default(false).describe(\"Indicates if the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Indicates if the text has strikethrough.\").optional(),\n block_property: z.enum([\"paragraph\", \"heading_1\", \"heading_2\", \"heading_3\", \"callout\", \"to_do\", \"toggle\", \"quote\", \"bulleted_list_item\", \"numbered_list_item\", \"file\", \"image\", \"video\", \"divider\"]).default(\"paragraph\").describe(\"The block property of the block to be added. **Common text blocks:** `paragraph`, `heading_1`, `heading_2`, `heading_3`, `callout`, `to_do`, `toggle`, `quote`, `bulleted_list_item`, `numbered_list_item`. **Special blocks:** `divider` (creates a horizontal divider line, no content required). **Media/embed blocks:** `file`, `image`, `video` (requires `link` field with external URL - direct file uploads not supported). \\n\\n**NOTE:** Notion API only supports heading levels 1-3. heading_4, heading_5, etc. are automatically converted to heading_3.\").optional(),\n}).passthrough().describe(\"Include these fields in the json: {'content': 'Some words', 'link': 'https://random-link.com'. For content styling, refer to https://developers.notion.com/reference/rich-text.\\n\\nENHANCED: The 'content' field now automatically detects and parses markdown formatting - supports bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Headers (# ## ###) are handled via block_property.\")).default([]).describe(\"A list of `NotionRichText` objects defining content blocks (e.g., paragraphs, headings, media) to append to the new page's body. Accepts either a list of objects OR a JSON-encoded string representing a list. If omitted, the page body will be empty. \\n\\n**Supported block types:** paragraph, heading_1, heading_2, heading_3, callout, to_do, toggle, quote, bulleted_list_item, numbered_list_item, divider, image, video, file. \\n\\n**Media blocks (image, video, file):** Require the `link` field with an external URL. The Notion API does not support uploading files directly - you must provide publicly accessible URLs.\\n\\n**Note:** Notion API limits children to 100 blocks per request. If more than 100 blocks are provided, the action will automatically create the page with the first 100 blocks and then append remaining blocks in subsequent API calls.\").optional(),\n});\nconst NotionInsertRowDatabase_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"emoji\\\".\").nullable(),\n emoji: z.string().describe(\"The emoji character (e.g., '😻').\").nullable(),\n}).passthrough().describe(\"Standard emoji icon.\");\nconst NotionInsertRowDatabase_CustomEmojiObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL to the emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).passthrough().describe(\"Custom emoji object with identifier, name, and URL.\");\nconst NotionInsertRowDatabase_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"custom_emoji\\\".\").nullable(),\n custom_emoji: NotionInsertRowDatabase_CustomEmojiObjectSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon.\");\nconst NotionInsertRowDatabase_NotionHostedFileSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file with authenticated URL.\");\nconst NotionInsertRowDatabase_FileIconWithHostedSchema = z.object({\n file: NotionInsertRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Always \\\"file\\\".\").nullable(),\n}).passthrough().describe(\"File icon with Notion-hosted file.\");\nconst NotionInsertRowDatabase_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"UUID of the uploaded file object.\").nullable(),\n}).passthrough().describe(\"File uploaded via API.\");\nconst NotionInsertRowDatabase_FileIconWithUploadSchema = z.object({\n type: z.string().describe(\"Always \\\"file_upload\\\".\").nullable(),\n file_upload: NotionInsertRowDatabase_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"File icon with uploaded file.\");\nconst NotionInsertRowDatabase_ExternalFileObjectSchema = z.object({\n url: z.string().describe(\"Link to the externally hosted content.\").nullable(),\n}).passthrough().describe(\"External file reference.\");\nconst NotionInsertRowDatabase_FileIconWithExternalSchema = z.object({\n type: z.string().describe(\"Always \\\"external\\\".\").nullable(),\n external: NotionInsertRowDatabase_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"File icon with external URL.\");\nconst NotionInsertRowDatabase_CoverWithHostedSchema = z.object({\n file: NotionInsertRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Always \\\"file\\\".\").nullable(),\n}).passthrough().describe(\"Cover with Notion-hosted file.\");\nconst NotionInsertRowDatabase_CoverWithUploadSchema = z.object({\n type: z.string().describe(\"Always \\\"file_upload\\\".\").nullable(),\n file_upload: NotionInsertRowDatabase_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"Cover with uploaded file.\");\nconst NotionInsertRowDatabase_CoverWithExternalSchema = z.object({\n type: z.string().describe(\"Always \\\"external\\\".\").nullable(),\n external: NotionInsertRowDatabase_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"Cover with external URL.\");\nconst NotionInsertRowDatabase_DatabaseParentSchema = z.object({\n type: z.string().describe(\"Always \\\"database_id\\\".\").nullable(),\n database_id: z.string().describe(\"The database identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a database.\");\nconst NotionInsertRowDatabase_DataSourceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"data_source_id\\\".\").nullable(),\n database_id: z.string().describe(\"The parent database identifier in UUIDv4 format.\").nullable().optional(),\n data_source_id: z.string().describe(\"The data source identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a data source.\");\nconst NotionInsertRowDatabase_PageParentSchema = z.object({\n type: z.string().describe(\"Always \\\"page_id\\\".\").nullable(),\n page_id: z.string().describe(\"The page identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a page.\");\nconst NotionInsertRowDatabase_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"workspace\\\".\").nullable(),\n workspace: z.boolean().describe(\"Always true.\").nullable(),\n}).passthrough().describe(\"Parent is the workspace.\");\nconst NotionInsertRowDatabase_BlockParentSchema = z.object({\n type: z.string().describe(\"Always \\\"block_id\\\".\").nullable(),\n block_id: z.string().describe(\"The block identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a block.\");\nconst NotionInsertRowDatabase_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user in UUID format.\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n}).passthrough().describe(\"Partial user object representing a Notion user.\");\nexport const NotionInsertRowDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier for the page in UUIDv4 format.\").nullable(),\n url: z.string().describe(\"URL of the Notion page.\").nullable().optional(),\n icon: z.union([NotionInsertRowDatabase_EmojiIconSchema, NotionInsertRowDatabase_CustomEmojiIconSchema, NotionInsertRowDatabase_FileIconWithHostedSchema, NotionInsertRowDatabase_FileIconWithUploadSchema, NotionInsertRowDatabase_FileIconWithExternalSchema]).nullable().optional(),\n cover: z.union([NotionInsertRowDatabase_CoverWithHostedSchema, NotionInsertRowDatabase_CoverWithUploadSchema, NotionInsertRowDatabase_CoverWithExternalSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\". Identifies the type of object.\").nullable(),\n parent: z.union([NotionInsertRowDatabase_DatabaseParentSchema, NotionInsertRowDatabase_DataSourceParentSchema, NotionInsertRowDatabase_PageParentSchema, NotionInsertRowDatabase_WorkspaceParentSchema, NotionInsertRowDatabase_BlockParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable().optional(),\n is_locked: z.boolean().describe(\"Whether the page is locked for editing.\").nullable().optional(),\n created_by: NotionInsertRowDatabase_PartialUserSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page. Keys are property names, values are property objects.\").nullable().optional(),\n public_url: z.string().describe(\"Public URL if the page is published, otherwise null.\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the API request.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the page was created.\").nullable().optional(),\n last_edited_by: NotionInsertRowDatabase_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the page was last edited.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Message indicating any special handling performed during execution, such as automatic chunking of blocks when more than 100 were provided.\").nullable().optional(),\n}).passthrough().describe(\"Response object returned when inserting a row (page) in a Notion database.\\n\\nReturns the complete created page object with all properties and metadata.\");\n\nexport const notionInsertRowDatabase = action(\"NOTION_INSERT_ROW_DATABASE\", {\n slug: \"notion-insert-row-database\",\n name: \"Insert row database\",\n description: \"Creates a new page (row) in a specified Notion database. Prerequisites: - Database must be shared with your integration - Property names AND types must match schema exactly (case-sensitive) - Use NOTION_FETCH_DATA with fetch_type='databases' first to get exact property names and types - Each database has ONE 'title' property; other text fields are 'rich_text' - Database must NOT have multiple data sources (synced databases are not supported) Common Errors: - 404: Database not shared with integration - 400 \\\"not a property\\\": Wrong property name - 400 \\\"expected to be X\\\": Wrong property type - 400 \\\"multiple_data_sources\\\": Database uses multiple data sources (not supported) Note: Rich text content in child_blocks is automatically truncated to 2000 characters per Notion API limits.\",\n input: NotionInsertRowDatabaseInput,\n output: NotionInsertRowDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC3G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC7I,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAa;GAAU;GAAU;GAAgB;GAAQ;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S,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAA0J;AAEpL,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,19 +9,19 @@ declare const NotionInsertRowDatabaseInput: z.ZodObject<{
9
9
  type: z.ZodEnum<{
10
10
  number: "number";
11
11
  date: "date";
12
+ title: "title";
12
13
  url: "url";
13
14
  rich_text: "rich_text";
14
15
  created_by: "created_by";
15
16
  created_time: "created_time";
16
17
  last_edited_by: "last_edited_by";
17
18
  last_edited_time: "last_edited_time";
18
- title: "title";
19
+ email: "email";
19
20
  select: "select";
20
21
  multi_select: "multi_select";
21
22
  people: "people";
22
23
  files: "files";
23
24
  checkbox: "checkbox";
24
- email: "email";
25
25
  phone_number: "phone_number";
26
26
  formula: "formula";
27
27
  relation: "relation";
@@ -31,7 +31,7 @@ declare const NotionInsertRowDatabaseInput: z.ZodObject<{
31
31
  unique_id: "unique_id";
32
32
  }>;
33
33
  value: z.ZodString;
34
- }, z.core.$strip>>>>;
34
+ }, z.core.$loose>>>>;
35
35
  database_id: z.ZodString;
36
36
  child_blocks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
37
37
  bold: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -44,21 +44,21 @@ declare const NotionInsertRowDatabaseInput: z.ZodObject<{
44
44
  strikethrough: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
45
45
  block_property: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
46
46
  file: "file";
47
- quote: "quote";
47
+ paragraph: "paragraph";
48
+ heading_1: "heading_1";
49
+ heading_2: "heading_2";
50
+ heading_3: "heading_3";
51
+ bulleted_list_item: "bulleted_list_item";
52
+ numbered_list_item: "numbered_list_item";
48
53
  image: "image";
54
+ quote: "quote";
49
55
  to_do: "to_do";
50
56
  video: "video";
51
57
  toggle: "toggle";
52
58
  callout: "callout";
53
59
  divider: "divider";
54
- heading_1: "heading_1";
55
- heading_2: "heading_2";
56
- heading_3: "heading_3";
57
- paragraph: "paragraph";
58
- bulleted_list_item: "bulleted_list_item";
59
- numbered_list_item: "numbered_list_item";
60
60
  }>>>;
61
- }, z.core.$strip>>>>;
61
+ }, z.core.$loose>>>>;
62
62
  }, z.core.$strip>;
63
63
  declare const NotionInsertRowDatabaseOutput: z.ZodObject<{
64
64
  id: z.ZodNullable<z.ZodString>;
@@ -66,93 +66,95 @@ declare const NotionInsertRowDatabaseOutput: z.ZodObject<{
66
66
  icon: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
67
67
  type: z.ZodNullable<z.ZodString>;
68
68
  emoji: z.ZodNullable<z.ZodString>;
69
- }, z.core.$strip>, z.ZodObject<{
69
+ }, z.core.$loose>, z.ZodObject<{
70
70
  type: z.ZodNullable<z.ZodString>;
71
71
  custom_emoji: z.ZodNullable<z.ZodObject<{
72
72
  id: z.ZodNullable<z.ZodString>;
73
73
  url: z.ZodNullable<z.ZodString>;
74
74
  name: z.ZodNullable<z.ZodString>;
75
- }, z.core.$strip>>;
76
- }, z.core.$strip>, z.ZodObject<{
75
+ }, z.core.$loose>>;
76
+ }, z.core.$loose>, z.ZodObject<{
77
77
  file: z.ZodNullable<z.ZodObject<{
78
78
  url: z.ZodNullable<z.ZodString>;
79
79
  expiry_time: z.ZodNullable<z.ZodString>;
80
- }, z.core.$strip>>;
80
+ }, z.core.$loose>>;
81
81
  type: z.ZodNullable<z.ZodString>;
82
- }, z.core.$strip>, z.ZodObject<{
82
+ }, z.core.$loose>, z.ZodObject<{
83
83
  type: z.ZodNullable<z.ZodString>;
84
84
  file_upload: z.ZodNullable<z.ZodObject<{
85
85
  id: z.ZodNullable<z.ZodString>;
86
- }, z.core.$strip>>;
87
- }, z.core.$strip>, z.ZodObject<{
86
+ }, z.core.$loose>>;
87
+ }, z.core.$loose>, z.ZodObject<{
88
88
  type: z.ZodNullable<z.ZodString>;
89
89
  external: z.ZodNullable<z.ZodObject<{
90
90
  url: z.ZodNullable<z.ZodString>;
91
- }, z.core.$strip>>;
92
- }, z.core.$strip>]>>>;
91
+ }, z.core.$loose>>;
92
+ }, z.core.$loose>]>>>;
93
93
  cover: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
94
94
  file: z.ZodNullable<z.ZodObject<{
95
95
  url: z.ZodNullable<z.ZodString>;
96
96
  expiry_time: z.ZodNullable<z.ZodString>;
97
- }, z.core.$strip>>;
97
+ }, z.core.$loose>>;
98
98
  type: z.ZodNullable<z.ZodString>;
99
- }, z.core.$strip>, z.ZodObject<{
99
+ }, z.core.$loose>, z.ZodObject<{
100
100
  type: z.ZodNullable<z.ZodString>;
101
101
  file_upload: z.ZodNullable<z.ZodObject<{
102
102
  id: z.ZodNullable<z.ZodString>;
103
- }, z.core.$strip>>;
104
- }, z.core.$strip>, z.ZodObject<{
103
+ }, z.core.$loose>>;
104
+ }, z.core.$loose>, z.ZodObject<{
105
105
  type: z.ZodNullable<z.ZodString>;
106
106
  external: z.ZodNullable<z.ZodObject<{
107
107
  url: z.ZodNullable<z.ZodString>;
108
- }, z.core.$strip>>;
109
- }, z.core.$strip>]>>>;
108
+ }, z.core.$loose>>;
109
+ }, z.core.$loose>]>>>;
110
110
  object: z.ZodNullable<z.ZodString>;
111
111
  parent: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
112
112
  type: z.ZodNullable<z.ZodString>;
113
113
  database_id: z.ZodNullable<z.ZodString>;
114
- }, z.core.$strip>, z.ZodObject<{
114
+ }, z.core.$loose>, z.ZodObject<{
115
115
  type: z.ZodNullable<z.ZodString>;
116
116
  database_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
117
  data_source_id: z.ZodNullable<z.ZodString>;
118
- }, z.core.$strip>, z.ZodObject<{
118
+ }, z.core.$loose>, z.ZodObject<{
119
119
  type: z.ZodNullable<z.ZodString>;
120
120
  page_id: z.ZodNullable<z.ZodString>;
121
- }, z.core.$strip>, z.ZodObject<{
121
+ }, z.core.$loose>, z.ZodObject<{
122
122
  type: z.ZodNullable<z.ZodString>;
123
123
  workspace: z.ZodNullable<z.ZodBoolean>;
124
- }, z.core.$strip>, z.ZodObject<{
124
+ }, z.core.$loose>, z.ZodObject<{
125
125
  type: z.ZodNullable<z.ZodString>;
126
126
  block_id: z.ZodNullable<z.ZodString>;
127
- }, z.core.$strip>]>>>;
127
+ }, z.core.$loose>]>>>;
128
128
  archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
129
129
  in_trash: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
130
130
  is_locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
131
131
  created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
132
132
  id: z.ZodNullable<z.ZodString>;
133
133
  object: z.ZodNullable<z.ZodString>;
134
- }, z.core.$strip>>>;
135
- properties: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
134
+ }, z.core.$loose>>>;
135
+ properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
136
136
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
137
  request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
138
  created_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
139
  last_edited_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
140
140
  id: z.ZodNullable<z.ZodString>;
141
141
  object: z.ZodNullable<z.ZodString>;
142
- }, z.core.$strip>>>;
142
+ }, z.core.$loose>>>;
143
143
  last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
144
144
  composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
145
- }, z.core.$strip>;
145
+ }, z.core.$loose>;
146
146
  declare const notionInsertRowDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
147
147
  database_id: string;
148
148
  icon?: string | undefined;
149
149
  cover?: string | undefined;
150
150
  properties?: {
151
+ [x: string]: unknown;
151
152
  name: string;
152
- type: "number" | "date" | "url" | "rich_text" | "created_by" | "created_time" | "last_edited_by" | "last_edited_time" | "title" | "select" | "multi_select" | "people" | "files" | "checkbox" | "email" | "phone_number" | "formula" | "relation" | "rollup" | "status" | "place" | "unique_id";
153
+ type: "number" | "date" | "title" | "url" | "rich_text" | "created_by" | "created_time" | "last_edited_by" | "last_edited_time" | "email" | "select" | "multi_select" | "people" | "files" | "checkbox" | "phone_number" | "formula" | "relation" | "rollup" | "status" | "place" | "unique_id";
153
154
  value: string;
154
155
  }[] | undefined;
155
156
  child_blocks?: {
157
+ [x: string]: unknown;
156
158
  bold?: boolean | undefined;
157
159
  code?: boolean | undefined;
158
160
  link?: string | undefined;
@@ -161,9 +163,21 @@ declare const notionInsertRowDatabase: import("@keystrokehq/action").WorkflowAct
161
163
  content?: string | undefined;
162
164
  underline?: boolean | undefined;
163
165
  strikethrough?: boolean | undefined;
164
- block_property?: "file" | "quote" | "image" | "to_do" | "video" | "toggle" | "callout" | "divider" | "heading_1" | "heading_2" | "heading_3" | "paragraph" | "bulleted_list_item" | "numbered_list_item" | undefined;
166
+ block_property?: "file" | "paragraph" | "heading_1" | "heading_2" | "heading_3" | "bulleted_list_item" | "numbered_list_item" | "image" | "quote" | "to_do" | "video" | "toggle" | "callout" | "divider" | undefined;
165
167
  }[] | undefined;
166
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
168
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
169
+ connectionId: z.ZodString;
170
+ entityId: z.ZodString;
171
+ instanceId: z.ZodString;
172
+ }, z.core.$strip>, z.ZodObject<{
173
+ accessToken: z.ZodString;
174
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
175
+ connectionId: z.ZodString;
176
+ entityId: z.ZodString;
177
+ instanceId: z.ZodString;
178
+ }, z.core.$strip>, z.ZodObject<{
179
+ accessToken: z.ZodString;
180
+ }, z.core.$strip>>]>;
167
181
  //#endregion
168
182
  export { notionInsertRowDatabase };
169
183
  //# sourceMappingURL=insert-row-database.d.cts.map
@@ -9,19 +9,19 @@ declare const NotionInsertRowDatabaseInput: z.ZodObject<{
9
9
  type: z.ZodEnum<{
10
10
  number: "number";
11
11
  date: "date";
12
+ title: "title";
12
13
  url: "url";
13
14
  rich_text: "rich_text";
14
15
  created_by: "created_by";
15
16
  created_time: "created_time";
16
17
  last_edited_by: "last_edited_by";
17
18
  last_edited_time: "last_edited_time";
18
- title: "title";
19
+ email: "email";
19
20
  select: "select";
20
21
  multi_select: "multi_select";
21
22
  people: "people";
22
23
  files: "files";
23
24
  checkbox: "checkbox";
24
- email: "email";
25
25
  phone_number: "phone_number";
26
26
  formula: "formula";
27
27
  relation: "relation";
@@ -31,7 +31,7 @@ declare const NotionInsertRowDatabaseInput: z.ZodObject<{
31
31
  unique_id: "unique_id";
32
32
  }>;
33
33
  value: z.ZodString;
34
- }, z.core.$strip>>>>;
34
+ }, z.core.$loose>>>>;
35
35
  database_id: z.ZodString;
36
36
  child_blocks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
37
37
  bold: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -44,21 +44,21 @@ declare const NotionInsertRowDatabaseInput: z.ZodObject<{
44
44
  strikethrough: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
45
45
  block_property: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
46
46
  file: "file";
47
- quote: "quote";
47
+ paragraph: "paragraph";
48
+ heading_1: "heading_1";
49
+ heading_2: "heading_2";
50
+ heading_3: "heading_3";
51
+ bulleted_list_item: "bulleted_list_item";
52
+ numbered_list_item: "numbered_list_item";
48
53
  image: "image";
54
+ quote: "quote";
49
55
  to_do: "to_do";
50
56
  video: "video";
51
57
  toggle: "toggle";
52
58
  callout: "callout";
53
59
  divider: "divider";
54
- heading_1: "heading_1";
55
- heading_2: "heading_2";
56
- heading_3: "heading_3";
57
- paragraph: "paragraph";
58
- bulleted_list_item: "bulleted_list_item";
59
- numbered_list_item: "numbered_list_item";
60
60
  }>>>;
61
- }, z.core.$strip>>>>;
61
+ }, z.core.$loose>>>>;
62
62
  }, z.core.$strip>;
63
63
  declare const NotionInsertRowDatabaseOutput: z.ZodObject<{
64
64
  id: z.ZodNullable<z.ZodString>;
@@ -66,93 +66,95 @@ declare const NotionInsertRowDatabaseOutput: z.ZodObject<{
66
66
  icon: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
67
67
  type: z.ZodNullable<z.ZodString>;
68
68
  emoji: z.ZodNullable<z.ZodString>;
69
- }, z.core.$strip>, z.ZodObject<{
69
+ }, z.core.$loose>, z.ZodObject<{
70
70
  type: z.ZodNullable<z.ZodString>;
71
71
  custom_emoji: z.ZodNullable<z.ZodObject<{
72
72
  id: z.ZodNullable<z.ZodString>;
73
73
  url: z.ZodNullable<z.ZodString>;
74
74
  name: z.ZodNullable<z.ZodString>;
75
- }, z.core.$strip>>;
76
- }, z.core.$strip>, z.ZodObject<{
75
+ }, z.core.$loose>>;
76
+ }, z.core.$loose>, z.ZodObject<{
77
77
  file: z.ZodNullable<z.ZodObject<{
78
78
  url: z.ZodNullable<z.ZodString>;
79
79
  expiry_time: z.ZodNullable<z.ZodString>;
80
- }, z.core.$strip>>;
80
+ }, z.core.$loose>>;
81
81
  type: z.ZodNullable<z.ZodString>;
82
- }, z.core.$strip>, z.ZodObject<{
82
+ }, z.core.$loose>, z.ZodObject<{
83
83
  type: z.ZodNullable<z.ZodString>;
84
84
  file_upload: z.ZodNullable<z.ZodObject<{
85
85
  id: z.ZodNullable<z.ZodString>;
86
- }, z.core.$strip>>;
87
- }, z.core.$strip>, z.ZodObject<{
86
+ }, z.core.$loose>>;
87
+ }, z.core.$loose>, z.ZodObject<{
88
88
  type: z.ZodNullable<z.ZodString>;
89
89
  external: z.ZodNullable<z.ZodObject<{
90
90
  url: z.ZodNullable<z.ZodString>;
91
- }, z.core.$strip>>;
92
- }, z.core.$strip>]>>>;
91
+ }, z.core.$loose>>;
92
+ }, z.core.$loose>]>>>;
93
93
  cover: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
94
94
  file: z.ZodNullable<z.ZodObject<{
95
95
  url: z.ZodNullable<z.ZodString>;
96
96
  expiry_time: z.ZodNullable<z.ZodString>;
97
- }, z.core.$strip>>;
97
+ }, z.core.$loose>>;
98
98
  type: z.ZodNullable<z.ZodString>;
99
- }, z.core.$strip>, z.ZodObject<{
99
+ }, z.core.$loose>, z.ZodObject<{
100
100
  type: z.ZodNullable<z.ZodString>;
101
101
  file_upload: z.ZodNullable<z.ZodObject<{
102
102
  id: z.ZodNullable<z.ZodString>;
103
- }, z.core.$strip>>;
104
- }, z.core.$strip>, z.ZodObject<{
103
+ }, z.core.$loose>>;
104
+ }, z.core.$loose>, z.ZodObject<{
105
105
  type: z.ZodNullable<z.ZodString>;
106
106
  external: z.ZodNullable<z.ZodObject<{
107
107
  url: z.ZodNullable<z.ZodString>;
108
- }, z.core.$strip>>;
109
- }, z.core.$strip>]>>>;
108
+ }, z.core.$loose>>;
109
+ }, z.core.$loose>]>>>;
110
110
  object: z.ZodNullable<z.ZodString>;
111
111
  parent: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
112
112
  type: z.ZodNullable<z.ZodString>;
113
113
  database_id: z.ZodNullable<z.ZodString>;
114
- }, z.core.$strip>, z.ZodObject<{
114
+ }, z.core.$loose>, z.ZodObject<{
115
115
  type: z.ZodNullable<z.ZodString>;
116
116
  database_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
117
  data_source_id: z.ZodNullable<z.ZodString>;
118
- }, z.core.$strip>, z.ZodObject<{
118
+ }, z.core.$loose>, z.ZodObject<{
119
119
  type: z.ZodNullable<z.ZodString>;
120
120
  page_id: z.ZodNullable<z.ZodString>;
121
- }, z.core.$strip>, z.ZodObject<{
121
+ }, z.core.$loose>, z.ZodObject<{
122
122
  type: z.ZodNullable<z.ZodString>;
123
123
  workspace: z.ZodNullable<z.ZodBoolean>;
124
- }, z.core.$strip>, z.ZodObject<{
124
+ }, z.core.$loose>, z.ZodObject<{
125
125
  type: z.ZodNullable<z.ZodString>;
126
126
  block_id: z.ZodNullable<z.ZodString>;
127
- }, z.core.$strip>]>>>;
127
+ }, z.core.$loose>]>>>;
128
128
  archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
129
129
  in_trash: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
130
130
  is_locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
131
131
  created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
132
132
  id: z.ZodNullable<z.ZodString>;
133
133
  object: z.ZodNullable<z.ZodString>;
134
- }, z.core.$strip>>>;
135
- properties: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
134
+ }, z.core.$loose>>>;
135
+ properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
136
136
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
137
  request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
138
  created_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
139
  last_edited_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
140
140
  id: z.ZodNullable<z.ZodString>;
141
141
  object: z.ZodNullable<z.ZodString>;
142
- }, z.core.$strip>>>;
142
+ }, z.core.$loose>>>;
143
143
  last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
144
144
  composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
145
- }, z.core.$strip>;
145
+ }, z.core.$loose>;
146
146
  declare const notionInsertRowDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
147
147
  database_id: string;
148
148
  icon?: string | undefined;
149
149
  cover?: string | undefined;
150
150
  properties?: {
151
+ [x: string]: unknown;
151
152
  name: string;
152
- type: "number" | "date" | "url" | "rich_text" | "created_by" | "created_time" | "last_edited_by" | "last_edited_time" | "title" | "select" | "multi_select" | "people" | "files" | "checkbox" | "email" | "phone_number" | "formula" | "relation" | "rollup" | "status" | "place" | "unique_id";
153
+ type: "number" | "date" | "title" | "url" | "rich_text" | "created_by" | "created_time" | "last_edited_by" | "last_edited_time" | "email" | "select" | "multi_select" | "people" | "files" | "checkbox" | "phone_number" | "formula" | "relation" | "rollup" | "status" | "place" | "unique_id";
153
154
  value: string;
154
155
  }[] | undefined;
155
156
  child_blocks?: {
157
+ [x: string]: unknown;
156
158
  bold?: boolean | undefined;
157
159
  code?: boolean | undefined;
158
160
  link?: string | undefined;
@@ -161,9 +163,21 @@ declare const notionInsertRowDatabase: import("@keystrokehq/action").WorkflowAct
161
163
  content?: string | undefined;
162
164
  underline?: boolean | undefined;
163
165
  strikethrough?: boolean | undefined;
164
- block_property?: "file" | "quote" | "image" | "to_do" | "video" | "toggle" | "callout" | "divider" | "heading_1" | "heading_2" | "heading_3" | "paragraph" | "bulleted_list_item" | "numbered_list_item" | undefined;
166
+ block_property?: "file" | "paragraph" | "heading_1" | "heading_2" | "heading_3" | "bulleted_list_item" | "numbered_list_item" | "image" | "quote" | "to_do" | "video" | "toggle" | "callout" | "divider" | undefined;
165
167
  }[] | undefined;
166
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
168
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
169
+ connectionId: z.ZodString;
170
+ entityId: z.ZodString;
171
+ instanceId: z.ZodString;
172
+ }, z.core.$strip>, z.ZodObject<{
173
+ accessToken: z.ZodString;
174
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
175
+ connectionId: z.ZodString;
176
+ entityId: z.ZodString;
177
+ instanceId: z.ZodString;
178
+ }, z.core.$strip>, z.ZodObject<{
179
+ accessToken: z.ZodString;
180
+ }, z.core.$strip>>]>;
167
181
  //#endregion
168
182
  export { notionInsertRowDatabase };
169
183
  //# sourceMappingURL=insert-row-database.d.mts.map