attio 0.0.1-experimental.20250728 → 0.0.1-experimental.20250731

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 (370) hide show
  1. package/lib/client/alert.d.ts +1 -29
  2. package/lib/client/alert.d.ts.map +1 -0
  3. package/lib/client/alert.js +3 -0
  4. package/lib/client/alert.js.map +1 -0
  5. package/lib/client/bulk-record-action.d.ts +1 -45
  6. package/lib/client/bulk-record-action.d.ts.map +1 -0
  7. package/lib/client/bulk-record-action.js +3 -0
  8. package/lib/client/bulk-record-action.js.map +1 -0
  9. package/lib/client/call-recording-insight-text-selection-action.d.ts +1 -42
  10. package/lib/client/call-recording-insight-text-selection-action.d.ts.map +1 -0
  11. package/lib/client/call-recording-insight-text-selection-action.js +3 -0
  12. package/lib/client/call-recording-insight-text-selection-action.js.map +1 -0
  13. package/lib/client/call-recording-summary-text-selection-action.d.ts +1 -42
  14. package/lib/client/call-recording-summary-text-selection-action.d.ts.map +1 -0
  15. package/lib/client/call-recording-summary-text-selection-action.js +3 -0
  16. package/lib/client/call-recording-summary-text-selection-action.js.map +1 -0
  17. package/lib/client/call-recording-transcript-text-selection-action.d.ts +1 -50
  18. package/lib/client/call-recording-transcript-text-selection-action.d.ts.map +1 -0
  19. package/lib/client/call-recording-transcript-text-selection-action.js +3 -0
  20. package/lib/client/call-recording-transcript-text-selection-action.js.map +1 -0
  21. package/lib/client/components/avatar.d.ts +1 -24
  22. package/lib/client/components/avatar.d.ts.map +1 -0
  23. package/lib/client/components/avatar.js +3 -0
  24. package/lib/client/components/avatar.js.map +1 -0
  25. package/lib/client/components/badge.d.ts +1 -4
  26. package/lib/client/components/badge.d.ts.map +1 -0
  27. package/lib/client/components/badge.js +3 -0
  28. package/lib/client/components/badge.js.map +1 -0
  29. package/lib/client/components/button.d.ts +1 -25
  30. package/lib/client/components/button.d.ts.map +1 -0
  31. package/lib/client/components/button.js +3 -0
  32. package/lib/client/components/button.js.map +1 -0
  33. package/lib/client/components/column.d.ts +1 -8
  34. package/lib/client/components/column.d.ts.map +1 -0
  35. package/lib/client/components/column.js +3 -0
  36. package/lib/client/components/column.js.map +1 -0
  37. package/lib/client/components/combobox.d.ts +1 -57
  38. package/lib/client/components/combobox.d.ts.map +1 -0
  39. package/lib/client/components/combobox.js +3 -0
  40. package/lib/client/components/combobox.js.map +1 -0
  41. package/lib/client/components/dialog-list.d.ts +1 -22
  42. package/lib/client/components/dialog-list.d.ts.map +1 -0
  43. package/lib/client/components/dialog-list.js +3 -0
  44. package/lib/client/components/dialog-list.js.map +1 -0
  45. package/lib/client/components/divider.d.ts +1 -3
  46. package/lib/client/components/divider.d.ts.map +1 -0
  47. package/lib/client/components/divider.js +3 -0
  48. package/lib/client/components/divider.js.map +1 -0
  49. package/lib/client/components/index.d.ts +1 -0
  50. package/lib/client/components/index.d.ts.map +1 -0
  51. package/lib/client/components/index.js +30 -0
  52. package/lib/client/components/index.js.map +1 -0
  53. package/lib/client/components/json.d.ts +1 -3
  54. package/lib/client/components/json.d.ts.map +1 -0
  55. package/lib/client/components/json.js +3 -0
  56. package/lib/client/components/json.js.map +1 -0
  57. package/lib/client/components/keyboard-key.d.ts +2 -7
  58. package/lib/client/components/keyboard-key.d.ts.map +1 -0
  59. package/lib/client/components/keyboard-key.js +3 -0
  60. package/lib/client/components/keyboard-key.js.map +1 -0
  61. package/lib/client/components/link.d.ts +1 -9
  62. package/lib/client/components/link.d.ts.map +1 -0
  63. package/lib/client/components/link.js +3 -0
  64. package/lib/client/components/link.js.map +1 -0
  65. package/lib/client/components/row.d.ts +1 -13
  66. package/lib/client/components/row.d.ts.map +1 -0
  67. package/lib/client/components/row.js +3 -0
  68. package/lib/client/components/row.js.map +1 -0
  69. package/lib/client/components/section.d.ts +1 -11
  70. package/lib/client/components/section.d.ts.map +1 -0
  71. package/lib/client/components/section.js +3 -0
  72. package/lib/client/components/section.js.map +1 -0
  73. package/lib/client/components/text-block.d.ts +1 -11
  74. package/lib/client/components/text-block.d.ts.map +1 -0
  75. package/lib/client/components/text-block.js +3 -0
  76. package/lib/client/components/text-block.js.map +1 -0
  77. package/lib/client/components/typography.d.ts +1 -13
  78. package/lib/client/components/typography.d.ts.map +1 -0
  79. package/lib/client/components/typography.js +3 -0
  80. package/lib/client/components/typography.js.map +1 -0
  81. package/lib/client/components/widget-badge.d.ts +1 -5
  82. package/lib/client/components/widget-badge.d.ts.map +1 -0
  83. package/lib/client/components/widget-badge.js +3 -0
  84. package/lib/client/components/widget-badge.js.map +1 -0
  85. package/lib/client/components/widget-loading.d.ts +1 -5
  86. package/lib/client/components/widget-loading.d.ts.map +1 -0
  87. package/lib/client/components/widget-loading.js +3 -0
  88. package/lib/client/components/widget-loading.js.map +1 -0
  89. package/lib/client/components/widget-text-primary.d.ts +1 -6
  90. package/lib/client/components/widget-text-primary.d.ts.map +1 -0
  91. package/lib/client/components/widget-text-primary.js +3 -0
  92. package/lib/client/components/widget-text-primary.js.map +1 -0
  93. package/lib/client/components/widget-text-secondary.d.ts +1 -6
  94. package/lib/client/components/widget-text-secondary.d.ts.map +1 -0
  95. package/lib/client/components/widget-text-secondary.js +3 -0
  96. package/lib/client/components/widget-text-secondary.js.map +1 -0
  97. package/lib/client/components/widget-text-widget.d.ts +1 -16
  98. package/lib/client/components/widget-text-widget.d.ts.map +1 -0
  99. package/lib/client/components/widget-text-widget.js +3 -0
  100. package/lib/client/components/widget-text-widget.js.map +1 -0
  101. package/lib/client/components/widget-title.d.ts +1 -6
  102. package/lib/client/components/widget-title.d.ts.map +1 -0
  103. package/lib/client/components/widget-title.js +3 -0
  104. package/lib/client/components/widget-title.js.map +1 -0
  105. package/lib/client/components/widget.d.ts +1 -4
  106. package/lib/client/components/widget.d.ts.map +1 -0
  107. package/lib/client/components/widget.js +3 -0
  108. package/lib/client/components/widget.js.map +1 -0
  109. package/lib/client/confirm.d.ts +1 -58
  110. package/lib/client/confirm.d.ts.map +1 -0
  111. package/lib/client/confirm.js +3 -0
  112. package/lib/client/confirm.js.map +1 -0
  113. package/lib/client/forms/array.d.ts +1 -9
  114. package/lib/client/forms/array.d.ts.map +1 -0
  115. package/lib/client/forms/array.js +3 -0
  116. package/lib/client/forms/array.js.map +1 -0
  117. package/lib/client/forms/boolean.d.ts +1 -6
  118. package/lib/client/forms/boolean.d.ts.map +1 -0
  119. package/lib/client/forms/boolean.js +3 -0
  120. package/lib/client/forms/boolean.js.map +1 -0
  121. package/lib/client/forms/index.d.ts +1 -0
  122. package/lib/client/forms/index.d.ts.map +1 -0
  123. package/lib/client/forms/index.js +12 -0
  124. package/lib/client/forms/index.js.map +1 -0
  125. package/lib/client/forms/number.d.ts +1 -24
  126. package/lib/client/forms/number.d.ts.map +1 -0
  127. package/lib/client/forms/number.js +3 -0
  128. package/lib/client/forms/number.js.map +1 -0
  129. package/lib/client/forms/path.d.ts +2 -1
  130. package/lib/client/forms/path.d.ts.map +1 -0
  131. package/lib/client/forms/path.js +3 -0
  132. package/lib/client/forms/path.js.map +1 -0
  133. package/lib/client/forms/string.d.ts +5 -39
  134. package/lib/client/forms/string.d.ts.map +1 -0
  135. package/lib/client/forms/string.js +3 -0
  136. package/lib/client/forms/string.js.map +1 -0
  137. package/lib/client/forms/value.d.ts +1 -8
  138. package/lib/client/forms/value.d.ts.map +1 -0
  139. package/lib/client/forms/value.js +3 -0
  140. package/lib/client/forms/value.js.map +1 -0
  141. package/lib/client/hooks/index.d.ts +3 -2
  142. package/lib/client/hooks/index.d.ts.map +1 -0
  143. package/lib/client/hooks/index.js +16 -0
  144. package/lib/client/hooks/index.js.map +1 -0
  145. package/lib/client/hooks/use-async-cache.d.ts +1 -62
  146. package/lib/client/hooks/use-async-cache.d.ts.map +1 -0
  147. package/lib/client/hooks/use-async-cache.js +3 -0
  148. package/lib/client/hooks/use-async-cache.js.map +1 -0
  149. package/lib/client/hooks/use-form.d.ts +5 -215
  150. package/lib/client/hooks/use-form.d.ts.map +1 -0
  151. package/lib/client/hooks/use-form.js +3 -0
  152. package/lib/client/hooks/use-form.js.map +1 -0
  153. package/lib/client/hooks/use-query.d.ts +1 -45
  154. package/lib/client/hooks/use-query.d.ts.map +1 -0
  155. package/lib/client/hooks/use-query.js +3 -0
  156. package/lib/client/hooks/use-query.js.map +1 -0
  157. package/lib/client/hooks/use-record.d.ts +1 -9
  158. package/lib/client/hooks/use-record.d.ts.map +1 -0
  159. package/lib/client/hooks/use-record.js +3 -0
  160. package/lib/client/hooks/use-record.js.map +1 -0
  161. package/lib/client/hooks/use-records.d.ts +1 -9
  162. package/lib/client/hooks/use-records.d.ts.map +1 -0
  163. package/lib/client/hooks/use-records.js +3 -0
  164. package/lib/client/hooks/use-records.js.map +1 -0
  165. package/lib/client/hooks/use-workspace.d.ts +1 -9
  166. package/lib/client/hooks/use-workspace.d.ts.map +1 -0
  167. package/lib/client/hooks/use-workspace.js +3 -0
  168. package/lib/client/hooks/use-workspace.js.map +1 -0
  169. package/lib/client/icon.d.ts +1 -0
  170. package/lib/client/icon.d.ts.map +1 -0
  171. package/lib/client/icon.js +3 -0
  172. package/lib/client/icon.js.map +1 -0
  173. package/lib/client/index.d.ts +2 -1
  174. package/lib/client/index.d.ts.map +1 -0
  175. package/lib/client/index.js +49 -0
  176. package/lib/client/index.js.map +1 -0
  177. package/lib/client/object-slug.d.ts +1 -0
  178. package/lib/client/object-slug.d.ts.map +1 -0
  179. package/lib/client/object-slug.js +3 -0
  180. package/lib/client/object-slug.js.map +1 -0
  181. package/lib/client/platform.d.ts +1 -0
  182. package/lib/client/platform.d.ts.map +1 -0
  183. package/lib/client/platform.js +3 -0
  184. package/lib/client/platform.js.map +1 -0
  185. package/lib/client/record-action.d.ts +1 -44
  186. package/lib/client/record-action.d.ts.map +1 -0
  187. package/lib/client/record-action.js +3 -0
  188. package/lib/client/record-action.js.map +1 -0
  189. package/lib/client/record-widget.d.ts +3 -52
  190. package/lib/client/record-widget.d.ts.map +1 -0
  191. package/lib/client/record-widget.js +3 -0
  192. package/lib/client/record-widget.js.map +1 -0
  193. package/lib/client/run-query.d.ts +2 -48
  194. package/lib/client/run-query.d.ts.map +1 -0
  195. package/lib/client/run-query.js +3 -0
  196. package/lib/client/run-query.js.map +1 -0
  197. package/lib/client/show-dialog.d.ts +1 -23
  198. package/lib/client/show-dialog.d.ts.map +1 -0
  199. package/lib/client/show-dialog.js +3 -0
  200. package/lib/client/show-dialog.js.map +1 -0
  201. package/lib/client/show-iframe.d.ts +1 -63
  202. package/lib/client/show-iframe.d.ts.map +1 -0
  203. package/lib/client/show-iframe.js +3 -0
  204. package/lib/client/show-iframe.js.map +1 -0
  205. package/lib/client/show-toast.d.ts +1 -48
  206. package/lib/client/show-toast.d.ts.map +1 -0
  207. package/lib/client/show-toast.js +3 -0
  208. package/lib/client/show-toast.js.map +1 -0
  209. package/lib/client/workflow/block-config/config-schema/array.d.ts +1 -5
  210. package/lib/client/workflow/block-config/config-schema/array.d.ts.map +1 -0
  211. package/lib/client/workflow/block-config/config-schema/array.js +3 -0
  212. package/lib/client/workflow/block-config/config-schema/array.js.map +1 -0
  213. package/lib/client/workflow/block-config/config-schema/attio-record.d.ts +1 -8
  214. package/lib/client/workflow/block-config/config-schema/attio-record.d.ts.map +1 -0
  215. package/lib/client/workflow/block-config/config-schema/attio-record.js +3 -0
  216. package/lib/client/workflow/block-config/config-schema/attio-record.js.map +1 -0
  217. package/lib/client/workflow/block-config/config-schema/attio-select.d.ts +1 -8
  218. package/lib/client/workflow/block-config/config-schema/attio-select.d.ts.map +1 -0
  219. package/lib/client/workflow/block-config/config-schema/attio-select.js +3 -0
  220. package/lib/client/workflow/block-config/config-schema/attio-select.js.map +1 -0
  221. package/lib/client/workflow/block-config/config-schema/friendly-node.d.ts +1 -3
  222. package/lib/client/workflow/block-config/config-schema/friendly-node.d.ts.map +1 -0
  223. package/lib/client/workflow/block-config/config-schema/friendly-node.js +3 -0
  224. package/lib/client/workflow/block-config/config-schema/friendly-node.js.map +1 -0
  225. package/lib/client/workflow/block-config/config-schema/index.d.ts +8 -7
  226. package/lib/client/workflow/block-config/config-schema/index.d.ts.map +1 -0
  227. package/lib/client/workflow/block-config/config-schema/index.js +16 -0
  228. package/lib/client/workflow/block-config/config-schema/index.js.map +1 -0
  229. package/lib/client/workflow/block-config/config-schema/node.d.ts +1 -9
  230. package/lib/client/workflow/block-config/config-schema/node.d.ts.map +1 -0
  231. package/lib/client/workflow/block-config/config-schema/node.js +3 -0
  232. package/lib/client/workflow/block-config/config-schema/node.js.map +1 -0
  233. package/lib/client/workflow/block-config/config-schema/number.d.ts +1 -8
  234. package/lib/client/workflow/block-config/config-schema/number.d.ts.map +1 -0
  235. package/lib/client/workflow/block-config/config-schema/number.js +3 -0
  236. package/lib/client/workflow/block-config/config-schema/number.js.map +1 -0
  237. package/lib/client/workflow/block-config/config-schema/path.d.ts +1 -7
  238. package/lib/client/workflow/block-config/config-schema/path.d.ts.map +1 -0
  239. package/lib/client/workflow/block-config/config-schema/path.js +3 -0
  240. package/lib/client/workflow/block-config/config-schema/path.js.map +1 -0
  241. package/lib/client/workflow/block-config/config-schema/string.d.ts +1 -8
  242. package/lib/client/workflow/block-config/config-schema/string.d.ts.map +1 -0
  243. package/lib/client/workflow/block-config/config-schema/string.js +3 -0
  244. package/lib/client/workflow/block-config/config-schema/string.js.map +1 -0
  245. package/lib/client/workflow/block-config/config-schema/struct.d.ts +1 -5
  246. package/lib/client/workflow/block-config/config-schema/struct.d.ts.map +1 -0
  247. package/lib/client/workflow/block-config/config-schema/struct.js +3 -0
  248. package/lib/client/workflow/block-config/config-schema/struct.js.map +1 -0
  249. package/lib/client/workflow/block-config/index.d.ts +1 -0
  250. package/lib/client/workflow/block-config/index.d.ts.map +1 -0
  251. package/lib/client/workflow/block-config/index.js +19 -0
  252. package/lib/client/workflow/block-config/index.js.map +1 -0
  253. package/lib/client/workflow/block-config/inputs/attio-record.d.ts +1 -3
  254. package/lib/client/workflow/block-config/inputs/attio-record.d.ts.map +1 -0
  255. package/lib/client/workflow/block-config/inputs/attio-record.js +3 -0
  256. package/lib/client/workflow/block-config/inputs/attio-record.js.map +1 -0
  257. package/lib/client/workflow/block-config/inputs/attio-select.d.ts +1 -3
  258. package/lib/client/workflow/block-config/inputs/attio-select.d.ts.map +1 -0
  259. package/lib/client/workflow/block-config/inputs/attio-select.js +3 -0
  260. package/lib/client/workflow/block-config/inputs/attio-select.js.map +1 -0
  261. package/lib/client/workflow/block-config/inputs/get-inputs.d.ts +1 -5
  262. package/lib/client/workflow/block-config/inputs/get-inputs.d.ts.map +1 -0
  263. package/lib/client/workflow/block-config/inputs/get-inputs.js +3 -0
  264. package/lib/client/workflow/block-config/inputs/get-inputs.js.map +1 -0
  265. package/lib/client/workflow/block-config/inputs/number.d.ts +1 -3
  266. package/lib/client/workflow/block-config/inputs/number.d.ts.map +1 -0
  267. package/lib/client/workflow/block-config/inputs/number.js +3 -0
  268. package/lib/client/workflow/block-config/inputs/number.js.map +1 -0
  269. package/lib/client/workflow/block-config/inputs/text.d.ts +1 -3
  270. package/lib/client/workflow/block-config/inputs/text.d.ts.map +1 -0
  271. package/lib/client/workflow/block-config/inputs/text.js +3 -0
  272. package/lib/client/workflow/block-config/inputs/text.js.map +1 -0
  273. package/lib/client/workflow/index.d.ts +1 -9
  274. package/lib/client/workflow/index.d.ts.map +1 -0
  275. package/lib/client/workflow/index.js +18 -0
  276. package/lib/client/workflow/index.js.map +1 -0
  277. package/lib/client/workflow/schema-utils/array.d.ts +1 -0
  278. package/lib/client/workflow/schema-utils/array.d.ts.map +1 -0
  279. package/lib/client/workflow/schema-utils/array.js +3 -0
  280. package/lib/client/workflow/schema-utils/array.js.map +1 -0
  281. package/lib/client/workflow/schema-utils/attio-entity-reference.d.ts +1 -0
  282. package/lib/client/workflow/schema-utils/attio-entity-reference.d.ts.map +1 -0
  283. package/lib/client/workflow/schema-utils/attio-entity-reference.js +3 -0
  284. package/lib/client/workflow/schema-utils/attio-entity-reference.js.map +1 -0
  285. package/lib/client/workflow/schema-utils/attio-select.d.ts +1 -0
  286. package/lib/client/workflow/schema-utils/attio-select.d.ts.map +1 -0
  287. package/lib/client/workflow/schema-utils/attio-select.js +3 -0
  288. package/lib/client/workflow/schema-utils/attio-select.js.map +1 -0
  289. package/lib/client/workflow/schema-utils/base-node.d.ts +1 -3
  290. package/lib/client/workflow/schema-utils/base-node.d.ts.map +1 -0
  291. package/lib/client/workflow/schema-utils/base-node.js +10 -0
  292. package/lib/client/workflow/schema-utils/base-node.js.map +1 -0
  293. package/lib/client/workflow/schema-utils/friendly.d.ts +1 -4
  294. package/lib/client/workflow/schema-utils/friendly.d.ts.map +1 -0
  295. package/lib/client/workflow/schema-utils/friendly.js +3 -0
  296. package/lib/client/workflow/schema-utils/friendly.js.map +1 -0
  297. package/lib/client/workflow/schema-utils/index.d.ts +10 -12
  298. package/lib/client/workflow/schema-utils/index.d.ts.map +1 -0
  299. package/lib/client/workflow/schema-utils/index.js +3 -0
  300. package/lib/client/workflow/schema-utils/index.js.map +1 -0
  301. package/lib/client/workflow/schema-utils/normalize.d.ts +1 -3
  302. package/lib/client/workflow/schema-utils/normalize.d.ts.map +1 -0
  303. package/lib/client/workflow/schema-utils/normalize.js +3 -0
  304. package/lib/client/workflow/schema-utils/normalize.js.map +1 -0
  305. package/lib/client/workflow/schema-utils/number.d.ts +1 -0
  306. package/lib/client/workflow/schema-utils/number.d.ts.map +1 -0
  307. package/lib/client/workflow/schema-utils/number.js +3 -0
  308. package/lib/client/workflow/schema-utils/number.js.map +1 -0
  309. package/lib/client/workflow/schema-utils/path.d.ts +1 -7
  310. package/lib/client/workflow/schema-utils/path.d.ts.map +1 -0
  311. package/lib/client/workflow/schema-utils/path.js +3 -0
  312. package/lib/client/workflow/schema-utils/path.js.map +1 -0
  313. package/lib/client/workflow/schema-utils/string.d.ts +1 -0
  314. package/lib/client/workflow/schema-utils/string.d.ts.map +1 -0
  315. package/lib/client/workflow/schema-utils/string.js +3 -0
  316. package/lib/client/workflow/schema-utils/string.js.map +1 -0
  317. package/lib/client/workflow/schema-utils/struct.d.ts +1 -0
  318. package/lib/client/workflow/schema-utils/struct.d.ts.map +1 -0
  319. package/lib/client/workflow/schema-utils/struct.js +3 -0
  320. package/lib/client/workflow/schema-utils/struct.js.map +1 -0
  321. package/lib/client/workflow-block.d.ts +1 -0
  322. package/lib/client/workflow-block.d.ts.map +1 -0
  323. package/lib/client/workflow-block.js +3 -0
  324. package/lib/client/workflow-block.js.map +1 -0
  325. package/lib/server/attio-fetch.d.ts +1 -38
  326. package/lib/server/attio-fetch.d.ts.map +1 -0
  327. package/lib/server/attio-fetch.js +3 -0
  328. package/lib/server/attio-fetch.js.map +1 -0
  329. package/lib/server/connections.d.ts +1 -5
  330. package/lib/server/connections.d.ts.map +1 -0
  331. package/lib/server/connections.js +3 -0
  332. package/lib/server/connections.js.map +1 -0
  333. package/lib/server/env.d.ts +1 -0
  334. package/lib/server/env.d.ts.map +1 -0
  335. package/lib/server/env.js +5 -0
  336. package/lib/server/env.js.map +1 -0
  337. package/lib/server/experimental/index.d.ts +1 -1
  338. package/lib/server/experimental/index.d.ts.map +1 -0
  339. package/lib/server/experimental/index.js +6 -0
  340. package/lib/server/experimental/index.js.map +1 -0
  341. package/lib/server/experimental/kv-store.d.ts +1 -26
  342. package/lib/server/experimental/kv-store.d.ts.map +1 -0
  343. package/lib/server/experimental/kv-store.js +3 -0
  344. package/lib/server/experimental/kv-store.js.map +1 -0
  345. package/lib/server/index.d.ts +4 -3
  346. package/lib/server/index.d.ts.map +1 -0
  347. package/lib/server/index.js +22 -0
  348. package/lib/server/index.js.map +1 -0
  349. package/lib/server/webhook-handlers.d.ts +1 -11
  350. package/lib/server/webhook-handlers.d.ts.map +1 -0
  351. package/lib/server/webhook-handlers.js +3 -0
  352. package/lib/server/webhook-handlers.js.map +1 -0
  353. package/lib/shared/errors.d.ts +1 -12
  354. package/lib/shared/errors.d.ts.map +1 -0
  355. package/lib/shared/errors.js +3 -0
  356. package/lib/shared/errors.js.map +1 -0
  357. package/lib/shared/index.d.ts +1 -0
  358. package/lib/shared/index.d.ts.map +1 -0
  359. package/lib/shared/index.js +18 -0
  360. package/lib/shared/index.js.map +1 -0
  361. package/lib/tsconfig.tsbuildinfo +1 -1
  362. package/lib/utils/index.d.ts +2 -0
  363. package/lib/utils/index.d.ts.map +1 -0
  364. package/lib/utils/index.js +18 -0
  365. package/lib/utils/index.js.map +1 -0
  366. package/lib/{client/util → utils}/prettify.d.ts +1 -0
  367. package/lib/utils/prettify.d.ts.map +1 -0
  368. package/lib/utils/prettify.js +3 -0
  369. package/lib/utils/prettify.js.map +1 -0
  370. package/package.json +1 -1
@@ -1,56 +1,13 @@
1
1
  import type { Icon } from "./icon";
2
2
  import type { Attribute, ObjectSlug } from "./object-slug";
3
- /**
4
- * A record action is some action that can be taken on a record,
5
- *
6
- * You should use this in a TypeScript file in your app's `src` directory.
7
- *
8
- * ## EXAMPLE USAGE
9
- *
10
- * ----
11
- * ```tsx
12
- * // my-action.tsx
13
- * import type { RecordAction } from "attio/client";
14
- *
15
- * export const recordAction: RecordAction = {
16
- * onTrigger: ({recordId, object}) => {
17
- * console.log("send invoice", recordId, object)
18
- * },
19
- * label: "Send Invoice",
20
- * icon: "Sales"
21
- * }
22
- * ```
23
- * ----
24
- */
25
3
  export interface RecordAction {
26
- /**
27
- * A unique identifier for the action.
28
- */
29
4
  readonly id: string;
30
- /**
31
- * A function to execute when the action is triggered
32
- */
33
5
  readonly onTrigger: (record: {
34
6
  recordId: string;
35
7
  object: ObjectSlug;
36
8
  }) => Promise<void>;
37
- /**
38
- * The label to display for the action
39
- */
40
9
  readonly label: string;
41
- /**
42
- * An icon to display in the action, either an `AttioIcon` or
43
- * a string `.png` referencing a file in your app’s `assets`
44
- * directory.
45
- *
46
- * If no `icon` prop is provided, it will default to your app’s icon.
47
- */
48
10
  readonly icon?: Icon;
49
- /**
50
- * If provided then the action will only be shown on records of the specified object(s).
51
- *
52
- * Either a single object slug, an array of object slugs, or a predicate that will examine
53
- * the attributes of the record and return true if the action should be shown.
54
- */
55
11
  readonly objects?: ObjectSlug | Array<ObjectSlug> | ((attributes: Array<Attribute>) => boolean);
56
12
  }
13
+ //# sourceMappingURL=record-action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record-action.d.ts","sourceRoot":"","sources":["../../src/client/record-action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAA;AAChC,OAAO,KAAK,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,eAAe,CAAA;AAwBxD,MAAM,WAAW,YAAY;IAIzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IAKnB,QAAQ,CAAC,SAAS,EAAE,CAAC,MAAM,EAAE;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,UAAU,CAAA;KAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAKrF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IAStB,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,CAAA;IAQpB,QAAQ,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,KAAK,OAAO,CAAC,CAAA;CAClG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=record-action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record-action.js","sourceRoot":"","sources":["../../src/client/record-action.ts"],"names":[],"mappings":""}
@@ -1,62 +1,13 @@
1
- import type { Attribute, ObjectSlug } from "./object-slug";
2
1
  import type { Widget as WidgetComponent } from "./components/widget";
3
- /**
4
- * A widget is a React component that will be rendered on a record page.
5
- *
6
- * You should use this in a TypeScript file in your app's `src` directory.
7
- *
8
- * It must be exported as `widget` from the file.
9
- *
10
- * ## EXAMPLE USAGE
11
- *
12
- * ----
13
- * ```tsx
14
- * // my-widget.tsx
15
- * import type { RecordWidget } from "attio/client";
16
- * import { Widget, WidgetTitle } from "attio/client";
17
- *
18
- * export const widget: Widget = {
19
- * id: "my-widget",
20
- * Widget: ({recordId, object}) => {
21
- * return (
22
- * <Widget>
23
- * <WidgetTitle>Hello world</WidgetTitle>
24
- * </Widget>
25
- * )
26
- * },
27
- * objects: "people",
28
- * }
29
- * ```
30
- * ----
31
- * @deprecated This part of the SDK is not yet released and may change. Do not use it yet.
32
- */
2
+ import type { Attribute, ObjectSlug } from "./object-slug";
33
3
  export interface RecordWidget {
34
- /**
35
- * A unique identifier for the widget.
36
- *
37
- * Only used internally.
38
- */
39
4
  readonly id: string;
40
- /**
41
- * A human-readable label of the widget that will be shown to the user in the widget picker.
42
- */
5
+ readonly color?: `#${string}`;
43
6
  readonly label: string;
44
- /**
45
- * A React component that will be render the widget.
46
- *
47
- * It can suspend while loading data.
48
- *
49
- * Must return a Widget component as the root element.
50
- */
51
7
  readonly Widget: (props: {
52
8
  recordId: string;
53
9
  object: ObjectSlug;
54
10
  }) => React.ReactElement<typeof WidgetComponent>;
55
- /**
56
- * If provided then the widget will only be shown on records of the specified object(s).
57
- *
58
- * Either a single object slug, an array of object slugs, or a predicate that will examine
59
- * the attributes of the record and return true if the widget should be shown.
60
- */
61
11
  readonly objects?: ObjectSlug | Array<ObjectSlug> | ((attributes: Array<Attribute>) => boolean);
62
12
  }
13
+ //# sourceMappingURL=record-widget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record-widget.d.ts","sourceRoot":"","sources":["../../src/client/record-widget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,IAAI,eAAe,EAAC,MAAM,qBAAqB,CAAA;AAClE,OAAO,KAAK,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,eAAe,CAAA;AAgCxD,MAAM,WAAW,YAAY;IAMzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IAKnB,QAAQ,CAAC,KAAK,CAAC,EAAE,IAAI,MAAM,EAAE,CAAA;IAK7B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IAStB,QAAQ,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;QACrB,QAAQ,EAAE,MAAM,CAAA;QAChB,MAAM,EAAE,UAAU,CAAA;KACrB,KAAK,KAAK,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,CAAA;IAQhD,QAAQ,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,KAAK,OAAO,CAAC,CAAA;CAClG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=record-widget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record-widget.js","sourceRoot":"","sources":["../../src/client/record-widget.ts"],"names":[],"mappings":""}
@@ -2,51 +2,5 @@ export type Query<Variables extends Record<string, any> | never, Result> = {
2
2
  __data: Result;
3
3
  __variables: Variables;
4
4
  } & string;
5
- /**
6
- * Imperatively runs a GraphQL query.
7
- *
8
- * If you import the query from a `.graphql` file, and run `attio dev`,
9
- * your query variables and result will be strongly typed.
10
- *
11
- * ## EXAMPLE USAGE
12
- *
13
- * ----
14
- * ```graphql
15
- * # get-person.graphql
16
- * query getPerson($id: String!) {
17
- * workspace {
18
- * person(id: $id) {
19
- * name {
20
- * first
21
- * last
22
- * }
23
- * }
24
- * }
25
- * }
26
- * ```
27
- * ----
28
- * ```tsx
29
- * // get-person-name.ts
30
- * import { runQuery } from "attio/client"
31
- * import getPersonQuery from "./get-person.graphql"
32
- *
33
- * ...
34
- *
35
- * export async function getPersonName(id: string) : Promise<string> {
36
- * const person = await runQuery(getPersonQuery, { id })
37
- * const firstName: string | null = person.workspace?.person?.name?.first
38
- * const lastName: string | null = person.workspace?.person?.name?.last
39
- * return `${firstName ?? ""} ${lastName ?? ""}`
40
- * }
41
- * ```
42
- * ----
43
- *
44
- * @param query - The GraphQL query to run.
45
- * @param variableValues - The values of the variables to pass to the query.
46
- * @returns A promise that resolves to the query result.
47
- */
48
- export declare function runQuery<Variables extends Record<string, any>, Result>(
49
- /** GraphQL query */
50
- query: Query<Variables, Result> | string,
51
- /** GraphQL query variables */
52
- variableValues?: Variables): Promise<Result>;
5
+ export declare function runQuery<Variables extends Record<string, any>, Result>(query: Query<Variables, Result> | string, variableValues?: Variables): Promise<Result>;
6
+ //# sourceMappingURL=run-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-query.d.ts","sourceRoot":"","sources":["../../src/client/run-query.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,CAAC,SAAS,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK,EAAE,MAAM,IAAI;IACvE,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,SAAS,CAAA;CACzB,GAAG,MAAM,CAAA;AA6CV,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,SAAS,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAE1E,KAAK,EAAE,KAAK,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG,MAAM,EAExC,cAAc,CAAC,EAAE,SAAS,GAC3B,OAAO,CAAC,MAAM,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=run-query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-query.js","sourceRoot":"","sources":["../../src/client/run-query.ts"],"names":[],"mappings":""}
@@ -3,31 +3,9 @@ export type Dialog = (props: {
3
3
  hideDialog: () => void;
4
4
  }) => React.JSX.Element;
5
5
  interface DialogOptions {
6
- /**
7
- * The title of the toast.
8
- */
9
6
  title: string;
10
- /**
11
- * The contents of the dialog.
12
- */
13
7
  Dialog: Dialog;
14
8
  }
15
- /**
16
- * Opens a modal dialog.
17
- *
18
- * ## EXAMPLE USAGE
19
- *
20
- * ----
21
- * ```tsx
22
- * // show-dialog.tsx
23
- * import { showDialog } from "attio/client";
24
- *
25
- * await showDialog({
26
- * title: "Invoice sent",
27
- * contents: ({hideDialog}) => <TextBlock>Hello world</TextBlock>,
28
- * });
29
- * ```
30
- * ----
31
- */
32
9
  export declare function showDialog(options: DialogOptions): Promise<void>;
33
10
  export {};
11
+ //# sourceMappingURL=show-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-dialog.d.ts","sourceRoot":"","sources":["../../src/client/show-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,MAAM,MAAM,GAAG,CAAC,KAAK,EAAE;IAAC,UAAU,EAAE,MAAM,IAAI,CAAA;CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAAA;AAE3E,UAAU,aAAa;IAInB,KAAK,EAAE,MAAM,CAAA;IAKb,MAAM,EAAE,MAAM,CAAA;CACjB;AAmBD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=show-dialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-dialog.js","sourceRoot":"","sources":["../../src/client/show-dialog.ts"],"names":[],"mappings":""}
@@ -1,77 +1,15 @@
1
1
  export type IframeOptions = {
2
- /**
3
- * The width of the iframe.
4
- *
5
- * @example "500px"
6
- */
7
2
  width: string;
8
- /**
9
- * The height of the iframe.
10
- *
11
- * @example "500px"
12
- */
13
3
  height: string;
14
- /**
15
- * Message handler for messages sent from the iframe.
16
- *
17
- * @param message - The message sent from the iframe.
18
- * @param hideIframe - Function to hide the iframe.
19
- * @param sendMessage - Function to send a message to the iframe.
20
- *
21
- */
22
4
  onMessage?: (message: unknown, { hideIframe, sendMessage }: {
23
5
  hideIframe: () => void;
24
6
  sendMessage: (message: unknown) => void;
25
7
  }) => void;
26
8
  } & ({
27
- /**
28
- * The url that will be loaded in the iframe.
29
- */
30
9
  url: string;
31
10
  } | {
32
- /**
33
- * The html that will be loaded in the iframe.
34
- */
35
11
  html: string;
36
- /**
37
- * Initial data that will be sent to the iframe. iframe code can access
38
- * this data from global `window.ATTIO_INITIAL_DATA` object.
39
- */
40
12
  initialData?: unknown;
41
13
  });
42
- /**
43
- * Shows a iframe to the user with given html or url.
44
- *
45
- * @returns A promise that resolves when the iframe is closed.
46
- *
47
- * @throws If the iframe cannot be shown.
48
- *
49
- * @example
50
- * ```ts
51
- * showIframe({
52
- * url: "https://www.example.com",
53
- * width: "500px",
54
- * height: "300px",
55
- * onMessage: (message, {hideIframe, sendMessage}) => {
56
- * if (message.type === "close") {
57
- * hideIframe()
58
- * }
59
- * },
60
- * })
61
- * ```
62
- *
63
- * @example
64
- * ```ts
65
- * showIframe({
66
- * html: "<h1>Hello, world!</h1>",
67
- * width: "500px",
68
- * height: "300px",
69
- * onMessage: (message, {hideIframe, sendMessage}) => {
70
- * if (message.type === "ready") {
71
- * sendMessage({type: "additional-data", data: "some data"})
72
- * }
73
- * },
74
- * })
75
- * ```
76
- */
77
14
  export declare function showIframe(options: IframeOptions): Promise<void>;
15
+ //# sourceMappingURL=show-iframe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-iframe.d.ts","sourceRoot":"","sources":["../../src/client/show-iframe.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAMxB,KAAK,EAAE,MAAM,CAAA;IAOb,MAAM,EAAE,MAAM,CAAA;IAUd,SAAS,CAAC,EAAE,CACR,OAAO,EAAE,OAAO,EAChB,EAAC,UAAU,EAAE,WAAW,EAAC,EAAE;QAAC,UAAU,EAAE,MAAM,IAAI,CAAC;QAAC,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;KAAC,KAC3F,IAAI,CAAA;CACZ,GAAG,CACE;IAII,GAAG,EAAE,MAAM,CAAA;CACd,GACD;IAII,IAAI,EAAE,MAAM,CAAA;IAKZ,WAAW,CAAC,EAAE,OAAO,CAAA;CACxB,CACN,CAAA;AAqCD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=show-iframe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-iframe.js","sourceRoot":"","sources":["../../src/client/show-iframe.ts"],"names":[],"mappings":""}
@@ -1,63 +1,16 @@
1
1
  export type ToastVariant = "neutral" | "warning" | "error" | "success";
2
2
  export interface ToastOptions {
3
- /**
4
- * The type of the toast to show.
5
- */
6
3
  variant: ToastVariant;
7
- /**
8
- * The title of the toast.
9
- */
10
4
  title: string;
11
- /**
12
- * The text that will be displayed below the title.
13
- */
14
5
  text?: string;
15
- /**
16
- * An optional action to be displayed at the bottom of the toast.
17
- */
18
6
  action?: {
19
7
  label: string;
20
8
  onClick: () => void;
21
9
  };
22
- /**
23
- * The duration in milliseconds after which the toast will be automatically dismissed.
24
- *
25
- * Defaults to 4,000 milliseconds.
26
- * @default 4_000
27
- */
28
10
  durationMs?: number;
29
- /**
30
- * Whether the toast should be dismissible by the user.
31
- *
32
- * Defaults to `true`.
33
- * @default true
34
- */
35
11
  dismissable?: boolean;
36
12
  }
37
- /**
38
- * Shows a toast notification to the user.
39
- *
40
- * ## EXAMPLE USAGE
41
- *
42
- * ----
43
- * ```tsx
44
- * // app.tsx
45
- * import { showToast } from "attio/client";
46
- *
47
- * showToast({
48
- * variant: "success",
49
- * title: "Invoice sent",
50
- * text: "Invoice sent successfully",
51
- * action: {
52
- * label: "View invoice",
53
- * onClick: () => {
54
- * // ...
55
- * },
56
- * },
57
- * });
58
- * ```
59
- * ----
60
- */
61
13
  export declare function showToast(options: ToastOptions): Promise<{
62
14
  hideToast: () => Promise<void>;
63
15
  }>;
16
+ //# sourceMappingURL=show-toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-toast.d.ts","sourceRoot":"","sources":["../../src/client/show-toast.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAA;AACtE,MAAM,WAAW,YAAY;IAIzB,OAAO,EAAE,YAAY,CAAA;IAKrB,KAAK,EAAE,MAAM,CAAA;IAKb,IAAI,CAAC,EAAE,MAAM,CAAA;IAKb,MAAM,CAAC,EAAE;QACL,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,MAAM,IAAI,CAAA;KACtB,CAAA;IAQD,UAAU,CAAC,EAAE,MAAM,CAAA;IAQnB,WAAW,CAAC,EAAE,OAAO,CAAA;CACxB;AA0BD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC;IAAC,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAAC,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=show-toast.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-toast.js","sourceRoot":"","sources":["../../src/client/show-toast.ts"],"names":[],"mappings":""}
@@ -1,7 +1,3 @@
1
1
  import type { Array } from "./node";
2
- /**
3
- * Creates an array schema type.
4
- *
5
- * @deprecated This functionality is experimental and may change in the future.
6
- */
7
2
  export declare function array<TElement>(element: TElement): Array<TElement>;
3
+ //# sourceMappingURL=array.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/array.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,QAAQ,CAAA;AAOjC,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=array.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array.js","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/array.ts"],"names":[],"mappings":""}
@@ -1,12 +1,5 @@
1
1
  import type * as Schema from "../../schema-utils";
2
- /**
3
- * An Attio record attribute inside a schema.
4
- */
5
2
  export interface AttioRecord extends Schema.AttioEntityReference {
6
3
  }
7
- /**
8
- * Creates an Attio record attribute schema type.
9
- *
10
- * @deprecated This functionality is experimental and may change in the future.
11
- */
12
4
  export declare function attioRecord(): AttioRecord;
5
+ //# sourceMappingURL=attio-record.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attio-record.d.ts","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/attio-record.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,oBAAoB,CAAA;AAKjD,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,oBAAoB;CAAG;AAOnE,MAAM,CAAC,OAAO,UAAU,WAAW,IAAI,WAAW,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=attio-record.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attio-record.js","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/attio-record.ts"],"names":[],"mappings":""}
@@ -1,12 +1,5 @@
1
1
  import type * as Schema from "../../schema-utils";
2
- /**
3
- * An Attio select attribute inside a schema.
4
- */
5
2
  export interface AttioSelect extends Schema.AttioSelect {
6
3
  }
7
- /**
8
- * Creates an Attio select attribute schema type.
9
- *
10
- * @deprecated This functionality is experimental and may change in the future.
11
- */
12
4
  export declare function attioSelect(): AttioSelect;
5
+ //# sourceMappingURL=attio-select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attio-select.d.ts","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/attio-select.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,oBAAoB,CAAA;AAKjD,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,WAAW;CAAG;AAO1D,MAAM,CAAC,OAAO,UAAU,WAAW,IAAI,WAAW,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=attio-select.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attio-select.js","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/attio-select.ts"],"names":[],"mappings":""}
@@ -1,12 +1,10 @@
1
1
  import type * as Schema from "../../schema-utils";
2
2
  import type { Node, Struct } from "./node";
3
3
  type FriendlyNode = Schema.Friendly<Node>;
4
- /**
5
- * Friendly schemas let you use JavaScript objects in place of structs.
6
- */
7
4
  export type FriendlyStruct = Struct<{
8
5
  [key: string]: FriendlyNode;
9
6
  }> | {
10
7
  [key: string]: FriendlyNode;
11
8
  };
12
9
  export {};
10
+ //# sourceMappingURL=friendly-node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"friendly-node.d.ts","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/friendly-node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,oBAAoB,CAAA;AACjD,OAAO,KAAK,EAAC,IAAI,EAAE,MAAM,EAAC,MAAM,QAAQ,CAAA;AAExC,KAAK,YAAY,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;AAKzC,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;CAAC,CAAC,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=friendly-node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"friendly-node.js","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/friendly-node.ts"],"names":[],"mappings":""}
@@ -1,9 +1,10 @@
1
1
  export { array } from "./array";
2
- export { AttioRecord, attioRecord } from "./attio-record";
3
- export { AttioSelect, attioSelect } from "./attio-select";
4
- export { type FriendlyStruct } from "./friendly-node";
5
- export { type Array, type Node, type Struct } from "./node";
6
- export { Number, number } from "./number";
7
- export { type PathTo } from "./path";
8
- export { String, string } from "./string";
2
+ export { type AttioRecord, attioRecord } from "./attio-record";
3
+ export { type AttioSelect, attioSelect } from "./attio-select";
4
+ export type { FriendlyStruct } from "./friendly-node";
5
+ export { Array, Node, Struct } from "./node";
6
+ export { type Number, number } from "./number";
7
+ export type { PathTo } from "./path";
8
+ export { type String, string } from "./string";
9
9
  export { struct } from "./struct";
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAC,KAAK,WAAW,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAC5D,OAAO,EAAC,KAAK,WAAW,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAC5D,YAAY,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,MAAM,QAAQ,CAAA;AAC1C,OAAO,EAAC,KAAK,MAAM,EAAE,MAAM,EAAC,MAAM,UAAU,CAAA;AAC5C,YAAY,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAA;AAClC,OAAO,EAAC,KAAK,MAAM,EAAE,MAAM,EAAC,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.struct = exports.string = exports.number = exports.attioSelect = exports.attioRecord = exports.array = void 0;
4
+ var array_1 = require("./array");
5
+ Object.defineProperty(exports, "array", { enumerable: true, get: function () { return array_1.array; } });
6
+ var attio_record_1 = require("./attio-record");
7
+ Object.defineProperty(exports, "attioRecord", { enumerable: true, get: function () { return attio_record_1.attioRecord; } });
8
+ var attio_select_1 = require("./attio-select");
9
+ Object.defineProperty(exports, "attioSelect", { enumerable: true, get: function () { return attio_select_1.attioSelect; } });
10
+ var number_1 = require("./number");
11
+ Object.defineProperty(exports, "number", { enumerable: true, get: function () { return number_1.number; } });
12
+ var string_1 = require("./string");
13
+ Object.defineProperty(exports, "string", { enumerable: true, get: function () { return string_1.string; } });
14
+ var struct_1 = require("./struct");
15
+ Object.defineProperty(exports, "struct", { enumerable: true, get: function () { return struct_1.struct; } });
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/index.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAArB,8FAAA,KAAK,OAAA;AACb,+CAA4D;AAAlC,2GAAA,WAAW,OAAA;AACrC,+CAA4D;AAAlC,2GAAA,WAAW,OAAA;AAGrC,mCAA4C;AAAvB,gGAAA,MAAM,OAAA;AAE3B,mCAA4C;AAAvB,gGAAA,MAAM,OAAA;AAC3B,mCAA+B;AAAvB,gGAAA,MAAM,OAAA"}
@@ -3,21 +3,13 @@ import type { AttioRecord } from "./attio-record";
3
3
  import type { AttioSelect } from "./attio-select";
4
4
  import type { Number } from "./number";
5
5
  import type { String } from "./string";
6
- /**
7
- * An array inside a schema.
8
- */
9
6
  export interface Array<TElement = Node> extends Schema.Array<TElement> {
10
7
  }
11
- /**
12
- * A struct inside a schema.
13
- */
14
8
  export interface Struct<TObject extends {
15
9
  [key: string]: unknown;
16
10
  } = {
17
11
  [key: string]: Node;
18
12
  }> extends Schema.Struct<TObject> {
19
13
  }
20
- /**
21
- * Any node inside a schema.
22
- */
23
14
  export type Node = String | Number | AttioSelect | AttioRecord | Array | Struct;
15
+ //# sourceMappingURL=node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,oBAAoB,CAAA;AACjD,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAC/C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAC/C,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAKpC,MAAM,WAAW,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAE,SAAQ,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;CAAG;AAKzE,MAAM,WAAW,MAAM,CAAC,OAAO,SAAS;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAC,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;CAAC,CACpF,SAAQ,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;CAAG;AAKrC,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,GAAG,WAAW,GAAG,KAAK,GAAG,MAAM,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.js","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/node.ts"],"names":[],"mappings":""}
@@ -1,12 +1,5 @@
1
1
  import type * as Schema from "../../schema-utils";
2
- /**
3
- * A number inside a schema.
4
- */
5
2
  export interface Number extends Schema.Number {
6
3
  }
7
- /**
8
- * Creates a number schema type.
9
- *
10
- * @deprecated This functionality is experimental and may change in the future.
11
- */
12
4
  export declare function number(): Number;
5
+ //# sourceMappingURL=number.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"number.d.ts","sourceRoot":"","sources":["../../../../../src/client/workflow/block-config/config-schema/number.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,oBAAoB,CAAA;AAKjD,MAAM,WAAW,MAAO,SAAQ,MAAM,CAAC,MAAM;CAAG;AAOhD,MAAM,CAAC,OAAO,UAAU,MAAM,IAAI,MAAM,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=number.js.map