@dalmore/api-contracts 0.0.0-dev.5e42638 → 0.0.0-dev.64aba85

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 (538) hide show
  1. package/common/helpers/index.d.ts +50 -0
  2. package/common/helpers/index.js +136 -0
  3. package/common/helpers/index.js.map +1 -0
  4. package/common/types/account-contact.types.d.ts +485 -0
  5. package/common/types/account-contact.types.js +75 -0
  6. package/common/types/account-contact.types.js.map +1 -0
  7. package/common/types/account-detail.types.d.ts +304 -0
  8. package/common/types/account-detail.types.js +20 -0
  9. package/common/types/account-detail.types.js.map +1 -0
  10. package/common/types/account-integration.types.d.ts +242 -0
  11. package/common/types/account-integration.types.js +121 -0
  12. package/common/types/account-integration.types.js.map +1 -0
  13. package/common/types/account-manager.types.d.ts +917 -0
  14. package/common/types/account-manager.types.js +89 -0
  15. package/common/types/account-manager.types.js.map +1 -0
  16. package/common/types/account-setting.types.d.ts +184 -0
  17. package/common/types/account-setting.types.js +52 -0
  18. package/common/types/account-setting.types.js.map +1 -0
  19. package/common/types/account.types.d.ts +631 -0
  20. package/common/types/account.types.js +217 -0
  21. package/common/types/account.types.js.map +1 -0
  22. package/common/types/activity.types.d.ts +581 -0
  23. package/common/types/activity.types.js +247 -0
  24. package/common/types/activity.types.js.map +1 -0
  25. package/common/types/address.types.d.ts +89 -0
  26. package/common/types/address.types.js +36 -0
  27. package/common/types/address.types.js.map +1 -0
  28. package/common/types/aic.types.d.ts +434 -0
  29. package/common/types/aic.types.js +170 -0
  30. package/common/types/aic.types.js.map +1 -0
  31. package/common/types/aml.types.d.ts +41 -0
  32. package/common/types/aml.types.js +16 -0
  33. package/common/types/aml.types.js.map +1 -0
  34. package/common/types/api-key-logs.types.d.ts +204 -0
  35. package/common/types/api-key-logs.types.js +52 -0
  36. package/common/types/api-key-logs.types.js.map +1 -0
  37. package/common/types/api-keys.types.d.ts +192 -0
  38. package/common/types/api-keys.types.js +57 -0
  39. package/common/types/api-keys.types.js.map +1 -0
  40. package/common/types/asset.types.d.ts +1186 -0
  41. package/common/types/asset.types.js +429 -0
  42. package/common/types/asset.types.js.map +1 -0
  43. package/common/types/auth.types.d.ts +487 -0
  44. package/common/types/auth.types.js +279 -0
  45. package/common/types/auth.types.js.map +1 -0
  46. package/common/types/batch-jobs.types.d.ts +321 -0
  47. package/common/types/batch-jobs.types.js +111 -0
  48. package/common/types/batch-jobs.types.js.map +1 -0
  49. package/common/types/bonus-tier.types.d.ts +1021 -0
  50. package/common/types/bonus-tier.types.js +167 -0
  51. package/common/types/bonus-tier.types.js.map +1 -0
  52. package/common/types/cap-table.types.d.ts +1124 -0
  53. package/common/types/cap-table.types.js +406 -0
  54. package/common/types/cap-table.types.js.map +1 -0
  55. package/common/types/cart.types.d.ts +28 -0
  56. package/common/types/cart.types.js +19 -0
  57. package/common/types/cart.types.js.map +1 -0
  58. package/common/types/checklist-items.types.d.ts +195 -0
  59. package/common/types/checklist-items.types.js +54 -0
  60. package/common/types/checklist-items.types.js.map +1 -0
  61. package/common/types/checklist.types.d.ts +140 -0
  62. package/common/types/checklist.types.js +71 -0
  63. package/common/types/checklist.types.js.map +1 -0
  64. package/common/types/common.types.d.ts +1512 -0
  65. package/common/types/common.types.js +1442 -0
  66. package/common/types/common.types.js.map +1 -0
  67. package/common/types/comply-advantage-api.types.d.ts +3626 -0
  68. package/common/types/comply-advantage-api.types.js +291 -0
  69. package/common/types/comply-advantage-api.types.js.map +1 -0
  70. package/common/types/comply-advantage.types.d.ts +48 -0
  71. package/common/types/comply-advantage.types.js +21 -0
  72. package/common/types/comply-advantage.types.js.map +1 -0
  73. package/common/types/contact-us.types.d.ts +126 -0
  74. package/common/types/contact-us.types.js +91 -0
  75. package/common/types/contact-us.types.js.map +1 -0
  76. package/common/types/countries.types.d.ts +77 -0
  77. package/common/types/countries.types.js +349 -0
  78. package/common/types/countries.types.js.map +1 -0
  79. package/common/types/covered-person.types.d.ts +204 -0
  80. package/common/types/covered-person.types.js +234 -0
  81. package/common/types/covered-person.types.js.map +1 -0
  82. package/common/types/dashboard.types.d.ts +2086 -0
  83. package/common/types/dashboard.types.js +690 -0
  84. package/common/types/dashboard.types.js.map +1 -0
  85. package/common/types/data-record.types.d.ts +347 -0
  86. package/common/types/data-record.types.js +261 -0
  87. package/common/types/data-record.types.js.map +1 -0
  88. package/common/types/data-room.types.d.ts +1277 -0
  89. package/common/types/data-room.types.js +167 -0
  90. package/common/types/data-room.types.js.map +1 -0
  91. package/common/types/default-theme-config.types.d.ts +445 -0
  92. package/common/types/default-theme-config.types.js +63 -0
  93. package/common/types/default-theme-config.types.js.map +1 -0
  94. package/common/types/disbursement-adjustment.types.d.ts +21 -0
  95. package/common/types/disbursement-adjustment.types.js +25 -0
  96. package/common/types/disbursement-adjustment.types.js.map +1 -0
  97. package/common/types/disbursement-approval-user.types.d.ts +935 -0
  98. package/common/types/disbursement-approval-user.types.js +68 -0
  99. package/common/types/disbursement-approval-user.types.js.map +1 -0
  100. package/common/types/disbursement-review.types.d.ts +923 -0
  101. package/common/types/disbursement-review.types.js +76 -0
  102. package/common/types/disbursement-review.types.js.map +1 -0
  103. package/common/types/disbursement-transaction.types.d.ts +621 -0
  104. package/common/types/disbursement-transaction.types.js +51 -0
  105. package/common/types/disbursement-transaction.types.js.map +1 -0
  106. package/common/types/disbursements.types.d.ts +3090 -0
  107. package/common/types/disbursements.types.js +345 -0
  108. package/common/types/disbursements.types.js.map +1 -0
  109. package/common/types/domain-filter.types.d.ts +135 -0
  110. package/common/types/domain-filter.types.js +40 -0
  111. package/common/types/domain-filter.types.js.map +1 -0
  112. package/common/types/email-theme.types.d.ts +1359 -0
  113. package/common/types/email-theme.types.js +318 -0
  114. package/common/types/email-theme.types.js.map +1 -0
  115. package/common/types/entity.types.d.ts +21 -0
  116. package/common/types/entity.types.js +14 -0
  117. package/common/types/entity.types.js.map +1 -0
  118. package/common/types/error-responses.types.d.ts +144 -0
  119. package/common/types/error-responses.types.js +125 -0
  120. package/common/types/error-responses.types.js.map +1 -0
  121. package/common/types/escrow-account.types.d.ts +398 -0
  122. package/common/types/escrow-account.types.js +75 -0
  123. package/common/types/escrow-account.types.js.map +1 -0
  124. package/common/types/exchange-api-key.types.d.ts +1010 -0
  125. package/common/types/exchange-api-key.types.js +90 -0
  126. package/common/types/exchange-api-key.types.js.map +1 -0
  127. package/common/types/exchange-import.types.d.ts +23 -0
  128. package/common/types/exchange-import.types.js +23 -0
  129. package/common/types/exchange-import.types.js.map +1 -0
  130. package/common/types/exchange-provider.types.d.ts +1308 -0
  131. package/common/types/exchange-provider.types.js +268 -0
  132. package/common/types/exchange-provider.types.js.map +1 -0
  133. package/common/types/file.types.d.ts +401 -0
  134. package/common/types/file.types.js +378 -0
  135. package/common/types/file.types.js.map +1 -0
  136. package/common/types/health.types.d.ts +112 -0
  137. package/common/types/health.types.js +22 -0
  138. package/common/types/health.types.js.map +1 -0
  139. package/common/types/i-will-do-it-later.types.d.ts +51 -0
  140. package/common/types/i-will-do-it-later.types.js +30 -0
  141. package/common/types/i-will-do-it-later.types.js.map +1 -0
  142. package/common/types/{index.ts → index.d.ts} +3 -3
  143. package/common/types/index.js +52 -0
  144. package/common/types/index.js.map +1 -0
  145. package/common/types/individuals.types.d.ts +1899 -0
  146. package/common/types/individuals.types.js +500 -0
  147. package/common/types/individuals.types.js.map +1 -0
  148. package/common/types/investor-account.types.d.ts +2996 -0
  149. package/common/types/investor-account.types.js +930 -0
  150. package/common/types/investor-account.types.js.map +1 -0
  151. package/common/types/investorAccountIdSchema.type.js +1 -0
  152. package/common/types/investorAccountIdSchema.type.js.map +1 -0
  153. package/common/types/investors-offering.types.d.ts +391 -0
  154. package/common/types/investors-offering.types.js +49 -0
  155. package/common/types/investors-offering.types.js.map +1 -0
  156. package/common/types/invite.types.d.ts +641 -0
  157. package/common/types/invite.types.js +113 -0
  158. package/common/types/invite.types.js.map +1 -0
  159. package/common/types/issuer-bank-account.types.d.ts +385 -0
  160. package/common/types/issuer-bank-account.types.js +81 -0
  161. package/common/types/issuer-bank-account.types.js.map +1 -0
  162. package/common/types/issuer-offering.types.d.ts +1509 -0
  163. package/common/types/issuer-offering.types.js +413 -0
  164. package/common/types/issuer-offering.types.js.map +1 -0
  165. package/common/types/issuer-payment-method.types.d.ts +1100 -0
  166. package/common/types/issuer-payment-method.types.js +311 -0
  167. package/common/types/issuer-payment-method.types.js.map +1 -0
  168. package/common/types/issuer.types.d.ts +539 -0
  169. package/common/types/issuer.types.js +275 -0
  170. package/common/types/issuer.types.js.map +1 -0
  171. package/common/types/job-item.types.d.ts +230 -0
  172. package/common/types/job-item.types.js +89 -0
  173. package/common/types/job-item.types.js.map +1 -0
  174. package/common/types/jobs.types.d.ts +296 -0
  175. package/common/types/jobs.types.js +150 -0
  176. package/common/types/jobs.types.js.map +1 -0
  177. package/common/types/kyb.types.d.ts +167 -0
  178. package/common/types/kyb.types.js +45 -0
  179. package/common/types/kyb.types.js.map +1 -0
  180. package/common/types/kyc.types.d.ts +2197 -0
  181. package/common/types/kyc.types.js +301 -0
  182. package/common/types/kyc.types.js.map +1 -0
  183. package/common/types/legal-entity.types.d.ts +638 -0
  184. package/common/types/legal-entity.types.js +148 -0
  185. package/common/types/legal-entity.types.js.map +1 -0
  186. package/common/types/login-history.types.d.ts +160 -0
  187. package/common/types/login-history.types.js +39 -0
  188. package/common/types/login-history.types.js.map +1 -0
  189. package/common/types/mail-template.types.d.ts +595 -0
  190. package/common/types/mail-template.types.js +401 -0
  191. package/common/types/mail-template.types.js.map +1 -0
  192. package/common/types/north-cap-integration.types.d.ts +1303 -0
  193. package/common/types/north-cap-integration.types.js +145 -0
  194. package/common/types/north-cap-integration.types.js.map +1 -0
  195. package/common/types/note.types.d.ts +216 -0
  196. package/common/types/note.types.js +82 -0
  197. package/common/types/note.types.js.map +1 -0
  198. package/common/types/notification.types.d.ts +2689 -0
  199. package/common/types/notification.types.js +408 -0
  200. package/common/types/notification.types.js.map +1 -0
  201. package/common/types/notion-api.types.d.ts +3626 -0
  202. package/common/types/notion-api.types.js +271 -0
  203. package/common/types/notion-api.types.js.map +1 -0
  204. package/common/types/notion-database.types.d.ts +191 -0
  205. package/common/types/notion-database.types.js +95 -0
  206. package/common/types/notion-database.types.js.map +1 -0
  207. package/common/types/notion-page.types.d.ts +3482 -0
  208. package/common/types/notion-page.types.js +208 -0
  209. package/common/types/notion-page.types.js.map +1 -0
  210. package/common/types/offering-reports.types.d.ts +525 -0
  211. package/common/types/offering-reports.types.js +111 -0
  212. package/common/types/offering-reports.types.js.map +1 -0
  213. package/common/types/offering-submission.types.d.ts +587 -0
  214. package/common/types/offering-submission.types.js +278 -0
  215. package/common/types/offering-submission.types.js.map +1 -0
  216. package/common/types/offering.types.d.ts +2555 -0
  217. package/common/types/offering.types.js +574 -0
  218. package/common/types/offering.types.js.map +1 -0
  219. package/common/types/page-revision.types.d.ts +74 -0
  220. package/common/types/page-revision.types.js +68 -0
  221. package/common/types/page-revision.types.js.map +1 -0
  222. package/common/types/page.types.d.ts +540 -0
  223. package/common/types/page.types.js +361 -0
  224. package/common/types/page.types.js.map +1 -0
  225. package/common/types/password.type.d.ts +2 -0
  226. package/common/types/password.type.js +14 -0
  227. package/common/types/password.type.js.map +1 -0
  228. package/common/types/payment-methods.types.d.ts +800 -0
  229. package/common/types/payment-methods.types.js +260 -0
  230. package/common/types/payment-methods.types.js.map +1 -0
  231. package/common/types/phone.type.d.ts +12 -0
  232. package/common/types/phone.type.js +29 -0
  233. package/common/types/phone.type.js.map +1 -0
  234. package/common/types/portfolio.types.d.ts +185 -0
  235. package/common/types/portfolio.types.js +36 -0
  236. package/common/types/portfolio.types.js.map +1 -0
  237. package/common/types/privacy-policy-and-tos.types.d.ts +2 -0
  238. package/common/types/{privacy-policy-and-tos.types.ts → privacy-policy-and-tos.types.js} +1 -1
  239. package/common/types/privacy-policy-and-tos.types.js.map +1 -0
  240. package/common/types/queue.types.d.ts +22 -0
  241. package/common/types/queue.types.js +73 -0
  242. package/common/types/queue.types.js.map +1 -0
  243. package/common/types/registered-reps.types.d.ts +6 -0
  244. package/common/types/registered-reps.types.js +21 -0
  245. package/common/types/registered-reps.types.js.map +1 -0
  246. package/common/types/rejection-reasons.types.d.ts +35 -0
  247. package/common/types/rejection-reasons.types.js +49 -0
  248. package/common/types/rejection-reasons.types.js.map +1 -0
  249. package/common/types/review.types.d.ts +419 -0
  250. package/common/types/review.types.js +101 -0
  251. package/common/types/review.types.js.map +1 -0
  252. package/common/types/role.types.d.ts +30 -0
  253. package/common/types/role.types.js +21 -0
  254. package/common/types/role.types.js.map +1 -0
  255. package/common/types/secondary-customer.types.d.ts +586 -0
  256. package/common/types/secondary-customer.types.js +39 -0
  257. package/common/types/secondary-customer.types.js.map +1 -0
  258. package/common/types/secondary-issuer.types.d.ts +283 -0
  259. package/common/types/secondary-issuer.types.js +37 -0
  260. package/common/types/secondary-issuer.types.js.map +1 -0
  261. package/common/types/secondary-order.types.d.ts +508 -0
  262. package/common/types/secondary-order.types.js +40 -0
  263. package/common/types/secondary-order.types.js.map +1 -0
  264. package/common/types/secondary-security.types.d.ts +175 -0
  265. package/common/types/secondary-security.types.js +45 -0
  266. package/common/types/secondary-security.types.js.map +1 -0
  267. package/common/types/secondary-trade.entity.d.ts +16 -0
  268. package/common/types/secondary-trade.entity.js +12 -0
  269. package/common/types/secondary-trade.entity.js.map +1 -0
  270. package/common/types/secondary-trade.types.d.ts +465 -0
  271. package/common/types/secondary-trade.types.js +61 -0
  272. package/common/types/secondary-trade.types.js.map +1 -0
  273. package/common/types/secure-request.types.d.ts +171 -0
  274. package/common/types/secure-request.types.js +51 -0
  275. package/common/types/secure-request.types.js.map +1 -0
  276. package/common/types/signer.types.d.ts +3406 -0
  277. package/common/types/signer.types.js +532 -0
  278. package/common/types/signer.types.js.map +1 -0
  279. package/common/types/site-link.types.d.ts +875 -0
  280. package/common/types/site-link.types.js +126 -0
  281. package/common/types/site-link.types.js.map +1 -0
  282. package/common/types/site-settings.types.d.ts +1673 -0
  283. package/common/types/site-settings.types.js +500 -0
  284. package/common/types/site-settings.types.js.map +1 -0
  285. package/common/types/site.types.d.ts +1496 -0
  286. package/common/types/site.types.js +213 -0
  287. package/common/types/site.types.js.map +1 -0
  288. package/common/types/sms.types.d.ts +40 -0
  289. package/common/types/sms.types.js +27 -0
  290. package/common/types/sms.types.js.map +1 -0
  291. package/common/types/state-machine.types.d.ts +591 -0
  292. package/common/types/state-machine.types.js +144 -0
  293. package/common/types/state-machine.types.js.map +1 -0
  294. package/common/types/states.types.d.ts +77 -0
  295. package/common/types/states.types.js +137 -0
  296. package/common/types/states.types.js.map +1 -0
  297. package/common/types/subdoc-preview.types.d.ts +379 -0
  298. package/common/types/subdoc-preview.types.js +24 -0
  299. package/common/types/subdoc-preview.types.js.map +1 -0
  300. package/common/types/task.types.d.ts +537 -0
  301. package/common/types/task.types.js +211 -0
  302. package/common/types/task.types.js.map +1 -0
  303. package/common/types/trade-adjustment.type.d.ts +40 -0
  304. package/common/types/trade-adjustment.type.js +26 -0
  305. package/common/types/trade-adjustment.type.js.map +1 -0
  306. package/common/types/trade-line-item.types.d.ts +329 -0
  307. package/common/types/trade-line-item.types.js +100 -0
  308. package/common/types/trade-line-item.types.js.map +1 -0
  309. package/common/types/trade.types.d.ts +2004 -0
  310. package/common/types/trade.types.js +787 -0
  311. package/common/types/trade.types.js.map +1 -0
  312. package/common/types/transaction.types.d.ts +454 -0
  313. package/common/types/transaction.types.js +174 -0
  314. package/common/types/transaction.types.js.map +1 -0
  315. package/common/types/trusted-contact.types.d.ts +440 -0
  316. package/common/types/trusted-contact.types.js +95 -0
  317. package/common/types/trusted-contact.types.js.map +1 -0
  318. package/common/types/typography.types.d.ts +52 -0
  319. package/common/types/typography.types.js +67 -0
  320. package/common/types/typography.types.js.map +1 -0
  321. package/common/types/user-manual.types.d.ts +287 -0
  322. package/common/types/user-manual.types.js +192 -0
  323. package/common/types/user-manual.types.js.map +1 -0
  324. package/common/types/user-setting.types.d.ts +273 -0
  325. package/common/types/user-setting.types.js +85 -0
  326. package/common/types/user-setting.types.js.map +1 -0
  327. package/common/types/user.types.d.ts +1951 -0
  328. package/common/types/user.types.js +238 -0
  329. package/common/types/user.types.js.map +1 -0
  330. package/common/types/webhook.types.d.ts +10829 -0
  331. package/common/types/webhook.types.js +658 -0
  332. package/common/types/webhook.types.js.map +1 -0
  333. package/common/types/zip.type.d.ts +35 -0
  334. package/common/types/zip.type.js +28 -0
  335. package/common/types/zip.type.js.map +1 -0
  336. package/contracts/clients/accounts/index.d.ts +308 -0
  337. package/contracts/clients/accounts/index.js +43 -0
  338. package/contracts/clients/accounts/index.js.map +1 -0
  339. package/contracts/clients/aic/index.d.ts +280 -0
  340. package/contracts/clients/aic/index.js +47 -0
  341. package/contracts/clients/aic/index.js.map +1 -0
  342. package/contracts/clients/api-key-logs/index.d.ts +287 -0
  343. package/contracts/clients/api-key-logs/index.js +37 -0
  344. package/contracts/clients/api-key-logs/index.js.map +1 -0
  345. package/contracts/clients/api-keys/index.d.ts +374 -0
  346. package/contracts/clients/api-keys/index.js +59 -0
  347. package/contracts/clients/api-keys/index.js.map +1 -0
  348. package/contracts/clients/assets/index.d.ts +1116 -0
  349. package/contracts/clients/assets/index.js +80 -0
  350. package/contracts/clients/assets/index.js.map +1 -0
  351. package/contracts/clients/auth/index.d.ts +236 -0
  352. package/contracts/clients/auth/index.js +38 -0
  353. package/contracts/clients/auth/index.js.map +1 -0
  354. package/contracts/clients/cart/index.d.ts +229 -0
  355. package/contracts/clients/cart/index.js +63 -0
  356. package/contracts/clients/cart/index.js.map +1 -0
  357. package/contracts/clients/files/index.d.ts +552 -0
  358. package/contracts/clients/files/index.js +142 -0
  359. package/contracts/clients/files/index.js.map +1 -0
  360. package/contracts/clients/files-public/index.d.ts +552 -0
  361. package/contracts/clients/files-public/index.js +142 -0
  362. package/contracts/clients/files-public/index.js.map +1 -0
  363. package/contracts/clients/index.d.ts +12786 -0
  364. package/contracts/clients/index.js +52 -0
  365. package/contracts/clients/index.js.map +1 -0
  366. package/contracts/clients/individuals/index.d.ts +3199 -0
  367. package/contracts/clients/individuals/index.js +74 -0
  368. package/contracts/clients/individuals/index.js.map +1 -0
  369. package/contracts/clients/investor-accounts/index.d.ts +339 -0
  370. package/contracts/clients/investor-accounts/index.js +73 -0
  371. package/contracts/clients/investor-accounts/index.js.map +1 -0
  372. package/contracts/clients/issuer-payment-methods/index.d.ts +276 -0
  373. package/contracts/clients/issuer-payment-methods/index.js +24 -0
  374. package/contracts/clients/issuer-payment-methods/index.js.map +1 -0
  375. package/contracts/clients/issuers/index.d.ts +449 -0
  376. package/contracts/clients/issuers/index.js +75 -0
  377. package/contracts/clients/issuers/index.js.map +1 -0
  378. package/contracts/clients/kyc/index.d.ts +345 -0
  379. package/contracts/clients/kyc/index.js +49 -0
  380. package/contracts/clients/kyc/index.js.map +1 -0
  381. package/contracts/clients/legal-entities/index.d.ts +887 -0
  382. package/contracts/clients/legal-entities/index.js +74 -0
  383. package/contracts/clients/legal-entities/index.js.map +1 -0
  384. package/contracts/clients/offerings/index.d.ts +983 -0
  385. package/contracts/clients/offerings/index.js +95 -0
  386. package/contracts/clients/offerings/index.js.map +1 -0
  387. package/contracts/clients/payment-methods/index.d.ts +456 -0
  388. package/contracts/clients/payment-methods/index.js +68 -0
  389. package/contracts/clients/payment-methods/index.js.map +1 -0
  390. package/contracts/clients/secure-requests/index.d.ts +100 -0
  391. package/contracts/clients/secure-requests/index.js +22 -0
  392. package/contracts/clients/secure-requests/index.js.map +1 -0
  393. package/contracts/clients/sites/index.d.ts +657 -0
  394. package/contracts/clients/sites/index.js +40 -0
  395. package/contracts/clients/sites/index.js.map +1 -0
  396. package/contracts/clients/trade-line-items/index.d.ts +216 -0
  397. package/contracts/clients/trade-line-items/index.js +47 -0
  398. package/contracts/clients/trade-line-items/index.js.map +1 -0
  399. package/contracts/clients/trades/index.d.ts +871 -0
  400. package/contracts/clients/trades/index.js +156 -0
  401. package/contracts/clients/trades/index.js.map +1 -0
  402. package/contracts/clients/transactions/index.d.ts +88 -0
  403. package/contracts/clients/transactions/index.js +25 -0
  404. package/contracts/clients/transactions/index.js.map +1 -0
  405. package/package.json +15 -15
  406. package/common/helpers/index.ts +0 -59
  407. package/common/types/account-contact.types.ts +0 -99
  408. package/common/types/account-detail.types.ts +0 -27
  409. package/common/types/account-integration.types.ts +0 -143
  410. package/common/types/account-manager.types.ts +0 -120
  411. package/common/types/account-setting.types.ts +0 -65
  412. package/common/types/account.types.ts +0 -297
  413. package/common/types/activity.types.ts +0 -274
  414. package/common/types/address.types.ts +0 -41
  415. package/common/types/aic.types.ts +0 -246
  416. package/common/types/aml.types.ts +0 -18
  417. package/common/types/api-key-logs.types.ts +0 -66
  418. package/common/types/api-keys.types.ts +0 -69
  419. package/common/types/asset.types.ts +0 -338
  420. package/common/types/auth.types.ts +0 -359
  421. package/common/types/batch-jobs.types.ts +0 -151
  422. package/common/types/bonus-tier.types.ts +0 -180
  423. package/common/types/cart.types.ts +0 -21
  424. package/common/types/checklist-items.types.ts +0 -70
  425. package/common/types/checklist.types.ts +0 -97
  426. package/common/types/common.types.ts +0 -1552
  427. package/common/types/comply-advantage-api.types.ts +0 -316
  428. package/common/types/comply-advantage.types.ts +0 -25
  429. package/common/types/contact-us.types.ts +0 -111
  430. package/common/types/countries.types.ts +0 -375
  431. package/common/types/covered-person.types.ts +0 -275
  432. package/common/types/dashboard.types.ts +0 -792
  433. package/common/types/data-record.types.ts +0 -325
  434. package/common/types/data-room.types.ts +0 -242
  435. package/common/types/default-theme-config.types.ts +0 -87
  436. package/common/types/disbursement-adjustment.types.ts +0 -32
  437. package/common/types/disbursement-approval-user.types.ts +0 -100
  438. package/common/types/disbursement-review.types.ts +0 -110
  439. package/common/types/disbursement-transaction.types.ts +0 -72
  440. package/common/types/disbursements.types.ts +0 -426
  441. package/common/types/domain-filter.types.ts +0 -55
  442. package/common/types/email-theme.types.ts +0 -442
  443. package/common/types/entity.types.ts +0 -15
  444. package/common/types/error-responses.types.ts +0 -135
  445. package/common/types/escrow-account.types.ts +0 -104
  446. package/common/types/exchange-api-key.types.ts +0 -121
  447. package/common/types/exchange-import.types.ts +0 -36
  448. package/common/types/exchange-provider.types.ts +0 -329
  449. package/common/types/file.types.ts +0 -477
  450. package/common/types/health.types.ts +0 -29
  451. package/common/types/i-will-do-it-later.types.ts +0 -68
  452. package/common/types/individuals.types.ts +0 -542
  453. package/common/types/investor-account.types.ts +0 -1240
  454. package/common/types/investors-offering.types.ts +0 -65
  455. package/common/types/invite.types.ts +0 -159
  456. package/common/types/issuer-bank-account.types.ts +0 -107
  457. package/common/types/issuer-offering.types.ts +0 -389
  458. package/common/types/issuer-payment-method.types.ts +0 -382
  459. package/common/types/issuer.types.ts +0 -321
  460. package/common/types/job-item.types.ts +0 -119
  461. package/common/types/jobs.types.ts +0 -171
  462. package/common/types/kyb.types.ts +0 -53
  463. package/common/types/kyc.types.ts +0 -188
  464. package/common/types/legal-entity.types.ts +0 -186
  465. package/common/types/login-history.types.ts +0 -46
  466. package/common/types/mail-template.types.ts +0 -470
  467. package/common/types/north-cap-integration.types.ts +0 -190
  468. package/common/types/note.types.ts +0 -109
  469. package/common/types/notification.types.ts +0 -554
  470. package/common/types/notion-api.types.ts +0 -374
  471. package/common/types/notion-database.types.ts +0 -125
  472. package/common/types/notion-page.types.ts +0 -267
  473. package/common/types/offering-reports.types.ts +0 -153
  474. package/common/types/offering-submission.types.ts +0 -314
  475. package/common/types/offering.types.ts +0 -676
  476. package/common/types/page-revision.types.ts +0 -86
  477. package/common/types/page.types.ts +0 -436
  478. package/common/types/password.type.ts +0 -15
  479. package/common/types/payment-methods.types.ts +0 -298
  480. package/common/types/phone.type.ts +0 -27
  481. package/common/types/portfolio.types.ts +0 -50
  482. package/common/types/queue.types.ts +0 -112
  483. package/common/types/registered-reps.types.ts +0 -25
  484. package/common/types/rejection-reasons.types.ts +0 -56
  485. package/common/types/reminder-config.types.ts +0 -40
  486. package/common/types/review.types.ts +0 -133
  487. package/common/types/role.types.ts +0 -26
  488. package/common/types/secondary-customer.types.ts +0 -66
  489. package/common/types/secondary-issuer.types.ts +0 -50
  490. package/common/types/secondary-order.types.ts +0 -58
  491. package/common/types/secondary-security.types.ts +0 -60
  492. package/common/types/secondary-trade.entity.ts +0 -16
  493. package/common/types/secondary-trade.types.ts +0 -95
  494. package/common/types/secure-request.types.ts +0 -68
  495. package/common/types/signer.types.ts +0 -651
  496. package/common/types/site-link.types.ts +0 -166
  497. package/common/types/site-settings.types.ts +0 -727
  498. package/common/types/site.types.ts +0 -263
  499. package/common/types/sms.types.ts +0 -30
  500. package/common/types/state-machine.types.ts +0 -177
  501. package/common/types/states.types.ts +0 -163
  502. package/common/types/subdoc-preview.types.ts +0 -35
  503. package/common/types/task.types.ts +0 -258
  504. package/common/types/trade-adjustment.type.ts +0 -33
  505. package/common/types/trade-line-item.types.ts +0 -125
  506. package/common/types/trade.types.ts +0 -1045
  507. package/common/types/transaction.types.ts +0 -209
  508. package/common/types/trusted-contact.types.ts +0 -122
  509. package/common/types/typography.types.ts +0 -75
  510. package/common/types/user-manual.types.ts +0 -290
  511. package/common/types/user-setting.types.ts +0 -133
  512. package/common/types/user.types.ts +0 -304
  513. package/common/types/webhook.types.ts +0 -730
  514. package/common/types/zip.type.ts +0 -36
  515. package/contracts/clients/accounts/index.ts +0 -61
  516. package/contracts/clients/aic/index.ts +0 -59
  517. package/contracts/clients/api-key-logs/index.ts +0 -53
  518. package/contracts/clients/api-keys/index.ts +0 -73
  519. package/contracts/clients/assets/index.ts +0 -102
  520. package/contracts/clients/auth/index.ts +0 -50
  521. package/contracts/clients/cart/index.ts +0 -80
  522. package/contracts/clients/files/index.ts +0 -166
  523. package/contracts/clients/files-public/index.ts +0 -166
  524. package/contracts/clients/index.ts +0 -54
  525. package/contracts/clients/individuals/index.ts +0 -93
  526. package/contracts/clients/investor-accounts/index.ts +0 -93
  527. package/contracts/clients/issuer-payment-methods/index.ts +0 -39
  528. package/contracts/clients/issuers/index.ts +0 -94
  529. package/contracts/clients/legal-entities/index.ts +0 -93
  530. package/contracts/clients/offerings/index.ts +0 -117
  531. package/contracts/clients/payment-methods/index.ts +0 -85
  532. package/contracts/clients/secure-requests/index.ts +0 -34
  533. package/contracts/clients/sites/index.ts +0 -56
  534. package/contracts/clients/trade-line-items/index.ts +0 -66
  535. package/contracts/clients/trades/index.ts +0 -186
  536. package/contracts/clients/transactions/index.ts +0 -37
  537. package/index.ts +0 -10
  538. /package/common/types/{investorAccountIdSchema.type.ts → investorAccountIdSchema.type.d.ts} +0 -0
@@ -0,0 +1,3626 @@
1
+ import { z } from 'zod';
2
+ export declare const NotionTextFilterZod: z.ZodObject<{
3
+ equals: z.ZodOptional<z.ZodString>;
4
+ does_not_equal: z.ZodOptional<z.ZodString>;
5
+ contains: z.ZodOptional<z.ZodString>;
6
+ does_not_contain: z.ZodOptional<z.ZodString>;
7
+ starts_with: z.ZodOptional<z.ZodString>;
8
+ ends_with: z.ZodOptional<z.ZodString>;
9
+ is_empty: z.ZodOptional<z.ZodBoolean>;
10
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ equals?: string | undefined;
13
+ does_not_equal?: string | undefined;
14
+ contains?: string | undefined;
15
+ does_not_contain?: string | undefined;
16
+ starts_with?: string | undefined;
17
+ ends_with?: string | undefined;
18
+ is_empty?: boolean | undefined;
19
+ is_not_empty?: boolean | undefined;
20
+ }, {
21
+ equals?: string | undefined;
22
+ does_not_equal?: string | undefined;
23
+ contains?: string | undefined;
24
+ does_not_contain?: string | undefined;
25
+ starts_with?: string | undefined;
26
+ ends_with?: string | undefined;
27
+ is_empty?: boolean | undefined;
28
+ is_not_empty?: boolean | undefined;
29
+ }>;
30
+ export declare const NotionNumberFilterZod: z.ZodObject<{
31
+ equals: z.ZodOptional<z.ZodNumber>;
32
+ does_not_equal: z.ZodOptional<z.ZodNumber>;
33
+ greater_than: z.ZodOptional<z.ZodNumber>;
34
+ less_than: z.ZodOptional<z.ZodNumber>;
35
+ greater_than_or_equal_to: z.ZodOptional<z.ZodNumber>;
36
+ less_than_or_equal_to: z.ZodOptional<z.ZodNumber>;
37
+ is_empty: z.ZodOptional<z.ZodBoolean>;
38
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ equals?: number | undefined;
41
+ does_not_equal?: number | undefined;
42
+ is_empty?: boolean | undefined;
43
+ is_not_empty?: boolean | undefined;
44
+ greater_than?: number | undefined;
45
+ less_than?: number | undefined;
46
+ greater_than_or_equal_to?: number | undefined;
47
+ less_than_or_equal_to?: number | undefined;
48
+ }, {
49
+ equals?: number | undefined;
50
+ does_not_equal?: number | undefined;
51
+ is_empty?: boolean | undefined;
52
+ is_not_empty?: boolean | undefined;
53
+ greater_than?: number | undefined;
54
+ less_than?: number | undefined;
55
+ greater_than_or_equal_to?: number | undefined;
56
+ less_than_or_equal_to?: number | undefined;
57
+ }>;
58
+ export declare const NotionSelectFilterZod: z.ZodObject<{
59
+ equals: z.ZodOptional<z.ZodString>;
60
+ does_not_equal: z.ZodOptional<z.ZodString>;
61
+ is_empty: z.ZodOptional<z.ZodBoolean>;
62
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ equals?: string | undefined;
65
+ does_not_equal?: string | undefined;
66
+ is_empty?: boolean | undefined;
67
+ is_not_empty?: boolean | undefined;
68
+ }, {
69
+ equals?: string | undefined;
70
+ does_not_equal?: string | undefined;
71
+ is_empty?: boolean | undefined;
72
+ is_not_empty?: boolean | undefined;
73
+ }>;
74
+ export declare const NotionDateFilterZod: z.ZodObject<{
75
+ equals: z.ZodOptional<z.ZodString>;
76
+ before: z.ZodOptional<z.ZodString>;
77
+ after: z.ZodOptional<z.ZodString>;
78
+ on_or_before: z.ZodOptional<z.ZodString>;
79
+ on_or_after: z.ZodOptional<z.ZodString>;
80
+ is_empty: z.ZodOptional<z.ZodBoolean>;
81
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
82
+ past_week: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
83
+ past_month: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
84
+ past_year: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
85
+ next_week: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
86
+ next_month: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
87
+ next_year: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ equals?: string | undefined;
90
+ is_empty?: boolean | undefined;
91
+ is_not_empty?: boolean | undefined;
92
+ before?: string | undefined;
93
+ after?: string | undefined;
94
+ on_or_before?: string | undefined;
95
+ on_or_after?: string | undefined;
96
+ past_week?: {} | undefined;
97
+ past_month?: {} | undefined;
98
+ past_year?: {} | undefined;
99
+ next_week?: {} | undefined;
100
+ next_month?: {} | undefined;
101
+ next_year?: {} | undefined;
102
+ }, {
103
+ equals?: string | undefined;
104
+ is_empty?: boolean | undefined;
105
+ is_not_empty?: boolean | undefined;
106
+ before?: string | undefined;
107
+ after?: string | undefined;
108
+ on_or_before?: string | undefined;
109
+ on_or_after?: string | undefined;
110
+ past_week?: {} | undefined;
111
+ past_month?: {} | undefined;
112
+ past_year?: {} | undefined;
113
+ next_week?: {} | undefined;
114
+ next_month?: {} | undefined;
115
+ next_year?: {} | undefined;
116
+ }>;
117
+ export declare const NotionCheckboxFilterZod: z.ZodObject<{
118
+ equals: z.ZodOptional<z.ZodBoolean>;
119
+ does_not_equal: z.ZodOptional<z.ZodBoolean>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ equals?: boolean | undefined;
122
+ does_not_equal?: boolean | undefined;
123
+ }, {
124
+ equals?: boolean | undefined;
125
+ does_not_equal?: boolean | undefined;
126
+ }>;
127
+ export declare const NotionFilesFilterZod: z.ZodObject<{
128
+ is_empty: z.ZodOptional<z.ZodBoolean>;
129
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ is_empty?: boolean | undefined;
132
+ is_not_empty?: boolean | undefined;
133
+ }, {
134
+ is_empty?: boolean | undefined;
135
+ is_not_empty?: boolean | undefined;
136
+ }>;
137
+ export declare const NotionRelationFilterZod: z.ZodObject<{
138
+ contains: z.ZodOptional<z.ZodString>;
139
+ does_not_contain: z.ZodOptional<z.ZodString>;
140
+ is_empty: z.ZodOptional<z.ZodBoolean>;
141
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ contains?: string | undefined;
144
+ does_not_contain?: string | undefined;
145
+ is_empty?: boolean | undefined;
146
+ is_not_empty?: boolean | undefined;
147
+ }, {
148
+ contains?: string | undefined;
149
+ does_not_contain?: string | undefined;
150
+ is_empty?: boolean | undefined;
151
+ is_not_empty?: boolean | undefined;
152
+ }>;
153
+ export declare const NotionPeopleFilterZod: z.ZodObject<{
154
+ contains: z.ZodOptional<z.ZodString>;
155
+ does_not_contain: z.ZodOptional<z.ZodString>;
156
+ is_empty: z.ZodOptional<z.ZodBoolean>;
157
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ contains?: string | undefined;
160
+ does_not_contain?: string | undefined;
161
+ is_empty?: boolean | undefined;
162
+ is_not_empty?: boolean | undefined;
163
+ }, {
164
+ contains?: string | undefined;
165
+ does_not_contain?: string | undefined;
166
+ is_empty?: boolean | undefined;
167
+ is_not_empty?: boolean | undefined;
168
+ }>;
169
+ export declare const NotionCreatedByUserFilterZod: z.ZodObject<{
170
+ contains: z.ZodOptional<z.ZodString>;
171
+ does_not_contain: z.ZodOptional<z.ZodString>;
172
+ is_empty: z.ZodOptional<z.ZodBoolean>;
173
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ contains?: string | undefined;
176
+ does_not_contain?: string | undefined;
177
+ is_empty?: boolean | undefined;
178
+ is_not_empty?: boolean | undefined;
179
+ }, {
180
+ contains?: string | undefined;
181
+ does_not_contain?: string | undefined;
182
+ is_empty?: boolean | undefined;
183
+ is_not_empty?: boolean | undefined;
184
+ }>;
185
+ export declare const NotionLastEditedByUserFilterZod: z.ZodObject<{
186
+ contains: z.ZodOptional<z.ZodString>;
187
+ does_not_contain: z.ZodOptional<z.ZodString>;
188
+ is_empty: z.ZodOptional<z.ZodBoolean>;
189
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
190
+ }, "strip", z.ZodTypeAny, {
191
+ contains?: string | undefined;
192
+ does_not_contain?: string | undefined;
193
+ is_empty?: boolean | undefined;
194
+ is_not_empty?: boolean | undefined;
195
+ }, {
196
+ contains?: string | undefined;
197
+ does_not_contain?: string | undefined;
198
+ is_empty?: boolean | undefined;
199
+ is_not_empty?: boolean | undefined;
200
+ }>;
201
+ export declare const NotionPropertyFilterZod: z.ZodIntersection<z.ZodObject<{
202
+ property: z.ZodString;
203
+ }, "strip", z.ZodTypeAny, {
204
+ property: string;
205
+ }, {
206
+ property: string;
207
+ }>, z.ZodUnion<[z.ZodObject<{
208
+ text: z.ZodObject<{
209
+ equals: z.ZodOptional<z.ZodString>;
210
+ does_not_equal: z.ZodOptional<z.ZodString>;
211
+ contains: z.ZodOptional<z.ZodString>;
212
+ does_not_contain: z.ZodOptional<z.ZodString>;
213
+ starts_with: z.ZodOptional<z.ZodString>;
214
+ ends_with: z.ZodOptional<z.ZodString>;
215
+ is_empty: z.ZodOptional<z.ZodBoolean>;
216
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
217
+ }, "strip", z.ZodTypeAny, {
218
+ equals?: string | undefined;
219
+ does_not_equal?: string | undefined;
220
+ contains?: string | undefined;
221
+ does_not_contain?: string | undefined;
222
+ starts_with?: string | undefined;
223
+ ends_with?: string | undefined;
224
+ is_empty?: boolean | undefined;
225
+ is_not_empty?: boolean | undefined;
226
+ }, {
227
+ equals?: string | undefined;
228
+ does_not_equal?: string | undefined;
229
+ contains?: string | undefined;
230
+ does_not_contain?: string | undefined;
231
+ starts_with?: string | undefined;
232
+ ends_with?: string | undefined;
233
+ is_empty?: boolean | undefined;
234
+ is_not_empty?: boolean | undefined;
235
+ }>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ text: {
238
+ equals?: string | undefined;
239
+ does_not_equal?: string | undefined;
240
+ contains?: string | undefined;
241
+ does_not_contain?: string | undefined;
242
+ starts_with?: string | undefined;
243
+ ends_with?: string | undefined;
244
+ is_empty?: boolean | undefined;
245
+ is_not_empty?: boolean | undefined;
246
+ };
247
+ }, {
248
+ text: {
249
+ equals?: string | undefined;
250
+ does_not_equal?: string | undefined;
251
+ contains?: string | undefined;
252
+ does_not_contain?: string | undefined;
253
+ starts_with?: string | undefined;
254
+ ends_with?: string | undefined;
255
+ is_empty?: boolean | undefined;
256
+ is_not_empty?: boolean | undefined;
257
+ };
258
+ }>, z.ZodObject<{
259
+ number: z.ZodObject<{
260
+ equals: z.ZodOptional<z.ZodNumber>;
261
+ does_not_equal: z.ZodOptional<z.ZodNumber>;
262
+ greater_than: z.ZodOptional<z.ZodNumber>;
263
+ less_than: z.ZodOptional<z.ZodNumber>;
264
+ greater_than_or_equal_to: z.ZodOptional<z.ZodNumber>;
265
+ less_than_or_equal_to: z.ZodOptional<z.ZodNumber>;
266
+ is_empty: z.ZodOptional<z.ZodBoolean>;
267
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
268
+ }, "strip", z.ZodTypeAny, {
269
+ equals?: number | undefined;
270
+ does_not_equal?: number | undefined;
271
+ is_empty?: boolean | undefined;
272
+ is_not_empty?: boolean | undefined;
273
+ greater_than?: number | undefined;
274
+ less_than?: number | undefined;
275
+ greater_than_or_equal_to?: number | undefined;
276
+ less_than_or_equal_to?: number | undefined;
277
+ }, {
278
+ equals?: number | undefined;
279
+ does_not_equal?: number | undefined;
280
+ is_empty?: boolean | undefined;
281
+ is_not_empty?: boolean | undefined;
282
+ greater_than?: number | undefined;
283
+ less_than?: number | undefined;
284
+ greater_than_or_equal_to?: number | undefined;
285
+ less_than_or_equal_to?: number | undefined;
286
+ }>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ number: {
289
+ equals?: number | undefined;
290
+ does_not_equal?: number | undefined;
291
+ is_empty?: boolean | undefined;
292
+ is_not_empty?: boolean | undefined;
293
+ greater_than?: number | undefined;
294
+ less_than?: number | undefined;
295
+ greater_than_or_equal_to?: number | undefined;
296
+ less_than_or_equal_to?: number | undefined;
297
+ };
298
+ }, {
299
+ number: {
300
+ equals?: number | undefined;
301
+ does_not_equal?: number | undefined;
302
+ is_empty?: boolean | undefined;
303
+ is_not_empty?: boolean | undefined;
304
+ greater_than?: number | undefined;
305
+ less_than?: number | undefined;
306
+ greater_than_or_equal_to?: number | undefined;
307
+ less_than_or_equal_to?: number | undefined;
308
+ };
309
+ }>, z.ZodObject<{
310
+ select: z.ZodObject<{
311
+ equals: z.ZodOptional<z.ZodString>;
312
+ does_not_equal: z.ZodOptional<z.ZodString>;
313
+ is_empty: z.ZodOptional<z.ZodBoolean>;
314
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ equals?: string | undefined;
317
+ does_not_equal?: string | undefined;
318
+ is_empty?: boolean | undefined;
319
+ is_not_empty?: boolean | undefined;
320
+ }, {
321
+ equals?: string | undefined;
322
+ does_not_equal?: string | undefined;
323
+ is_empty?: boolean | undefined;
324
+ is_not_empty?: boolean | undefined;
325
+ }>;
326
+ }, "strip", z.ZodTypeAny, {
327
+ select: {
328
+ equals?: string | undefined;
329
+ does_not_equal?: string | undefined;
330
+ is_empty?: boolean | undefined;
331
+ is_not_empty?: boolean | undefined;
332
+ };
333
+ }, {
334
+ select: {
335
+ equals?: string | undefined;
336
+ does_not_equal?: string | undefined;
337
+ is_empty?: boolean | undefined;
338
+ is_not_empty?: boolean | undefined;
339
+ };
340
+ }>, z.ZodObject<{
341
+ date: z.ZodObject<{
342
+ equals: z.ZodOptional<z.ZodString>;
343
+ before: z.ZodOptional<z.ZodString>;
344
+ after: z.ZodOptional<z.ZodString>;
345
+ on_or_before: z.ZodOptional<z.ZodString>;
346
+ on_or_after: z.ZodOptional<z.ZodString>;
347
+ is_empty: z.ZodOptional<z.ZodBoolean>;
348
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
349
+ past_week: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
350
+ past_month: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
351
+ past_year: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
352
+ next_week: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
353
+ next_month: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
354
+ next_year: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
355
+ }, "strip", z.ZodTypeAny, {
356
+ equals?: string | undefined;
357
+ is_empty?: boolean | undefined;
358
+ is_not_empty?: boolean | undefined;
359
+ before?: string | undefined;
360
+ after?: string | undefined;
361
+ on_or_before?: string | undefined;
362
+ on_or_after?: string | undefined;
363
+ past_week?: {} | undefined;
364
+ past_month?: {} | undefined;
365
+ past_year?: {} | undefined;
366
+ next_week?: {} | undefined;
367
+ next_month?: {} | undefined;
368
+ next_year?: {} | undefined;
369
+ }, {
370
+ equals?: string | undefined;
371
+ is_empty?: boolean | undefined;
372
+ is_not_empty?: boolean | undefined;
373
+ before?: string | undefined;
374
+ after?: string | undefined;
375
+ on_or_before?: string | undefined;
376
+ on_or_after?: string | undefined;
377
+ past_week?: {} | undefined;
378
+ past_month?: {} | undefined;
379
+ past_year?: {} | undefined;
380
+ next_week?: {} | undefined;
381
+ next_month?: {} | undefined;
382
+ next_year?: {} | undefined;
383
+ }>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ date: {
386
+ equals?: string | undefined;
387
+ is_empty?: boolean | undefined;
388
+ is_not_empty?: boolean | undefined;
389
+ before?: string | undefined;
390
+ after?: string | undefined;
391
+ on_or_before?: string | undefined;
392
+ on_or_after?: string | undefined;
393
+ past_week?: {} | undefined;
394
+ past_month?: {} | undefined;
395
+ past_year?: {} | undefined;
396
+ next_week?: {} | undefined;
397
+ next_month?: {} | undefined;
398
+ next_year?: {} | undefined;
399
+ };
400
+ }, {
401
+ date: {
402
+ equals?: string | undefined;
403
+ is_empty?: boolean | undefined;
404
+ is_not_empty?: boolean | undefined;
405
+ before?: string | undefined;
406
+ after?: string | undefined;
407
+ on_or_before?: string | undefined;
408
+ on_or_after?: string | undefined;
409
+ past_week?: {} | undefined;
410
+ past_month?: {} | undefined;
411
+ past_year?: {} | undefined;
412
+ next_week?: {} | undefined;
413
+ next_month?: {} | undefined;
414
+ next_year?: {} | undefined;
415
+ };
416
+ }>, z.ZodObject<{
417
+ checkbox: z.ZodObject<{
418
+ equals: z.ZodOptional<z.ZodBoolean>;
419
+ does_not_equal: z.ZodOptional<z.ZodBoolean>;
420
+ }, "strip", z.ZodTypeAny, {
421
+ equals?: boolean | undefined;
422
+ does_not_equal?: boolean | undefined;
423
+ }, {
424
+ equals?: boolean | undefined;
425
+ does_not_equal?: boolean | undefined;
426
+ }>;
427
+ }, "strip", z.ZodTypeAny, {
428
+ checkbox: {
429
+ equals?: boolean | undefined;
430
+ does_not_equal?: boolean | undefined;
431
+ };
432
+ }, {
433
+ checkbox: {
434
+ equals?: boolean | undefined;
435
+ does_not_equal?: boolean | undefined;
436
+ };
437
+ }>, z.ZodObject<{
438
+ url: z.ZodObject<{
439
+ equals: z.ZodOptional<z.ZodString>;
440
+ does_not_equal: z.ZodOptional<z.ZodString>;
441
+ contains: z.ZodOptional<z.ZodString>;
442
+ does_not_contain: z.ZodOptional<z.ZodString>;
443
+ starts_with: z.ZodOptional<z.ZodString>;
444
+ ends_with: z.ZodOptional<z.ZodString>;
445
+ is_empty: z.ZodOptional<z.ZodBoolean>;
446
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ equals?: string | undefined;
449
+ does_not_equal?: string | undefined;
450
+ contains?: string | undefined;
451
+ does_not_contain?: string | undefined;
452
+ starts_with?: string | undefined;
453
+ ends_with?: string | undefined;
454
+ is_empty?: boolean | undefined;
455
+ is_not_empty?: boolean | undefined;
456
+ }, {
457
+ equals?: string | undefined;
458
+ does_not_equal?: string | undefined;
459
+ contains?: string | undefined;
460
+ does_not_contain?: string | undefined;
461
+ starts_with?: string | undefined;
462
+ ends_with?: string | undefined;
463
+ is_empty?: boolean | undefined;
464
+ is_not_empty?: boolean | undefined;
465
+ }>;
466
+ }, "strip", z.ZodTypeAny, {
467
+ url: {
468
+ equals?: string | undefined;
469
+ does_not_equal?: string | undefined;
470
+ contains?: string | undefined;
471
+ does_not_contain?: string | undefined;
472
+ starts_with?: string | undefined;
473
+ ends_with?: string | undefined;
474
+ is_empty?: boolean | undefined;
475
+ is_not_empty?: boolean | undefined;
476
+ };
477
+ }, {
478
+ url: {
479
+ equals?: string | undefined;
480
+ does_not_equal?: string | undefined;
481
+ contains?: string | undefined;
482
+ does_not_contain?: string | undefined;
483
+ starts_with?: string | undefined;
484
+ ends_with?: string | undefined;
485
+ is_empty?: boolean | undefined;
486
+ is_not_empty?: boolean | undefined;
487
+ };
488
+ }>, z.ZodObject<{
489
+ email: z.ZodObject<{
490
+ equals: z.ZodOptional<z.ZodString>;
491
+ does_not_equal: z.ZodOptional<z.ZodString>;
492
+ contains: z.ZodOptional<z.ZodString>;
493
+ does_not_contain: z.ZodOptional<z.ZodString>;
494
+ starts_with: z.ZodOptional<z.ZodString>;
495
+ ends_with: z.ZodOptional<z.ZodString>;
496
+ is_empty: z.ZodOptional<z.ZodBoolean>;
497
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
498
+ }, "strip", z.ZodTypeAny, {
499
+ equals?: string | undefined;
500
+ does_not_equal?: string | undefined;
501
+ contains?: string | undefined;
502
+ does_not_contain?: string | undefined;
503
+ starts_with?: string | undefined;
504
+ ends_with?: string | undefined;
505
+ is_empty?: boolean | undefined;
506
+ is_not_empty?: boolean | undefined;
507
+ }, {
508
+ equals?: string | undefined;
509
+ does_not_equal?: string | undefined;
510
+ contains?: string | undefined;
511
+ does_not_contain?: string | undefined;
512
+ starts_with?: string | undefined;
513
+ ends_with?: string | undefined;
514
+ is_empty?: boolean | undefined;
515
+ is_not_empty?: boolean | undefined;
516
+ }>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ email: {
519
+ equals?: string | undefined;
520
+ does_not_equal?: string | undefined;
521
+ contains?: string | undefined;
522
+ does_not_contain?: string | undefined;
523
+ starts_with?: string | undefined;
524
+ ends_with?: string | undefined;
525
+ is_empty?: boolean | undefined;
526
+ is_not_empty?: boolean | undefined;
527
+ };
528
+ }, {
529
+ email: {
530
+ equals?: string | undefined;
531
+ does_not_equal?: string | undefined;
532
+ contains?: string | undefined;
533
+ does_not_contain?: string | undefined;
534
+ starts_with?: string | undefined;
535
+ ends_with?: string | undefined;
536
+ is_empty?: boolean | undefined;
537
+ is_not_empty?: boolean | undefined;
538
+ };
539
+ }>, z.ZodObject<{
540
+ phone_number: z.ZodObject<{
541
+ equals: z.ZodOptional<z.ZodString>;
542
+ does_not_equal: z.ZodOptional<z.ZodString>;
543
+ contains: z.ZodOptional<z.ZodString>;
544
+ does_not_contain: z.ZodOptional<z.ZodString>;
545
+ starts_with: z.ZodOptional<z.ZodString>;
546
+ ends_with: z.ZodOptional<z.ZodString>;
547
+ is_empty: z.ZodOptional<z.ZodBoolean>;
548
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
549
+ }, "strip", z.ZodTypeAny, {
550
+ equals?: string | undefined;
551
+ does_not_equal?: string | undefined;
552
+ contains?: string | undefined;
553
+ does_not_contain?: string | undefined;
554
+ starts_with?: string | undefined;
555
+ ends_with?: string | undefined;
556
+ is_empty?: boolean | undefined;
557
+ is_not_empty?: boolean | undefined;
558
+ }, {
559
+ equals?: string | undefined;
560
+ does_not_equal?: string | undefined;
561
+ contains?: string | undefined;
562
+ does_not_contain?: string | undefined;
563
+ starts_with?: string | undefined;
564
+ ends_with?: string | undefined;
565
+ is_empty?: boolean | undefined;
566
+ is_not_empty?: boolean | undefined;
567
+ }>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ phone_number: {
570
+ equals?: string | undefined;
571
+ does_not_equal?: string | undefined;
572
+ contains?: string | undefined;
573
+ does_not_contain?: string | undefined;
574
+ starts_with?: string | undefined;
575
+ ends_with?: string | undefined;
576
+ is_empty?: boolean | undefined;
577
+ is_not_empty?: boolean | undefined;
578
+ };
579
+ }, {
580
+ phone_number: {
581
+ equals?: string | undefined;
582
+ does_not_equal?: string | undefined;
583
+ contains?: string | undefined;
584
+ does_not_contain?: string | undefined;
585
+ starts_with?: string | undefined;
586
+ ends_with?: string | undefined;
587
+ is_empty?: boolean | undefined;
588
+ is_not_empty?: boolean | undefined;
589
+ };
590
+ }>, z.ZodObject<{
591
+ files: z.ZodObject<{
592
+ is_empty: z.ZodOptional<z.ZodBoolean>;
593
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ is_empty?: boolean | undefined;
596
+ is_not_empty?: boolean | undefined;
597
+ }, {
598
+ is_empty?: boolean | undefined;
599
+ is_not_empty?: boolean | undefined;
600
+ }>;
601
+ }, "strip", z.ZodTypeAny, {
602
+ files: {
603
+ is_empty?: boolean | undefined;
604
+ is_not_empty?: boolean | undefined;
605
+ };
606
+ }, {
607
+ files: {
608
+ is_empty?: boolean | undefined;
609
+ is_not_empty?: boolean | undefined;
610
+ };
611
+ }>, z.ZodObject<{
612
+ relation: z.ZodObject<{
613
+ contains: z.ZodOptional<z.ZodString>;
614
+ does_not_contain: z.ZodOptional<z.ZodString>;
615
+ is_empty: z.ZodOptional<z.ZodBoolean>;
616
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
617
+ }, "strip", z.ZodTypeAny, {
618
+ contains?: string | undefined;
619
+ does_not_contain?: string | undefined;
620
+ is_empty?: boolean | undefined;
621
+ is_not_empty?: boolean | undefined;
622
+ }, {
623
+ contains?: string | undefined;
624
+ does_not_contain?: string | undefined;
625
+ is_empty?: boolean | undefined;
626
+ is_not_empty?: boolean | undefined;
627
+ }>;
628
+ }, "strip", z.ZodTypeAny, {
629
+ relation: {
630
+ contains?: string | undefined;
631
+ does_not_contain?: string | undefined;
632
+ is_empty?: boolean | undefined;
633
+ is_not_empty?: boolean | undefined;
634
+ };
635
+ }, {
636
+ relation: {
637
+ contains?: string | undefined;
638
+ does_not_contain?: string | undefined;
639
+ is_empty?: boolean | undefined;
640
+ is_not_empty?: boolean | undefined;
641
+ };
642
+ }>, z.ZodObject<{
643
+ people: z.ZodObject<{
644
+ contains: z.ZodOptional<z.ZodString>;
645
+ does_not_contain: z.ZodOptional<z.ZodString>;
646
+ is_empty: z.ZodOptional<z.ZodBoolean>;
647
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
648
+ }, "strip", z.ZodTypeAny, {
649
+ contains?: string | undefined;
650
+ does_not_contain?: string | undefined;
651
+ is_empty?: boolean | undefined;
652
+ is_not_empty?: boolean | undefined;
653
+ }, {
654
+ contains?: string | undefined;
655
+ does_not_contain?: string | undefined;
656
+ is_empty?: boolean | undefined;
657
+ is_not_empty?: boolean | undefined;
658
+ }>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ people: {
661
+ contains?: string | undefined;
662
+ does_not_contain?: string | undefined;
663
+ is_empty?: boolean | undefined;
664
+ is_not_empty?: boolean | undefined;
665
+ };
666
+ }, {
667
+ people: {
668
+ contains?: string | undefined;
669
+ does_not_contain?: string | undefined;
670
+ is_empty?: boolean | undefined;
671
+ is_not_empty?: boolean | undefined;
672
+ };
673
+ }>]>>;
674
+ export declare const NotionCreatedTimeFilterZod: z.ZodObject<{
675
+ created_time: z.ZodObject<{
676
+ equals: z.ZodOptional<z.ZodString>;
677
+ before: z.ZodOptional<z.ZodString>;
678
+ after: z.ZodOptional<z.ZodString>;
679
+ on_or_before: z.ZodOptional<z.ZodString>;
680
+ on_or_after: z.ZodOptional<z.ZodString>;
681
+ is_empty: z.ZodOptional<z.ZodBoolean>;
682
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
683
+ past_week: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
684
+ past_month: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
685
+ past_year: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
686
+ next_week: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
687
+ next_month: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
688
+ next_year: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
689
+ }, "strip", z.ZodTypeAny, {
690
+ equals?: string | undefined;
691
+ is_empty?: boolean | undefined;
692
+ is_not_empty?: boolean | undefined;
693
+ before?: string | undefined;
694
+ after?: string | undefined;
695
+ on_or_before?: string | undefined;
696
+ on_or_after?: string | undefined;
697
+ past_week?: {} | undefined;
698
+ past_month?: {} | undefined;
699
+ past_year?: {} | undefined;
700
+ next_week?: {} | undefined;
701
+ next_month?: {} | undefined;
702
+ next_year?: {} | undefined;
703
+ }, {
704
+ equals?: string | undefined;
705
+ is_empty?: boolean | undefined;
706
+ is_not_empty?: boolean | undefined;
707
+ before?: string | undefined;
708
+ after?: string | undefined;
709
+ on_or_before?: string | undefined;
710
+ on_or_after?: string | undefined;
711
+ past_week?: {} | undefined;
712
+ past_month?: {} | undefined;
713
+ past_year?: {} | undefined;
714
+ next_week?: {} | undefined;
715
+ next_month?: {} | undefined;
716
+ next_year?: {} | undefined;
717
+ }>;
718
+ }, "strip", z.ZodTypeAny, {
719
+ created_time: {
720
+ equals?: string | undefined;
721
+ is_empty?: boolean | undefined;
722
+ is_not_empty?: boolean | undefined;
723
+ before?: string | undefined;
724
+ after?: string | undefined;
725
+ on_or_before?: string | undefined;
726
+ on_or_after?: string | undefined;
727
+ past_week?: {} | undefined;
728
+ past_month?: {} | undefined;
729
+ past_year?: {} | undefined;
730
+ next_week?: {} | undefined;
731
+ next_month?: {} | undefined;
732
+ next_year?: {} | undefined;
733
+ };
734
+ }, {
735
+ created_time: {
736
+ equals?: string | undefined;
737
+ is_empty?: boolean | undefined;
738
+ is_not_empty?: boolean | undefined;
739
+ before?: string | undefined;
740
+ after?: string | undefined;
741
+ on_or_before?: string | undefined;
742
+ on_or_after?: string | undefined;
743
+ past_week?: {} | undefined;
744
+ past_month?: {} | undefined;
745
+ past_year?: {} | undefined;
746
+ next_week?: {} | undefined;
747
+ next_month?: {} | undefined;
748
+ next_year?: {} | undefined;
749
+ };
750
+ }>;
751
+ export declare const NotionLastEditedTimeFilterZod: z.ZodObject<{
752
+ last_edited_time: z.ZodObject<{
753
+ equals: z.ZodOptional<z.ZodString>;
754
+ before: z.ZodOptional<z.ZodString>;
755
+ after: z.ZodOptional<z.ZodString>;
756
+ on_or_before: z.ZodOptional<z.ZodString>;
757
+ on_or_after: z.ZodOptional<z.ZodString>;
758
+ is_empty: z.ZodOptional<z.ZodBoolean>;
759
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
760
+ past_week: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
761
+ past_month: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
762
+ past_year: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
763
+ next_week: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
764
+ next_month: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
765
+ next_year: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
766
+ }, "strip", z.ZodTypeAny, {
767
+ equals?: string | undefined;
768
+ is_empty?: boolean | undefined;
769
+ is_not_empty?: boolean | undefined;
770
+ before?: string | undefined;
771
+ after?: string | undefined;
772
+ on_or_before?: string | undefined;
773
+ on_or_after?: string | undefined;
774
+ past_week?: {} | undefined;
775
+ past_month?: {} | undefined;
776
+ past_year?: {} | undefined;
777
+ next_week?: {} | undefined;
778
+ next_month?: {} | undefined;
779
+ next_year?: {} | undefined;
780
+ }, {
781
+ equals?: string | undefined;
782
+ is_empty?: boolean | undefined;
783
+ is_not_empty?: boolean | undefined;
784
+ before?: string | undefined;
785
+ after?: string | undefined;
786
+ on_or_before?: string | undefined;
787
+ on_or_after?: string | undefined;
788
+ past_week?: {} | undefined;
789
+ past_month?: {} | undefined;
790
+ past_year?: {} | undefined;
791
+ next_week?: {} | undefined;
792
+ next_month?: {} | undefined;
793
+ next_year?: {} | undefined;
794
+ }>;
795
+ }, "strip", z.ZodTypeAny, {
796
+ last_edited_time: {
797
+ equals?: string | undefined;
798
+ is_empty?: boolean | undefined;
799
+ is_not_empty?: boolean | undefined;
800
+ before?: string | undefined;
801
+ after?: string | undefined;
802
+ on_or_before?: string | undefined;
803
+ on_or_after?: string | undefined;
804
+ past_week?: {} | undefined;
805
+ past_month?: {} | undefined;
806
+ past_year?: {} | undefined;
807
+ next_week?: {} | undefined;
808
+ next_month?: {} | undefined;
809
+ next_year?: {} | undefined;
810
+ };
811
+ }, {
812
+ last_edited_time: {
813
+ equals?: string | undefined;
814
+ is_empty?: boolean | undefined;
815
+ is_not_empty?: boolean | undefined;
816
+ before?: string | undefined;
817
+ after?: string | undefined;
818
+ on_or_before?: string | undefined;
819
+ on_or_after?: string | undefined;
820
+ past_week?: {} | undefined;
821
+ past_month?: {} | undefined;
822
+ past_year?: {} | undefined;
823
+ next_week?: {} | undefined;
824
+ next_month?: {} | undefined;
825
+ next_year?: {} | undefined;
826
+ };
827
+ }>;
828
+ export declare const NotionCreatedByFilterZod: z.ZodObject<{
829
+ created_by: z.ZodObject<{
830
+ contains: z.ZodOptional<z.ZodString>;
831
+ does_not_contain: z.ZodOptional<z.ZodString>;
832
+ is_empty: z.ZodOptional<z.ZodBoolean>;
833
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
834
+ }, "strip", z.ZodTypeAny, {
835
+ contains?: string | undefined;
836
+ does_not_contain?: string | undefined;
837
+ is_empty?: boolean | undefined;
838
+ is_not_empty?: boolean | undefined;
839
+ }, {
840
+ contains?: string | undefined;
841
+ does_not_contain?: string | undefined;
842
+ is_empty?: boolean | undefined;
843
+ is_not_empty?: boolean | undefined;
844
+ }>;
845
+ }, "strip", z.ZodTypeAny, {
846
+ created_by: {
847
+ contains?: string | undefined;
848
+ does_not_contain?: string | undefined;
849
+ is_empty?: boolean | undefined;
850
+ is_not_empty?: boolean | undefined;
851
+ };
852
+ }, {
853
+ created_by: {
854
+ contains?: string | undefined;
855
+ does_not_contain?: string | undefined;
856
+ is_empty?: boolean | undefined;
857
+ is_not_empty?: boolean | undefined;
858
+ };
859
+ }>;
860
+ export declare const NotionLastEditedByFilterZod: z.ZodObject<{
861
+ last_edited_by: z.ZodObject<{
862
+ contains: z.ZodOptional<z.ZodString>;
863
+ does_not_contain: z.ZodOptional<z.ZodString>;
864
+ is_empty: z.ZodOptional<z.ZodBoolean>;
865
+ is_not_empty: z.ZodOptional<z.ZodBoolean>;
866
+ }, "strip", z.ZodTypeAny, {
867
+ contains?: string | undefined;
868
+ does_not_contain?: string | undefined;
869
+ is_empty?: boolean | undefined;
870
+ is_not_empty?: boolean | undefined;
871
+ }, {
872
+ contains?: string | undefined;
873
+ does_not_contain?: string | undefined;
874
+ is_empty?: boolean | undefined;
875
+ is_not_empty?: boolean | undefined;
876
+ }>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ last_edited_by: {
879
+ contains?: string | undefined;
880
+ does_not_contain?: string | undefined;
881
+ is_empty?: boolean | undefined;
882
+ is_not_empty?: boolean | undefined;
883
+ };
884
+ }, {
885
+ last_edited_by: {
886
+ contains?: string | undefined;
887
+ does_not_contain?: string | undefined;
888
+ is_empty?: boolean | undefined;
889
+ is_not_empty?: boolean | undefined;
890
+ };
891
+ }>;
892
+ export declare const NotionCompoundFilterZod: any;
893
+ export declare const NotionFilterZod: any;
894
+ export declare const NotionPropertySortZod: z.ZodObject<{
895
+ property: z.ZodString;
896
+ direction: z.ZodEnum<["ascending", "descending"]>;
897
+ }, "strip", z.ZodTypeAny, {
898
+ property: string;
899
+ direction: "ascending" | "descending";
900
+ }, {
901
+ property: string;
902
+ direction: "ascending" | "descending";
903
+ }>;
904
+ export declare const NotionTimestampSortZod: z.ZodObject<{
905
+ timestamp: z.ZodEnum<["created_time", "last_edited_time"]>;
906
+ direction: z.ZodEnum<["ascending", "descending"]>;
907
+ }, "strip", z.ZodTypeAny, {
908
+ direction: "ascending" | "descending";
909
+ timestamp: "created_time" | "last_edited_time";
910
+ }, {
911
+ direction: "ascending" | "descending";
912
+ timestamp: "created_time" | "last_edited_time";
913
+ }>;
914
+ export declare const NotionSortZod: z.ZodUnion<[z.ZodObject<{
915
+ property: z.ZodString;
916
+ direction: z.ZodEnum<["ascending", "descending"]>;
917
+ }, "strip", z.ZodTypeAny, {
918
+ property: string;
919
+ direction: "ascending" | "descending";
920
+ }, {
921
+ property: string;
922
+ direction: "ascending" | "descending";
923
+ }>, z.ZodObject<{
924
+ timestamp: z.ZodEnum<["created_time", "last_edited_time"]>;
925
+ direction: z.ZodEnum<["ascending", "descending"]>;
926
+ }, "strip", z.ZodTypeAny, {
927
+ direction: "ascending" | "descending";
928
+ timestamp: "created_time" | "last_edited_time";
929
+ }, {
930
+ direction: "ascending" | "descending";
931
+ timestamp: "created_time" | "last_edited_time";
932
+ }>]>;
933
+ export declare const NotionDatabaseQueryOptionsZod: z.ZodObject<{
934
+ page_size: z.ZodOptional<z.ZodNumber>;
935
+ start_cursor: z.ZodOptional<z.ZodString>;
936
+ filter: any;
937
+ sorts: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
938
+ property: z.ZodString;
939
+ direction: z.ZodEnum<["ascending", "descending"]>;
940
+ }, "strip", z.ZodTypeAny, {
941
+ property: string;
942
+ direction: "ascending" | "descending";
943
+ }, {
944
+ property: string;
945
+ direction: "ascending" | "descending";
946
+ }>, z.ZodObject<{
947
+ timestamp: z.ZodEnum<["created_time", "last_edited_time"]>;
948
+ direction: z.ZodEnum<["ascending", "descending"]>;
949
+ }, "strip", z.ZodTypeAny, {
950
+ direction: "ascending" | "descending";
951
+ timestamp: "created_time" | "last_edited_time";
952
+ }, {
953
+ direction: "ascending" | "descending";
954
+ timestamp: "created_time" | "last_edited_time";
955
+ }>]>, "many">>;
956
+ }, "strip", z.ZodTypeAny, {
957
+ filter?: any;
958
+ page_size?: number | undefined;
959
+ start_cursor?: string | undefined;
960
+ sorts?: ({
961
+ property: string;
962
+ direction: "ascending" | "descending";
963
+ } | {
964
+ direction: "ascending" | "descending";
965
+ timestamp: "created_time" | "last_edited_time";
966
+ })[] | undefined;
967
+ }, {
968
+ filter?: any;
969
+ page_size?: number | undefined;
970
+ start_cursor?: string | undefined;
971
+ sorts?: ({
972
+ property: string;
973
+ direction: "ascending" | "descending";
974
+ } | {
975
+ direction: "ascending" | "descending";
976
+ timestamp: "created_time" | "last_edited_time";
977
+ })[] | undefined;
978
+ }>;
979
+ export declare const NotionPageObjectZod: z.ZodObject<{
980
+ object: z.ZodLiteral<"page">;
981
+ id: z.ZodString;
982
+ created_time: z.ZodString;
983
+ last_edited_time: z.ZodString;
984
+ created_by: z.ZodOptional<z.ZodObject<{
985
+ object: z.ZodLiteral<"user">;
986
+ id: z.ZodString;
987
+ }, "strip", z.ZodTypeAny, {
988
+ object: "user";
989
+ id: string;
990
+ }, {
991
+ object: "user";
992
+ id: string;
993
+ }>>;
994
+ last_edited_by: z.ZodOptional<z.ZodObject<{
995
+ object: z.ZodLiteral<"user">;
996
+ id: z.ZodString;
997
+ }, "strip", z.ZodTypeAny, {
998
+ object: "user";
999
+ id: string;
1000
+ }, {
1001
+ object: "user";
1002
+ id: string;
1003
+ }>>;
1004
+ properties: z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1005
+ id: z.ZodString;
1006
+ type: z.ZodLiteral<"title">;
1007
+ title: z.ZodArray<z.ZodObject<{
1008
+ type: z.ZodLiteral<"text">;
1009
+ text: z.ZodObject<{
1010
+ content: z.ZodString;
1011
+ link: z.ZodNullable<z.ZodObject<{
1012
+ url: z.ZodString;
1013
+ }, "strip", z.ZodTypeAny, {
1014
+ url: string;
1015
+ }, {
1016
+ url: string;
1017
+ }>>;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ content: string;
1020
+ link: {
1021
+ url: string;
1022
+ } | null;
1023
+ }, {
1024
+ content: string;
1025
+ link: {
1026
+ url: string;
1027
+ } | null;
1028
+ }>;
1029
+ annotations: z.ZodObject<{
1030
+ bold: z.ZodBoolean;
1031
+ italic: z.ZodBoolean;
1032
+ strikethrough: z.ZodBoolean;
1033
+ underline: z.ZodBoolean;
1034
+ code: z.ZodBoolean;
1035
+ color: z.ZodString;
1036
+ }, "strip", z.ZodTypeAny, {
1037
+ code: boolean;
1038
+ bold: boolean;
1039
+ italic: boolean;
1040
+ strikethrough: boolean;
1041
+ underline: boolean;
1042
+ color: string;
1043
+ }, {
1044
+ code: boolean;
1045
+ bold: boolean;
1046
+ italic: boolean;
1047
+ strikethrough: boolean;
1048
+ underline: boolean;
1049
+ color: string;
1050
+ }>;
1051
+ plain_text: z.ZodString;
1052
+ href: z.ZodNullable<z.ZodString>;
1053
+ }, "strip", z.ZodTypeAny, {
1054
+ type: "text";
1055
+ text: {
1056
+ content: string;
1057
+ link: {
1058
+ url: string;
1059
+ } | null;
1060
+ };
1061
+ annotations: {
1062
+ code: boolean;
1063
+ bold: boolean;
1064
+ italic: boolean;
1065
+ strikethrough: boolean;
1066
+ underline: boolean;
1067
+ color: string;
1068
+ };
1069
+ plain_text: string;
1070
+ href: string | null;
1071
+ }, {
1072
+ type: "text";
1073
+ text: {
1074
+ content: string;
1075
+ link: {
1076
+ url: string;
1077
+ } | null;
1078
+ };
1079
+ annotations: {
1080
+ code: boolean;
1081
+ bold: boolean;
1082
+ italic: boolean;
1083
+ strikethrough: boolean;
1084
+ underline: boolean;
1085
+ color: string;
1086
+ };
1087
+ plain_text: string;
1088
+ href: string | null;
1089
+ }>, "many">;
1090
+ }, "strip", z.ZodTypeAny, {
1091
+ type: "title";
1092
+ id: string;
1093
+ title: {
1094
+ type: "text";
1095
+ text: {
1096
+ content: string;
1097
+ link: {
1098
+ url: string;
1099
+ } | null;
1100
+ };
1101
+ annotations: {
1102
+ code: boolean;
1103
+ bold: boolean;
1104
+ italic: boolean;
1105
+ strikethrough: boolean;
1106
+ underline: boolean;
1107
+ color: string;
1108
+ };
1109
+ plain_text: string;
1110
+ href: string | null;
1111
+ }[];
1112
+ }, {
1113
+ type: "title";
1114
+ id: string;
1115
+ title: {
1116
+ type: "text";
1117
+ text: {
1118
+ content: string;
1119
+ link: {
1120
+ url: string;
1121
+ } | null;
1122
+ };
1123
+ annotations: {
1124
+ code: boolean;
1125
+ bold: boolean;
1126
+ italic: boolean;
1127
+ strikethrough: boolean;
1128
+ underline: boolean;
1129
+ color: string;
1130
+ };
1131
+ plain_text: string;
1132
+ href: string | null;
1133
+ }[];
1134
+ }>, z.ZodObject<{
1135
+ id: z.ZodString;
1136
+ type: z.ZodLiteral<"rich_text">;
1137
+ rich_text: z.ZodArray<z.ZodObject<{
1138
+ type: z.ZodLiteral<"text">;
1139
+ text: z.ZodObject<{
1140
+ content: z.ZodString;
1141
+ link: z.ZodNullable<z.ZodObject<{
1142
+ url: z.ZodString;
1143
+ }, "strip", z.ZodTypeAny, {
1144
+ url: string;
1145
+ }, {
1146
+ url: string;
1147
+ }>>;
1148
+ }, "strip", z.ZodTypeAny, {
1149
+ content: string;
1150
+ link: {
1151
+ url: string;
1152
+ } | null;
1153
+ }, {
1154
+ content: string;
1155
+ link: {
1156
+ url: string;
1157
+ } | null;
1158
+ }>;
1159
+ annotations: z.ZodObject<{
1160
+ bold: z.ZodBoolean;
1161
+ italic: z.ZodBoolean;
1162
+ strikethrough: z.ZodBoolean;
1163
+ underline: z.ZodBoolean;
1164
+ code: z.ZodBoolean;
1165
+ color: z.ZodString;
1166
+ }, "strip", z.ZodTypeAny, {
1167
+ code: boolean;
1168
+ bold: boolean;
1169
+ italic: boolean;
1170
+ strikethrough: boolean;
1171
+ underline: boolean;
1172
+ color: string;
1173
+ }, {
1174
+ code: boolean;
1175
+ bold: boolean;
1176
+ italic: boolean;
1177
+ strikethrough: boolean;
1178
+ underline: boolean;
1179
+ color: string;
1180
+ }>;
1181
+ plain_text: z.ZodString;
1182
+ href: z.ZodNullable<z.ZodString>;
1183
+ }, "strip", z.ZodTypeAny, {
1184
+ type: "text";
1185
+ text: {
1186
+ content: string;
1187
+ link: {
1188
+ url: string;
1189
+ } | null;
1190
+ };
1191
+ annotations: {
1192
+ code: boolean;
1193
+ bold: boolean;
1194
+ italic: boolean;
1195
+ strikethrough: boolean;
1196
+ underline: boolean;
1197
+ color: string;
1198
+ };
1199
+ plain_text: string;
1200
+ href: string | null;
1201
+ }, {
1202
+ type: "text";
1203
+ text: {
1204
+ content: string;
1205
+ link: {
1206
+ url: string;
1207
+ } | null;
1208
+ };
1209
+ annotations: {
1210
+ code: boolean;
1211
+ bold: boolean;
1212
+ italic: boolean;
1213
+ strikethrough: boolean;
1214
+ underline: boolean;
1215
+ color: string;
1216
+ };
1217
+ plain_text: string;
1218
+ href: string | null;
1219
+ }>, "many">;
1220
+ }, "strip", z.ZodTypeAny, {
1221
+ type: "rich_text";
1222
+ id: string;
1223
+ rich_text: {
1224
+ type: "text";
1225
+ text: {
1226
+ content: string;
1227
+ link: {
1228
+ url: string;
1229
+ } | null;
1230
+ };
1231
+ annotations: {
1232
+ code: boolean;
1233
+ bold: boolean;
1234
+ italic: boolean;
1235
+ strikethrough: boolean;
1236
+ underline: boolean;
1237
+ color: string;
1238
+ };
1239
+ plain_text: string;
1240
+ href: string | null;
1241
+ }[];
1242
+ }, {
1243
+ type: "rich_text";
1244
+ id: string;
1245
+ rich_text: {
1246
+ type: "text";
1247
+ text: {
1248
+ content: string;
1249
+ link: {
1250
+ url: string;
1251
+ } | null;
1252
+ };
1253
+ annotations: {
1254
+ code: boolean;
1255
+ bold: boolean;
1256
+ italic: boolean;
1257
+ strikethrough: boolean;
1258
+ underline: boolean;
1259
+ color: string;
1260
+ };
1261
+ plain_text: string;
1262
+ href: string | null;
1263
+ }[];
1264
+ }>, z.ZodObject<{
1265
+ id: z.ZodString;
1266
+ type: z.ZodLiteral<"select">;
1267
+ select: z.ZodNullable<z.ZodObject<{
1268
+ id: z.ZodString;
1269
+ name: z.ZodString;
1270
+ color: z.ZodString;
1271
+ }, "strip", z.ZodTypeAny, {
1272
+ id: string;
1273
+ name: string;
1274
+ color: string;
1275
+ }, {
1276
+ id: string;
1277
+ name: string;
1278
+ color: string;
1279
+ }>>;
1280
+ }, "strip", z.ZodTypeAny, {
1281
+ type: "select";
1282
+ id: string;
1283
+ select: {
1284
+ id: string;
1285
+ name: string;
1286
+ color: string;
1287
+ } | null;
1288
+ }, {
1289
+ type: "select";
1290
+ id: string;
1291
+ select: {
1292
+ id: string;
1293
+ name: string;
1294
+ color: string;
1295
+ } | null;
1296
+ }>, z.ZodObject<{
1297
+ id: z.ZodString;
1298
+ type: z.ZodLiteral<"number">;
1299
+ number: z.ZodNullable<z.ZodNumber>;
1300
+ }, "strip", z.ZodTypeAny, {
1301
+ number: number | null;
1302
+ type: "number";
1303
+ id: string;
1304
+ }, {
1305
+ number: number | null;
1306
+ type: "number";
1307
+ id: string;
1308
+ }>, z.ZodObject<{
1309
+ id: z.ZodString;
1310
+ type: z.ZodLiteral<"checkbox">;
1311
+ checkbox: z.ZodBoolean;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ type: "checkbox";
1314
+ id: string;
1315
+ checkbox: boolean;
1316
+ }, {
1317
+ type: "checkbox";
1318
+ id: string;
1319
+ checkbox: boolean;
1320
+ }>, z.ZodObject<{
1321
+ id: z.ZodString;
1322
+ type: z.ZodLiteral<"date">;
1323
+ date: z.ZodNullable<z.ZodObject<{
1324
+ start: z.ZodString;
1325
+ end: z.ZodNullable<z.ZodString>;
1326
+ time_zone: z.ZodNullable<z.ZodString>;
1327
+ }, "strip", z.ZodTypeAny, {
1328
+ start: string;
1329
+ end: string | null;
1330
+ time_zone: string | null;
1331
+ }, {
1332
+ start: string;
1333
+ end: string | null;
1334
+ time_zone: string | null;
1335
+ }>>;
1336
+ }, "strip", z.ZodTypeAny, {
1337
+ type: "date";
1338
+ id: string;
1339
+ date: {
1340
+ start: string;
1341
+ end: string | null;
1342
+ time_zone: string | null;
1343
+ } | null;
1344
+ }, {
1345
+ type: "date";
1346
+ id: string;
1347
+ date: {
1348
+ start: string;
1349
+ end: string | null;
1350
+ time_zone: string | null;
1351
+ } | null;
1352
+ }>, z.ZodObject<{
1353
+ type: z.ZodString;
1354
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1355
+ type: z.ZodString;
1356
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1357
+ type: z.ZodString;
1358
+ }, z.ZodTypeAny, "passthrough">>]>>>;
1359
+ parent: z.ZodObject<{
1360
+ type: z.ZodLiteral<"database_id">;
1361
+ database_id: z.ZodString;
1362
+ }, "strip", z.ZodTypeAny, {
1363
+ type: "database_id";
1364
+ database_id: string;
1365
+ }, {
1366
+ type: "database_id";
1367
+ database_id: string;
1368
+ }>;
1369
+ url: z.ZodString;
1370
+ public_url: z.ZodNullable<z.ZodString>;
1371
+ archived: z.ZodBoolean;
1372
+ }, "strip", z.ZodTypeAny, {
1373
+ object: "page";
1374
+ id: string;
1375
+ url: string;
1376
+ created_time: string;
1377
+ last_edited_time: string;
1378
+ properties: Record<string, {
1379
+ type: "title";
1380
+ id: string;
1381
+ title: {
1382
+ type: "text";
1383
+ text: {
1384
+ content: string;
1385
+ link: {
1386
+ url: string;
1387
+ } | null;
1388
+ };
1389
+ annotations: {
1390
+ code: boolean;
1391
+ bold: boolean;
1392
+ italic: boolean;
1393
+ strikethrough: boolean;
1394
+ underline: boolean;
1395
+ color: string;
1396
+ };
1397
+ plain_text: string;
1398
+ href: string | null;
1399
+ }[];
1400
+ } | {
1401
+ type: "rich_text";
1402
+ id: string;
1403
+ rich_text: {
1404
+ type: "text";
1405
+ text: {
1406
+ content: string;
1407
+ link: {
1408
+ url: string;
1409
+ } | null;
1410
+ };
1411
+ annotations: {
1412
+ code: boolean;
1413
+ bold: boolean;
1414
+ italic: boolean;
1415
+ strikethrough: boolean;
1416
+ underline: boolean;
1417
+ color: string;
1418
+ };
1419
+ plain_text: string;
1420
+ href: string | null;
1421
+ }[];
1422
+ } | {
1423
+ type: "select";
1424
+ id: string;
1425
+ select: {
1426
+ id: string;
1427
+ name: string;
1428
+ color: string;
1429
+ } | null;
1430
+ } | {
1431
+ number: number | null;
1432
+ type: "number";
1433
+ id: string;
1434
+ } | {
1435
+ type: "checkbox";
1436
+ id: string;
1437
+ checkbox: boolean;
1438
+ } | {
1439
+ type: "date";
1440
+ id: string;
1441
+ date: {
1442
+ start: string;
1443
+ end: string | null;
1444
+ time_zone: string | null;
1445
+ } | null;
1446
+ } | z.objectOutputType<{
1447
+ type: z.ZodString;
1448
+ }, z.ZodTypeAny, "passthrough">>;
1449
+ parent: {
1450
+ type: "database_id";
1451
+ database_id: string;
1452
+ };
1453
+ public_url: string | null;
1454
+ archived: boolean;
1455
+ created_by?: {
1456
+ object: "user";
1457
+ id: string;
1458
+ } | undefined;
1459
+ last_edited_by?: {
1460
+ object: "user";
1461
+ id: string;
1462
+ } | undefined;
1463
+ }, {
1464
+ object: "page";
1465
+ id: string;
1466
+ url: string;
1467
+ created_time: string;
1468
+ last_edited_time: string;
1469
+ properties: Record<string, {
1470
+ type: "title";
1471
+ id: string;
1472
+ title: {
1473
+ type: "text";
1474
+ text: {
1475
+ content: string;
1476
+ link: {
1477
+ url: string;
1478
+ } | null;
1479
+ };
1480
+ annotations: {
1481
+ code: boolean;
1482
+ bold: boolean;
1483
+ italic: boolean;
1484
+ strikethrough: boolean;
1485
+ underline: boolean;
1486
+ color: string;
1487
+ };
1488
+ plain_text: string;
1489
+ href: string | null;
1490
+ }[];
1491
+ } | {
1492
+ type: "rich_text";
1493
+ id: string;
1494
+ rich_text: {
1495
+ type: "text";
1496
+ text: {
1497
+ content: string;
1498
+ link: {
1499
+ url: string;
1500
+ } | null;
1501
+ };
1502
+ annotations: {
1503
+ code: boolean;
1504
+ bold: boolean;
1505
+ italic: boolean;
1506
+ strikethrough: boolean;
1507
+ underline: boolean;
1508
+ color: string;
1509
+ };
1510
+ plain_text: string;
1511
+ href: string | null;
1512
+ }[];
1513
+ } | {
1514
+ type: "select";
1515
+ id: string;
1516
+ select: {
1517
+ id: string;
1518
+ name: string;
1519
+ color: string;
1520
+ } | null;
1521
+ } | {
1522
+ number: number | null;
1523
+ type: "number";
1524
+ id: string;
1525
+ } | {
1526
+ type: "checkbox";
1527
+ id: string;
1528
+ checkbox: boolean;
1529
+ } | {
1530
+ type: "date";
1531
+ id: string;
1532
+ date: {
1533
+ start: string;
1534
+ end: string | null;
1535
+ time_zone: string | null;
1536
+ } | null;
1537
+ } | z.objectInputType<{
1538
+ type: z.ZodString;
1539
+ }, z.ZodTypeAny, "passthrough">>;
1540
+ parent: {
1541
+ type: "database_id";
1542
+ database_id: string;
1543
+ };
1544
+ public_url: string | null;
1545
+ archived: boolean;
1546
+ created_by?: {
1547
+ object: "user";
1548
+ id: string;
1549
+ } | undefined;
1550
+ last_edited_by?: {
1551
+ object: "user";
1552
+ id: string;
1553
+ } | undefined;
1554
+ }>;
1555
+ export declare const NotionDatabaseQueryResponseZod: z.ZodObject<{
1556
+ object: z.ZodLiteral<"list">;
1557
+ results: z.ZodArray<z.ZodObject<{
1558
+ object: z.ZodLiteral<"page">;
1559
+ id: z.ZodString;
1560
+ created_time: z.ZodString;
1561
+ last_edited_time: z.ZodString;
1562
+ created_by: z.ZodOptional<z.ZodObject<{
1563
+ object: z.ZodLiteral<"user">;
1564
+ id: z.ZodString;
1565
+ }, "strip", z.ZodTypeAny, {
1566
+ object: "user";
1567
+ id: string;
1568
+ }, {
1569
+ object: "user";
1570
+ id: string;
1571
+ }>>;
1572
+ last_edited_by: z.ZodOptional<z.ZodObject<{
1573
+ object: z.ZodLiteral<"user">;
1574
+ id: z.ZodString;
1575
+ }, "strip", z.ZodTypeAny, {
1576
+ object: "user";
1577
+ id: string;
1578
+ }, {
1579
+ object: "user";
1580
+ id: string;
1581
+ }>>;
1582
+ properties: z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1583
+ id: z.ZodString;
1584
+ type: z.ZodLiteral<"title">;
1585
+ title: z.ZodArray<z.ZodObject<{
1586
+ type: z.ZodLiteral<"text">;
1587
+ text: z.ZodObject<{
1588
+ content: z.ZodString;
1589
+ link: z.ZodNullable<z.ZodObject<{
1590
+ url: z.ZodString;
1591
+ }, "strip", z.ZodTypeAny, {
1592
+ url: string;
1593
+ }, {
1594
+ url: string;
1595
+ }>>;
1596
+ }, "strip", z.ZodTypeAny, {
1597
+ content: string;
1598
+ link: {
1599
+ url: string;
1600
+ } | null;
1601
+ }, {
1602
+ content: string;
1603
+ link: {
1604
+ url: string;
1605
+ } | null;
1606
+ }>;
1607
+ annotations: z.ZodObject<{
1608
+ bold: z.ZodBoolean;
1609
+ italic: z.ZodBoolean;
1610
+ strikethrough: z.ZodBoolean;
1611
+ underline: z.ZodBoolean;
1612
+ code: z.ZodBoolean;
1613
+ color: z.ZodString;
1614
+ }, "strip", z.ZodTypeAny, {
1615
+ code: boolean;
1616
+ bold: boolean;
1617
+ italic: boolean;
1618
+ strikethrough: boolean;
1619
+ underline: boolean;
1620
+ color: string;
1621
+ }, {
1622
+ code: boolean;
1623
+ bold: boolean;
1624
+ italic: boolean;
1625
+ strikethrough: boolean;
1626
+ underline: boolean;
1627
+ color: string;
1628
+ }>;
1629
+ plain_text: z.ZodString;
1630
+ href: z.ZodNullable<z.ZodString>;
1631
+ }, "strip", z.ZodTypeAny, {
1632
+ type: "text";
1633
+ text: {
1634
+ content: string;
1635
+ link: {
1636
+ url: string;
1637
+ } | null;
1638
+ };
1639
+ annotations: {
1640
+ code: boolean;
1641
+ bold: boolean;
1642
+ italic: boolean;
1643
+ strikethrough: boolean;
1644
+ underline: boolean;
1645
+ color: string;
1646
+ };
1647
+ plain_text: string;
1648
+ href: string | null;
1649
+ }, {
1650
+ type: "text";
1651
+ text: {
1652
+ content: string;
1653
+ link: {
1654
+ url: string;
1655
+ } | null;
1656
+ };
1657
+ annotations: {
1658
+ code: boolean;
1659
+ bold: boolean;
1660
+ italic: boolean;
1661
+ strikethrough: boolean;
1662
+ underline: boolean;
1663
+ color: string;
1664
+ };
1665
+ plain_text: string;
1666
+ href: string | null;
1667
+ }>, "many">;
1668
+ }, "strip", z.ZodTypeAny, {
1669
+ type: "title";
1670
+ id: string;
1671
+ title: {
1672
+ type: "text";
1673
+ text: {
1674
+ content: string;
1675
+ link: {
1676
+ url: string;
1677
+ } | null;
1678
+ };
1679
+ annotations: {
1680
+ code: boolean;
1681
+ bold: boolean;
1682
+ italic: boolean;
1683
+ strikethrough: boolean;
1684
+ underline: boolean;
1685
+ color: string;
1686
+ };
1687
+ plain_text: string;
1688
+ href: string | null;
1689
+ }[];
1690
+ }, {
1691
+ type: "title";
1692
+ id: string;
1693
+ title: {
1694
+ type: "text";
1695
+ text: {
1696
+ content: string;
1697
+ link: {
1698
+ url: string;
1699
+ } | null;
1700
+ };
1701
+ annotations: {
1702
+ code: boolean;
1703
+ bold: boolean;
1704
+ italic: boolean;
1705
+ strikethrough: boolean;
1706
+ underline: boolean;
1707
+ color: string;
1708
+ };
1709
+ plain_text: string;
1710
+ href: string | null;
1711
+ }[];
1712
+ }>, z.ZodObject<{
1713
+ id: z.ZodString;
1714
+ type: z.ZodLiteral<"rich_text">;
1715
+ rich_text: z.ZodArray<z.ZodObject<{
1716
+ type: z.ZodLiteral<"text">;
1717
+ text: z.ZodObject<{
1718
+ content: z.ZodString;
1719
+ link: z.ZodNullable<z.ZodObject<{
1720
+ url: z.ZodString;
1721
+ }, "strip", z.ZodTypeAny, {
1722
+ url: string;
1723
+ }, {
1724
+ url: string;
1725
+ }>>;
1726
+ }, "strip", z.ZodTypeAny, {
1727
+ content: string;
1728
+ link: {
1729
+ url: string;
1730
+ } | null;
1731
+ }, {
1732
+ content: string;
1733
+ link: {
1734
+ url: string;
1735
+ } | null;
1736
+ }>;
1737
+ annotations: z.ZodObject<{
1738
+ bold: z.ZodBoolean;
1739
+ italic: z.ZodBoolean;
1740
+ strikethrough: z.ZodBoolean;
1741
+ underline: z.ZodBoolean;
1742
+ code: z.ZodBoolean;
1743
+ color: z.ZodString;
1744
+ }, "strip", z.ZodTypeAny, {
1745
+ code: boolean;
1746
+ bold: boolean;
1747
+ italic: boolean;
1748
+ strikethrough: boolean;
1749
+ underline: boolean;
1750
+ color: string;
1751
+ }, {
1752
+ code: boolean;
1753
+ bold: boolean;
1754
+ italic: boolean;
1755
+ strikethrough: boolean;
1756
+ underline: boolean;
1757
+ color: string;
1758
+ }>;
1759
+ plain_text: z.ZodString;
1760
+ href: z.ZodNullable<z.ZodString>;
1761
+ }, "strip", z.ZodTypeAny, {
1762
+ type: "text";
1763
+ text: {
1764
+ content: string;
1765
+ link: {
1766
+ url: string;
1767
+ } | null;
1768
+ };
1769
+ annotations: {
1770
+ code: boolean;
1771
+ bold: boolean;
1772
+ italic: boolean;
1773
+ strikethrough: boolean;
1774
+ underline: boolean;
1775
+ color: string;
1776
+ };
1777
+ plain_text: string;
1778
+ href: string | null;
1779
+ }, {
1780
+ type: "text";
1781
+ text: {
1782
+ content: string;
1783
+ link: {
1784
+ url: string;
1785
+ } | null;
1786
+ };
1787
+ annotations: {
1788
+ code: boolean;
1789
+ bold: boolean;
1790
+ italic: boolean;
1791
+ strikethrough: boolean;
1792
+ underline: boolean;
1793
+ color: string;
1794
+ };
1795
+ plain_text: string;
1796
+ href: string | null;
1797
+ }>, "many">;
1798
+ }, "strip", z.ZodTypeAny, {
1799
+ type: "rich_text";
1800
+ id: string;
1801
+ rich_text: {
1802
+ type: "text";
1803
+ text: {
1804
+ content: string;
1805
+ link: {
1806
+ url: string;
1807
+ } | null;
1808
+ };
1809
+ annotations: {
1810
+ code: boolean;
1811
+ bold: boolean;
1812
+ italic: boolean;
1813
+ strikethrough: boolean;
1814
+ underline: boolean;
1815
+ color: string;
1816
+ };
1817
+ plain_text: string;
1818
+ href: string | null;
1819
+ }[];
1820
+ }, {
1821
+ type: "rich_text";
1822
+ id: string;
1823
+ rich_text: {
1824
+ type: "text";
1825
+ text: {
1826
+ content: string;
1827
+ link: {
1828
+ url: string;
1829
+ } | null;
1830
+ };
1831
+ annotations: {
1832
+ code: boolean;
1833
+ bold: boolean;
1834
+ italic: boolean;
1835
+ strikethrough: boolean;
1836
+ underline: boolean;
1837
+ color: string;
1838
+ };
1839
+ plain_text: string;
1840
+ href: string | null;
1841
+ }[];
1842
+ }>, z.ZodObject<{
1843
+ id: z.ZodString;
1844
+ type: z.ZodLiteral<"select">;
1845
+ select: z.ZodNullable<z.ZodObject<{
1846
+ id: z.ZodString;
1847
+ name: z.ZodString;
1848
+ color: z.ZodString;
1849
+ }, "strip", z.ZodTypeAny, {
1850
+ id: string;
1851
+ name: string;
1852
+ color: string;
1853
+ }, {
1854
+ id: string;
1855
+ name: string;
1856
+ color: string;
1857
+ }>>;
1858
+ }, "strip", z.ZodTypeAny, {
1859
+ type: "select";
1860
+ id: string;
1861
+ select: {
1862
+ id: string;
1863
+ name: string;
1864
+ color: string;
1865
+ } | null;
1866
+ }, {
1867
+ type: "select";
1868
+ id: string;
1869
+ select: {
1870
+ id: string;
1871
+ name: string;
1872
+ color: string;
1873
+ } | null;
1874
+ }>, z.ZodObject<{
1875
+ id: z.ZodString;
1876
+ type: z.ZodLiteral<"number">;
1877
+ number: z.ZodNullable<z.ZodNumber>;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ number: number | null;
1880
+ type: "number";
1881
+ id: string;
1882
+ }, {
1883
+ number: number | null;
1884
+ type: "number";
1885
+ id: string;
1886
+ }>, z.ZodObject<{
1887
+ id: z.ZodString;
1888
+ type: z.ZodLiteral<"checkbox">;
1889
+ checkbox: z.ZodBoolean;
1890
+ }, "strip", z.ZodTypeAny, {
1891
+ type: "checkbox";
1892
+ id: string;
1893
+ checkbox: boolean;
1894
+ }, {
1895
+ type: "checkbox";
1896
+ id: string;
1897
+ checkbox: boolean;
1898
+ }>, z.ZodObject<{
1899
+ id: z.ZodString;
1900
+ type: z.ZodLiteral<"date">;
1901
+ date: z.ZodNullable<z.ZodObject<{
1902
+ start: z.ZodString;
1903
+ end: z.ZodNullable<z.ZodString>;
1904
+ time_zone: z.ZodNullable<z.ZodString>;
1905
+ }, "strip", z.ZodTypeAny, {
1906
+ start: string;
1907
+ end: string | null;
1908
+ time_zone: string | null;
1909
+ }, {
1910
+ start: string;
1911
+ end: string | null;
1912
+ time_zone: string | null;
1913
+ }>>;
1914
+ }, "strip", z.ZodTypeAny, {
1915
+ type: "date";
1916
+ id: string;
1917
+ date: {
1918
+ start: string;
1919
+ end: string | null;
1920
+ time_zone: string | null;
1921
+ } | null;
1922
+ }, {
1923
+ type: "date";
1924
+ id: string;
1925
+ date: {
1926
+ start: string;
1927
+ end: string | null;
1928
+ time_zone: string | null;
1929
+ } | null;
1930
+ }>, z.ZodObject<{
1931
+ type: z.ZodString;
1932
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1933
+ type: z.ZodString;
1934
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1935
+ type: z.ZodString;
1936
+ }, z.ZodTypeAny, "passthrough">>]>>>;
1937
+ parent: z.ZodObject<{
1938
+ type: z.ZodLiteral<"database_id">;
1939
+ database_id: z.ZodString;
1940
+ }, "strip", z.ZodTypeAny, {
1941
+ type: "database_id";
1942
+ database_id: string;
1943
+ }, {
1944
+ type: "database_id";
1945
+ database_id: string;
1946
+ }>;
1947
+ url: z.ZodString;
1948
+ public_url: z.ZodNullable<z.ZodString>;
1949
+ archived: z.ZodBoolean;
1950
+ }, "strip", z.ZodTypeAny, {
1951
+ object: "page";
1952
+ id: string;
1953
+ url: string;
1954
+ created_time: string;
1955
+ last_edited_time: string;
1956
+ properties: Record<string, {
1957
+ type: "title";
1958
+ id: string;
1959
+ title: {
1960
+ type: "text";
1961
+ text: {
1962
+ content: string;
1963
+ link: {
1964
+ url: string;
1965
+ } | null;
1966
+ };
1967
+ annotations: {
1968
+ code: boolean;
1969
+ bold: boolean;
1970
+ italic: boolean;
1971
+ strikethrough: boolean;
1972
+ underline: boolean;
1973
+ color: string;
1974
+ };
1975
+ plain_text: string;
1976
+ href: string | null;
1977
+ }[];
1978
+ } | {
1979
+ type: "rich_text";
1980
+ id: string;
1981
+ rich_text: {
1982
+ type: "text";
1983
+ text: {
1984
+ content: string;
1985
+ link: {
1986
+ url: string;
1987
+ } | null;
1988
+ };
1989
+ annotations: {
1990
+ code: boolean;
1991
+ bold: boolean;
1992
+ italic: boolean;
1993
+ strikethrough: boolean;
1994
+ underline: boolean;
1995
+ color: string;
1996
+ };
1997
+ plain_text: string;
1998
+ href: string | null;
1999
+ }[];
2000
+ } | {
2001
+ type: "select";
2002
+ id: string;
2003
+ select: {
2004
+ id: string;
2005
+ name: string;
2006
+ color: string;
2007
+ } | null;
2008
+ } | {
2009
+ number: number | null;
2010
+ type: "number";
2011
+ id: string;
2012
+ } | {
2013
+ type: "checkbox";
2014
+ id: string;
2015
+ checkbox: boolean;
2016
+ } | {
2017
+ type: "date";
2018
+ id: string;
2019
+ date: {
2020
+ start: string;
2021
+ end: string | null;
2022
+ time_zone: string | null;
2023
+ } | null;
2024
+ } | z.objectOutputType<{
2025
+ type: z.ZodString;
2026
+ }, z.ZodTypeAny, "passthrough">>;
2027
+ parent: {
2028
+ type: "database_id";
2029
+ database_id: string;
2030
+ };
2031
+ public_url: string | null;
2032
+ archived: boolean;
2033
+ created_by?: {
2034
+ object: "user";
2035
+ id: string;
2036
+ } | undefined;
2037
+ last_edited_by?: {
2038
+ object: "user";
2039
+ id: string;
2040
+ } | undefined;
2041
+ }, {
2042
+ object: "page";
2043
+ id: string;
2044
+ url: string;
2045
+ created_time: string;
2046
+ last_edited_time: string;
2047
+ properties: Record<string, {
2048
+ type: "title";
2049
+ id: string;
2050
+ title: {
2051
+ type: "text";
2052
+ text: {
2053
+ content: string;
2054
+ link: {
2055
+ url: string;
2056
+ } | null;
2057
+ };
2058
+ annotations: {
2059
+ code: boolean;
2060
+ bold: boolean;
2061
+ italic: boolean;
2062
+ strikethrough: boolean;
2063
+ underline: boolean;
2064
+ color: string;
2065
+ };
2066
+ plain_text: string;
2067
+ href: string | null;
2068
+ }[];
2069
+ } | {
2070
+ type: "rich_text";
2071
+ id: string;
2072
+ rich_text: {
2073
+ type: "text";
2074
+ text: {
2075
+ content: string;
2076
+ link: {
2077
+ url: string;
2078
+ } | null;
2079
+ };
2080
+ annotations: {
2081
+ code: boolean;
2082
+ bold: boolean;
2083
+ italic: boolean;
2084
+ strikethrough: boolean;
2085
+ underline: boolean;
2086
+ color: string;
2087
+ };
2088
+ plain_text: string;
2089
+ href: string | null;
2090
+ }[];
2091
+ } | {
2092
+ type: "select";
2093
+ id: string;
2094
+ select: {
2095
+ id: string;
2096
+ name: string;
2097
+ color: string;
2098
+ } | null;
2099
+ } | {
2100
+ number: number | null;
2101
+ type: "number";
2102
+ id: string;
2103
+ } | {
2104
+ type: "checkbox";
2105
+ id: string;
2106
+ checkbox: boolean;
2107
+ } | {
2108
+ type: "date";
2109
+ id: string;
2110
+ date: {
2111
+ start: string;
2112
+ end: string | null;
2113
+ time_zone: string | null;
2114
+ } | null;
2115
+ } | z.objectInputType<{
2116
+ type: z.ZodString;
2117
+ }, z.ZodTypeAny, "passthrough">>;
2118
+ parent: {
2119
+ type: "database_id";
2120
+ database_id: string;
2121
+ };
2122
+ public_url: string | null;
2123
+ archived: boolean;
2124
+ created_by?: {
2125
+ object: "user";
2126
+ id: string;
2127
+ } | undefined;
2128
+ last_edited_by?: {
2129
+ object: "user";
2130
+ id: string;
2131
+ } | undefined;
2132
+ }>, "many">;
2133
+ next_cursor: z.ZodNullable<z.ZodString>;
2134
+ has_more: z.ZodBoolean;
2135
+ type: z.ZodLiteral<"page_or_database">;
2136
+ page_or_database: z.ZodRecord<z.ZodString, z.ZodAny>;
2137
+ }, "strip", z.ZodTypeAny, {
2138
+ object: "list";
2139
+ type: "page_or_database";
2140
+ results: {
2141
+ object: "page";
2142
+ id: string;
2143
+ url: string;
2144
+ created_time: string;
2145
+ last_edited_time: string;
2146
+ properties: Record<string, {
2147
+ type: "title";
2148
+ id: string;
2149
+ title: {
2150
+ type: "text";
2151
+ text: {
2152
+ content: string;
2153
+ link: {
2154
+ url: string;
2155
+ } | null;
2156
+ };
2157
+ annotations: {
2158
+ code: boolean;
2159
+ bold: boolean;
2160
+ italic: boolean;
2161
+ strikethrough: boolean;
2162
+ underline: boolean;
2163
+ color: string;
2164
+ };
2165
+ plain_text: string;
2166
+ href: string | null;
2167
+ }[];
2168
+ } | {
2169
+ type: "rich_text";
2170
+ id: string;
2171
+ rich_text: {
2172
+ type: "text";
2173
+ text: {
2174
+ content: string;
2175
+ link: {
2176
+ url: string;
2177
+ } | null;
2178
+ };
2179
+ annotations: {
2180
+ code: boolean;
2181
+ bold: boolean;
2182
+ italic: boolean;
2183
+ strikethrough: boolean;
2184
+ underline: boolean;
2185
+ color: string;
2186
+ };
2187
+ plain_text: string;
2188
+ href: string | null;
2189
+ }[];
2190
+ } | {
2191
+ type: "select";
2192
+ id: string;
2193
+ select: {
2194
+ id: string;
2195
+ name: string;
2196
+ color: string;
2197
+ } | null;
2198
+ } | {
2199
+ number: number | null;
2200
+ type: "number";
2201
+ id: string;
2202
+ } | {
2203
+ type: "checkbox";
2204
+ id: string;
2205
+ checkbox: boolean;
2206
+ } | {
2207
+ type: "date";
2208
+ id: string;
2209
+ date: {
2210
+ start: string;
2211
+ end: string | null;
2212
+ time_zone: string | null;
2213
+ } | null;
2214
+ } | z.objectOutputType<{
2215
+ type: z.ZodString;
2216
+ }, z.ZodTypeAny, "passthrough">>;
2217
+ parent: {
2218
+ type: "database_id";
2219
+ database_id: string;
2220
+ };
2221
+ public_url: string | null;
2222
+ archived: boolean;
2223
+ created_by?: {
2224
+ object: "user";
2225
+ id: string;
2226
+ } | undefined;
2227
+ last_edited_by?: {
2228
+ object: "user";
2229
+ id: string;
2230
+ } | undefined;
2231
+ }[];
2232
+ next_cursor: string | null;
2233
+ has_more: boolean;
2234
+ page_or_database: Record<string, any>;
2235
+ }, {
2236
+ object: "list";
2237
+ type: "page_or_database";
2238
+ results: {
2239
+ object: "page";
2240
+ id: string;
2241
+ url: string;
2242
+ created_time: string;
2243
+ last_edited_time: string;
2244
+ properties: Record<string, {
2245
+ type: "title";
2246
+ id: string;
2247
+ title: {
2248
+ type: "text";
2249
+ text: {
2250
+ content: string;
2251
+ link: {
2252
+ url: string;
2253
+ } | null;
2254
+ };
2255
+ annotations: {
2256
+ code: boolean;
2257
+ bold: boolean;
2258
+ italic: boolean;
2259
+ strikethrough: boolean;
2260
+ underline: boolean;
2261
+ color: string;
2262
+ };
2263
+ plain_text: string;
2264
+ href: string | null;
2265
+ }[];
2266
+ } | {
2267
+ type: "rich_text";
2268
+ id: string;
2269
+ rich_text: {
2270
+ type: "text";
2271
+ text: {
2272
+ content: string;
2273
+ link: {
2274
+ url: string;
2275
+ } | null;
2276
+ };
2277
+ annotations: {
2278
+ code: boolean;
2279
+ bold: boolean;
2280
+ italic: boolean;
2281
+ strikethrough: boolean;
2282
+ underline: boolean;
2283
+ color: string;
2284
+ };
2285
+ plain_text: string;
2286
+ href: string | null;
2287
+ }[];
2288
+ } | {
2289
+ type: "select";
2290
+ id: string;
2291
+ select: {
2292
+ id: string;
2293
+ name: string;
2294
+ color: string;
2295
+ } | null;
2296
+ } | {
2297
+ number: number | null;
2298
+ type: "number";
2299
+ id: string;
2300
+ } | {
2301
+ type: "checkbox";
2302
+ id: string;
2303
+ checkbox: boolean;
2304
+ } | {
2305
+ type: "date";
2306
+ id: string;
2307
+ date: {
2308
+ start: string;
2309
+ end: string | null;
2310
+ time_zone: string | null;
2311
+ } | null;
2312
+ } | z.objectInputType<{
2313
+ type: z.ZodString;
2314
+ }, z.ZodTypeAny, "passthrough">>;
2315
+ parent: {
2316
+ type: "database_id";
2317
+ database_id: string;
2318
+ };
2319
+ public_url: string | null;
2320
+ archived: boolean;
2321
+ created_by?: {
2322
+ object: "user";
2323
+ id: string;
2324
+ } | undefined;
2325
+ last_edited_by?: {
2326
+ object: "user";
2327
+ id: string;
2328
+ } | undefined;
2329
+ }[];
2330
+ next_cursor: string | null;
2331
+ has_more: boolean;
2332
+ page_or_database: Record<string, any>;
2333
+ }>;
2334
+ export type NotionTextFilter = z.infer<typeof NotionTextFilterZod>;
2335
+ export type NotionNumberFilter = z.infer<typeof NotionNumberFilterZod>;
2336
+ export type NotionSelectFilter = z.infer<typeof NotionSelectFilterZod>;
2337
+ export type NotionDateFilter = z.infer<typeof NotionDateFilterZod>;
2338
+ export type NotionCheckboxFilter = z.infer<typeof NotionCheckboxFilterZod>;
2339
+ export type NotionFilesFilter = z.infer<typeof NotionFilesFilterZod>;
2340
+ export type NotionRelationFilter = z.infer<typeof NotionRelationFilterZod>;
2341
+ export type NotionPeopleFilter = z.infer<typeof NotionPeopleFilterZod>;
2342
+ export type NotionCreatedByUserFilter = z.infer<typeof NotionCreatedByUserFilterZod>;
2343
+ export type NotionLastEditedByUserFilter = z.infer<typeof NotionLastEditedByUserFilterZod>;
2344
+ export type NotionCreatedByFilter = z.infer<typeof NotionCreatedByFilterZod>;
2345
+ export type NotionLastEditedByFilter = z.infer<typeof NotionLastEditedByFilterZod>;
2346
+ export type NotionPropertyFilter = z.infer<typeof NotionPropertyFilterZod>;
2347
+ export type NotionCreatedTimeFilter = z.infer<typeof NotionCreatedTimeFilterZod>;
2348
+ export type NotionLastEditedTimeFilter = z.infer<typeof NotionLastEditedTimeFilterZod>;
2349
+ export type NotionCompoundFilter = z.infer<typeof NotionCompoundFilterZod>;
2350
+ export type NotionFilter = z.infer<typeof NotionFilterZod>;
2351
+ export type NotionPropertySort = z.infer<typeof NotionPropertySortZod>;
2352
+ export type NotionTimestampSort = z.infer<typeof NotionTimestampSortZod>;
2353
+ export type NotionSort = z.infer<typeof NotionSortZod>;
2354
+ export type NotionDatabaseQueryOptions = z.infer<typeof NotionDatabaseQueryOptionsZod>;
2355
+ export type NotionPageObject = z.infer<typeof NotionPageObjectZod>;
2356
+ export type NotionDatabaseQueryResponse = z.infer<typeof NotionDatabaseQueryResponseZod>;
2357
+ export declare const NotionRichTextItemZod: z.ZodObject<{
2358
+ type: z.ZodLiteral<"text">;
2359
+ text: z.ZodObject<{
2360
+ content: z.ZodString;
2361
+ link: z.ZodNullable<z.ZodObject<{
2362
+ url: z.ZodString;
2363
+ }, "strip", z.ZodTypeAny, {
2364
+ url: string;
2365
+ }, {
2366
+ url: string;
2367
+ }>>;
2368
+ }, "strip", z.ZodTypeAny, {
2369
+ content: string;
2370
+ link: {
2371
+ url: string;
2372
+ } | null;
2373
+ }, {
2374
+ content: string;
2375
+ link: {
2376
+ url: string;
2377
+ } | null;
2378
+ }>;
2379
+ annotations: z.ZodObject<{
2380
+ bold: z.ZodBoolean;
2381
+ italic: z.ZodBoolean;
2382
+ strikethrough: z.ZodBoolean;
2383
+ underline: z.ZodBoolean;
2384
+ code: z.ZodBoolean;
2385
+ color: z.ZodString;
2386
+ }, "strip", z.ZodTypeAny, {
2387
+ code: boolean;
2388
+ bold: boolean;
2389
+ italic: boolean;
2390
+ strikethrough: boolean;
2391
+ underline: boolean;
2392
+ color: string;
2393
+ }, {
2394
+ code: boolean;
2395
+ bold: boolean;
2396
+ italic: boolean;
2397
+ strikethrough: boolean;
2398
+ underline: boolean;
2399
+ color: string;
2400
+ }>;
2401
+ plain_text: z.ZodString;
2402
+ href: z.ZodNullable<z.ZodString>;
2403
+ }, "strip", z.ZodTypeAny, {
2404
+ type: "text";
2405
+ text: {
2406
+ content: string;
2407
+ link: {
2408
+ url: string;
2409
+ } | null;
2410
+ };
2411
+ annotations: {
2412
+ code: boolean;
2413
+ bold: boolean;
2414
+ italic: boolean;
2415
+ strikethrough: boolean;
2416
+ underline: boolean;
2417
+ color: string;
2418
+ };
2419
+ plain_text: string;
2420
+ href: string | null;
2421
+ }, {
2422
+ type: "text";
2423
+ text: {
2424
+ content: string;
2425
+ link: {
2426
+ url: string;
2427
+ } | null;
2428
+ };
2429
+ annotations: {
2430
+ code: boolean;
2431
+ bold: boolean;
2432
+ italic: boolean;
2433
+ strikethrough: boolean;
2434
+ underline: boolean;
2435
+ color: string;
2436
+ };
2437
+ plain_text: string;
2438
+ href: string | null;
2439
+ }>;
2440
+ export declare const NotionTitlePropertyValueZod: z.ZodObject<{
2441
+ id: z.ZodString;
2442
+ type: z.ZodLiteral<"title">;
2443
+ title: z.ZodArray<z.ZodObject<{
2444
+ type: z.ZodLiteral<"text">;
2445
+ text: z.ZodObject<{
2446
+ content: z.ZodString;
2447
+ link: z.ZodNullable<z.ZodObject<{
2448
+ url: z.ZodString;
2449
+ }, "strip", z.ZodTypeAny, {
2450
+ url: string;
2451
+ }, {
2452
+ url: string;
2453
+ }>>;
2454
+ }, "strip", z.ZodTypeAny, {
2455
+ content: string;
2456
+ link: {
2457
+ url: string;
2458
+ } | null;
2459
+ }, {
2460
+ content: string;
2461
+ link: {
2462
+ url: string;
2463
+ } | null;
2464
+ }>;
2465
+ annotations: z.ZodObject<{
2466
+ bold: z.ZodBoolean;
2467
+ italic: z.ZodBoolean;
2468
+ strikethrough: z.ZodBoolean;
2469
+ underline: z.ZodBoolean;
2470
+ code: z.ZodBoolean;
2471
+ color: z.ZodString;
2472
+ }, "strip", z.ZodTypeAny, {
2473
+ code: boolean;
2474
+ bold: boolean;
2475
+ italic: boolean;
2476
+ strikethrough: boolean;
2477
+ underline: boolean;
2478
+ color: string;
2479
+ }, {
2480
+ code: boolean;
2481
+ bold: boolean;
2482
+ italic: boolean;
2483
+ strikethrough: boolean;
2484
+ underline: boolean;
2485
+ color: string;
2486
+ }>;
2487
+ plain_text: z.ZodString;
2488
+ href: z.ZodNullable<z.ZodString>;
2489
+ }, "strip", z.ZodTypeAny, {
2490
+ type: "text";
2491
+ text: {
2492
+ content: string;
2493
+ link: {
2494
+ url: string;
2495
+ } | null;
2496
+ };
2497
+ annotations: {
2498
+ code: boolean;
2499
+ bold: boolean;
2500
+ italic: boolean;
2501
+ strikethrough: boolean;
2502
+ underline: boolean;
2503
+ color: string;
2504
+ };
2505
+ plain_text: string;
2506
+ href: string | null;
2507
+ }, {
2508
+ type: "text";
2509
+ text: {
2510
+ content: string;
2511
+ link: {
2512
+ url: string;
2513
+ } | null;
2514
+ };
2515
+ annotations: {
2516
+ code: boolean;
2517
+ bold: boolean;
2518
+ italic: boolean;
2519
+ strikethrough: boolean;
2520
+ underline: boolean;
2521
+ color: string;
2522
+ };
2523
+ plain_text: string;
2524
+ href: string | null;
2525
+ }>, "many">;
2526
+ }, "strip", z.ZodTypeAny, {
2527
+ type: "title";
2528
+ id: string;
2529
+ title: {
2530
+ type: "text";
2531
+ text: {
2532
+ content: string;
2533
+ link: {
2534
+ url: string;
2535
+ } | null;
2536
+ };
2537
+ annotations: {
2538
+ code: boolean;
2539
+ bold: boolean;
2540
+ italic: boolean;
2541
+ strikethrough: boolean;
2542
+ underline: boolean;
2543
+ color: string;
2544
+ };
2545
+ plain_text: string;
2546
+ href: string | null;
2547
+ }[];
2548
+ }, {
2549
+ type: "title";
2550
+ id: string;
2551
+ title: {
2552
+ type: "text";
2553
+ text: {
2554
+ content: string;
2555
+ link: {
2556
+ url: string;
2557
+ } | null;
2558
+ };
2559
+ annotations: {
2560
+ code: boolean;
2561
+ bold: boolean;
2562
+ italic: boolean;
2563
+ strikethrough: boolean;
2564
+ underline: boolean;
2565
+ color: string;
2566
+ };
2567
+ plain_text: string;
2568
+ href: string | null;
2569
+ }[];
2570
+ }>;
2571
+ export declare const NotionRichTextPropertyValueZod: z.ZodObject<{
2572
+ id: z.ZodString;
2573
+ type: z.ZodLiteral<"rich_text">;
2574
+ rich_text: z.ZodArray<z.ZodObject<{
2575
+ type: z.ZodLiteral<"text">;
2576
+ text: z.ZodObject<{
2577
+ content: z.ZodString;
2578
+ link: z.ZodNullable<z.ZodObject<{
2579
+ url: z.ZodString;
2580
+ }, "strip", z.ZodTypeAny, {
2581
+ url: string;
2582
+ }, {
2583
+ url: string;
2584
+ }>>;
2585
+ }, "strip", z.ZodTypeAny, {
2586
+ content: string;
2587
+ link: {
2588
+ url: string;
2589
+ } | null;
2590
+ }, {
2591
+ content: string;
2592
+ link: {
2593
+ url: string;
2594
+ } | null;
2595
+ }>;
2596
+ annotations: z.ZodObject<{
2597
+ bold: z.ZodBoolean;
2598
+ italic: z.ZodBoolean;
2599
+ strikethrough: z.ZodBoolean;
2600
+ underline: z.ZodBoolean;
2601
+ code: z.ZodBoolean;
2602
+ color: z.ZodString;
2603
+ }, "strip", z.ZodTypeAny, {
2604
+ code: boolean;
2605
+ bold: boolean;
2606
+ italic: boolean;
2607
+ strikethrough: boolean;
2608
+ underline: boolean;
2609
+ color: string;
2610
+ }, {
2611
+ code: boolean;
2612
+ bold: boolean;
2613
+ italic: boolean;
2614
+ strikethrough: boolean;
2615
+ underline: boolean;
2616
+ color: string;
2617
+ }>;
2618
+ plain_text: z.ZodString;
2619
+ href: z.ZodNullable<z.ZodString>;
2620
+ }, "strip", z.ZodTypeAny, {
2621
+ type: "text";
2622
+ text: {
2623
+ content: string;
2624
+ link: {
2625
+ url: string;
2626
+ } | null;
2627
+ };
2628
+ annotations: {
2629
+ code: boolean;
2630
+ bold: boolean;
2631
+ italic: boolean;
2632
+ strikethrough: boolean;
2633
+ underline: boolean;
2634
+ color: string;
2635
+ };
2636
+ plain_text: string;
2637
+ href: string | null;
2638
+ }, {
2639
+ type: "text";
2640
+ text: {
2641
+ content: string;
2642
+ link: {
2643
+ url: string;
2644
+ } | null;
2645
+ };
2646
+ annotations: {
2647
+ code: boolean;
2648
+ bold: boolean;
2649
+ italic: boolean;
2650
+ strikethrough: boolean;
2651
+ underline: boolean;
2652
+ color: string;
2653
+ };
2654
+ plain_text: string;
2655
+ href: string | null;
2656
+ }>, "many">;
2657
+ }, "strip", z.ZodTypeAny, {
2658
+ type: "rich_text";
2659
+ id: string;
2660
+ rich_text: {
2661
+ type: "text";
2662
+ text: {
2663
+ content: string;
2664
+ link: {
2665
+ url: string;
2666
+ } | null;
2667
+ };
2668
+ annotations: {
2669
+ code: boolean;
2670
+ bold: boolean;
2671
+ italic: boolean;
2672
+ strikethrough: boolean;
2673
+ underline: boolean;
2674
+ color: string;
2675
+ };
2676
+ plain_text: string;
2677
+ href: string | null;
2678
+ }[];
2679
+ }, {
2680
+ type: "rich_text";
2681
+ id: string;
2682
+ rich_text: {
2683
+ type: "text";
2684
+ text: {
2685
+ content: string;
2686
+ link: {
2687
+ url: string;
2688
+ } | null;
2689
+ };
2690
+ annotations: {
2691
+ code: boolean;
2692
+ bold: boolean;
2693
+ italic: boolean;
2694
+ strikethrough: boolean;
2695
+ underline: boolean;
2696
+ color: string;
2697
+ };
2698
+ plain_text: string;
2699
+ href: string | null;
2700
+ }[];
2701
+ }>;
2702
+ export declare const NotionSelectPropertyValueZod: z.ZodObject<{
2703
+ id: z.ZodString;
2704
+ type: z.ZodLiteral<"select">;
2705
+ select: z.ZodNullable<z.ZodObject<{
2706
+ id: z.ZodString;
2707
+ name: z.ZodString;
2708
+ color: z.ZodString;
2709
+ }, "strip", z.ZodTypeAny, {
2710
+ id: string;
2711
+ name: string;
2712
+ color: string;
2713
+ }, {
2714
+ id: string;
2715
+ name: string;
2716
+ color: string;
2717
+ }>>;
2718
+ }, "strip", z.ZodTypeAny, {
2719
+ type: "select";
2720
+ id: string;
2721
+ select: {
2722
+ id: string;
2723
+ name: string;
2724
+ color: string;
2725
+ } | null;
2726
+ }, {
2727
+ type: "select";
2728
+ id: string;
2729
+ select: {
2730
+ id: string;
2731
+ name: string;
2732
+ color: string;
2733
+ } | null;
2734
+ }>;
2735
+ export declare const NotionNumberPropertyValueZod: z.ZodObject<{
2736
+ id: z.ZodString;
2737
+ type: z.ZodLiteral<"number">;
2738
+ number: z.ZodNullable<z.ZodNumber>;
2739
+ }, "strip", z.ZodTypeAny, {
2740
+ number: number | null;
2741
+ type: "number";
2742
+ id: string;
2743
+ }, {
2744
+ number: number | null;
2745
+ type: "number";
2746
+ id: string;
2747
+ }>;
2748
+ export declare const NotionCheckboxPropertyValueZod: z.ZodObject<{
2749
+ id: z.ZodString;
2750
+ type: z.ZodLiteral<"checkbox">;
2751
+ checkbox: z.ZodBoolean;
2752
+ }, "strip", z.ZodTypeAny, {
2753
+ type: "checkbox";
2754
+ id: string;
2755
+ checkbox: boolean;
2756
+ }, {
2757
+ type: "checkbox";
2758
+ id: string;
2759
+ checkbox: boolean;
2760
+ }>;
2761
+ export declare const NotionDatePropertyValueZod: z.ZodObject<{
2762
+ id: z.ZodString;
2763
+ type: z.ZodLiteral<"date">;
2764
+ date: z.ZodNullable<z.ZodObject<{
2765
+ start: z.ZodString;
2766
+ end: z.ZodNullable<z.ZodString>;
2767
+ time_zone: z.ZodNullable<z.ZodString>;
2768
+ }, "strip", z.ZodTypeAny, {
2769
+ start: string;
2770
+ end: string | null;
2771
+ time_zone: string | null;
2772
+ }, {
2773
+ start: string;
2774
+ end: string | null;
2775
+ time_zone: string | null;
2776
+ }>>;
2777
+ }, "strip", z.ZodTypeAny, {
2778
+ type: "date";
2779
+ id: string;
2780
+ date: {
2781
+ start: string;
2782
+ end: string | null;
2783
+ time_zone: string | null;
2784
+ } | null;
2785
+ }, {
2786
+ type: "date";
2787
+ id: string;
2788
+ date: {
2789
+ start: string;
2790
+ end: string | null;
2791
+ time_zone: string | null;
2792
+ } | null;
2793
+ }>;
2794
+ export declare const NotionPropertyValueZod: z.ZodUnion<[z.ZodObject<{
2795
+ id: z.ZodString;
2796
+ type: z.ZodLiteral<"title">;
2797
+ title: z.ZodArray<z.ZodObject<{
2798
+ type: z.ZodLiteral<"text">;
2799
+ text: z.ZodObject<{
2800
+ content: z.ZodString;
2801
+ link: z.ZodNullable<z.ZodObject<{
2802
+ url: z.ZodString;
2803
+ }, "strip", z.ZodTypeAny, {
2804
+ url: string;
2805
+ }, {
2806
+ url: string;
2807
+ }>>;
2808
+ }, "strip", z.ZodTypeAny, {
2809
+ content: string;
2810
+ link: {
2811
+ url: string;
2812
+ } | null;
2813
+ }, {
2814
+ content: string;
2815
+ link: {
2816
+ url: string;
2817
+ } | null;
2818
+ }>;
2819
+ annotations: z.ZodObject<{
2820
+ bold: z.ZodBoolean;
2821
+ italic: z.ZodBoolean;
2822
+ strikethrough: z.ZodBoolean;
2823
+ underline: z.ZodBoolean;
2824
+ code: z.ZodBoolean;
2825
+ color: z.ZodString;
2826
+ }, "strip", z.ZodTypeAny, {
2827
+ code: boolean;
2828
+ bold: boolean;
2829
+ italic: boolean;
2830
+ strikethrough: boolean;
2831
+ underline: boolean;
2832
+ color: string;
2833
+ }, {
2834
+ code: boolean;
2835
+ bold: boolean;
2836
+ italic: boolean;
2837
+ strikethrough: boolean;
2838
+ underline: boolean;
2839
+ color: string;
2840
+ }>;
2841
+ plain_text: z.ZodString;
2842
+ href: z.ZodNullable<z.ZodString>;
2843
+ }, "strip", z.ZodTypeAny, {
2844
+ type: "text";
2845
+ text: {
2846
+ content: string;
2847
+ link: {
2848
+ url: string;
2849
+ } | null;
2850
+ };
2851
+ annotations: {
2852
+ code: boolean;
2853
+ bold: boolean;
2854
+ italic: boolean;
2855
+ strikethrough: boolean;
2856
+ underline: boolean;
2857
+ color: string;
2858
+ };
2859
+ plain_text: string;
2860
+ href: string | null;
2861
+ }, {
2862
+ type: "text";
2863
+ text: {
2864
+ content: string;
2865
+ link: {
2866
+ url: string;
2867
+ } | null;
2868
+ };
2869
+ annotations: {
2870
+ code: boolean;
2871
+ bold: boolean;
2872
+ italic: boolean;
2873
+ strikethrough: boolean;
2874
+ underline: boolean;
2875
+ color: string;
2876
+ };
2877
+ plain_text: string;
2878
+ href: string | null;
2879
+ }>, "many">;
2880
+ }, "strip", z.ZodTypeAny, {
2881
+ type: "title";
2882
+ id: string;
2883
+ title: {
2884
+ type: "text";
2885
+ text: {
2886
+ content: string;
2887
+ link: {
2888
+ url: string;
2889
+ } | null;
2890
+ };
2891
+ annotations: {
2892
+ code: boolean;
2893
+ bold: boolean;
2894
+ italic: boolean;
2895
+ strikethrough: boolean;
2896
+ underline: boolean;
2897
+ color: string;
2898
+ };
2899
+ plain_text: string;
2900
+ href: string | null;
2901
+ }[];
2902
+ }, {
2903
+ type: "title";
2904
+ id: string;
2905
+ title: {
2906
+ type: "text";
2907
+ text: {
2908
+ content: string;
2909
+ link: {
2910
+ url: string;
2911
+ } | null;
2912
+ };
2913
+ annotations: {
2914
+ code: boolean;
2915
+ bold: boolean;
2916
+ italic: boolean;
2917
+ strikethrough: boolean;
2918
+ underline: boolean;
2919
+ color: string;
2920
+ };
2921
+ plain_text: string;
2922
+ href: string | null;
2923
+ }[];
2924
+ }>, z.ZodObject<{
2925
+ id: z.ZodString;
2926
+ type: z.ZodLiteral<"rich_text">;
2927
+ rich_text: z.ZodArray<z.ZodObject<{
2928
+ type: z.ZodLiteral<"text">;
2929
+ text: z.ZodObject<{
2930
+ content: z.ZodString;
2931
+ link: z.ZodNullable<z.ZodObject<{
2932
+ url: z.ZodString;
2933
+ }, "strip", z.ZodTypeAny, {
2934
+ url: string;
2935
+ }, {
2936
+ url: string;
2937
+ }>>;
2938
+ }, "strip", z.ZodTypeAny, {
2939
+ content: string;
2940
+ link: {
2941
+ url: string;
2942
+ } | null;
2943
+ }, {
2944
+ content: string;
2945
+ link: {
2946
+ url: string;
2947
+ } | null;
2948
+ }>;
2949
+ annotations: z.ZodObject<{
2950
+ bold: z.ZodBoolean;
2951
+ italic: z.ZodBoolean;
2952
+ strikethrough: z.ZodBoolean;
2953
+ underline: z.ZodBoolean;
2954
+ code: z.ZodBoolean;
2955
+ color: z.ZodString;
2956
+ }, "strip", z.ZodTypeAny, {
2957
+ code: boolean;
2958
+ bold: boolean;
2959
+ italic: boolean;
2960
+ strikethrough: boolean;
2961
+ underline: boolean;
2962
+ color: string;
2963
+ }, {
2964
+ code: boolean;
2965
+ bold: boolean;
2966
+ italic: boolean;
2967
+ strikethrough: boolean;
2968
+ underline: boolean;
2969
+ color: string;
2970
+ }>;
2971
+ plain_text: z.ZodString;
2972
+ href: z.ZodNullable<z.ZodString>;
2973
+ }, "strip", z.ZodTypeAny, {
2974
+ type: "text";
2975
+ text: {
2976
+ content: string;
2977
+ link: {
2978
+ url: string;
2979
+ } | null;
2980
+ };
2981
+ annotations: {
2982
+ code: boolean;
2983
+ bold: boolean;
2984
+ italic: boolean;
2985
+ strikethrough: boolean;
2986
+ underline: boolean;
2987
+ color: string;
2988
+ };
2989
+ plain_text: string;
2990
+ href: string | null;
2991
+ }, {
2992
+ type: "text";
2993
+ text: {
2994
+ content: string;
2995
+ link: {
2996
+ url: string;
2997
+ } | null;
2998
+ };
2999
+ annotations: {
3000
+ code: boolean;
3001
+ bold: boolean;
3002
+ italic: boolean;
3003
+ strikethrough: boolean;
3004
+ underline: boolean;
3005
+ color: string;
3006
+ };
3007
+ plain_text: string;
3008
+ href: string | null;
3009
+ }>, "many">;
3010
+ }, "strip", z.ZodTypeAny, {
3011
+ type: "rich_text";
3012
+ id: string;
3013
+ rich_text: {
3014
+ type: "text";
3015
+ text: {
3016
+ content: string;
3017
+ link: {
3018
+ url: string;
3019
+ } | null;
3020
+ };
3021
+ annotations: {
3022
+ code: boolean;
3023
+ bold: boolean;
3024
+ italic: boolean;
3025
+ strikethrough: boolean;
3026
+ underline: boolean;
3027
+ color: string;
3028
+ };
3029
+ plain_text: string;
3030
+ href: string | null;
3031
+ }[];
3032
+ }, {
3033
+ type: "rich_text";
3034
+ id: string;
3035
+ rich_text: {
3036
+ type: "text";
3037
+ text: {
3038
+ content: string;
3039
+ link: {
3040
+ url: string;
3041
+ } | null;
3042
+ };
3043
+ annotations: {
3044
+ code: boolean;
3045
+ bold: boolean;
3046
+ italic: boolean;
3047
+ strikethrough: boolean;
3048
+ underline: boolean;
3049
+ color: string;
3050
+ };
3051
+ plain_text: string;
3052
+ href: string | null;
3053
+ }[];
3054
+ }>, z.ZodObject<{
3055
+ id: z.ZodString;
3056
+ type: z.ZodLiteral<"select">;
3057
+ select: z.ZodNullable<z.ZodObject<{
3058
+ id: z.ZodString;
3059
+ name: z.ZodString;
3060
+ color: z.ZodString;
3061
+ }, "strip", z.ZodTypeAny, {
3062
+ id: string;
3063
+ name: string;
3064
+ color: string;
3065
+ }, {
3066
+ id: string;
3067
+ name: string;
3068
+ color: string;
3069
+ }>>;
3070
+ }, "strip", z.ZodTypeAny, {
3071
+ type: "select";
3072
+ id: string;
3073
+ select: {
3074
+ id: string;
3075
+ name: string;
3076
+ color: string;
3077
+ } | null;
3078
+ }, {
3079
+ type: "select";
3080
+ id: string;
3081
+ select: {
3082
+ id: string;
3083
+ name: string;
3084
+ color: string;
3085
+ } | null;
3086
+ }>, z.ZodObject<{
3087
+ id: z.ZodString;
3088
+ type: z.ZodLiteral<"number">;
3089
+ number: z.ZodNullable<z.ZodNumber>;
3090
+ }, "strip", z.ZodTypeAny, {
3091
+ number: number | null;
3092
+ type: "number";
3093
+ id: string;
3094
+ }, {
3095
+ number: number | null;
3096
+ type: "number";
3097
+ id: string;
3098
+ }>, z.ZodObject<{
3099
+ id: z.ZodString;
3100
+ type: z.ZodLiteral<"checkbox">;
3101
+ checkbox: z.ZodBoolean;
3102
+ }, "strip", z.ZodTypeAny, {
3103
+ type: "checkbox";
3104
+ id: string;
3105
+ checkbox: boolean;
3106
+ }, {
3107
+ type: "checkbox";
3108
+ id: string;
3109
+ checkbox: boolean;
3110
+ }>, z.ZodObject<{
3111
+ id: z.ZodString;
3112
+ type: z.ZodLiteral<"date">;
3113
+ date: z.ZodNullable<z.ZodObject<{
3114
+ start: z.ZodString;
3115
+ end: z.ZodNullable<z.ZodString>;
3116
+ time_zone: z.ZodNullable<z.ZodString>;
3117
+ }, "strip", z.ZodTypeAny, {
3118
+ start: string;
3119
+ end: string | null;
3120
+ time_zone: string | null;
3121
+ }, {
3122
+ start: string;
3123
+ end: string | null;
3124
+ time_zone: string | null;
3125
+ }>>;
3126
+ }, "strip", z.ZodTypeAny, {
3127
+ type: "date";
3128
+ id: string;
3129
+ date: {
3130
+ start: string;
3131
+ end: string | null;
3132
+ time_zone: string | null;
3133
+ } | null;
3134
+ }, {
3135
+ type: "date";
3136
+ id: string;
3137
+ date: {
3138
+ start: string;
3139
+ end: string | null;
3140
+ time_zone: string | null;
3141
+ } | null;
3142
+ }>, z.ZodObject<{
3143
+ type: z.ZodString;
3144
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3145
+ type: z.ZodString;
3146
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3147
+ type: z.ZodString;
3148
+ }, z.ZodTypeAny, "passthrough">>]>;
3149
+ export declare const NotionPagePropertiesZod: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
3150
+ id: z.ZodString;
3151
+ type: z.ZodLiteral<"title">;
3152
+ title: z.ZodArray<z.ZodObject<{
3153
+ type: z.ZodLiteral<"text">;
3154
+ text: z.ZodObject<{
3155
+ content: z.ZodString;
3156
+ link: z.ZodNullable<z.ZodObject<{
3157
+ url: z.ZodString;
3158
+ }, "strip", z.ZodTypeAny, {
3159
+ url: string;
3160
+ }, {
3161
+ url: string;
3162
+ }>>;
3163
+ }, "strip", z.ZodTypeAny, {
3164
+ content: string;
3165
+ link: {
3166
+ url: string;
3167
+ } | null;
3168
+ }, {
3169
+ content: string;
3170
+ link: {
3171
+ url: string;
3172
+ } | null;
3173
+ }>;
3174
+ annotations: z.ZodObject<{
3175
+ bold: z.ZodBoolean;
3176
+ italic: z.ZodBoolean;
3177
+ strikethrough: z.ZodBoolean;
3178
+ underline: z.ZodBoolean;
3179
+ code: z.ZodBoolean;
3180
+ color: z.ZodString;
3181
+ }, "strip", z.ZodTypeAny, {
3182
+ code: boolean;
3183
+ bold: boolean;
3184
+ italic: boolean;
3185
+ strikethrough: boolean;
3186
+ underline: boolean;
3187
+ color: string;
3188
+ }, {
3189
+ code: boolean;
3190
+ bold: boolean;
3191
+ italic: boolean;
3192
+ strikethrough: boolean;
3193
+ underline: boolean;
3194
+ color: string;
3195
+ }>;
3196
+ plain_text: z.ZodString;
3197
+ href: z.ZodNullable<z.ZodString>;
3198
+ }, "strip", z.ZodTypeAny, {
3199
+ type: "text";
3200
+ text: {
3201
+ content: string;
3202
+ link: {
3203
+ url: string;
3204
+ } | null;
3205
+ };
3206
+ annotations: {
3207
+ code: boolean;
3208
+ bold: boolean;
3209
+ italic: boolean;
3210
+ strikethrough: boolean;
3211
+ underline: boolean;
3212
+ color: string;
3213
+ };
3214
+ plain_text: string;
3215
+ href: string | null;
3216
+ }, {
3217
+ type: "text";
3218
+ text: {
3219
+ content: string;
3220
+ link: {
3221
+ url: string;
3222
+ } | null;
3223
+ };
3224
+ annotations: {
3225
+ code: boolean;
3226
+ bold: boolean;
3227
+ italic: boolean;
3228
+ strikethrough: boolean;
3229
+ underline: boolean;
3230
+ color: string;
3231
+ };
3232
+ plain_text: string;
3233
+ href: string | null;
3234
+ }>, "many">;
3235
+ }, "strip", z.ZodTypeAny, {
3236
+ type: "title";
3237
+ id: string;
3238
+ title: {
3239
+ type: "text";
3240
+ text: {
3241
+ content: string;
3242
+ link: {
3243
+ url: string;
3244
+ } | null;
3245
+ };
3246
+ annotations: {
3247
+ code: boolean;
3248
+ bold: boolean;
3249
+ italic: boolean;
3250
+ strikethrough: boolean;
3251
+ underline: boolean;
3252
+ color: string;
3253
+ };
3254
+ plain_text: string;
3255
+ href: string | null;
3256
+ }[];
3257
+ }, {
3258
+ type: "title";
3259
+ id: string;
3260
+ title: {
3261
+ type: "text";
3262
+ text: {
3263
+ content: string;
3264
+ link: {
3265
+ url: string;
3266
+ } | null;
3267
+ };
3268
+ annotations: {
3269
+ code: boolean;
3270
+ bold: boolean;
3271
+ italic: boolean;
3272
+ strikethrough: boolean;
3273
+ underline: boolean;
3274
+ color: string;
3275
+ };
3276
+ plain_text: string;
3277
+ href: string | null;
3278
+ }[];
3279
+ }>, z.ZodObject<{
3280
+ id: z.ZodString;
3281
+ type: z.ZodLiteral<"rich_text">;
3282
+ rich_text: z.ZodArray<z.ZodObject<{
3283
+ type: z.ZodLiteral<"text">;
3284
+ text: z.ZodObject<{
3285
+ content: z.ZodString;
3286
+ link: z.ZodNullable<z.ZodObject<{
3287
+ url: z.ZodString;
3288
+ }, "strip", z.ZodTypeAny, {
3289
+ url: string;
3290
+ }, {
3291
+ url: string;
3292
+ }>>;
3293
+ }, "strip", z.ZodTypeAny, {
3294
+ content: string;
3295
+ link: {
3296
+ url: string;
3297
+ } | null;
3298
+ }, {
3299
+ content: string;
3300
+ link: {
3301
+ url: string;
3302
+ } | null;
3303
+ }>;
3304
+ annotations: z.ZodObject<{
3305
+ bold: z.ZodBoolean;
3306
+ italic: z.ZodBoolean;
3307
+ strikethrough: z.ZodBoolean;
3308
+ underline: z.ZodBoolean;
3309
+ code: z.ZodBoolean;
3310
+ color: z.ZodString;
3311
+ }, "strip", z.ZodTypeAny, {
3312
+ code: boolean;
3313
+ bold: boolean;
3314
+ italic: boolean;
3315
+ strikethrough: boolean;
3316
+ underline: boolean;
3317
+ color: string;
3318
+ }, {
3319
+ code: boolean;
3320
+ bold: boolean;
3321
+ italic: boolean;
3322
+ strikethrough: boolean;
3323
+ underline: boolean;
3324
+ color: string;
3325
+ }>;
3326
+ plain_text: z.ZodString;
3327
+ href: z.ZodNullable<z.ZodString>;
3328
+ }, "strip", z.ZodTypeAny, {
3329
+ type: "text";
3330
+ text: {
3331
+ content: string;
3332
+ link: {
3333
+ url: string;
3334
+ } | null;
3335
+ };
3336
+ annotations: {
3337
+ code: boolean;
3338
+ bold: boolean;
3339
+ italic: boolean;
3340
+ strikethrough: boolean;
3341
+ underline: boolean;
3342
+ color: string;
3343
+ };
3344
+ plain_text: string;
3345
+ href: string | null;
3346
+ }, {
3347
+ type: "text";
3348
+ text: {
3349
+ content: string;
3350
+ link: {
3351
+ url: string;
3352
+ } | null;
3353
+ };
3354
+ annotations: {
3355
+ code: boolean;
3356
+ bold: boolean;
3357
+ italic: boolean;
3358
+ strikethrough: boolean;
3359
+ underline: boolean;
3360
+ color: string;
3361
+ };
3362
+ plain_text: string;
3363
+ href: string | null;
3364
+ }>, "many">;
3365
+ }, "strip", z.ZodTypeAny, {
3366
+ type: "rich_text";
3367
+ id: string;
3368
+ rich_text: {
3369
+ type: "text";
3370
+ text: {
3371
+ content: string;
3372
+ link: {
3373
+ url: string;
3374
+ } | null;
3375
+ };
3376
+ annotations: {
3377
+ code: boolean;
3378
+ bold: boolean;
3379
+ italic: boolean;
3380
+ strikethrough: boolean;
3381
+ underline: boolean;
3382
+ color: string;
3383
+ };
3384
+ plain_text: string;
3385
+ href: string | null;
3386
+ }[];
3387
+ }, {
3388
+ type: "rich_text";
3389
+ id: string;
3390
+ rich_text: {
3391
+ type: "text";
3392
+ text: {
3393
+ content: string;
3394
+ link: {
3395
+ url: string;
3396
+ } | null;
3397
+ };
3398
+ annotations: {
3399
+ code: boolean;
3400
+ bold: boolean;
3401
+ italic: boolean;
3402
+ strikethrough: boolean;
3403
+ underline: boolean;
3404
+ color: string;
3405
+ };
3406
+ plain_text: string;
3407
+ href: string | null;
3408
+ }[];
3409
+ }>, z.ZodObject<{
3410
+ id: z.ZodString;
3411
+ type: z.ZodLiteral<"select">;
3412
+ select: z.ZodNullable<z.ZodObject<{
3413
+ id: z.ZodString;
3414
+ name: z.ZodString;
3415
+ color: z.ZodString;
3416
+ }, "strip", z.ZodTypeAny, {
3417
+ id: string;
3418
+ name: string;
3419
+ color: string;
3420
+ }, {
3421
+ id: string;
3422
+ name: string;
3423
+ color: string;
3424
+ }>>;
3425
+ }, "strip", z.ZodTypeAny, {
3426
+ type: "select";
3427
+ id: string;
3428
+ select: {
3429
+ id: string;
3430
+ name: string;
3431
+ color: string;
3432
+ } | null;
3433
+ }, {
3434
+ type: "select";
3435
+ id: string;
3436
+ select: {
3437
+ id: string;
3438
+ name: string;
3439
+ color: string;
3440
+ } | null;
3441
+ }>, z.ZodObject<{
3442
+ id: z.ZodString;
3443
+ type: z.ZodLiteral<"number">;
3444
+ number: z.ZodNullable<z.ZodNumber>;
3445
+ }, "strip", z.ZodTypeAny, {
3446
+ number: number | null;
3447
+ type: "number";
3448
+ id: string;
3449
+ }, {
3450
+ number: number | null;
3451
+ type: "number";
3452
+ id: string;
3453
+ }>, z.ZodObject<{
3454
+ id: z.ZodString;
3455
+ type: z.ZodLiteral<"checkbox">;
3456
+ checkbox: z.ZodBoolean;
3457
+ }, "strip", z.ZodTypeAny, {
3458
+ type: "checkbox";
3459
+ id: string;
3460
+ checkbox: boolean;
3461
+ }, {
3462
+ type: "checkbox";
3463
+ id: string;
3464
+ checkbox: boolean;
3465
+ }>, z.ZodObject<{
3466
+ id: z.ZodString;
3467
+ type: z.ZodLiteral<"date">;
3468
+ date: z.ZodNullable<z.ZodObject<{
3469
+ start: z.ZodString;
3470
+ end: z.ZodNullable<z.ZodString>;
3471
+ time_zone: z.ZodNullable<z.ZodString>;
3472
+ }, "strip", z.ZodTypeAny, {
3473
+ start: string;
3474
+ end: string | null;
3475
+ time_zone: string | null;
3476
+ }, {
3477
+ start: string;
3478
+ end: string | null;
3479
+ time_zone: string | null;
3480
+ }>>;
3481
+ }, "strip", z.ZodTypeAny, {
3482
+ type: "date";
3483
+ id: string;
3484
+ date: {
3485
+ start: string;
3486
+ end: string | null;
3487
+ time_zone: string | null;
3488
+ } | null;
3489
+ }, {
3490
+ type: "date";
3491
+ id: string;
3492
+ date: {
3493
+ start: string;
3494
+ end: string | null;
3495
+ time_zone: string | null;
3496
+ } | null;
3497
+ }>, z.ZodObject<{
3498
+ type: z.ZodString;
3499
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3500
+ type: z.ZodString;
3501
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3502
+ type: z.ZodString;
3503
+ }, z.ZodTypeAny, "passthrough">>]>>;
3504
+ export declare const NotionSyncLogZod: z.ZodObject<{
3505
+ success: z.ZodBoolean;
3506
+ pagesCount: z.ZodOptional<z.ZodNumber>;
3507
+ savedPages: z.ZodOptional<z.ZodNumber>;
3508
+ timestamp: z.ZodString;
3509
+ error: z.ZodOptional<z.ZodString>;
3510
+ rawApiResponses: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3511
+ }, "strip", z.ZodTypeAny, {
3512
+ timestamp: string;
3513
+ success: boolean;
3514
+ error?: string | undefined;
3515
+ pagesCount?: number | undefined;
3516
+ savedPages?: number | undefined;
3517
+ rawApiResponses?: any[] | undefined;
3518
+ }, {
3519
+ timestamp: string;
3520
+ success: boolean;
3521
+ error?: string | undefined;
3522
+ pagesCount?: number | undefined;
3523
+ savedPages?: number | undefined;
3524
+ rawApiResponses?: any[] | undefined;
3525
+ }>;
3526
+ export declare const NotionLogContextZod: z.ZodObject<{
3527
+ queueName: z.ZodString;
3528
+ jobId: z.ZodString;
3529
+ jobName: z.ZodString;
3530
+ shouldAlert: z.ZodOptional<z.ZodBoolean>;
3531
+ } & {
3532
+ notionDatabaseId: z.ZodString;
3533
+ }, "strip", z.ZodTypeAny, {
3534
+ queueName: string;
3535
+ jobId: string;
3536
+ jobName: string;
3537
+ notionDatabaseId: string;
3538
+ shouldAlert?: boolean | undefined;
3539
+ }, {
3540
+ queueName: string;
3541
+ jobId: string;
3542
+ jobName: string;
3543
+ notionDatabaseId: string;
3544
+ shouldAlert?: boolean | undefined;
3545
+ }>;
3546
+ export declare const NotionPageProcessingResultZod: z.ZodObject<{
3547
+ notionDatabase: z.ZodNullable<z.ZodObject<{
3548
+ id: z.ZodString;
3549
+ __entity: z.ZodOptional<z.ZodString>;
3550
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3551
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3552
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
3553
+ } & {
3554
+ name: z.ZodString;
3555
+ tid: z.ZodString;
3556
+ sync: z.ZodBoolean;
3557
+ display: z.ZodBoolean;
3558
+ syncLog: z.ZodNullable<z.ZodString>;
3559
+ }, "strip", z.ZodTypeAny, {
3560
+ id: string;
3561
+ createdAt: string | Date;
3562
+ updatedAt: string | Date;
3563
+ deletedAt: string | Date | null;
3564
+ name: string;
3565
+ tid: string;
3566
+ sync: boolean;
3567
+ display: boolean;
3568
+ syncLog: string | null;
3569
+ __entity?: string | undefined;
3570
+ }, {
3571
+ id: string;
3572
+ createdAt: string | Date;
3573
+ updatedAt: string | Date;
3574
+ deletedAt: string | Date | null;
3575
+ name: string;
3576
+ tid: string;
3577
+ sync: boolean;
3578
+ display: boolean;
3579
+ syncLog: string | null;
3580
+ __entity?: string | undefined;
3581
+ }>>;
3582
+ pagesCount: z.ZodNumber;
3583
+ savedPages: z.ZodNumber;
3584
+ }, "strip", z.ZodTypeAny, {
3585
+ pagesCount: number;
3586
+ savedPages: number;
3587
+ notionDatabase: {
3588
+ id: string;
3589
+ createdAt: string | Date;
3590
+ updatedAt: string | Date;
3591
+ deletedAt: string | Date | null;
3592
+ name: string;
3593
+ tid: string;
3594
+ sync: boolean;
3595
+ display: boolean;
3596
+ syncLog: string | null;
3597
+ __entity?: string | undefined;
3598
+ } | null;
3599
+ }, {
3600
+ pagesCount: number;
3601
+ savedPages: number;
3602
+ notionDatabase: {
3603
+ id: string;
3604
+ createdAt: string | Date;
3605
+ updatedAt: string | Date;
3606
+ deletedAt: string | Date | null;
3607
+ name: string;
3608
+ tid: string;
3609
+ sync: boolean;
3610
+ display: boolean;
3611
+ syncLog: string | null;
3612
+ __entity?: string | undefined;
3613
+ } | null;
3614
+ }>;
3615
+ export type NotionRichTextItem = z.infer<typeof NotionRichTextItemZod>;
3616
+ export type NotionTitlePropertyValue = z.infer<typeof NotionTitlePropertyValueZod>;
3617
+ export type NotionRichTextPropertyValue = z.infer<typeof NotionRichTextPropertyValueZod>;
3618
+ export type NotionSelectPropertyValue = z.infer<typeof NotionSelectPropertyValueZod>;
3619
+ export type NotionNumberPropertyValue = z.infer<typeof NotionNumberPropertyValueZod>;
3620
+ export type NotionCheckboxPropertyValue = z.infer<typeof NotionCheckboxPropertyValueZod>;
3621
+ export type NotionDatePropertyValue = z.infer<typeof NotionDatePropertyValueZod>;
3622
+ export type NotionPropertyValue = z.infer<typeof NotionPropertyValueZod>;
3623
+ export type NotionPageProperties = z.infer<typeof NotionPagePropertiesZod>;
3624
+ export type NotionSyncLog = z.infer<typeof NotionSyncLogZod>;
3625
+ export type NotionLogContext = z.infer<typeof NotionLogContextZod>;
3626
+ export type NotionPageProcessingResult = z.infer<typeof NotionPageProcessingResultZod>;