@keystrokehq/notion 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) 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 +18 -16
  5. package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
  6. package/dist/actions/add-multiple-page-content.d.mts +18 -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 +167 -149
  13. package/dist/actions/append-code-blocks.d.mts +167 -149
  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 +151 -141
  19. package/dist/actions/append-layout-blocks.d.mts +151 -141
  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 +217 -174
  25. package/dist/actions/append-media-blocks.d.mts +217 -174
  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 +143 -137
  31. package/dist/actions/append-table-blocks.d.mts +143 -137
  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 +169 -150
  37. package/dist/actions/append-task-blocks.d.mts +169 -150
  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 +203 -167
  43. package/dist/actions/append-text-blocks.d.mts +203 -167
  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 +20 -20
  49. package/dist/actions/archive-notion-page.d.mts +20 -20
  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 +9 -9
  53. package/dist/actions/create-comment.d.mts +9 -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 +26 -25
  57. package/dist/actions/create-database.d.mts +26 -25
  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 +1 -1
  63. package/dist/actions/create-file-upload.d.mts +1 -1
  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 +18 -18
  69. package/dist/actions/create-notion-page.d.mts +18 -18
  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 +338 -338
  75. package/dist/actions/delete-block.d.mts +338 -338
  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 +24 -24
  81. package/dist/actions/duplicate-page.d.mts +24 -24
  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 +4 -4
  87. package/dist/actions/fetch-all-block-contents.d.mts +4 -4
  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 +172 -172
  93. package/dist/actions/fetch-block-contents.d.mts +172 -172
  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 +296 -296
  99. package/dist/actions/fetch-block-metadata.d.mts +296 -296
  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 +33 -33
  105. package/dist/actions/fetch-comments.d.mts +33 -33
  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 +131 -131
  111. package/dist/actions/fetch-data.d.mts +131 -131
  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 +18 -18
  117. package/dist/actions/fetch-database.d.mts +18 -18
  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 +40 -40
  123. package/dist/actions/fetch-row.d.mts +40 -40
  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 +8 -8
  129. package/dist/actions/get-about-user.d.mts +8 -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 +1 -1
  135. package/dist/actions/get-page-markdown.d.mts +1 -1
  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/insert-row-database.cjs +22 -22
  139. package/dist/actions/insert-row-database.cjs.map +1 -1
  140. package/dist/actions/insert-row-database.d.cts +40 -38
  141. package/dist/actions/insert-row-database.d.mts +40 -38
  142. package/dist/actions/insert-row-database.mjs +22 -22
  143. package/dist/actions/insert-row-database.mjs.map +1 -1
  144. package/dist/actions/insert-row-from-nl.cjs +1 -1
  145. package/dist/actions/insert-row-from-nl.cjs.map +1 -1
  146. package/dist/actions/insert-row-from-nl.d.cts +1 -1
  147. package/dist/actions/insert-row-from-nl.d.mts +1 -1
  148. package/dist/actions/insert-row-from-nl.mjs +1 -1
  149. package/dist/actions/insert-row-from-nl.mjs.map +1 -1
  150. package/dist/actions/list-data-source-templates.cjs +2 -2
  151. package/dist/actions/list-data-source-templates.cjs.map +1 -1
  152. package/dist/actions/list-data-source-templates.d.cts +2 -2
  153. package/dist/actions/list-data-source-templates.d.mts +2 -2
  154. package/dist/actions/list-data-source-templates.mjs +2 -2
  155. package/dist/actions/list-data-source-templates.mjs.map +1 -1
  156. package/dist/actions/list-file-uploads.cjs +2 -2
  157. package/dist/actions/list-file-uploads.cjs.map +1 -1
  158. package/dist/actions/list-file-uploads.d.cts +2 -2
  159. package/dist/actions/list-file-uploads.d.mts +2 -2
  160. package/dist/actions/list-file-uploads.mjs +2 -2
  161. package/dist/actions/list-file-uploads.mjs.map +1 -1
  162. package/dist/actions/list-users.cjs +8 -8
  163. package/dist/actions/list-users.cjs.map +1 -1
  164. package/dist/actions/list-users.d.cts +11 -11
  165. package/dist/actions/list-users.d.mts +11 -11
  166. package/dist/actions/list-users.mjs +8 -8
  167. package/dist/actions/list-users.mjs.map +1 -1
  168. package/dist/actions/move-page.cjs +18 -18
  169. package/dist/actions/move-page.cjs.map +1 -1
  170. package/dist/actions/move-page.d.cts +23 -21
  171. package/dist/actions/move-page.d.mts +23 -21
  172. package/dist/actions/move-page.mjs +18 -18
  173. package/dist/actions/move-page.mjs.map +1 -1
  174. package/dist/actions/query-data-source.cjs +18 -18
  175. package/dist/actions/query-data-source.cjs.map +1 -1
  176. package/dist/actions/query-data-source.d.cts +34 -32
  177. package/dist/actions/query-data-source.d.cts.map +1 -1
  178. package/dist/actions/query-data-source.d.mts +34 -32
  179. package/dist/actions/query-data-source.d.mts.map +1 -1
  180. package/dist/actions/query-data-source.mjs +18 -18
  181. package/dist/actions/query-data-source.mjs.map +1 -1
  182. package/dist/actions/query-database-with-filter.cjs +25 -25
  183. package/dist/actions/query-database-with-filter.cjs.map +1 -1
  184. package/dist/actions/query-database-with-filter.d.cts +50 -48
  185. package/dist/actions/query-database-with-filter.d.cts.map +1 -1
  186. package/dist/actions/query-database-with-filter.d.mts +50 -48
  187. package/dist/actions/query-database-with-filter.d.mts.map +1 -1
  188. package/dist/actions/query-database-with-filter.mjs +25 -25
  189. package/dist/actions/query-database-with-filter.mjs.map +1 -1
  190. package/dist/actions/query-database.cjs +24 -24
  191. package/dist/actions/query-database.cjs.map +1 -1
  192. package/dist/actions/query-database.d.cts +49 -48
  193. package/dist/actions/query-database.d.mts +49 -48
  194. package/dist/actions/query-database.mjs +24 -24
  195. package/dist/actions/query-database.mjs.map +1 -1
  196. package/dist/actions/replace-page-content.cjs +130 -130
  197. package/dist/actions/replace-page-content.cjs.map +1 -1
  198. package/dist/actions/replace-page-content.d.cts +261 -131
  199. package/dist/actions/replace-page-content.d.mts +261 -131
  200. package/dist/actions/replace-page-content.mjs +130 -130
  201. package/dist/actions/replace-page-content.mjs.map +1 -1
  202. package/dist/actions/retrieve-database-property.cjs +25 -25
  203. package/dist/actions/retrieve-database-property.cjs.map +1 -1
  204. package/dist/actions/retrieve-database-property.d.cts +28 -28
  205. package/dist/actions/retrieve-database-property.d.mts +28 -28
  206. package/dist/actions/retrieve-database-property.mjs +25 -25
  207. package/dist/actions/retrieve-database-property.mjs.map +1 -1
  208. package/dist/actions/retrieve-file-upload.cjs +1 -1
  209. package/dist/actions/retrieve-file-upload.cjs.map +1 -1
  210. package/dist/actions/retrieve-file-upload.d.cts +1 -1
  211. package/dist/actions/retrieve-file-upload.d.mts +1 -1
  212. package/dist/actions/retrieve-file-upload.mjs +1 -1
  213. package/dist/actions/retrieve-file-upload.mjs.map +1 -1
  214. package/dist/actions/retrieve-page.cjs +23 -23
  215. package/dist/actions/retrieve-page.cjs.map +1 -1
  216. package/dist/actions/retrieve-page.d.cts +38 -38
  217. package/dist/actions/retrieve-page.d.mts +38 -38
  218. package/dist/actions/retrieve-page.mjs +23 -23
  219. package/dist/actions/retrieve-page.mjs.map +1 -1
  220. package/dist/actions/search-notion-page.cjs +34 -34
  221. package/dist/actions/search-notion-page.cjs.map +1 -1
  222. package/dist/actions/search-notion-page.d.cts +157 -157
  223. package/dist/actions/search-notion-page.d.mts +157 -157
  224. package/dist/actions/search-notion-page.mjs +34 -34
  225. package/dist/actions/search-notion-page.mjs.map +1 -1
  226. package/dist/actions/send-file-upload.cjs +1 -1
  227. package/dist/actions/send-file-upload.cjs.map +1 -1
  228. package/dist/actions/send-file-upload.d.cts +1 -1
  229. package/dist/actions/send-file-upload.d.mts +1 -1
  230. package/dist/actions/send-file-upload.mjs +1 -1
  231. package/dist/actions/send-file-upload.mjs.map +1 -1
  232. package/dist/actions/update-block.cjs +47 -47
  233. package/dist/actions/update-block.cjs.map +1 -1
  234. package/dist/actions/update-block.d.cts +141 -141
  235. package/dist/actions/update-block.d.mts +141 -141
  236. package/dist/actions/update-block.mjs +47 -47
  237. package/dist/actions/update-block.mjs.map +1 -1
  238. package/dist/actions/update-page.cjs +16 -16
  239. package/dist/actions/update-page.cjs.map +1 -1
  240. package/dist/actions/update-page.d.cts +23 -23
  241. package/dist/actions/update-page.d.mts +23 -23
  242. package/dist/actions/update-page.mjs +16 -16
  243. package/dist/actions/update-page.mjs.map +1 -1
  244. package/dist/actions/update-row-database.cjs +21 -21
  245. package/dist/actions/update-row-database.cjs.map +1 -1
  246. package/dist/actions/update-row-database.d.cts +29 -28
  247. package/dist/actions/update-row-database.d.mts +29 -28
  248. package/dist/actions/update-row-database.mjs +21 -21
  249. package/dist/actions/update-row-database.mjs.map +1 -1
  250. package/dist/actions/update-schema-database.cjs +8 -8
  251. package/dist/actions/update-schema-database.cjs.map +1 -1
  252. package/dist/actions/update-schema-database.d.cts +12 -11
  253. package/dist/actions/update-schema-database.d.mts +12 -11
  254. package/dist/actions/update-schema-database.mjs +8 -8
  255. package/dist/actions/update-schema-database.mjs.map +1 -1
  256. package/dist/actions/upsert-row-database.cjs +28 -28
  257. package/dist/actions/upsert-row-database.cjs.map +1 -1
  258. package/dist/actions/upsert-row-database.d.cts +54 -30
  259. package/dist/actions/upsert-row-database.d.mts +54 -30
  260. package/dist/actions/upsert-row-database.mjs +28 -28
  261. package/dist/actions/upsert-row-database.mjs.map +1 -1
  262. package/dist/execute.cjs +1 -1
  263. package/dist/execute.cjs.map +1 -1
  264. package/dist/execute.mjs +1 -1
  265. package/dist/execute.mjs.map +1 -1
  266. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-database-property.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-database-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrieveDatabasePropertyInput = z.object({\n database_id: z.string().describe(\"Identifier for the database.\"),\n property_id: z.string().describe(\"Identifier for the property. This can be the property ID (e.g., 'GZtn') or the property name (e.g., 'Status'). Supports URL-encoded values (e.g., 'kD%5ER' decodes to 'kD^R'). Property name matching is case-sensitive but supports Unicode normalization for characters that can be represented in multiple ways.\"),\n});\nconst NotionRetrieveDatabaseProperty_NumberFormatSchema = z.object({\n format: z.string().describe(\"Number format: 'number', 'number_with_commas', 'percent', 'dollar', 'canadian_dollar', 'euro', 'pound', 'yen', 'ruble', 'rupee', 'won', 'yuan', 'real', 'lira', 'rupiah', 'franc', 'hong_kong_dollar', 'new_zealand_dollar', 'krona', 'norwegian_krone', 'mexican_peso', 'rand', 'new_taiwan_dollar', 'danish_krone', 'zloty', 'baht', 'forint', 'koruna', 'shekel', 'chilean_peso', 'philippine_peso', 'dirham', 'colombian_peso', 'riyal', 'ringgit', 'leu', 'argentine_peso', 'uruguayan_peso', 'singapore_dollar'\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_RollupConfigSchema = z.object({\n \"function\": z.string().describe(\"Rollup function: 'count', 'count_values', 'empty', 'not_empty', 'unique', 'show_unique', 'percent_empty', 'percent_not_empty', 'sum', 'average', 'median', 'min', 'max', 'range', 'earliest_date', 'latest_date', 'date_range', 'checked', 'unchecked', 'percent_checked', 'percent_unchecked', 'count_per_group', 'percent_per_group', 'show_original'\").nullable(),\n rollup_property_id: z.string().describe(\"ID of the property to rollup\").nullable(),\n relation_property_id: z.string().describe(\"ID of the relation property\").nullable(),\n rollup_property_name: z.string().describe(\"Name of the property to rollup from the related data source\").nullable(),\n relation_property_name: z.string().describe(\"Name of the relation property to use\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_SelectOptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the option (UUID format)\").nullable(),\n name: z.string().describe(\"Display name of the option\").nullable(),\n color: z.string().describe(\"Option color: 'default', 'gray', 'brown', 'orange', 'yellow', 'green', 'blue', 'purple', 'pink', 'red'\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_SelectConfigSchema = z.object({\n options: z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe(\"Array of select option objects\"),\n});\nconst NotionRetrieveDatabaseProperty_StatusGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Display name of the group\").nullable(),\n color: z.string().describe(\"Group color\").nullable(),\n option_ids: z.array(z.string()).describe(\"Array of option IDs belonging to this group\"),\n});\nconst NotionRetrieveDatabaseProperty_StatusConfigSchema = z.object({\n groups: z.array(NotionRetrieveDatabaseProperty_StatusGroupSchema).describe(\"Array of status group objects\"),\n options: z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe(\"Array of status option objects\"),\n});\nconst NotionRetrieveDatabaseProperty_FormulaConfigSchema = z.object({\n expression: z.string().describe(\"The formula expression used to compute property values\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_DualPropertySchema = z.object({\n synced_property_id: z.string().describe(\"ID of the synced property in the related data source\").nullable(),\n synced_property_name: z.string().describe(\"Name of the synced property in the related data source\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_RelationConfigSchema = z.object({\n dual_property: NotionRetrieveDatabaseProperty_DualPropertySchema.nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the related data source\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_UniqueIdConfigSchema = z.object({\n prefix: z.string().describe(\"Optional common prefix for unique IDs in this data source\").nullable().optional(),\n});\nexport const NotionRetrieveDatabasePropertyOutput = z.object({\n id: z.string().describe(\"Unique identifier for the property (short random string)\").nullable(),\n url: z.object({}).describe(\"Empty object for url type properties\").nullable().optional(),\n date: z.object({}).describe(\"Empty object for date type properties\").nullable().optional(),\n name: z.string().describe(\"Display name of the property in Notion UI\").nullable(),\n type: z.string().describe(\"Property type: 'title', 'rich_text', 'number', 'select', 'multi_select', 'date', 'people', 'files', 'checkbox', 'url', 'email', 'phone_number', 'formula', 'relation', 'rollup', 'created_time', 'created_by', 'last_edited_time', 'last_edited_by', 'status', 'unique_id', 'place'\").nullable(),\n email: z.object({}).describe(\"Empty object for email type properties\").nullable().optional(),\n files: z.object({}).describe(\"Empty object for files type properties\").nullable().optional(),\n place: z.object({}).describe(\"Empty object for place type properties\").nullable().optional(),\n title: z.object({}).describe(\"Empty object for title type properties\").nullable().optional(),\n number: NotionRetrieveDatabaseProperty_NumberFormatSchema.nullable().optional(),\n people: z.object({}).describe(\"Empty object for people type properties\").nullable().optional(),\n rollup: NotionRetrieveDatabaseProperty_RollupConfigSchema.nullable().optional(),\n select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),\n status: NotionRetrieveDatabaseProperty_StatusConfigSchema.nullable().optional(),\n formula: NotionRetrieveDatabaseProperty_FormulaConfigSchema.nullable().optional(),\n checkbox: z.object({}).describe(\"Empty object for checkbox type properties\").nullable().optional(),\n relation: NotionRetrieveDatabaseProperty_RelationConfigSchema.nullable().optional(),\n rich_text: z.object({}).describe(\"Empty object for rich_text type properties\").nullable().optional(),\n unique_id: NotionRetrieveDatabaseProperty_UniqueIdConfigSchema.nullable().optional(),\n created_by: z.object({}).describe(\"Empty object for created_by type properties\").nullable().optional(),\n description: z.string().describe(\"Property description in Notion\").nullable().optional(),\n created_time: z.object({}).describe(\"Empty object for created_time type properties\").nullable().optional(),\n multi_select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),\n phone_number: z.object({}).describe(\"Empty object for phone_number type properties\").nullable().optional(),\n last_edited_by: z.object({}).describe(\"Empty object for last_edited_by type properties\").nullable().optional(),\n last_edited_time: z.object({}).describe(\"Empty object for last_edited_time type properties\").nullable().optional(),\n});\n\nexport const notionRetrieveDatabaseProperty = action(\"NOTION_RETRIEVE_DATABASE_PROPERTY\", {\n slug: \"notion-retrieve-database-property\",\n name: \"Retrieve Database Property\",\n description: \"Tool to retrieve a specific property object of a Notion database. Use when you need to get details about a single database column/property.\",\n input: NotionRetrieveDatabasePropertyInput,\n output: NotionRetrieveDatabasePropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT;AACxV,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,ufAAuf,CAAC,CAAC,SAAS,EAChiB,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yVAAyV,CAAC,CAAC,SAAS;CACpY,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SA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;CACzG,cAAc,kDAAkD,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC;AAED,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-database-property.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-database-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrieveDatabasePropertyInput = z.object({\n database_id: z.string().describe(\"Identifier for the database.\"),\n property_id: z.string().describe(\"Identifier for the property. This can be the property ID (e.g., 'GZtn') or the property name (e.g., 'Status'). Supports URL-encoded values (e.g., 'kD%5ER' decodes to 'kD^R'). Property name matching is case-sensitive but supports Unicode normalization for characters that can be represented in multiple ways.\"),\n});\nconst NotionRetrieveDatabaseProperty_NumberFormatSchema = z.object({\n format: z.string().describe(\"Number format: 'number', 'number_with_commas', 'percent', 'dollar', 'canadian_dollar', 'euro', 'pound', 'yen', 'ruble', 'rupee', 'won', 'yuan', 'real', 'lira', 'rupiah', 'franc', 'hong_kong_dollar', 'new_zealand_dollar', 'krona', 'norwegian_krone', 'mexican_peso', 'rand', 'new_taiwan_dollar', 'danish_krone', 'zloty', 'baht', 'forint', 'koruna', 'shekel', 'chilean_peso', 'philippine_peso', 'dirham', 'colombian_peso', 'riyal', 'ringgit', 'leu', 'argentine_peso', 'uruguayan_peso', 'singapore_dollar'\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_RollupConfigSchema = z.object({\n \"function\": z.string().describe(\"Rollup function: 'count', 'count_values', 'empty', 'not_empty', 'unique', 'show_unique', 'percent_empty', 'percent_not_empty', 'sum', 'average', 'median', 'min', 'max', 'range', 'earliest_date', 'latest_date', 'date_range', 'checked', 'unchecked', 'percent_checked', 'percent_unchecked', 'count_per_group', 'percent_per_group', 'show_original'\").nullable(),\n rollup_property_id: z.string().describe(\"ID of the property to rollup\").nullable(),\n relation_property_id: z.string().describe(\"ID of the relation property\").nullable(),\n rollup_property_name: z.string().describe(\"Name of the property to rollup from the related data source\").nullable(),\n relation_property_name: z.string().describe(\"Name of the relation property to use\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_SelectOptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the option (UUID format)\").nullable(),\n name: z.string().describe(\"Display name of the option\").nullable(),\n color: z.string().describe(\"Option color: 'default', 'gray', 'brown', 'orange', 'yellow', 'green', 'blue', 'purple', 'pink', 'red'\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_SelectConfigSchema = z.object({\n options: z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe(\"Array of select option objects\"),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_StatusGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Display name of the group\").nullable(),\n color: z.string().describe(\"Group color\").nullable(),\n option_ids: z.array(z.string()).describe(\"Array of option IDs belonging to this group\"),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_StatusConfigSchema = z.object({\n groups: z.array(NotionRetrieveDatabaseProperty_StatusGroupSchema).describe(\"Array of status group objects\"),\n options: z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe(\"Array of status option objects\"),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_FormulaConfigSchema = z.object({\n expression: z.string().describe(\"The formula expression used to compute property values\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_DualPropertySchema = z.object({\n synced_property_id: z.string().describe(\"ID of the synced property in the related data source\").nullable(),\n synced_property_name: z.string().describe(\"Name of the synced property in the related data source\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_RelationConfigSchema = z.object({\n dual_property: NotionRetrieveDatabaseProperty_DualPropertySchema.nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the related data source\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_UniqueIdConfigSchema = z.object({\n prefix: z.string().describe(\"Optional common prefix for unique IDs in this data source\").nullable().optional(),\n}).passthrough();\nexport const NotionRetrieveDatabasePropertyOutput = z.object({\n id: z.string().describe(\"Unique identifier for the property (short random string)\").nullable(),\n url: z.record(z.string(), z.unknown()).describe(\"Empty object for url type properties\").nullable().optional(),\n date: z.record(z.string(), z.unknown()).describe(\"Empty object for date type properties\").nullable().optional(),\n name: z.string().describe(\"Display name of the property in Notion UI\").nullable(),\n type: z.string().describe(\"Property type: 'title', 'rich_text', 'number', 'select', 'multi_select', 'date', 'people', 'files', 'checkbox', 'url', 'email', 'phone_number', 'formula', 'relation', 'rollup', 'created_time', 'created_by', 'last_edited_time', 'last_edited_by', 'status', 'unique_id', 'place'\").nullable(),\n email: z.record(z.string(), z.unknown()).describe(\"Empty object for email type properties\").nullable().optional(),\n files: z.record(z.string(), z.unknown()).describe(\"Empty object for files type properties\").nullable().optional(),\n place: z.record(z.string(), z.unknown()).describe(\"Empty object for place type properties\").nullable().optional(),\n title: z.record(z.string(), z.unknown()).describe(\"Empty object for title type properties\").nullable().optional(),\n number: NotionRetrieveDatabaseProperty_NumberFormatSchema.nullable().optional(),\n people: z.record(z.string(), z.unknown()).describe(\"Empty object for people type properties\").nullable().optional(),\n rollup: NotionRetrieveDatabaseProperty_RollupConfigSchema.nullable().optional(),\n select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),\n status: NotionRetrieveDatabaseProperty_StatusConfigSchema.nullable().optional(),\n formula: NotionRetrieveDatabaseProperty_FormulaConfigSchema.nullable().optional(),\n checkbox: z.record(z.string(), z.unknown()).describe(\"Empty object for checkbox type properties\").nullable().optional(),\n relation: NotionRetrieveDatabaseProperty_RelationConfigSchema.nullable().optional(),\n rich_text: z.record(z.string(), z.unknown()).describe(\"Empty object for rich_text type properties\").nullable().optional(),\n unique_id: NotionRetrieveDatabaseProperty_UniqueIdConfigSchema.nullable().optional(),\n created_by: z.record(z.string(), z.unknown()).describe(\"Empty object for created_by type properties\").nullable().optional(),\n description: z.string().describe(\"Property description in Notion\").nullable().optional(),\n created_time: z.record(z.string(), z.unknown()).describe(\"Empty object for created_time type properties\").nullable().optional(),\n multi_select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),\n phone_number: z.record(z.string(), z.unknown()).describe(\"Empty object for phone_number type properties\").nullable().optional(),\n last_edited_by: z.record(z.string(), z.unknown()).describe(\"Empty object for last_edited_by type properties\").nullable().optional(),\n last_edited_time: z.record(z.string(), z.unknown()).describe(\"Empty object for last_edited_time type properties\").nullable().optional(),\n}).passthrough();\n\nexport const notionRetrieveDatabaseProperty = action(\"NOTION_RETRIEVE_DATABASE_PROPERTY\", {\n slug: \"notion-retrieve-database-property\",\n name: \"Retrieve Database Property\",\n description: \"Tool to retrieve a specific property object of a Notion database. Use when you need to get details about a single database column/property.\",\n input: NotionRetrieveDatabasePropertyInput,\n output: NotionRetrieveDatabasePropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT;AACxV,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,ufAAuf,CAAC,CAAC,SAAS,EAChiB,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AC,SAAS;CAClI,kBAAkBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,74 +7,74 @@ declare const NotionRetrieveDatabasePropertyInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const NotionRetrieveDatabasePropertyOutput: z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- url: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
11
- date: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
10
+ url: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
+ date: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
12
  name: z.ZodNullable<z.ZodString>;
13
13
  type: z.ZodNullable<z.ZodString>;
14
- email: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
15
- files: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
16
- place: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
17
- title: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
14
+ email: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
+ files: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ place: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
+ title: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
18
  number: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
19
  format: z.ZodNullable<z.ZodString>;
20
- }, z.core.$strip>>>;
21
- people: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
20
+ }, z.core.$loose>>>;
21
+ people: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22
22
  rollup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
23
  function: z.ZodNullable<z.ZodString>;
24
24
  rollup_property_id: z.ZodNullable<z.ZodString>;
25
25
  relation_property_id: z.ZodNullable<z.ZodString>;
26
26
  rollup_property_name: z.ZodNullable<z.ZodString>;
27
27
  relation_property_name: z.ZodNullable<z.ZodString>;
28
- }, z.core.$strip>>>;
28
+ }, z.core.$loose>>>;
29
29
  select: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  options: z.ZodArray<z.ZodObject<{
31
31
  id: z.ZodNullable<z.ZodString>;
32
32
  name: z.ZodNullable<z.ZodString>;
33
33
  color: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>>>;
36
36
  status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
37
37
  groups: z.ZodArray<z.ZodObject<{
38
38
  id: z.ZodNullable<z.ZodString>;
39
39
  name: z.ZodNullable<z.ZodString>;
40
40
  color: z.ZodNullable<z.ZodString>;
41
41
  option_ids: z.ZodArray<z.ZodString>;
42
- }, z.core.$strip>>;
42
+ }, z.core.$loose>>;
43
43
  options: z.ZodArray<z.ZodObject<{
44
44
  id: z.ZodNullable<z.ZodString>;
45
45
  name: z.ZodNullable<z.ZodString>;
46
46
  color: z.ZodNullable<z.ZodString>;
47
- }, z.core.$strip>>;
48
- }, z.core.$strip>>>;
47
+ }, z.core.$loose>>;
48
+ }, z.core.$loose>>>;
49
49
  formula: z.ZodOptional<z.ZodNullable<z.ZodObject<{
50
50
  expression: z.ZodNullable<z.ZodString>;
51
- }, z.core.$strip>>>;
52
- checkbox: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
51
+ }, z.core.$loose>>>;
52
+ checkbox: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
53
53
  relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
54
  dual_property: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55
55
  synced_property_id: z.ZodNullable<z.ZodString>;
56
56
  synced_property_name: z.ZodNullable<z.ZodString>;
57
- }, z.core.$strip>>>;
57
+ }, z.core.$loose>>>;
58
58
  data_source_id: z.ZodNullable<z.ZodString>;
59
- }, z.core.$strip>>>;
60
- rich_text: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
+ rich_text: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
61
61
  unique_id: z.ZodOptional<z.ZodNullable<z.ZodObject<{
62
62
  prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- }, z.core.$strip>>>;
64
- created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
63
+ }, z.core.$loose>>>;
64
+ created_by: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
65
65
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
- created_time: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
66
+ created_time: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
67
67
  multi_select: z.ZodOptional<z.ZodNullable<z.ZodObject<{
68
68
  options: z.ZodArray<z.ZodObject<{
69
69
  id: z.ZodNullable<z.ZodString>;
70
70
  name: z.ZodNullable<z.ZodString>;
71
71
  color: z.ZodNullable<z.ZodString>;
72
- }, z.core.$strip>>;
73
- }, z.core.$strip>>>;
74
- phone_number: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
75
- last_edited_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
76
- last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
77
- }, z.core.$strip>;
72
+ }, z.core.$loose>>;
73
+ }, z.core.$loose>>>;
74
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
75
+ last_edited_by: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
76
+ last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
77
+ }, z.core.$loose>;
78
78
  declare const notionRetrieveDatabaseProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
79
79
  database_id: string;
80
80
  property_id: string;
@@ -7,74 +7,74 @@ declare const NotionRetrieveDatabasePropertyInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const NotionRetrieveDatabasePropertyOutput: z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- url: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
11
- date: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
10
+ url: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
+ date: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
12
  name: z.ZodNullable<z.ZodString>;
13
13
  type: z.ZodNullable<z.ZodString>;
14
- email: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
15
- files: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
16
- place: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
17
- title: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
14
+ email: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
+ files: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ place: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
+ title: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
18
  number: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
19
  format: z.ZodNullable<z.ZodString>;
20
- }, z.core.$strip>>>;
21
- people: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
20
+ }, z.core.$loose>>>;
21
+ people: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22
22
  rollup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
23
  function: z.ZodNullable<z.ZodString>;
24
24
  rollup_property_id: z.ZodNullable<z.ZodString>;
25
25
  relation_property_id: z.ZodNullable<z.ZodString>;
26
26
  rollup_property_name: z.ZodNullable<z.ZodString>;
27
27
  relation_property_name: z.ZodNullable<z.ZodString>;
28
- }, z.core.$strip>>>;
28
+ }, z.core.$loose>>>;
29
29
  select: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  options: z.ZodArray<z.ZodObject<{
31
31
  id: z.ZodNullable<z.ZodString>;
32
32
  name: z.ZodNullable<z.ZodString>;
33
33
  color: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>>>;
36
36
  status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
37
37
  groups: z.ZodArray<z.ZodObject<{
38
38
  id: z.ZodNullable<z.ZodString>;
39
39
  name: z.ZodNullable<z.ZodString>;
40
40
  color: z.ZodNullable<z.ZodString>;
41
41
  option_ids: z.ZodArray<z.ZodString>;
42
- }, z.core.$strip>>;
42
+ }, z.core.$loose>>;
43
43
  options: z.ZodArray<z.ZodObject<{
44
44
  id: z.ZodNullable<z.ZodString>;
45
45
  name: z.ZodNullable<z.ZodString>;
46
46
  color: z.ZodNullable<z.ZodString>;
47
- }, z.core.$strip>>;
48
- }, z.core.$strip>>>;
47
+ }, z.core.$loose>>;
48
+ }, z.core.$loose>>>;
49
49
  formula: z.ZodOptional<z.ZodNullable<z.ZodObject<{
50
50
  expression: z.ZodNullable<z.ZodString>;
51
- }, z.core.$strip>>>;
52
- checkbox: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
51
+ }, z.core.$loose>>>;
52
+ checkbox: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
53
53
  relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
54
  dual_property: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55
55
  synced_property_id: z.ZodNullable<z.ZodString>;
56
56
  synced_property_name: z.ZodNullable<z.ZodString>;
57
- }, z.core.$strip>>>;
57
+ }, z.core.$loose>>>;
58
58
  data_source_id: z.ZodNullable<z.ZodString>;
59
- }, z.core.$strip>>>;
60
- rich_text: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
+ rich_text: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
61
61
  unique_id: z.ZodOptional<z.ZodNullable<z.ZodObject<{
62
62
  prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- }, z.core.$strip>>>;
64
- created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
63
+ }, z.core.$loose>>>;
64
+ created_by: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
65
65
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
- created_time: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
66
+ created_time: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
67
67
  multi_select: z.ZodOptional<z.ZodNullable<z.ZodObject<{
68
68
  options: z.ZodArray<z.ZodObject<{
69
69
  id: z.ZodNullable<z.ZodString>;
70
70
  name: z.ZodNullable<z.ZodString>;
71
71
  color: z.ZodNullable<z.ZodString>;
72
- }, z.core.$strip>>;
73
- }, z.core.$strip>>>;
74
- phone_number: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
75
- last_edited_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
76
- last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
77
- }, z.core.$strip>;
72
+ }, z.core.$loose>>;
73
+ }, z.core.$loose>>>;
74
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
75
+ last_edited_by: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
76
+ last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
77
+ }, z.core.$loose>;
78
78
  declare const notionRetrieveDatabaseProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
79
79
  database_id: string;
80
80
  property_id: string;
@@ -5,40 +5,40 @@ const NotionRetrieveDatabasePropertyInput = z.object({
5
5
  database_id: z.string().describe("Identifier for the database."),
6
6
  property_id: z.string().describe("Identifier for the property. This can be the property ID (e.g., 'GZtn') or the property name (e.g., 'Status'). Supports URL-encoded values (e.g., 'kD%5ER' decodes to 'kD^R'). Property name matching is case-sensitive but supports Unicode normalization for characters that can be represented in multiple ways.")
7
7
  });
8
- const NotionRetrieveDatabaseProperty_NumberFormatSchema = z.object({ format: z.string().describe("Number format: 'number', 'number_with_commas', 'percent', 'dollar', 'canadian_dollar', 'euro', 'pound', 'yen', 'ruble', 'rupee', 'won', 'yuan', 'real', 'lira', 'rupiah', 'franc', 'hong_kong_dollar', 'new_zealand_dollar', 'krona', 'norwegian_krone', 'mexican_peso', 'rand', 'new_taiwan_dollar', 'danish_krone', 'zloty', 'baht', 'forint', 'koruna', 'shekel', 'chilean_peso', 'philippine_peso', 'dirham', 'colombian_peso', 'riyal', 'ringgit', 'leu', 'argentine_peso', 'uruguayan_peso', 'singapore_dollar'").nullable() });
8
+ const NotionRetrieveDatabaseProperty_NumberFormatSchema = z.object({ format: z.string().describe("Number format: 'number', 'number_with_commas', 'percent', 'dollar', 'canadian_dollar', 'euro', 'pound', 'yen', 'ruble', 'rupee', 'won', 'yuan', 'real', 'lira', 'rupiah', 'franc', 'hong_kong_dollar', 'new_zealand_dollar', 'krona', 'norwegian_krone', 'mexican_peso', 'rand', 'new_taiwan_dollar', 'danish_krone', 'zloty', 'baht', 'forint', 'koruna', 'shekel', 'chilean_peso', 'philippine_peso', 'dirham', 'colombian_peso', 'riyal', 'ringgit', 'leu', 'argentine_peso', 'uruguayan_peso', 'singapore_dollar'").nullable() }).passthrough();
9
9
  const NotionRetrieveDatabaseProperty_RollupConfigSchema = z.object({
10
10
  "function": z.string().describe("Rollup function: 'count', 'count_values', 'empty', 'not_empty', 'unique', 'show_unique', 'percent_empty', 'percent_not_empty', 'sum', 'average', 'median', 'min', 'max', 'range', 'earliest_date', 'latest_date', 'date_range', 'checked', 'unchecked', 'percent_checked', 'percent_unchecked', 'count_per_group', 'percent_per_group', 'show_original'").nullable(),
11
11
  rollup_property_id: z.string().describe("ID of the property to rollup").nullable(),
12
12
  relation_property_id: z.string().describe("ID of the relation property").nullable(),
13
13
  rollup_property_name: z.string().describe("Name of the property to rollup from the related data source").nullable(),
14
14
  relation_property_name: z.string().describe("Name of the relation property to use").nullable()
15
- });
15
+ }).passthrough();
16
16
  const NotionRetrieveDatabaseProperty_SelectOptionSchema = z.object({
17
17
  id: z.string().describe("Unique identifier for the option (UUID format)").nullable(),
18
18
  name: z.string().describe("Display name of the option").nullable(),
19
19
  color: z.string().describe("Option color: 'default', 'gray', 'brown', 'orange', 'yellow', 'green', 'blue', 'purple', 'pink', 'red'").nullable()
20
- });
21
- const NotionRetrieveDatabaseProperty_SelectConfigSchema = z.object({ options: z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe("Array of select option objects") });
20
+ }).passthrough();
21
+ const NotionRetrieveDatabaseProperty_SelectConfigSchema = z.object({ options: z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe("Array of select option objects") }).passthrough();
22
22
  const NotionRetrieveDatabaseProperty_StatusGroupSchema = z.object({
23
23
  id: z.string().describe("Unique identifier for the group").nullable(),
24
24
  name: z.string().describe("Display name of the group").nullable(),
25
25
  color: z.string().describe("Group color").nullable(),
26
26
  option_ids: z.array(z.string()).describe("Array of option IDs belonging to this group")
27
- });
27
+ }).passthrough();
28
28
  const NotionRetrieveDatabaseProperty_StatusConfigSchema = z.object({
29
29
  groups: z.array(NotionRetrieveDatabaseProperty_StatusGroupSchema).describe("Array of status group objects"),
30
30
  options: z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe("Array of status option objects")
31
- });
32
- const NotionRetrieveDatabaseProperty_FormulaConfigSchema = z.object({ expression: z.string().describe("The formula expression used to compute property values").nullable() });
31
+ }).passthrough();
32
+ const NotionRetrieveDatabaseProperty_FormulaConfigSchema = z.object({ expression: z.string().describe("The formula expression used to compute property values").nullable() }).passthrough();
33
33
  const NotionRetrieveDatabaseProperty_DualPropertySchema = z.object({
34
34
  synced_property_id: z.string().describe("ID of the synced property in the related data source").nullable(),
35
35
  synced_property_name: z.string().describe("Name of the synced property in the related data source").nullable()
36
- });
36
+ }).passthrough();
37
37
  const NotionRetrieveDatabaseProperty_RelationConfigSchema = z.object({
38
38
  dual_property: NotionRetrieveDatabaseProperty_DualPropertySchema.nullable().optional(),
39
39
  data_source_id: z.string().describe("UUID of the related data source").nullable()
40
- });
41
- const NotionRetrieveDatabaseProperty_UniqueIdConfigSchema = z.object({ prefix: z.string().describe("Optional common prefix for unique IDs in this data source").nullable().optional() });
40
+ }).passthrough();
41
+ const NotionRetrieveDatabaseProperty_UniqueIdConfigSchema = z.object({ prefix: z.string().describe("Optional common prefix for unique IDs in this data source").nullable().optional() }).passthrough();
42
42
  const notionRetrieveDatabaseProperty = action("NOTION_RETRIEVE_DATABASE_PROPERTY", {
43
43
  slug: "notion-retrieve-database-property",
44
44
  name: "Retrieve Database Property",
@@ -46,32 +46,32 @@ const notionRetrieveDatabaseProperty = action("NOTION_RETRIEVE_DATABASE_PROPERTY
46
46
  input: NotionRetrieveDatabasePropertyInput,
47
47
  output: z.object({
48
48
  id: z.string().describe("Unique identifier for the property (short random string)").nullable(),
49
- url: z.object({}).describe("Empty object for url type properties").nullable().optional(),
50
- date: z.object({}).describe("Empty object for date type properties").nullable().optional(),
49
+ url: z.record(z.string(), z.unknown()).describe("Empty object for url type properties").nullable().optional(),
50
+ date: z.record(z.string(), z.unknown()).describe("Empty object for date type properties").nullable().optional(),
51
51
  name: z.string().describe("Display name of the property in Notion UI").nullable(),
52
52
  type: z.string().describe("Property type: 'title', 'rich_text', 'number', 'select', 'multi_select', 'date', 'people', 'files', 'checkbox', 'url', 'email', 'phone_number', 'formula', 'relation', 'rollup', 'created_time', 'created_by', 'last_edited_time', 'last_edited_by', 'status', 'unique_id', 'place'").nullable(),
53
- email: z.object({}).describe("Empty object for email type properties").nullable().optional(),
54
- files: z.object({}).describe("Empty object for files type properties").nullable().optional(),
55
- place: z.object({}).describe("Empty object for place type properties").nullable().optional(),
56
- title: z.object({}).describe("Empty object for title type properties").nullable().optional(),
53
+ email: z.record(z.string(), z.unknown()).describe("Empty object for email type properties").nullable().optional(),
54
+ files: z.record(z.string(), z.unknown()).describe("Empty object for files type properties").nullable().optional(),
55
+ place: z.record(z.string(), z.unknown()).describe("Empty object for place type properties").nullable().optional(),
56
+ title: z.record(z.string(), z.unknown()).describe("Empty object for title type properties").nullable().optional(),
57
57
  number: NotionRetrieveDatabaseProperty_NumberFormatSchema.nullable().optional(),
58
- people: z.object({}).describe("Empty object for people type properties").nullable().optional(),
58
+ people: z.record(z.string(), z.unknown()).describe("Empty object for people type properties").nullable().optional(),
59
59
  rollup: NotionRetrieveDatabaseProperty_RollupConfigSchema.nullable().optional(),
60
60
  select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),
61
61
  status: NotionRetrieveDatabaseProperty_StatusConfigSchema.nullable().optional(),
62
62
  formula: NotionRetrieveDatabaseProperty_FormulaConfigSchema.nullable().optional(),
63
- checkbox: z.object({}).describe("Empty object for checkbox type properties").nullable().optional(),
63
+ checkbox: z.record(z.string(), z.unknown()).describe("Empty object for checkbox type properties").nullable().optional(),
64
64
  relation: NotionRetrieveDatabaseProperty_RelationConfigSchema.nullable().optional(),
65
- rich_text: z.object({}).describe("Empty object for rich_text type properties").nullable().optional(),
65
+ rich_text: z.record(z.string(), z.unknown()).describe("Empty object for rich_text type properties").nullable().optional(),
66
66
  unique_id: NotionRetrieveDatabaseProperty_UniqueIdConfigSchema.nullable().optional(),
67
- created_by: z.object({}).describe("Empty object for created_by type properties").nullable().optional(),
67
+ created_by: z.record(z.string(), z.unknown()).describe("Empty object for created_by type properties").nullable().optional(),
68
68
  description: z.string().describe("Property description in Notion").nullable().optional(),
69
- created_time: z.object({}).describe("Empty object for created_time type properties").nullable().optional(),
69
+ created_time: z.record(z.string(), z.unknown()).describe("Empty object for created_time type properties").nullable().optional(),
70
70
  multi_select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),
71
- phone_number: z.object({}).describe("Empty object for phone_number type properties").nullable().optional(),
72
- last_edited_by: z.object({}).describe("Empty object for last_edited_by type properties").nullable().optional(),
73
- last_edited_time: z.object({}).describe("Empty object for last_edited_time type properties").nullable().optional()
74
- })
71
+ phone_number: z.record(z.string(), z.unknown()).describe("Empty object for phone_number type properties").nullable().optional(),
72
+ last_edited_by: z.record(z.string(), z.unknown()).describe("Empty object for last_edited_by type properties").nullable().optional(),
73
+ last_edited_time: z.record(z.string(), z.unknown()).describe("Empty object for last_edited_time type properties").nullable().optional()
74
+ }).passthrough()
75
75
  });
76
76
  //#endregion
77
77
  export { notionRetrieveDatabaseProperty };
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-database-property.mjs","names":[],"sources":["../../src/actions/retrieve-database-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrieveDatabasePropertyInput = z.object({\n database_id: z.string().describe(\"Identifier for the database.\"),\n property_id: z.string().describe(\"Identifier for the property. This can be the property ID (e.g., 'GZtn') or the property name (e.g., 'Status'). Supports URL-encoded values (e.g., 'kD%5ER' decodes to 'kD^R'). Property name matching is case-sensitive but supports Unicode normalization for characters that can be represented in multiple ways.\"),\n});\nconst NotionRetrieveDatabaseProperty_NumberFormatSchema = z.object({\n format: z.string().describe(\"Number format: 'number', 'number_with_commas', 'percent', 'dollar', 'canadian_dollar', 'euro', 'pound', 'yen', 'ruble', 'rupee', 'won', 'yuan', 'real', 'lira', 'rupiah', 'franc', 'hong_kong_dollar', 'new_zealand_dollar', 'krona', 'norwegian_krone', 'mexican_peso', 'rand', 'new_taiwan_dollar', 'danish_krone', 'zloty', 'baht', 'forint', 'koruna', 'shekel', 'chilean_peso', 'philippine_peso', 'dirham', 'colombian_peso', 'riyal', 'ringgit', 'leu', 'argentine_peso', 'uruguayan_peso', 'singapore_dollar'\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_RollupConfigSchema = z.object({\n \"function\": z.string().describe(\"Rollup function: 'count', 'count_values', 'empty', 'not_empty', 'unique', 'show_unique', 'percent_empty', 'percent_not_empty', 'sum', 'average', 'median', 'min', 'max', 'range', 'earliest_date', 'latest_date', 'date_range', 'checked', 'unchecked', 'percent_checked', 'percent_unchecked', 'count_per_group', 'percent_per_group', 'show_original'\").nullable(),\n rollup_property_id: z.string().describe(\"ID of the property to rollup\").nullable(),\n relation_property_id: z.string().describe(\"ID of the relation property\").nullable(),\n rollup_property_name: z.string().describe(\"Name of the property to rollup from the related data source\").nullable(),\n relation_property_name: z.string().describe(\"Name of the relation property to use\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_SelectOptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the option (UUID format)\").nullable(),\n name: z.string().describe(\"Display name of the option\").nullable(),\n color: z.string().describe(\"Option color: 'default', 'gray', 'brown', 'orange', 'yellow', 'green', 'blue', 'purple', 'pink', 'red'\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_SelectConfigSchema = z.object({\n options: z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe(\"Array of select option objects\"),\n});\nconst NotionRetrieveDatabaseProperty_StatusGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Display name of the group\").nullable(),\n color: z.string().describe(\"Group color\").nullable(),\n option_ids: z.array(z.string()).describe(\"Array of option IDs belonging to this group\"),\n});\nconst NotionRetrieveDatabaseProperty_StatusConfigSchema = z.object({\n groups: z.array(NotionRetrieveDatabaseProperty_StatusGroupSchema).describe(\"Array of status group objects\"),\n options: z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe(\"Array of status option objects\"),\n});\nconst NotionRetrieveDatabaseProperty_FormulaConfigSchema = z.object({\n expression: z.string().describe(\"The formula expression used to compute property values\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_DualPropertySchema = z.object({\n synced_property_id: z.string().describe(\"ID of the synced property in the related data source\").nullable(),\n synced_property_name: z.string().describe(\"Name of the synced property in the related data source\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_RelationConfigSchema = z.object({\n dual_property: NotionRetrieveDatabaseProperty_DualPropertySchema.nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the related data source\").nullable(),\n});\nconst NotionRetrieveDatabaseProperty_UniqueIdConfigSchema = z.object({\n prefix: z.string().describe(\"Optional common prefix for unique IDs in this data source\").nullable().optional(),\n});\nexport const NotionRetrieveDatabasePropertyOutput = z.object({\n id: z.string().describe(\"Unique identifier for the property (short random string)\").nullable(),\n url: z.object({}).describe(\"Empty object for url type properties\").nullable().optional(),\n date: z.object({}).describe(\"Empty object for date type properties\").nullable().optional(),\n name: z.string().describe(\"Display name of the property in Notion UI\").nullable(),\n type: z.string().describe(\"Property type: 'title', 'rich_text', 'number', 'select', 'multi_select', 'date', 'people', 'files', 'checkbox', 'url', 'email', 'phone_number', 'formula', 'relation', 'rollup', 'created_time', 'created_by', 'last_edited_time', 'last_edited_by', 'status', 'unique_id', 'place'\").nullable(),\n email: z.object({}).describe(\"Empty object for email type properties\").nullable().optional(),\n files: z.object({}).describe(\"Empty object for files type properties\").nullable().optional(),\n place: z.object({}).describe(\"Empty object for place type properties\").nullable().optional(),\n title: z.object({}).describe(\"Empty object for title type properties\").nullable().optional(),\n number: NotionRetrieveDatabaseProperty_NumberFormatSchema.nullable().optional(),\n people: z.object({}).describe(\"Empty object for people type properties\").nullable().optional(),\n rollup: NotionRetrieveDatabaseProperty_RollupConfigSchema.nullable().optional(),\n select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),\n status: NotionRetrieveDatabaseProperty_StatusConfigSchema.nullable().optional(),\n formula: NotionRetrieveDatabaseProperty_FormulaConfigSchema.nullable().optional(),\n checkbox: z.object({}).describe(\"Empty object for checkbox type properties\").nullable().optional(),\n relation: NotionRetrieveDatabaseProperty_RelationConfigSchema.nullable().optional(),\n rich_text: z.object({}).describe(\"Empty object for rich_text type properties\").nullable().optional(),\n unique_id: NotionRetrieveDatabaseProperty_UniqueIdConfigSchema.nullable().optional(),\n created_by: z.object({}).describe(\"Empty object for created_by type properties\").nullable().optional(),\n description: z.string().describe(\"Property description in Notion\").nullable().optional(),\n created_time: z.object({}).describe(\"Empty object for created_time type properties\").nullable().optional(),\n multi_select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),\n phone_number: z.object({}).describe(\"Empty object for phone_number type properties\").nullable().optional(),\n last_edited_by: z.object({}).describe(\"Empty object for last_edited_by type properties\").nullable().optional(),\n last_edited_time: z.object({}).describe(\"Empty object for last_edited_time type properties\").nullable().optional(),\n});\n\nexport const notionRetrieveDatabaseProperty = action(\"NOTION_RETRIEVE_DATABASE_PROPERTY\", {\n slug: \"notion-retrieve-database-property\",\n name: \"Retrieve Database Property\",\n description: \"Tool to retrieve a specific property object of a Notion database. Use when you need to get details about a single database column/property.\",\n input: NotionRetrieveDatabasePropertyInput,\n output: NotionRetrieveDatabasePropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT;AACxV,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,ufAAuf,CAAC,CAAC,SAAS,EAChiB,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yVAAyV,CAAC,CAAC,SAAS;CACpY,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClH,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;AAChJ,CAAC;AACD,M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S,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,UAAU,oDAAoD,SAAS,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,oDAAoD,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,cAAc,kDAAkD,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,kBAAkB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-database-property.mjs","names":[],"sources":["../../src/actions/retrieve-database-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrieveDatabasePropertyInput = z.object({\n database_id: z.string().describe(\"Identifier for the database.\"),\n property_id: z.string().describe(\"Identifier for the property. This can be the property ID (e.g., 'GZtn') or the property name (e.g., 'Status'). Supports URL-encoded values (e.g., 'kD%5ER' decodes to 'kD^R'). Property name matching is case-sensitive but supports Unicode normalization for characters that can be represented in multiple ways.\"),\n});\nconst NotionRetrieveDatabaseProperty_NumberFormatSchema = z.object({\n format: z.string().describe(\"Number format: 'number', 'number_with_commas', 'percent', 'dollar', 'canadian_dollar', 'euro', 'pound', 'yen', 'ruble', 'rupee', 'won', 'yuan', 'real', 'lira', 'rupiah', 'franc', 'hong_kong_dollar', 'new_zealand_dollar', 'krona', 'norwegian_krone', 'mexican_peso', 'rand', 'new_taiwan_dollar', 'danish_krone', 'zloty', 'baht', 'forint', 'koruna', 'shekel', 'chilean_peso', 'philippine_peso', 'dirham', 'colombian_peso', 'riyal', 'ringgit', 'leu', 'argentine_peso', 'uruguayan_peso', 'singapore_dollar'\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_RollupConfigSchema = z.object({\n \"function\": z.string().describe(\"Rollup function: 'count', 'count_values', 'empty', 'not_empty', 'unique', 'show_unique', 'percent_empty', 'percent_not_empty', 'sum', 'average', 'median', 'min', 'max', 'range', 'earliest_date', 'latest_date', 'date_range', 'checked', 'unchecked', 'percent_checked', 'percent_unchecked', 'count_per_group', 'percent_per_group', 'show_original'\").nullable(),\n rollup_property_id: z.string().describe(\"ID of the property to rollup\").nullable(),\n relation_property_id: z.string().describe(\"ID of the relation property\").nullable(),\n rollup_property_name: z.string().describe(\"Name of the property to rollup from the related data source\").nullable(),\n relation_property_name: z.string().describe(\"Name of the relation property to use\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_SelectOptionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the option (UUID format)\").nullable(),\n name: z.string().describe(\"Display name of the option\").nullable(),\n color: z.string().describe(\"Option color: 'default', 'gray', 'brown', 'orange', 'yellow', 'green', 'blue', 'purple', 'pink', 'red'\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_SelectConfigSchema = z.object({\n options: z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe(\"Array of select option objects\"),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_StatusGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Display name of the group\").nullable(),\n color: z.string().describe(\"Group color\").nullable(),\n option_ids: z.array(z.string()).describe(\"Array of option IDs belonging to this group\"),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_StatusConfigSchema = z.object({\n groups: z.array(NotionRetrieveDatabaseProperty_StatusGroupSchema).describe(\"Array of status group objects\"),\n options: z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe(\"Array of status option objects\"),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_FormulaConfigSchema = z.object({\n expression: z.string().describe(\"The formula expression used to compute property values\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_DualPropertySchema = z.object({\n synced_property_id: z.string().describe(\"ID of the synced property in the related data source\").nullable(),\n synced_property_name: z.string().describe(\"Name of the synced property in the related data source\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_RelationConfigSchema = z.object({\n dual_property: NotionRetrieveDatabaseProperty_DualPropertySchema.nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the related data source\").nullable(),\n}).passthrough();\nconst NotionRetrieveDatabaseProperty_UniqueIdConfigSchema = z.object({\n prefix: z.string().describe(\"Optional common prefix for unique IDs in this data source\").nullable().optional(),\n}).passthrough();\nexport const NotionRetrieveDatabasePropertyOutput = z.object({\n id: z.string().describe(\"Unique identifier for the property (short random string)\").nullable(),\n url: z.record(z.string(), z.unknown()).describe(\"Empty object for url type properties\").nullable().optional(),\n date: z.record(z.string(), z.unknown()).describe(\"Empty object for date type properties\").nullable().optional(),\n name: z.string().describe(\"Display name of the property in Notion UI\").nullable(),\n type: z.string().describe(\"Property type: 'title', 'rich_text', 'number', 'select', 'multi_select', 'date', 'people', 'files', 'checkbox', 'url', 'email', 'phone_number', 'formula', 'relation', 'rollup', 'created_time', 'created_by', 'last_edited_time', 'last_edited_by', 'status', 'unique_id', 'place'\").nullable(),\n email: z.record(z.string(), z.unknown()).describe(\"Empty object for email type properties\").nullable().optional(),\n files: z.record(z.string(), z.unknown()).describe(\"Empty object for files type properties\").nullable().optional(),\n place: z.record(z.string(), z.unknown()).describe(\"Empty object for place type properties\").nullable().optional(),\n title: z.record(z.string(), z.unknown()).describe(\"Empty object for title type properties\").nullable().optional(),\n number: NotionRetrieveDatabaseProperty_NumberFormatSchema.nullable().optional(),\n people: z.record(z.string(), z.unknown()).describe(\"Empty object for people type properties\").nullable().optional(),\n rollup: NotionRetrieveDatabaseProperty_RollupConfigSchema.nullable().optional(),\n select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),\n status: NotionRetrieveDatabaseProperty_StatusConfigSchema.nullable().optional(),\n formula: NotionRetrieveDatabaseProperty_FormulaConfigSchema.nullable().optional(),\n checkbox: z.record(z.string(), z.unknown()).describe(\"Empty object for checkbox type properties\").nullable().optional(),\n relation: NotionRetrieveDatabaseProperty_RelationConfigSchema.nullable().optional(),\n rich_text: z.record(z.string(), z.unknown()).describe(\"Empty object for rich_text type properties\").nullable().optional(),\n unique_id: NotionRetrieveDatabaseProperty_UniqueIdConfigSchema.nullable().optional(),\n created_by: z.record(z.string(), z.unknown()).describe(\"Empty object for created_by type properties\").nullable().optional(),\n description: z.string().describe(\"Property description in Notion\").nullable().optional(),\n created_time: z.record(z.string(), z.unknown()).describe(\"Empty object for created_time type properties\").nullable().optional(),\n multi_select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),\n phone_number: z.record(z.string(), z.unknown()).describe(\"Empty object for phone_number type properties\").nullable().optional(),\n last_edited_by: z.record(z.string(), z.unknown()).describe(\"Empty object for last_edited_by type properties\").nullable().optional(),\n last_edited_time: z.record(z.string(), z.unknown()).describe(\"Empty object for last_edited_time type properties\").nullable().optional(),\n}).passthrough();\n\nexport const notionRetrieveDatabaseProperty = action(\"NOTION_RETRIEVE_DATABASE_PROPERTY\", {\n slug: \"notion-retrieve-database-property\",\n name: \"Retrieve Database Property\",\n description: \"Tool to retrieve a specific property object of a Notion database. Use when you need to get details about a single database column/property.\",\n input: NotionRetrieveDatabasePropertyInput,\n output: NotionRetrieveDatabasePropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT;AACxV,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,ufAAuf,CAAC,CAAC,SAAS,EAChiB,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yVAAyV,CAAC,CAAC,SAAS;CACpY,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClH,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO,EACjE,SAAS,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,gCAAgC,EAC/G,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,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 @@ const NotionRetrieveFileUploadOutput = zod.z.object({
20
20
  content_length: zod.z.number().int().describe("Total file size in bytes; updated during multi-part uploads. Null until file is uploaded.").nullable().optional(),
21
21
  last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the FileUpload was last modified.").nullable(),
22
22
  file_import_result: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Import success/failure details for external URL mode. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.").nullable().optional()
23
- });
23
+ }).passthrough();
24
24
  const notionRetrieveFileUpload = require_action.action("NOTION_RETRIEVE_FILE_UPLOAD", {
25
25
  slug: "notion-retrieve-file-upload",
26
26
  name: "Retrieve Notion file upload",
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-file-upload.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-file-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrieveFileUploadInput = z.object({\n file_upload_id: z.string().describe(\"The unique identifier (UUID) of the file upload to retrieve.\"),\n});\nexport const NotionRetrieveFileUploadOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the FileUpload.\").nullable(),\n object: z.string().describe(\"Always 'file_upload'. Object type identifier.\").nullable(),\n status: z.enum([\"pending\", \"uploaded\", \"expired\", \"failed\"]).describe(\"Current upload state. One of: pending, uploaded, expired, or failed.\").nullable(),\n filename: z.string().describe(\"Name of the file with extension added based on content_type if needed. Null until file is uploaded.\").nullable().optional(),\n upload_url: z.string().describe(\"Endpoint for sending file contents. Only present for pending uploads.\").nullable().optional(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp indicating when FileUpload expires if not completed and attached. Null if already uploaded or expired.\").nullable().optional(),\n complete_url: z.string().describe(\"Endpoint to finalize multi-part uploads. Only present for pending multi-part uploads.\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of uploaded file; can be inferred from filename extension. Null until file is uploaded.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was created.\").nullable(),\n content_length: z.number().int().describe(\"Total file size in bytes; updated during multi-part uploads. Null until file is uploaded.\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was last modified.\").nullable(),\n file_import_result: z.record(z.string(), z.unknown()).describe(\"Import success/failure details for external URL mode. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.\").nullable().optional(),\n});\n\nexport const notionRetrieveFileUpload = action(\"NOTION_RETRIEVE_FILE_UPLOAD\", {\n slug: \"notion-retrieve-file-upload\",\n name: \"Retrieve Notion file upload\",\n description: \"Tool to retrieve details of a Notion File Upload object by its identifier. Use when you need to check the status or details of an existing file upload.\",\n input: NotionRetrieveFileUploadInput,\n output: NotionRetrieveFileUploadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACpG,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAY;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACvJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAClG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC5G,oBAAoBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9N,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-file-upload.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-file-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrieveFileUploadInput = z.object({\n file_upload_id: z.string().describe(\"The unique identifier (UUID) of the file upload to retrieve.\"),\n});\nexport const NotionRetrieveFileUploadOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the FileUpload.\").nullable(),\n object: z.string().describe(\"Always 'file_upload'. Object type identifier.\").nullable(),\n status: z.enum([\"pending\", \"uploaded\", \"expired\", \"failed\"]).describe(\"Current upload state. One of: pending, uploaded, expired, or failed.\").nullable(),\n filename: z.string().describe(\"Name of the file with extension added based on content_type if needed. Null until file is uploaded.\").nullable().optional(),\n upload_url: z.string().describe(\"Endpoint for sending file contents. Only present for pending uploads.\").nullable().optional(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp indicating when FileUpload expires if not completed and attached. Null if already uploaded or expired.\").nullable().optional(),\n complete_url: z.string().describe(\"Endpoint to finalize multi-part uploads. Only present for pending multi-part uploads.\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of uploaded file; can be inferred from filename extension. Null until file is uploaded.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was created.\").nullable(),\n content_length: z.number().int().describe(\"Total file size in bytes; updated during multi-part uploads. Null until file is uploaded.\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was last modified.\").nullable(),\n file_import_result: z.record(z.string(), z.unknown()).describe(\"Import success/failure details for external URL mode. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.\").nullable().optional(),\n}).passthrough();\n\nexport const notionRetrieveFileUpload = action(\"NOTION_RETRIEVE_FILE_UPLOAD\", {\n slug: \"notion-retrieve-file-upload\",\n name: \"Retrieve Notion file upload\",\n description: \"Tool to retrieve details of a Notion File Upload object by its identifier. Use when you need to check the status or details of an existing file upload.\",\n input: NotionRetrieveFileUploadInput,\n output: NotionRetrieveFileUploadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACpG,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAY;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACvJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAClG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC5G,oBAAoBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9N,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,7 +22,7 @@ declare const NotionRetrieveFileUploadOutput: z.ZodObject<{
22
22
  content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  last_edited_time: z.ZodNullable<z.ZodString>;
24
24
  file_import_result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const notionRetrieveFileUpload: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  file_upload_id: string;
28
28
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -22,7 +22,7 @@ declare const NotionRetrieveFileUploadOutput: z.ZodObject<{
22
22
  content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  last_edited_time: z.ZodNullable<z.ZodString>;
24
24
  file_import_result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const notionRetrieveFileUpload: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  file_upload_id: string;
28
28
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -23,7 +23,7 @@ const notionRetrieveFileUpload = action("NOTION_RETRIEVE_FILE_UPLOAD", {
23
23
  content_length: z.number().int().describe("Total file size in bytes; updated during multi-part uploads. Null until file is uploaded.").nullable().optional(),
24
24
  last_edited_time: z.string().describe("ISO 8601 timestamp when the FileUpload was last modified.").nullable(),
25
25
  file_import_result: z.record(z.string(), z.unknown()).describe("Import success/failure details for external URL mode. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.").nullable().optional()
26
- })
26
+ }).passthrough()
27
27
  });
28
28
  //#endregion
29
29
  export { notionRetrieveFileUpload };
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-file-upload.mjs","names":[],"sources":["../../src/actions/retrieve-file-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrieveFileUploadInput = z.object({\n file_upload_id: z.string().describe(\"The unique identifier (UUID) of the file upload to retrieve.\"),\n});\nexport const NotionRetrieveFileUploadOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the FileUpload.\").nullable(),\n object: z.string().describe(\"Always 'file_upload'. Object type identifier.\").nullable(),\n status: z.enum([\"pending\", \"uploaded\", \"expired\", \"failed\"]).describe(\"Current upload state. One of: pending, uploaded, expired, or failed.\").nullable(),\n filename: z.string().describe(\"Name of the file with extension added based on content_type if needed. Null until file is uploaded.\").nullable().optional(),\n upload_url: z.string().describe(\"Endpoint for sending file contents. Only present for pending uploads.\").nullable().optional(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp indicating when FileUpload expires if not completed and attached. Null if already uploaded or expired.\").nullable().optional(),\n complete_url: z.string().describe(\"Endpoint to finalize multi-part uploads. Only present for pending multi-part uploads.\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of uploaded file; can be inferred from filename extension. Null until file is uploaded.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was created.\").nullable(),\n content_length: z.number().int().describe(\"Total file size in bytes; updated during multi-part uploads. Null until file is uploaded.\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was last modified.\").nullable(),\n file_import_result: z.record(z.string(), z.unknown()).describe(\"Import success/failure details for external URL mode. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.\").nullable().optional(),\n});\n\nexport const notionRetrieveFileUpload = action(\"NOTION_RETRIEVE_FILE_UPLOAD\", {\n slug: \"notion-retrieve-file-upload\",\n name: \"Retrieve Notion file upload\",\n description: \"Tool to retrieve details of a Notion File Upload object by its identifier. Use when you need to check the status or details of an existing file upload.\",\n input: NotionRetrieveFileUploadInput,\n output: NotionRetrieveFileUploadOutput,\n});\n"],"mappings":";;AAsBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB2C,EAAE,OAAO,EACpD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACpG,CAoBS;CACP,QApB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAY;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACvJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAClG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC5G,oBAAoB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9N,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-file-upload.mjs","names":[],"sources":["../../src/actions/retrieve-file-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrieveFileUploadInput = z.object({\n file_upload_id: z.string().describe(\"The unique identifier (UUID) of the file upload to retrieve.\"),\n});\nexport const NotionRetrieveFileUploadOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the FileUpload.\").nullable(),\n object: z.string().describe(\"Always 'file_upload'. Object type identifier.\").nullable(),\n status: z.enum([\"pending\", \"uploaded\", \"expired\", \"failed\"]).describe(\"Current upload state. One of: pending, uploaded, expired, or failed.\").nullable(),\n filename: z.string().describe(\"Name of the file with extension added based on content_type if needed. Null until file is uploaded.\").nullable().optional(),\n upload_url: z.string().describe(\"Endpoint for sending file contents. Only present for pending uploads.\").nullable().optional(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp indicating when FileUpload expires if not completed and attached. Null if already uploaded or expired.\").nullable().optional(),\n complete_url: z.string().describe(\"Endpoint to finalize multi-part uploads. Only present for pending multi-part uploads.\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of uploaded file; can be inferred from filename extension. Null until file is uploaded.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was created.\").nullable(),\n content_length: z.number().int().describe(\"Total file size in bytes; updated during multi-part uploads. Null until file is uploaded.\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was last modified.\").nullable(),\n file_import_result: z.record(z.string(), z.unknown()).describe(\"Import success/failure details for external URL mode. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.\").nullable().optional(),\n}).passthrough();\n\nexport const notionRetrieveFileUpload = action(\"NOTION_RETRIEVE_FILE_UPLOAD\", {\n slug: \"notion-retrieve-file-upload\",\n name: \"Retrieve Notion file upload\",\n description: \"Tool to retrieve details of a Notion File Upload object by its identifier. Use when you need to check the status or details of an existing file upload.\",\n input: NotionRetrieveFileUploadInput,\n output: NotionRetrieveFileUploadOutput,\n});\n"],"mappings":";;AAsBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB2C,EAAE,OAAO,EACpD,gBAAgB,EAAE,OAAO,CAAC,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