@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
@@ -5,68 +5,68 @@ const NotionRetrieveDatabasePropertyInput = zod.z.object({
5
5
  database_id: zod.z.string().describe("Identifier for the database."),
6
6
  property_id: zod.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 = zod.z.object({ format: zod.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 = zod.z.object({ format: zod.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 = zod.z.object({
10
10
  "function": zod.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: zod.z.string().describe("ID of the property to rollup").nullable(),
12
12
  relation_property_id: zod.z.string().describe("ID of the relation property").nullable(),
13
13
  rollup_property_name: zod.z.string().describe("Name of the property to rollup from the related data source").nullable(),
14
14
  relation_property_name: zod.z.string().describe("Name of the relation property to use").nullable()
15
- });
15
+ }).passthrough();
16
16
  const NotionRetrieveDatabaseProperty_SelectOptionSchema = zod.z.object({
17
17
  id: zod.z.string().describe("Unique identifier for the option (UUID format)").nullable(),
18
18
  name: zod.z.string().describe("Display name of the option").nullable(),
19
19
  color: zod.z.string().describe("Option color: 'default', 'gray', 'brown', 'orange', 'yellow', 'green', 'blue', 'purple', 'pink', 'red'").nullable()
20
- });
21
- const NotionRetrieveDatabaseProperty_SelectConfigSchema = zod.z.object({ options: zod.z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe("Array of select option objects") });
20
+ }).passthrough();
21
+ const NotionRetrieveDatabaseProperty_SelectConfigSchema = zod.z.object({ options: zod.z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe("Array of select option objects") }).passthrough();
22
22
  const NotionRetrieveDatabaseProperty_StatusGroupSchema = zod.z.object({
23
23
  id: zod.z.string().describe("Unique identifier for the group").nullable(),
24
24
  name: zod.z.string().describe("Display name of the group").nullable(),
25
25
  color: zod.z.string().describe("Group color").nullable(),
26
26
  option_ids: zod.z.array(zod.z.string()).describe("Array of option IDs belonging to this group")
27
- });
27
+ }).passthrough();
28
28
  const NotionRetrieveDatabaseProperty_StatusConfigSchema = zod.z.object({
29
29
  groups: zod.z.array(NotionRetrieveDatabaseProperty_StatusGroupSchema).describe("Array of status group objects"),
30
30
  options: zod.z.array(NotionRetrieveDatabaseProperty_SelectOptionSchema).describe("Array of status option objects")
31
- });
32
- const NotionRetrieveDatabaseProperty_FormulaConfigSchema = zod.z.object({ expression: zod.z.string().describe("The formula expression used to compute property values").nullable() });
31
+ }).passthrough();
32
+ const NotionRetrieveDatabaseProperty_FormulaConfigSchema = zod.z.object({ expression: zod.z.string().describe("The formula expression used to compute property values").nullable() }).passthrough();
33
33
  const NotionRetrieveDatabaseProperty_DualPropertySchema = zod.z.object({
34
34
  synced_property_id: zod.z.string().describe("ID of the synced property in the related data source").nullable(),
35
35
  synced_property_name: zod.z.string().describe("Name of the synced property in the related data source").nullable()
36
- });
36
+ }).passthrough();
37
37
  const NotionRetrieveDatabaseProperty_RelationConfigSchema = zod.z.object({
38
38
  dual_property: NotionRetrieveDatabaseProperty_DualPropertySchema.nullable().optional(),
39
39
  data_source_id: zod.z.string().describe("UUID of the related data source").nullable()
40
- });
41
- const NotionRetrieveDatabaseProperty_UniqueIdConfigSchema = zod.z.object({ prefix: zod.z.string().describe("Optional common prefix for unique IDs in this data source").nullable().optional() });
40
+ }).passthrough();
41
+ const NotionRetrieveDatabaseProperty_UniqueIdConfigSchema = zod.z.object({ prefix: zod.z.string().describe("Optional common prefix for unique IDs in this data source").nullable().optional() }).passthrough();
42
42
  const NotionRetrieveDatabasePropertyOutput = zod.z.object({
43
43
  id: zod.z.string().describe("Unique identifier for the property (short random string)").nullable(),
44
- url: zod.z.object({}).describe("Empty object for url type properties").nullable().optional(),
45
- date: zod.z.object({}).describe("Empty object for date type properties").nullable().optional(),
44
+ url: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for url type properties").nullable().optional(),
45
+ date: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for date type properties").nullable().optional(),
46
46
  name: zod.z.string().describe("Display name of the property in Notion UI").nullable(),
47
47
  type: zod.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(),
48
- email: zod.z.object({}).describe("Empty object for email type properties").nullable().optional(),
49
- files: zod.z.object({}).describe("Empty object for files type properties").nullable().optional(),
50
- place: zod.z.object({}).describe("Empty object for place type properties").nullable().optional(),
51
- title: zod.z.object({}).describe("Empty object for title type properties").nullable().optional(),
48
+ email: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for email type properties").nullable().optional(),
49
+ files: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for files type properties").nullable().optional(),
50
+ place: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for place type properties").nullable().optional(),
51
+ title: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for title type properties").nullable().optional(),
52
52
  number: NotionRetrieveDatabaseProperty_NumberFormatSchema.nullable().optional(),
53
- people: zod.z.object({}).describe("Empty object for people type properties").nullable().optional(),
53
+ people: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for people type properties").nullable().optional(),
54
54
  rollup: NotionRetrieveDatabaseProperty_RollupConfigSchema.nullable().optional(),
55
55
  select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),
56
56
  status: NotionRetrieveDatabaseProperty_StatusConfigSchema.nullable().optional(),
57
57
  formula: NotionRetrieveDatabaseProperty_FormulaConfigSchema.nullable().optional(),
58
- checkbox: zod.z.object({}).describe("Empty object for checkbox type properties").nullable().optional(),
58
+ checkbox: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for checkbox type properties").nullable().optional(),
59
59
  relation: NotionRetrieveDatabaseProperty_RelationConfigSchema.nullable().optional(),
60
- rich_text: zod.z.object({}).describe("Empty object for rich_text type properties").nullable().optional(),
60
+ rich_text: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for rich_text type properties").nullable().optional(),
61
61
  unique_id: NotionRetrieveDatabaseProperty_UniqueIdConfigSchema.nullable().optional(),
62
- created_by: zod.z.object({}).describe("Empty object for created_by type properties").nullable().optional(),
62
+ created_by: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for created_by type properties").nullable().optional(),
63
63
  description: zod.z.string().describe("Property description in Notion").nullable().optional(),
64
- created_time: zod.z.object({}).describe("Empty object for created_time type properties").nullable().optional(),
64
+ created_time: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for created_time type properties").nullable().optional(),
65
65
  multi_select: NotionRetrieveDatabaseProperty_SelectConfigSchema.nullable().optional(),
66
- phone_number: zod.z.object({}).describe("Empty object for phone_number type properties").nullable().optional(),
67
- last_edited_by: zod.z.object({}).describe("Empty object for last_edited_by type properties").nullable().optional(),
68
- last_edited_time: zod.z.object({}).describe("Empty object for last_edited_time type properties").nullable().optional()
69
- });
66
+ phone_number: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for phone_number type properties").nullable().optional(),
67
+ last_edited_by: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for last_edited_by type properties").nullable().optional(),
68
+ last_edited_time: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for last_edited_time type properties").nullable().optional()
69
+ }).passthrough();
70
70
  const notionRetrieveDatabaseProperty = require_action.action("NOTION_RETRIEVE_DATABASE_PROPERTY", {
71
71
  slug: "notion-retrieve-database-property",
72
72
  name: "Retrieve Database Property",
@@ -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,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClF,sBAAsBA,IAAAA,EAAE,OAAO,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,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,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;C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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,78 +7,90 @@ 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;
81
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
81
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
82
+ connectionId: z.ZodString;
83
+ entityId: z.ZodString;
84
+ instanceId: z.ZodString;
85
+ }, z.core.$strip>, z.ZodObject<{
86
+ accessToken: z.ZodString;
87
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
88
+ connectionId: z.ZodString;
89
+ entityId: z.ZodString;
90
+ instanceId: z.ZodString;
91
+ }, z.core.$strip>, z.ZodObject<{
92
+ accessToken: z.ZodString;
93
+ }, z.core.$strip>>]>;
82
94
  //#endregion
83
95
  export { notionRetrieveDatabaseProperty };
84
96
  //# sourceMappingURL=retrieve-database-property.d.cts.map
@@ -7,78 +7,90 @@ 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;
81
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
81
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
82
+ connectionId: z.ZodString;
83
+ entityId: z.ZodString;
84
+ instanceId: z.ZodString;
85
+ }, z.core.$strip>, z.ZodObject<{
86
+ accessToken: z.ZodString;
87
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
88
+ connectionId: z.ZodString;
89
+ entityId: z.ZodString;
90
+ instanceId: z.ZodString;
91
+ }, z.core.$strip>, z.ZodObject<{
92
+ accessToken: z.ZodString;
93
+ }, z.core.$strip>>]>;
82
94
  //#endregion
83
95
  export { notionRetrieveDatabaseProperty };
84
96
  //# sourceMappingURL=retrieve-database-property.d.mts.map
@@ -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,MAAM,oDAAoD,EAAE,OAAO,EACjE,SAAS,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,gCAAgC,EAC/G,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,S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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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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,UAAU,oDAAoD,SAAS,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,oDAAoD,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,cAAc,kDAAkD,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -20,7 +20,7 @@ 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",