@interfere/attio 0.1.2 → 0.2.0

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 (563) hide show
  1. package/README.md +123 -53
  2. package/dist/commonjs/funcs/files-delete-v2-files-file-id.d.ts +22 -0
  3. package/dist/commonjs/funcs/files-delete-v2-files-file-id.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/files-delete-v2-files-file-id.js +128 -0
  5. package/dist/commonjs/funcs/files-delete-v2-files-file-id.js.map +1 -0
  6. package/dist/commonjs/funcs/files-get-v2-files-file-id-download.d.ts +21 -0
  7. package/dist/commonjs/funcs/files-get-v2-files-file-id-download.d.ts.map +1 -0
  8. package/dist/commonjs/funcs/files-get-v2-files-file-id-download.js +124 -0
  9. package/dist/commonjs/funcs/files-get-v2-files-file-id-download.js.map +1 -0
  10. package/dist/commonjs/funcs/files-get-v2-files-file-id.d.ts +22 -0
  11. package/dist/commonjs/funcs/files-get-v2-files-file-id.d.ts.map +1 -0
  12. package/dist/commonjs/funcs/files-get-v2-files-file-id.js +128 -0
  13. package/dist/commonjs/funcs/files-get-v2-files-file-id.js.map +1 -0
  14. package/dist/commonjs/funcs/files-get-v2-files.d.ts +21 -0
  15. package/dist/commonjs/funcs/files-get-v2-files.d.ts.map +1 -0
  16. package/dist/commonjs/funcs/files-get-v2-files.js +127 -0
  17. package/dist/commonjs/funcs/files-get-v2-files.js.map +1 -0
  18. package/dist/commonjs/funcs/files-post-v2-files-upload.d.ts +21 -0
  19. package/dist/commonjs/funcs/files-post-v2-files-upload.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/files-post-v2-files-upload.js +148 -0
  21. package/dist/commonjs/funcs/files-post-v2-files-upload.js.map +1 -0
  22. package/dist/commonjs/funcs/files-post-v2-files.d.ts +21 -0
  23. package/dist/commonjs/funcs/files-post-v2-files.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/files-post-v2-files.js +119 -0
  25. package/dist/commonjs/funcs/files-post-v2-files.js.map +1 -0
  26. package/dist/commonjs/funcs/notes-create.d.ts +1 -1
  27. package/dist/commonjs/funcs/notes-create.d.ts.map +1 -1
  28. package/dist/commonjs/funcs/notes-create.js +2 -2
  29. package/dist/commonjs/funcs/notes-create.js.map +1 -1
  30. package/dist/commonjs/funcs/scim-groups-get-scimv2-groups.d.ts +19 -0
  31. package/dist/commonjs/funcs/scim-groups-get-scimv2-groups.d.ts.map +1 -0
  32. package/dist/commonjs/funcs/scim-groups-get-scimv2-groups.js +106 -0
  33. package/dist/commonjs/funcs/scim-groups-get-scimv2-groups.js.map +1 -0
  34. package/dist/commonjs/funcs/scim-groups-post-scimv2-groups.d.ts +19 -0
  35. package/dist/commonjs/funcs/scim-groups-post-scimv2-groups.d.ts.map +1 -0
  36. package/dist/commonjs/funcs/scim-groups-post-scimv2-groups.js +106 -0
  37. package/dist/commonjs/funcs/scim-groups-post-scimv2-groups.js.map +1 -0
  38. package/dist/commonjs/funcs/scim-schemas-list.d.ts +1 -1
  39. package/dist/commonjs/funcs/scim-schemas-list.js +1 -1
  40. package/dist/commonjs/funcs/scim-users-get-scimv2-users.d.ts +19 -0
  41. package/dist/commonjs/funcs/scim-users-get-scimv2-users.d.ts.map +1 -0
  42. package/dist/commonjs/funcs/scim-users-get-scimv2-users.js +106 -0
  43. package/dist/commonjs/funcs/scim-users-get-scimv2-users.js.map +1 -0
  44. package/dist/commonjs/funcs/scim-users-post-scimv2-users.d.ts +19 -0
  45. package/dist/commonjs/funcs/scim-users-post-scimv2-users.d.ts.map +1 -0
  46. package/dist/commonjs/funcs/scim-users-post-scimv2-users.js +106 -0
  47. package/dist/commonjs/funcs/scim-users-post-scimv2-users.js.map +1 -0
  48. package/dist/commonjs/lib/config.d.ts +3 -3
  49. package/dist/commonjs/lib/config.js +3 -3
  50. package/dist/commonjs/lib/matchers.d.ts.map +1 -1
  51. package/dist/commonjs/lib/matchers.js +0 -1
  52. package/dist/commonjs/lib/matchers.js.map +1 -1
  53. package/dist/commonjs/lib/security.d.ts.map +1 -1
  54. package/dist/commonjs/lib/security.js +1 -2
  55. package/dist/commonjs/lib/security.js.map +1 -1
  56. package/dist/commonjs/models/connected-file.d.ts +107 -0
  57. package/dist/commonjs/models/connected-file.d.ts.map +1 -0
  58. package/dist/commonjs/models/connected-file.js +120 -0
  59. package/dist/commonjs/models/connected-file.js.map +1 -0
  60. package/dist/commonjs/models/connected-folder.d.ts +107 -0
  61. package/dist/commonjs/models/connected-folder.d.ts.map +1 -0
  62. package/dist/commonjs/models/connected-folder.js +120 -0
  63. package/dist/commonjs/models/connected-folder.js.map +1 -0
  64. package/dist/commonjs/models/errors/get-v2-files-file-id.d.ts +29 -0
  65. package/dist/commonjs/models/errors/get-v2-files-file-id.d.ts.map +1 -0
  66. package/dist/commonjs/models/errors/get-v2-files-file-id.js +78 -0
  67. package/dist/commonjs/models/errors/get-v2-files-file-id.js.map +1 -0
  68. package/dist/commonjs/models/errors/get-v2-objects-object.d.ts +25 -0
  69. package/dist/commonjs/models/errors/get-v2-objects-object.d.ts.map +1 -1
  70. package/dist/commonjs/models/errors/get-v2-objects-object.js +34 -1
  71. package/dist/commonjs/models/errors/get-v2-objects-object.js.map +1 -1
  72. package/dist/commonjs/models/errors/index.d.ts +1 -0
  73. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  74. package/dist/commonjs/models/errors/index.js +1 -0
  75. package/dist/commonjs/models/errors/index.js.map +1 -1
  76. package/dist/commonjs/models/file.d.ts +127 -0
  77. package/dist/commonjs/models/file.d.ts.map +1 -0
  78. package/dist/commonjs/models/file.js +132 -0
  79. package/dist/commonjs/models/file.js.map +1 -0
  80. package/dist/commonjs/models/folder.d.ts +107 -0
  81. package/dist/commonjs/models/folder.d.ts.map +1 -0
  82. package/dist/commonjs/models/folder.js +119 -0
  83. package/dist/commonjs/models/folder.js.map +1 -0
  84. package/dist/commonjs/models/index.d.ts +4 -0
  85. package/dist/commonjs/models/index.d.ts.map +1 -1
  86. package/dist/commonjs/models/index.js +4 -0
  87. package/dist/commonjs/models/index.js.map +1 -1
  88. package/dist/commonjs/models/operations/get-scim-v2-groups.d.ts +17 -0
  89. package/dist/commonjs/models/operations/get-scim-v2-groups.d.ts.map +1 -0
  90. package/dist/commonjs/models/operations/get-scim-v2-groups.js +60 -0
  91. package/dist/commonjs/models/operations/get-scim-v2-groups.js.map +1 -0
  92. package/dist/commonjs/models/operations/get-scim-v2-users.d.ts +17 -0
  93. package/dist/commonjs/models/operations/get-scim-v2-users.d.ts.map +1 -0
  94. package/dist/commonjs/models/operations/get-scim-v2-users.js +60 -0
  95. package/dist/commonjs/models/operations/get-scim-v2-users.js.map +1 -0
  96. package/dist/commonjs/models/operations/get-v2-files-file-id-download.d.ts +21 -0
  97. package/dist/commonjs/models/operations/get-v2-files-file-id-download.d.ts.map +1 -0
  98. package/dist/commonjs/models/operations/get-v2-files-file-id-download.js +61 -0
  99. package/dist/commonjs/models/operations/get-v2-files-file-id-download.js.map +1 -0
  100. package/dist/commonjs/models/operations/get-v2-files-file-id.d.ts +169 -0
  101. package/dist/commonjs/models/operations/get-v2-files-file-id.d.ts.map +1 -0
  102. package/dist/commonjs/models/operations/get-v2-files-file-id.js +187 -0
  103. package/dist/commonjs/models/operations/get-v2-files-file-id.js.map +1 -0
  104. package/dist/commonjs/models/operations/get-v2-files.d.ts +70 -0
  105. package/dist/commonjs/models/operations/get-v2-files.d.ts.map +1 -0
  106. package/dist/commonjs/models/operations/get-v2-files.js +114 -0
  107. package/dist/commonjs/models/operations/get-v2-files.js.map +1 -0
  108. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts +4402 -0
  109. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts.map +1 -0
  110. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js +3773 -0
  111. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js.map +1 -0
  112. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts +538 -0
  113. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts.map +1 -0
  114. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js +499 -0
  115. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js.map +1 -0
  116. package/dist/commonjs/models/operations/get-v2-self.d.ts +1 -1
  117. package/dist/commonjs/models/operations/get-v2-self.d.ts.map +1 -1
  118. package/dist/commonjs/models/operations/get-v2-self.js +1 -1
  119. package/dist/commonjs/models/operations/get-v2-self.js.map +1 -1
  120. package/dist/commonjs/models/operations/index.d.ts +15 -2
  121. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  122. package/dist/commonjs/models/operations/index.js +15 -2
  123. package/dist/commonjs/models/operations/index.js.map +1 -1
  124. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts +3854 -0
  125. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts.map +1 -0
  126. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js +3221 -0
  127. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js.map +1 -0
  128. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts +3675 -0
  129. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts.map +1 -0
  130. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js +3065 -0
  131. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js.map +1 -0
  132. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.d.ts +583 -0
  133. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.d.ts.map +1 -0
  134. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.js +572 -0
  135. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.js.map +1 -0
  136. package/dist/commonjs/models/operations/post-scim-v2-groups.d.ts +33 -0
  137. package/dist/commonjs/models/operations/post-scim-v2-groups.d.ts.map +1 -0
  138. package/dist/commonjs/models/operations/post-scim-v2-groups.js +80 -0
  139. package/dist/commonjs/models/operations/post-scim-v2-groups.js.map +1 -0
  140. package/dist/commonjs/models/operations/post-scim-v2-users.d.ts +51 -0
  141. package/dist/commonjs/models/operations/post-scim-v2-users.d.ts.map +1 -0
  142. package/dist/commonjs/models/operations/post-scim-v2-users.js +97 -0
  143. package/dist/commonjs/models/operations/post-scim-v2-users.js.map +1 -0
  144. package/dist/commonjs/models/operations/post-v2-files-upload.d.ts +54 -0
  145. package/dist/commonjs/models/operations/post-v2-files-upload.d.ts.map +1 -0
  146. package/dist/commonjs/models/operations/post-v2-files-upload.js +84 -0
  147. package/dist/commonjs/models/operations/post-v2-files-upload.js.map +1 -0
  148. package/dist/commonjs/models/operations/post-v2-files.d.ts +165 -0
  149. package/dist/commonjs/models/operations/post-v2-files.d.ts.map +1 -0
  150. package/dist/commonjs/models/operations/post-v2-files.js +159 -0
  151. package/dist/commonjs/models/operations/post-v2-files.js.map +1 -0
  152. package/dist/commonjs/models/operations/post-v2-tasks-assignee-workspace-member.d.ts +4040 -0
  153. package/dist/commonjs/models/operations/post-v2-tasks-assignee-workspace-member.d.ts.map +1 -0
  154. package/dist/commonjs/models/operations/post-v2-tasks-assignee-workspace-member.js +3440 -0
  155. package/dist/commonjs/models/operations/post-v2-tasks-assignee-workspace-member.js.map +1 -0
  156. package/dist/commonjs/sdk/files.d.ts +71 -0
  157. package/dist/commonjs/sdk/files.d.ts.map +1 -0
  158. package/dist/commonjs/sdk/files.js +96 -0
  159. package/dist/commonjs/sdk/files.js.map +1 -0
  160. package/dist/commonjs/sdk/scim-groups.d.ts +23 -0
  161. package/dist/commonjs/sdk/scim-groups.d.ts.map +1 -0
  162. package/dist/commonjs/sdk/scim-groups.js +36 -0
  163. package/dist/commonjs/sdk/scim-groups.js.map +1 -0
  164. package/dist/commonjs/sdk/scim-schemas.d.ts +1 -1
  165. package/dist/commonjs/sdk/scim-schemas.js +1 -1
  166. package/dist/commonjs/sdk/scim-users.d.ts +23 -0
  167. package/dist/commonjs/sdk/scim-users.d.ts.map +1 -0
  168. package/dist/commonjs/sdk/scim-users.js +36 -0
  169. package/dist/commonjs/sdk/scim-users.js.map +1 -0
  170. package/dist/commonjs/sdk/sdk.d.ts +9 -0
  171. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  172. package/dist/commonjs/sdk/sdk.js +12 -0
  173. package/dist/commonjs/sdk/sdk.js.map +1 -1
  174. package/dist/esm/funcs/files-delete-v2-files-file-id.d.ts +22 -0
  175. package/dist/esm/funcs/files-delete-v2-files-file-id.d.ts.map +1 -0
  176. package/dist/esm/funcs/files-delete-v2-files-file-id.js +92 -0
  177. package/dist/esm/funcs/files-delete-v2-files-file-id.js.map +1 -0
  178. package/dist/esm/funcs/files-get-v2-files-file-id-download.d.ts +21 -0
  179. package/dist/esm/funcs/files-get-v2-files-file-id-download.d.ts.map +1 -0
  180. package/dist/esm/funcs/files-get-v2-files-file-id-download.js +88 -0
  181. package/dist/esm/funcs/files-get-v2-files-file-id-download.js.map +1 -0
  182. package/dist/esm/funcs/files-get-v2-files-file-id.d.ts +22 -0
  183. package/dist/esm/funcs/files-get-v2-files-file-id.d.ts.map +1 -0
  184. package/dist/esm/funcs/files-get-v2-files-file-id.js +92 -0
  185. package/dist/esm/funcs/files-get-v2-files-file-id.js.map +1 -0
  186. package/dist/esm/funcs/files-get-v2-files.d.ts +21 -0
  187. package/dist/esm/funcs/files-get-v2-files.d.ts.map +1 -0
  188. package/dist/esm/funcs/files-get-v2-files.js +91 -0
  189. package/dist/esm/funcs/files-get-v2-files.js.map +1 -0
  190. package/dist/esm/funcs/files-post-v2-files-upload.d.ts +21 -0
  191. package/dist/esm/funcs/files-post-v2-files-upload.d.ts.map +1 -0
  192. package/dist/esm/funcs/files-post-v2-files-upload.js +112 -0
  193. package/dist/esm/funcs/files-post-v2-files-upload.js.map +1 -0
  194. package/dist/esm/funcs/files-post-v2-files.d.ts +21 -0
  195. package/dist/esm/funcs/files-post-v2-files.d.ts.map +1 -0
  196. package/dist/esm/funcs/files-post-v2-files.js +83 -0
  197. package/dist/esm/funcs/files-post-v2-files.js.map +1 -0
  198. package/dist/esm/funcs/notes-create.d.ts +1 -1
  199. package/dist/esm/funcs/notes-create.d.ts.map +1 -1
  200. package/dist/esm/funcs/notes-create.js +2 -2
  201. package/dist/esm/funcs/notes-create.js.map +1 -1
  202. package/dist/esm/funcs/scim-groups-get-scimv2-groups.d.ts +19 -0
  203. package/dist/esm/funcs/scim-groups-get-scimv2-groups.d.ts.map +1 -0
  204. package/dist/esm/funcs/scim-groups-get-scimv2-groups.js +70 -0
  205. package/dist/esm/funcs/scim-groups-get-scimv2-groups.js.map +1 -0
  206. package/dist/esm/funcs/scim-groups-post-scimv2-groups.d.ts +19 -0
  207. package/dist/esm/funcs/scim-groups-post-scimv2-groups.d.ts.map +1 -0
  208. package/dist/esm/funcs/scim-groups-post-scimv2-groups.js +70 -0
  209. package/dist/esm/funcs/scim-groups-post-scimv2-groups.js.map +1 -0
  210. package/dist/esm/funcs/scim-schemas-list.d.ts +1 -1
  211. package/dist/esm/funcs/scim-schemas-list.js +1 -1
  212. package/dist/esm/funcs/scim-users-get-scimv2-users.d.ts +19 -0
  213. package/dist/esm/funcs/scim-users-get-scimv2-users.d.ts.map +1 -0
  214. package/dist/esm/funcs/scim-users-get-scimv2-users.js +70 -0
  215. package/dist/esm/funcs/scim-users-get-scimv2-users.js.map +1 -0
  216. package/dist/esm/funcs/scim-users-post-scimv2-users.d.ts +19 -0
  217. package/dist/esm/funcs/scim-users-post-scimv2-users.d.ts.map +1 -0
  218. package/dist/esm/funcs/scim-users-post-scimv2-users.js +70 -0
  219. package/dist/esm/funcs/scim-users-post-scimv2-users.js.map +1 -0
  220. package/dist/esm/lib/config.d.ts +3 -3
  221. package/dist/esm/lib/config.js +3 -3
  222. package/dist/esm/lib/matchers.d.ts.map +1 -1
  223. package/dist/esm/lib/matchers.js +0 -1
  224. package/dist/esm/lib/matchers.js.map +1 -1
  225. package/dist/esm/lib/security.d.ts.map +1 -1
  226. package/dist/esm/lib/security.js +1 -2
  227. package/dist/esm/lib/security.js.map +1 -1
  228. package/dist/esm/models/connected-file.d.ts +107 -0
  229. package/dist/esm/models/connected-file.d.ts.map +1 -0
  230. package/dist/esm/models/connected-file.js +81 -0
  231. package/dist/esm/models/connected-file.js.map +1 -0
  232. package/dist/esm/models/connected-folder.d.ts +107 -0
  233. package/dist/esm/models/connected-folder.d.ts.map +1 -0
  234. package/dist/esm/models/connected-folder.js +81 -0
  235. package/dist/esm/models/connected-folder.js.map +1 -0
  236. package/dist/esm/models/errors/get-v2-files-file-id.d.ts +29 -0
  237. package/dist/esm/models/errors/get-v2-files-file-id.d.ts.map +1 -0
  238. package/dist/esm/models/errors/get-v2-files-file-id.js +41 -0
  239. package/dist/esm/models/errors/get-v2-files-file-id.js.map +1 -0
  240. package/dist/esm/models/errors/get-v2-objects-object.d.ts +25 -0
  241. package/dist/esm/models/errors/get-v2-objects-object.d.ts.map +1 -1
  242. package/dist/esm/models/errors/get-v2-objects-object.js +32 -0
  243. package/dist/esm/models/errors/get-v2-objects-object.js.map +1 -1
  244. package/dist/esm/models/errors/index.d.ts +1 -0
  245. package/dist/esm/models/errors/index.d.ts.map +1 -1
  246. package/dist/esm/models/errors/index.js +1 -0
  247. package/dist/esm/models/errors/index.js.map +1 -1
  248. package/dist/esm/models/file.d.ts +127 -0
  249. package/dist/esm/models/file.d.ts.map +1 -0
  250. package/dist/esm/models/file.js +93 -0
  251. package/dist/esm/models/file.js.map +1 -0
  252. package/dist/esm/models/folder.d.ts +107 -0
  253. package/dist/esm/models/folder.d.ts.map +1 -0
  254. package/dist/esm/models/folder.js +80 -0
  255. package/dist/esm/models/folder.js.map +1 -0
  256. package/dist/esm/models/index.d.ts +4 -0
  257. package/dist/esm/models/index.d.ts.map +1 -1
  258. package/dist/esm/models/index.js +4 -0
  259. package/dist/esm/models/index.js.map +1 -1
  260. package/dist/esm/models/operations/get-scim-v2-groups.d.ts +17 -0
  261. package/dist/esm/models/operations/get-scim-v2-groups.d.ts.map +1 -0
  262. package/dist/esm/models/operations/get-scim-v2-groups.js +23 -0
  263. package/dist/esm/models/operations/get-scim-v2-groups.js.map +1 -0
  264. package/dist/esm/models/operations/get-scim-v2-users.d.ts +17 -0
  265. package/dist/esm/models/operations/get-scim-v2-users.d.ts.map +1 -0
  266. package/dist/esm/models/operations/get-scim-v2-users.js +23 -0
  267. package/dist/esm/models/operations/get-scim-v2-users.js.map +1 -0
  268. package/dist/esm/models/operations/get-v2-files-file-id-download.d.ts +21 -0
  269. package/dist/esm/models/operations/get-v2-files-file-id-download.d.ts.map +1 -0
  270. package/dist/esm/models/operations/get-v2-files-file-id-download.js +23 -0
  271. package/dist/esm/models/operations/get-v2-files-file-id-download.js.map +1 -0
  272. package/dist/esm/models/operations/get-v2-files-file-id.d.ts +169 -0
  273. package/dist/esm/models/operations/get-v2-files-file-id.d.ts.map +1 -0
  274. package/dist/esm/models/operations/get-v2-files-file-id.js +143 -0
  275. package/dist/esm/models/operations/get-v2-files-file-id.js.map +1 -0
  276. package/dist/esm/models/operations/get-v2-files.d.ts +70 -0
  277. package/dist/esm/models/operations/get-v2-files.d.ts.map +1 -0
  278. package/dist/esm/models/operations/get-v2-files.js +74 -0
  279. package/dist/esm/models/operations/get-v2-files.js.map +1 -0
  280. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts +4402 -0
  281. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts.map +1 -0
  282. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js +3639 -0
  283. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js.map +1 -0
  284. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts +538 -0
  285. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts.map +1 -0
  286. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js +445 -0
  287. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js.map +1 -0
  288. package/dist/esm/models/operations/get-v2-self.d.ts +1 -1
  289. package/dist/esm/models/operations/get-v2-self.d.ts.map +1 -1
  290. package/dist/esm/models/operations/get-v2-self.js +1 -1
  291. package/dist/esm/models/operations/get-v2-self.js.map +1 -1
  292. package/dist/esm/models/operations/index.d.ts +15 -2
  293. package/dist/esm/models/operations/index.d.ts.map +1 -1
  294. package/dist/esm/models/operations/index.js +15 -2
  295. package/dist/esm/models/operations/index.js.map +1 -1
  296. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts +3854 -0
  297. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts.map +1 -0
  298. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js +3085 -0
  299. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js.map +1 -0
  300. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts +3675 -0
  301. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts.map +1 -0
  302. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js +2932 -0
  303. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js.map +1 -0
  304. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.d.ts +583 -0
  305. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.d.ts.map +1 -0
  306. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.js +516 -0
  307. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.js.map +1 -0
  308. package/dist/esm/models/operations/post-scim-v2-groups.d.ts +33 -0
  309. package/dist/esm/models/operations/post-scim-v2-groups.d.ts.map +1 -0
  310. package/dist/esm/models/operations/post-scim-v2-groups.js +41 -0
  311. package/dist/esm/models/operations/post-scim-v2-groups.js.map +1 -0
  312. package/dist/esm/models/operations/post-scim-v2-users.d.ts +51 -0
  313. package/dist/esm/models/operations/post-scim-v2-users.d.ts.map +1 -0
  314. package/dist/esm/models/operations/post-scim-v2-users.js +56 -0
  315. package/dist/esm/models/operations/post-scim-v2-users.js.map +1 -0
  316. package/dist/esm/models/operations/post-v2-files-upload.d.ts +54 -0
  317. package/dist/esm/models/operations/post-v2-files-upload.d.ts.map +1 -0
  318. package/dist/esm/models/operations/post-v2-files-upload.js +45 -0
  319. package/dist/esm/models/operations/post-v2-files-upload.js.map +1 -0
  320. package/dist/esm/models/operations/post-v2-files.d.ts +165 -0
  321. package/dist/esm/models/operations/post-v2-files.d.ts.map +1 -0
  322. package/dist/esm/models/operations/post-v2-files.js +117 -0
  323. package/dist/esm/models/operations/post-v2-files.js.map +1 -0
  324. package/dist/esm/models/operations/post-v2-tasks-assignee-workspace-member.d.ts +4040 -0
  325. package/dist/esm/models/operations/post-v2-tasks-assignee-workspace-member.d.ts.map +1 -0
  326. package/dist/esm/models/operations/post-v2-tasks-assignee-workspace-member.js +3303 -0
  327. package/dist/esm/models/operations/post-v2-tasks-assignee-workspace-member.js.map +1 -0
  328. package/dist/esm/sdk/files.d.ts +71 -0
  329. package/dist/esm/sdk/files.d.ts.map +1 -0
  330. package/dist/esm/sdk/files.js +92 -0
  331. package/dist/esm/sdk/files.js.map +1 -0
  332. package/dist/esm/sdk/scim-groups.d.ts +23 -0
  333. package/dist/esm/sdk/scim-groups.d.ts.map +1 -0
  334. package/dist/esm/sdk/scim-groups.js +32 -0
  335. package/dist/esm/sdk/scim-groups.js.map +1 -0
  336. package/dist/esm/sdk/scim-schemas.d.ts +1 -1
  337. package/dist/esm/sdk/scim-schemas.js +1 -1
  338. package/dist/esm/sdk/scim-users.d.ts +23 -0
  339. package/dist/esm/sdk/scim-users.d.ts.map +1 -0
  340. package/dist/esm/sdk/scim-users.js +32 -0
  341. package/dist/esm/sdk/scim-users.js.map +1 -0
  342. package/dist/esm/sdk/sdk.d.ts +9 -0
  343. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  344. package/dist/esm/sdk/sdk.js +12 -0
  345. package/dist/esm/sdk/sdk.js.map +1 -1
  346. package/jsr.json +1 -1
  347. package/package.json +2 -2
  348. package/src/funcs/files-delete-v2-files-file-id.ts +181 -0
  349. package/src/funcs/files-get-v2-files-file-id-download.ts +172 -0
  350. package/src/funcs/files-get-v2-files-file-id.ts +181 -0
  351. package/src/funcs/files-get-v2-files.ts +174 -0
  352. package/src/funcs/files-post-v2-files-upload.ts +206 -0
  353. package/src/funcs/files-post-v2-files.ts +165 -0
  354. package/src/funcs/notes-create.ts +5 -1
  355. package/src/funcs/scim-groups-get-scimv2-groups.ts +144 -0
  356. package/src/funcs/scim-groups-post-scimv2-groups.ts +144 -0
  357. package/src/funcs/scim-schemas-list.ts +1 -1
  358. package/src/funcs/scim-users-get-scimv2-users.ts +144 -0
  359. package/src/funcs/scim-users-post-scimv2-users.ts +144 -0
  360. package/src/lib/config.ts +3 -3
  361. package/src/lib/matchers.ts +3 -2
  362. package/src/lib/security.ts +1 -2
  363. package/src/models/connected-file.ts +208 -0
  364. package/src/models/connected-folder.ts +208 -0
  365. package/src/models/errors/get-v2-files-file-id.ts +70 -0
  366. package/src/models/errors/get-v2-objects-object.ts +61 -0
  367. package/src/models/errors/index.ts +1 -0
  368. package/src/models/file.ts +224 -0
  369. package/src/models/folder.ts +197 -0
  370. package/src/models/index.ts +4 -0
  371. package/src/models/operations/get-scim-v2-groups.ts +50 -0
  372. package/src/models/operations/get-scim-v2-users.ts +50 -0
  373. package/src/models/operations/get-v2-files-file-id-download.ts +64 -0
  374. package/src/models/operations/get-v2-files-file-id.ts +404 -0
  375. package/src/models/operations/get-v2-files.ts +195 -0
  376. package/src/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.ts +8164 -0
  377. package/src/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.ts +1446 -0
  378. package/src/models/operations/get-v2-self.ts +2 -2
  379. package/src/models/operations/index.ts +15 -2
  380. package/src/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.ts +7440 -0
  381. package/src/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.ts +6858 -0
  382. package/src/models/operations/patch-v2-tasks-task-id-response.ts +1152 -0
  383. package/src/models/operations/post-scim-v2-groups.ts +99 -0
  384. package/src/models/operations/post-scim-v2-users.ts +141 -0
  385. package/src/models/operations/post-v2-files-upload.ts +117 -0
  386. package/src/models/operations/post-v2-files.ts +336 -0
  387. package/src/models/operations/post-v2-tasks-assignee-workspace-member.ts +7843 -0
  388. package/src/sdk/files.ts +141 -0
  389. package/src/sdk/scim-groups.ts +45 -0
  390. package/src/sdk/scim-schemas.ts +1 -1
  391. package/src/sdk/scim-users.ts +45 -0
  392. package/src/sdk/sdk.ts +18 -0
  393. package/.devcontainer/devcontainer.json +0 -45
  394. package/dist/commonjs/models/operations/get-v2-lists-list.d.ts +0 -8779
  395. package/dist/commonjs/models/operations/get-v2-lists-list.d.ts.map +0 -1
  396. package/dist/commonjs/models/operations/get-v2-lists-list.js +0 -7398
  397. package/dist/commonjs/models/operations/get-v2-lists-list.js.map +0 -1
  398. package/dist/commonjs/models/operations/get-v2-objects-object.d.ts +0 -8272
  399. package/dist/commonjs/models/operations/get-v2-objects-object.d.ts.map +0 -1
  400. package/dist/commonjs/models/operations/get-v2-objects-object.js +0 -6977
  401. package/dist/commonjs/models/operations/get-v2-objects-object.js.map +0 -1
  402. package/dist/esm/models/operations/get-v2-lists-list.d.ts +0 -8779
  403. package/dist/esm/models/operations/get-v2-lists-list.d.ts.map +0 -1
  404. package/dist/esm/models/operations/get-v2-lists-list.js +0 -7146
  405. package/dist/esm/models/operations/get-v2-lists-list.js.map +0 -1
  406. package/dist/esm/models/operations/get-v2-objects-object.d.ts +0 -8272
  407. package/dist/esm/models/operations/get-v2-objects-object.d.ts.map +0 -1
  408. package/dist/esm/models/operations/get-v2-objects-object.js +0 -6723
  409. package/dist/esm/models/operations/get-v2-objects-object.js.map +0 -1
  410. package/examples/node_modules/.package-lock.json +0 -174
  411. package/examples/node_modules/@esbuild/darwin-arm64/package.json +0 -20
  412. package/examples/node_modules/@types/node/assert/strict.d.ts +0 -8
  413. package/examples/node_modules/@types/node/assert.d.ts +0 -1062
  414. package/examples/node_modules/@types/node/async_hooks.d.ts +0 -605
  415. package/examples/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  416. package/examples/node_modules/@types/node/buffer.d.ts +0 -1936
  417. package/examples/node_modules/@types/node/child_process.d.ts +0 -1475
  418. package/examples/node_modules/@types/node/cluster.d.ts +0 -577
  419. package/examples/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  420. package/examples/node_modules/@types/node/compatibility/index.d.ts +0 -9
  421. package/examples/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  422. package/examples/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  423. package/examples/node_modules/@types/node/console.d.ts +0 -452
  424. package/examples/node_modules/@types/node/constants.d.ts +0 -21
  425. package/examples/node_modules/@types/node/crypto.d.ts +0 -4590
  426. package/examples/node_modules/@types/node/dgram.d.ts +0 -597
  427. package/examples/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  428. package/examples/node_modules/@types/node/dns/promises.d.ts +0 -479
  429. package/examples/node_modules/@types/node/dns.d.ts +0 -871
  430. package/examples/node_modules/@types/node/domain.d.ts +0 -170
  431. package/examples/node_modules/@types/node/events.d.ts +0 -977
  432. package/examples/node_modules/@types/node/fs/promises.d.ts +0 -1270
  433. package/examples/node_modules/@types/node/fs.d.ts +0 -4375
  434. package/examples/node_modules/@types/node/globals.d.ts +0 -172
  435. package/examples/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  436. package/examples/node_modules/@types/node/http.d.ts +0 -2049
  437. package/examples/node_modules/@types/node/http2.d.ts +0 -2631
  438. package/examples/node_modules/@types/node/https.d.ts +0 -578
  439. package/examples/node_modules/@types/node/index.d.ts +0 -93
  440. package/examples/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  441. package/examples/node_modules/@types/node/module.d.ts +0 -539
  442. package/examples/node_modules/@types/node/net.d.ts +0 -1012
  443. package/examples/node_modules/@types/node/os.d.ts +0 -506
  444. package/examples/node_modules/@types/node/package.json +0 -140
  445. package/examples/node_modules/@types/node/path.d.ts +0 -200
  446. package/examples/node_modules/@types/node/perf_hooks.d.ts +0 -961
  447. package/examples/node_modules/@types/node/process.d.ts +0 -1966
  448. package/examples/node_modules/@types/node/punycode.d.ts +0 -117
  449. package/examples/node_modules/@types/node/querystring.d.ts +0 -152
  450. package/examples/node_modules/@types/node/readline/promises.d.ts +0 -162
  451. package/examples/node_modules/@types/node/readline.d.ts +0 -589
  452. package/examples/node_modules/@types/node/repl.d.ts +0 -430
  453. package/examples/node_modules/@types/node/sea.d.ts +0 -153
  454. package/examples/node_modules/@types/node/stream/consumers.d.ts +0 -38
  455. package/examples/node_modules/@types/node/stream/promises.d.ts +0 -90
  456. package/examples/node_modules/@types/node/stream/web.d.ts +0 -533
  457. package/examples/node_modules/@types/node/stream.d.ts +0 -1675
  458. package/examples/node_modules/@types/node/string_decoder.d.ts +0 -67
  459. package/examples/node_modules/@types/node/test.d.ts +0 -1787
  460. package/examples/node_modules/@types/node/timers/promises.d.ts +0 -108
  461. package/examples/node_modules/@types/node/timers.d.ts +0 -286
  462. package/examples/node_modules/@types/node/tls.d.ts +0 -1259
  463. package/examples/node_modules/@types/node/trace_events.d.ts +0 -197
  464. package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  465. package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  466. package/examples/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  467. package/examples/node_modules/@types/node/tty.d.ts +0 -208
  468. package/examples/node_modules/@types/node/url.d.ts +0 -964
  469. package/examples/node_modules/@types/node/util.d.ts +0 -2331
  470. package/examples/node_modules/@types/node/v8.d.ts +0 -809
  471. package/examples/node_modules/@types/node/vm.d.ts +0 -1001
  472. package/examples/node_modules/@types/node/wasi.d.ts +0 -181
  473. package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  474. package/examples/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  475. package/examples/node_modules/@types/node/web-globals/events.d.ts +0 -97
  476. package/examples/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  477. package/examples/node_modules/@types/node/worker_threads.d.ts +0 -715
  478. package/examples/node_modules/@types/node/zlib.d.ts +0 -540
  479. package/examples/node_modules/dotenv/config.d.ts +0 -1
  480. package/examples/node_modules/dotenv/config.js +0 -9
  481. package/examples/node_modules/dotenv/lib/cli-options.js +0 -17
  482. package/examples/node_modules/dotenv/lib/env-options.js +0 -28
  483. package/examples/node_modules/dotenv/lib/main.d.ts +0 -162
  484. package/examples/node_modules/dotenv/lib/main.js +0 -386
  485. package/examples/node_modules/dotenv/package.json +0 -62
  486. package/examples/node_modules/esbuild/install.js +0 -289
  487. package/examples/node_modules/esbuild/lib/main.d.ts +0 -716
  488. package/examples/node_modules/esbuild/lib/main.js +0 -2242
  489. package/examples/node_modules/esbuild/package.json +0 -49
  490. package/examples/node_modules/fsevents/fsevents.d.ts +0 -46
  491. package/examples/node_modules/fsevents/fsevents.js +0 -83
  492. package/examples/node_modules/fsevents/package.json +0 -62
  493. package/examples/node_modules/get-tsconfig/dist/index.mjs +0 -7
  494. package/examples/node_modules/get-tsconfig/package.json +0 -46
  495. package/examples/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
  496. package/examples/node_modules/resolve-pkg-maps/package.json +0 -42
  497. package/examples/node_modules/tsx/dist/cjs/api/index.mjs +0 -1
  498. package/examples/node_modules/tsx/dist/cjs/index.mjs +0 -1
  499. package/examples/node_modules/tsx/dist/cli.mjs +0 -55
  500. package/examples/node_modules/tsx/dist/client-BQVF1NaW.mjs +0 -1
  501. package/examples/node_modules/tsx/dist/esm/api/index.mjs +0 -1
  502. package/examples/node_modules/tsx/dist/esm/index.mjs +0 -2
  503. package/examples/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +0 -1
  504. package/examples/node_modules/tsx/dist/index-7AaEi15b.mjs +0 -14
  505. package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +0 -1
  506. package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +0 -3
  507. package/examples/node_modules/tsx/dist/loader.mjs +0 -1
  508. package/examples/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +0 -1
  509. package/examples/node_modules/tsx/dist/package-CeBgXWuR.mjs +0 -1
  510. package/examples/node_modules/tsx/dist/patch-repl.mjs +0 -1
  511. package/examples/node_modules/tsx/dist/preflight.mjs +0 -1
  512. package/examples/node_modules/tsx/dist/register-B7jrtLTO.mjs +0 -1
  513. package/examples/node_modules/tsx/dist/register-CFH5oNdT.mjs +0 -4
  514. package/examples/node_modules/tsx/dist/repl.mjs +0 -3
  515. package/examples/node_modules/tsx/dist/require-DQxpCAr4.mjs +0 -1
  516. package/examples/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
  517. package/examples/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +0 -1
  518. package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
  519. package/examples/node_modules/tsx/package.json +0 -68
  520. package/examples/node_modules/undici-types/agent.d.ts +0 -31
  521. package/examples/node_modules/undici-types/api.d.ts +0 -43
  522. package/examples/node_modules/undici-types/balanced-pool.d.ts +0 -29
  523. package/examples/node_modules/undici-types/cache.d.ts +0 -36
  524. package/examples/node_modules/undici-types/client.d.ts +0 -108
  525. package/examples/node_modules/undici-types/connector.d.ts +0 -34
  526. package/examples/node_modules/undici-types/content-type.d.ts +0 -21
  527. package/examples/node_modules/undici-types/cookies.d.ts +0 -28
  528. package/examples/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  529. package/examples/node_modules/undici-types/dispatcher.d.ts +0 -256
  530. package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  531. package/examples/node_modules/undici-types/errors.d.ts +0 -149
  532. package/examples/node_modules/undici-types/eventsource.d.ts +0 -61
  533. package/examples/node_modules/undici-types/fetch.d.ts +0 -209
  534. package/examples/node_modules/undici-types/file.d.ts +0 -39
  535. package/examples/node_modules/undici-types/filereader.d.ts +0 -54
  536. package/examples/node_modules/undici-types/formdata.d.ts +0 -108
  537. package/examples/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  538. package/examples/node_modules/undici-types/global-origin.d.ts +0 -7
  539. package/examples/node_modules/undici-types/handlers.d.ts +0 -15
  540. package/examples/node_modules/undici-types/header.d.ts +0 -4
  541. package/examples/node_modules/undici-types/index.d.ts +0 -71
  542. package/examples/node_modules/undici-types/interceptors.d.ts +0 -17
  543. package/examples/node_modules/undici-types/mock-agent.d.ts +0 -50
  544. package/examples/node_modules/undici-types/mock-client.d.ts +0 -25
  545. package/examples/node_modules/undici-types/mock-errors.d.ts +0 -12
  546. package/examples/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  547. package/examples/node_modules/undici-types/mock-pool.d.ts +0 -25
  548. package/examples/node_modules/undici-types/package.json +0 -55
  549. package/examples/node_modules/undici-types/patch.d.ts +0 -33
  550. package/examples/node_modules/undici-types/pool-stats.d.ts +0 -19
  551. package/examples/node_modules/undici-types/pool.d.ts +0 -39
  552. package/examples/node_modules/undici-types/proxy-agent.d.ts +0 -28
  553. package/examples/node_modules/undici-types/readable.d.ts +0 -65
  554. package/examples/node_modules/undici-types/retry-agent.d.ts +0 -8
  555. package/examples/node_modules/undici-types/retry-handler.d.ts +0 -116
  556. package/examples/node_modules/undici-types/util.d.ts +0 -18
  557. package/examples/node_modules/undici-types/webidl.d.ts +0 -228
  558. package/examples/node_modules/undici-types/websocket.d.ts +0 -150
  559. package/examples/package-lock.json +0 -611
  560. package/examples/package.json +0 -18
  561. package/src/models/operations/get-v2-lists-list.ts +0 -17016
  562. package/src/models/operations/get-v2-objects-object.ts +0 -15794
  563. package/tsconfig.json +0 -40
@@ -0,0 +1,1446 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import * as discriminatedUnionTypes from "../../types/discriminated-union.js";
9
+ import { discriminatedUnion } from "../../types/discriminated-union.js";
10
+ import * as openEnums from "../../types/enums.js";
11
+ import { OpenEnum } from "../../types/enums.js";
12
+ import { Result as SafeParseResult } from "../../types/fp.js";
13
+ import * as types from "../../types/primitives.js";
14
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
15
+ import {
16
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8,
17
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$inboundSchema,
18
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation,
19
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$inboundSchema,
20
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber,
21
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$inboundSchema,
22
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName,
23
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$inboundSchema,
24
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber,
25
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$inboundSchema,
26
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating,
27
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$inboundSchema,
28
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect,
29
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$inboundSchema,
30
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus,
31
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$inboundSchema,
32
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText,
33
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$inboundSchema,
34
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp,
35
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$inboundSchema,
36
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType,
37
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$inboundSchema,
38
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType,
39
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$inboundSchema,
40
+ } from "./get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js";
41
+
42
+ /**
43
+ * The actor that created this value.
44
+ */
45
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor = {
46
+ /**
47
+ * An ID to identify the actor.
48
+ */
49
+ id?: string | null | undefined;
50
+ /**
51
+ * The type of actor. [Read more information on actor types here](/docs/actors).
52
+ */
53
+ type?:
54
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType
55
+ | null
56
+ | undefined;
57
+ };
58
+
59
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction =
60
+ {
61
+ /**
62
+ * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
63
+ */
64
+ activeFrom: Date;
65
+ /**
66
+ * The point in time at which this value was deactivated. If `null`, the value is active.
67
+ */
68
+ activeUntil: Date | null;
69
+ /**
70
+ * The actor that created this value.
71
+ */
72
+ createdByActor:
73
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8;
74
+ /**
75
+ * The type of interaction e.g. calendar or email.
76
+ */
77
+ interactionType:
78
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType;
79
+ /**
80
+ * When the interaction occurred.
81
+ */
82
+ interactedAt: Date;
83
+ /**
84
+ * The actor that created this value.
85
+ */
86
+ ownerActor: GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor;
87
+ /**
88
+ * The attribute type of the value.
89
+ */
90
+ attributeType: "interaction";
91
+ };
92
+
93
+ /**
94
+ * The type of actor. [Read more information on actor types here](/docs/actors).
95
+ */
96
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7 =
97
+ {
98
+ ApiToken: "api-token",
99
+ WorkspaceMember: "workspace-member",
100
+ System: "system",
101
+ App: "app",
102
+ } as const;
103
+ /**
104
+ * The type of actor. [Read more information on actor types here](/docs/actors).
105
+ */
106
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7 =
107
+ OpenEnum<
108
+ typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7
109
+ >;
110
+
111
+ /**
112
+ * The actor that created this value.
113
+ */
114
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7 =
115
+ {
116
+ /**
117
+ * An ID to identify the actor.
118
+ */
119
+ id?: string | null | undefined;
120
+ /**
121
+ * The type of actor. [Read more information on actor types here](/docs/actors).
122
+ */
123
+ type?:
124
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7
125
+ | null
126
+ | undefined;
127
+ };
128
+
129
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference =
130
+ {
131
+ /**
132
+ * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
133
+ */
134
+ activeFrom: Date;
135
+ /**
136
+ * The point in time at which this value was deactivated. If `null`, the value is active.
137
+ */
138
+ activeUntil: Date | null;
139
+ /**
140
+ * The actor that created this value.
141
+ */
142
+ createdByActor:
143
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7;
144
+ /**
145
+ * A slug identifying the object that the referenced record belongs to.
146
+ */
147
+ targetObject: string;
148
+ /**
149
+ * A UUID to identify the referenced record.
150
+ */
151
+ targetRecordId: string;
152
+ /**
153
+ * The attribute type of the value.
154
+ */
155
+ attributeType: "record-reference";
156
+ };
157
+
158
+ /**
159
+ * The type of actor. [Read more information on actor types here](/docs/actors).
160
+ */
161
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6 =
162
+ {
163
+ ApiToken: "api-token",
164
+ WorkspaceMember: "workspace-member",
165
+ System: "system",
166
+ App: "app",
167
+ } as const;
168
+ /**
169
+ * The type of actor. [Read more information on actor types here](/docs/actors).
170
+ */
171
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6 =
172
+ OpenEnum<
173
+ typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6
174
+ >;
175
+
176
+ /**
177
+ * The actor that created this value.
178
+ */
179
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6 =
180
+ {
181
+ /**
182
+ * An ID to identify the actor.
183
+ */
184
+ id?: string | null | undefined;
185
+ /**
186
+ * The type of actor. [Read more information on actor types here](/docs/actors).
187
+ */
188
+ type?:
189
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6
190
+ | null
191
+ | undefined;
192
+ };
193
+
194
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress =
195
+ {
196
+ /**
197
+ * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
198
+ */
199
+ activeFrom: Date;
200
+ /**
201
+ * The point in time at which this value was deactivated. If `null`, the value is active.
202
+ */
203
+ activeUntil: Date | null;
204
+ /**
205
+ * The actor that created this value.
206
+ */
207
+ createdByActor:
208
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6;
209
+ originalEmailAddress: string;
210
+ emailAddress: string;
211
+ emailDomain: string;
212
+ emailRootDomain: string;
213
+ emailLocalSpecifier: string;
214
+ /**
215
+ * The attribute type of the value.
216
+ */
217
+ attributeType: "email-address";
218
+ };
219
+
220
+ /**
221
+ * The type of actor. [Read more information on actor types here](/docs/actors).
222
+ */
223
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5 =
224
+ {
225
+ ApiToken: "api-token",
226
+ WorkspaceMember: "workspace-member",
227
+ System: "system",
228
+ App: "app",
229
+ } as const;
230
+ /**
231
+ * The type of actor. [Read more information on actor types here](/docs/actors).
232
+ */
233
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5 =
234
+ OpenEnum<
235
+ typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5
236
+ >;
237
+
238
+ /**
239
+ * The actor that created this value.
240
+ */
241
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5 =
242
+ {
243
+ /**
244
+ * An ID to identify the actor.
245
+ */
246
+ id?: string | null | undefined;
247
+ /**
248
+ * The type of actor. [Read more information on actor types here](/docs/actors).
249
+ */
250
+ type?:
251
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5
252
+ | null
253
+ | undefined;
254
+ };
255
+
256
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain = {
257
+ /**
258
+ * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
259
+ */
260
+ activeFrom: Date;
261
+ /**
262
+ * The point in time at which this value was deactivated. If `null`, the value is active.
263
+ */
264
+ activeUntil: Date | null;
265
+ /**
266
+ * The actor that created this value.
267
+ */
268
+ createdByActor:
269
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5;
270
+ domain: string;
271
+ rootDomain: string;
272
+ /**
273
+ * The attribute type of the value.
274
+ */
275
+ attributeType: "domain";
276
+ };
277
+
278
+ /**
279
+ * The type of actor. [Read more information on actor types here](/docs/actors).
280
+ */
281
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4 =
282
+ {
283
+ ApiToken: "api-token",
284
+ WorkspaceMember: "workspace-member",
285
+ System: "system",
286
+ App: "app",
287
+ } as const;
288
+ /**
289
+ * The type of actor. [Read more information on actor types here](/docs/actors).
290
+ */
291
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4 =
292
+ OpenEnum<
293
+ typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4
294
+ >;
295
+
296
+ /**
297
+ * The actor that created this value.
298
+ */
299
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4 =
300
+ {
301
+ /**
302
+ * An ID to identify the actor.
303
+ */
304
+ id?: string | null | undefined;
305
+ /**
306
+ * The type of actor. [Read more information on actor types here](/docs/actors).
307
+ */
308
+ type?:
309
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4
310
+ | null
311
+ | undefined;
312
+ };
313
+
314
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate = {
315
+ /**
316
+ * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
317
+ */
318
+ activeFrom: Date;
319
+ /**
320
+ * The point in time at which this value was deactivated. If `null`, the value is active.
321
+ */
322
+ activeUntil: Date | null;
323
+ /**
324
+ * The actor that created this value.
325
+ */
326
+ createdByActor:
327
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4;
328
+ /**
329
+ * The attribute type of the value.
330
+ */
331
+ attributeType: "date";
332
+ /**
333
+ * A date represents a single calendar year, month and day, independent of timezone. If hours, months, seconds or timezones are provided, they will be trimmed. For example, "2023" and "2023-01" will be coerced into "2023-01-01", and "2023-01-02", "2023-01-02T13:00", "2023-01-02T14:00:00", "2023-01-02T15:00:00.000000000", and "2023-01-02T15:00:00.000000000+02:00" will all be coerced to "2023-01-02". If a timezone is provided that would result in a different calendar date in UTC, the date will be coerced to UTC and then the timezone component will be trimmed. For example, the value "2023-01-02T23:00:00-10:00" will be returned as "2023-01-03". The maximum date is "9999-12-31".
334
+ */
335
+ value: string;
336
+ };
337
+
338
+ /**
339
+ * The type of actor. [Read more information on actor types here](/docs/actors).
340
+ */
341
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3 =
342
+ {
343
+ ApiToken: "api-token",
344
+ WorkspaceMember: "workspace-member",
345
+ System: "system",
346
+ App: "app",
347
+ } as const;
348
+ /**
349
+ * The type of actor. [Read more information on actor types here](/docs/actors).
350
+ */
351
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3 =
352
+ OpenEnum<
353
+ typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3
354
+ >;
355
+
356
+ /**
357
+ * The actor that created this value.
358
+ */
359
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3 =
360
+ {
361
+ /**
362
+ * An ID to identify the actor.
363
+ */
364
+ id?: string | null | undefined;
365
+ /**
366
+ * The type of actor. [Read more information on actor types here](/docs/actors).
367
+ */
368
+ type?:
369
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3
370
+ | null
371
+ | undefined;
372
+ };
373
+
374
+ /**
375
+ * The ISO4217 currency code representing the currency that the value is stored in.
376
+ */
377
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode =
378
+ {
379
+ Ars: "ARS",
380
+ Aud: "AUD",
381
+ Brl: "BRL",
382
+ Bgn: "BGN",
383
+ Cad: "CAD",
384
+ Clp: "CLP",
385
+ Cny: "CNY",
386
+ Cop: "COP",
387
+ Czk: "CZK",
388
+ Dkk: "DKK",
389
+ Eur: "EUR",
390
+ Hkd: "HKD",
391
+ Huf: "HUF",
392
+ Isk: "ISK",
393
+ Inr: "INR",
394
+ Ils: "ILS",
395
+ Jpy: "JPY",
396
+ Kes: "KES",
397
+ Krw: "KRW",
398
+ Myr: "MYR",
399
+ Mxn: "MXN",
400
+ Ntd: "NTD",
401
+ Nzd: "NZD",
402
+ Ngn: "NGN",
403
+ Nok: "NOK",
404
+ Xpf: "XPF",
405
+ Pen: "PEN",
406
+ Php: "PHP",
407
+ Pln: "PLN",
408
+ Gbp: "GBP",
409
+ Rwf: "RWF",
410
+ Sar: "SAR",
411
+ Sgd: "SGD",
412
+ Zar: "ZAR",
413
+ Sek: "SEK",
414
+ Chf: "CHF",
415
+ Thb: "THB",
416
+ Aed: "AED",
417
+ Uyu: "UYU",
418
+ Usd: "USD",
419
+ } as const;
420
+ /**
421
+ * The ISO4217 currency code representing the currency that the value is stored in.
422
+ */
423
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode =
424
+ OpenEnum<
425
+ typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode
426
+ >;
427
+
428
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency =
429
+ {
430
+ /**
431
+ * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
432
+ */
433
+ activeFrom: Date;
434
+ /**
435
+ * The point in time at which this value was deactivated. If `null`, the value is active.
436
+ */
437
+ activeUntil: Date | null;
438
+ /**
439
+ * The actor that created this value.
440
+ */
441
+ createdByActor:
442
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3;
443
+ /**
444
+ * A numerical representation of the currency value. A decimal with a max of 4 decimal places.
445
+ */
446
+ currencyValue: number;
447
+ /**
448
+ * The ISO4217 currency code representing the currency that the value is stored in.
449
+ */
450
+ currencyCode?:
451
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode
452
+ | null
453
+ | undefined;
454
+ /**
455
+ * The attribute type of the value.
456
+ */
457
+ attributeType: "currency";
458
+ };
459
+
460
+ /**
461
+ * The type of actor. [Read more information on actor types here](/docs/actors).
462
+ */
463
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2 =
464
+ {
465
+ ApiToken: "api-token",
466
+ WorkspaceMember: "workspace-member",
467
+ System: "system",
468
+ App: "app",
469
+ } as const;
470
+ /**
471
+ * The type of actor. [Read more information on actor types here](/docs/actors).
472
+ */
473
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2 =
474
+ OpenEnum<
475
+ typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2
476
+ >;
477
+
478
+ /**
479
+ * The actor that created this value.
480
+ */
481
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2 =
482
+ {
483
+ /**
484
+ * An ID to identify the actor.
485
+ */
486
+ id?: string | null | undefined;
487
+ /**
488
+ * The type of actor. [Read more information on actor types here](/docs/actors).
489
+ */
490
+ type?:
491
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2
492
+ | null
493
+ | undefined;
494
+ };
495
+
496
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox =
497
+ {
498
+ /**
499
+ * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
500
+ */
501
+ activeFrom: Date;
502
+ /**
503
+ * The point in time at which this value was deactivated. If `null`, the value is active.
504
+ */
505
+ activeUntil: Date | null;
506
+ /**
507
+ * The actor that created this value.
508
+ */
509
+ createdByActor:
510
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2;
511
+ /**
512
+ * A boolean representing whether the checkbox is checked or not. The string values 'true' and 'false' are also accepted.
513
+ */
514
+ value: boolean;
515
+ /**
516
+ * The attribute type of the value.
517
+ */
518
+ attributeType: "checkbox";
519
+ };
520
+
521
+ /**
522
+ * The type of actor. [Read more information on actor types here](/docs/actors).
523
+ */
524
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1 =
525
+ {
526
+ ApiToken: "api-token",
527
+ WorkspaceMember: "workspace-member",
528
+ System: "system",
529
+ App: "app",
530
+ } as const;
531
+ /**
532
+ * The type of actor. [Read more information on actor types here](/docs/actors).
533
+ */
534
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1 =
535
+ OpenEnum<
536
+ typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1
537
+ >;
538
+
539
+ /**
540
+ * The actor that created this value.
541
+ */
542
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1 =
543
+ {
544
+ /**
545
+ * An ID to identify the actor.
546
+ */
547
+ id?: string | null | undefined;
548
+ /**
549
+ * The type of actor. [Read more information on actor types here](/docs/actors).
550
+ */
551
+ type?:
552
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1
553
+ | null
554
+ | undefined;
555
+ };
556
+
557
+ /**
558
+ * The type of the referenced actor. [Read more information on actor types here](/docs/actors).
559
+ */
560
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType =
561
+ {
562
+ ApiToken: "api-token",
563
+ WorkspaceMember: "workspace-member",
564
+ System: "system",
565
+ App: "app",
566
+ } as const;
567
+ /**
568
+ * The type of the referenced actor. [Read more information on actor types here](/docs/actors).
569
+ */
570
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType =
571
+ OpenEnum<
572
+ typeof GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType
573
+ >;
574
+
575
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference =
576
+ {
577
+ /**
578
+ * The point in time at which this value was made "active". `active_from` can be considered roughly analogous to `created_at`.
579
+ */
580
+ activeFrom: Date;
581
+ /**
582
+ * The point in time at which this value was deactivated. If `null`, the value is active.
583
+ */
584
+ activeUntil: Date | null;
585
+ /**
586
+ * The actor that created this value.
587
+ */
588
+ createdByActor:
589
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1;
590
+ /**
591
+ * The type of the referenced actor. [Read more information on actor types here](/docs/actors).
592
+ */
593
+ referencedActorType:
594
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType;
595
+ /**
596
+ * The ID of the referenced actor.
597
+ */
598
+ referencedActorId: string | null;
599
+ /**
600
+ * The attribute type of the value.
601
+ */
602
+ attributeType: "actor-reference";
603
+ };
604
+
605
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion =
606
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference
607
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox
608
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency
609
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate
610
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain
611
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress
612
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference
613
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction
614
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation
615
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber
616
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName
617
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber
618
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus
619
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating
620
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect
621
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText
622
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp
623
+ | discriminatedUnionTypes.Unknown<"attributeType">;
624
+
625
+ /**
626
+ * Success
627
+ */
628
+ export type GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse = {
629
+ data: Array<
630
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference
631
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox
632
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency
633
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate
634
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain
635
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress
636
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference
637
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction
638
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation
639
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber
640
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName
641
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber
642
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus
643
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating
644
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect
645
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText
646
+ | GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp
647
+ | discriminatedUnionTypes.Unknown<"attributeType">
648
+ >;
649
+ };
650
+
651
+ /** @internal */
652
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$inboundSchema:
653
+ z.ZodMiniType<
654
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor,
655
+ unknown
656
+ > = z.object({
657
+ id: z.optional(z.nullable(types.string())),
658
+ type: z.optional(
659
+ z.nullable(
660
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorType$inboundSchema,
661
+ ),
662
+ ),
663
+ });
664
+
665
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActorFromJSON(
666
+ jsonString: string,
667
+ ): SafeParseResult<
668
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor,
669
+ SDKValidationError
670
+ > {
671
+ return safeParse(
672
+ jsonString,
673
+ (x) =>
674
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$inboundSchema
675
+ .parse(JSON.parse(x)),
676
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor' from JSON`,
677
+ );
678
+ }
679
+
680
+ /** @internal */
681
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$inboundSchema:
682
+ z.ZodMiniType<
683
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction,
684
+ unknown
685
+ > = z.pipe(
686
+ z.object({
687
+ active_from: types.date(),
688
+ active_until: types.nullable(types.date()),
689
+ created_by_actor:
690
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor8$inboundSchema,
691
+ interaction_type:
692
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesInteractionType$inboundSchema,
693
+ interacted_at: types.date(),
694
+ owner_actor: z.lazy(() =>
695
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesOwnerActor$inboundSchema
696
+ ),
697
+ attribute_type: types.literal("interaction"),
698
+ }),
699
+ z.transform((v) => {
700
+ return remap$(v, {
701
+ "active_from": "activeFrom",
702
+ "active_until": "activeUntil",
703
+ "created_by_actor": "createdByActor",
704
+ "interaction_type": "interactionType",
705
+ "interacted_at": "interactedAt",
706
+ "owner_actor": "ownerActor",
707
+ "attribute_type": "attributeType",
708
+ });
709
+ }),
710
+ );
711
+
712
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteractionFromJSON(
713
+ jsonString: string,
714
+ ): SafeParseResult<
715
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction,
716
+ SDKValidationError
717
+ > {
718
+ return safeParse(
719
+ jsonString,
720
+ (x) =>
721
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$inboundSchema
722
+ .parse(JSON.parse(x)),
723
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction' from JSON`,
724
+ );
725
+ }
726
+
727
+ /** @internal */
728
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$inboundSchema:
729
+ z.ZodMiniType<
730
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7,
731
+ unknown
732
+ > = openEnums.inboundSchema(
733
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7,
734
+ );
735
+
736
+ /** @internal */
737
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$inboundSchema:
738
+ z.ZodMiniType<
739
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7,
740
+ unknown
741
+ > = z.object({
742
+ id: z.optional(z.nullable(types.string())),
743
+ type: z.optional(
744
+ z.nullable(
745
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType7$inboundSchema,
746
+ ),
747
+ ),
748
+ });
749
+
750
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7FromJSON(
751
+ jsonString: string,
752
+ ): SafeParseResult<
753
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7,
754
+ SDKValidationError
755
+ > {
756
+ return safeParse(
757
+ jsonString,
758
+ (x) =>
759
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$inboundSchema
760
+ .parse(JSON.parse(x)),
761
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7' from JSON`,
762
+ );
763
+ }
764
+
765
+ /** @internal */
766
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$inboundSchema:
767
+ z.ZodMiniType<
768
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference,
769
+ unknown
770
+ > = z.pipe(
771
+ z.object({
772
+ active_from: types.date(),
773
+ active_until: types.nullable(types.date()),
774
+ created_by_actor: z.lazy(() =>
775
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor7$inboundSchema
776
+ ),
777
+ target_object: types.string(),
778
+ target_record_id: types.string(),
779
+ attribute_type: types.literal("record-reference"),
780
+ }),
781
+ z.transform((v) => {
782
+ return remap$(v, {
783
+ "active_from": "activeFrom",
784
+ "active_until": "activeUntil",
785
+ "created_by_actor": "createdByActor",
786
+ "target_object": "targetObject",
787
+ "target_record_id": "targetRecordId",
788
+ "attribute_type": "attributeType",
789
+ });
790
+ }),
791
+ );
792
+
793
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReferenceFromJSON(
794
+ jsonString: string,
795
+ ): SafeParseResult<
796
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference,
797
+ SDKValidationError
798
+ > {
799
+ return safeParse(
800
+ jsonString,
801
+ (x) =>
802
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$inboundSchema
803
+ .parse(JSON.parse(x)),
804
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference' from JSON`,
805
+ );
806
+ }
807
+
808
+ /** @internal */
809
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$inboundSchema:
810
+ z.ZodMiniType<
811
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6,
812
+ unknown
813
+ > = openEnums.inboundSchema(
814
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6,
815
+ );
816
+
817
+ /** @internal */
818
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$inboundSchema:
819
+ z.ZodMiniType<
820
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6,
821
+ unknown
822
+ > = z.object({
823
+ id: z.optional(z.nullable(types.string())),
824
+ type: z.optional(
825
+ z.nullable(
826
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType6$inboundSchema,
827
+ ),
828
+ ),
829
+ });
830
+
831
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6FromJSON(
832
+ jsonString: string,
833
+ ): SafeParseResult<
834
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6,
835
+ SDKValidationError
836
+ > {
837
+ return safeParse(
838
+ jsonString,
839
+ (x) =>
840
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$inboundSchema
841
+ .parse(JSON.parse(x)),
842
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6' from JSON`,
843
+ );
844
+ }
845
+
846
+ /** @internal */
847
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$inboundSchema:
848
+ z.ZodMiniType<
849
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress,
850
+ unknown
851
+ > = z.pipe(
852
+ z.object({
853
+ active_from: types.date(),
854
+ active_until: types.nullable(types.date()),
855
+ created_by_actor: z.lazy(() =>
856
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor6$inboundSchema
857
+ ),
858
+ original_email_address: types.string(),
859
+ email_address: types.string(),
860
+ email_domain: types.string(),
861
+ email_root_domain: types.string(),
862
+ email_local_specifier: types.string(),
863
+ attribute_type: types.literal("email-address"),
864
+ }),
865
+ z.transform((v) => {
866
+ return remap$(v, {
867
+ "active_from": "activeFrom",
868
+ "active_until": "activeUntil",
869
+ "created_by_actor": "createdByActor",
870
+ "original_email_address": "originalEmailAddress",
871
+ "email_address": "emailAddress",
872
+ "email_domain": "emailDomain",
873
+ "email_root_domain": "emailRootDomain",
874
+ "email_local_specifier": "emailLocalSpecifier",
875
+ "attribute_type": "attributeType",
876
+ });
877
+ }),
878
+ );
879
+
880
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddressFromJSON(
881
+ jsonString: string,
882
+ ): SafeParseResult<
883
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress,
884
+ SDKValidationError
885
+ > {
886
+ return safeParse(
887
+ jsonString,
888
+ (x) =>
889
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$inboundSchema
890
+ .parse(JSON.parse(x)),
891
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress' from JSON`,
892
+ );
893
+ }
894
+
895
+ /** @internal */
896
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$inboundSchema:
897
+ z.ZodMiniType<
898
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5,
899
+ unknown
900
+ > = openEnums.inboundSchema(
901
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5,
902
+ );
903
+
904
+ /** @internal */
905
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$inboundSchema:
906
+ z.ZodMiniType<
907
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5,
908
+ unknown
909
+ > = z.object({
910
+ id: z.optional(z.nullable(types.string())),
911
+ type: z.optional(
912
+ z.nullable(
913
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType5$inboundSchema,
914
+ ),
915
+ ),
916
+ });
917
+
918
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5FromJSON(
919
+ jsonString: string,
920
+ ): SafeParseResult<
921
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5,
922
+ SDKValidationError
923
+ > {
924
+ return safeParse(
925
+ jsonString,
926
+ (x) =>
927
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$inboundSchema
928
+ .parse(JSON.parse(x)),
929
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5' from JSON`,
930
+ );
931
+ }
932
+
933
+ /** @internal */
934
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$inboundSchema:
935
+ z.ZodMiniType<
936
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain,
937
+ unknown
938
+ > = z.pipe(
939
+ z.object({
940
+ active_from: types.date(),
941
+ active_until: types.nullable(types.date()),
942
+ created_by_actor: z.lazy(() =>
943
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor5$inboundSchema
944
+ ),
945
+ domain: types.string(),
946
+ root_domain: types.string(),
947
+ attribute_type: types.literal("domain"),
948
+ }),
949
+ z.transform((v) => {
950
+ return remap$(v, {
951
+ "active_from": "activeFrom",
952
+ "active_until": "activeUntil",
953
+ "created_by_actor": "createdByActor",
954
+ "root_domain": "rootDomain",
955
+ "attribute_type": "attributeType",
956
+ });
957
+ }),
958
+ );
959
+
960
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomainFromJSON(
961
+ jsonString: string,
962
+ ): SafeParseResult<
963
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain,
964
+ SDKValidationError
965
+ > {
966
+ return safeParse(
967
+ jsonString,
968
+ (x) =>
969
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$inboundSchema
970
+ .parse(JSON.parse(x)),
971
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain' from JSON`,
972
+ );
973
+ }
974
+
975
+ /** @internal */
976
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$inboundSchema:
977
+ z.ZodMiniType<
978
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4,
979
+ unknown
980
+ > = openEnums.inboundSchema(
981
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4,
982
+ );
983
+
984
+ /** @internal */
985
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$inboundSchema:
986
+ z.ZodMiniType<
987
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4,
988
+ unknown
989
+ > = z.object({
990
+ id: z.optional(z.nullable(types.string())),
991
+ type: z.optional(
992
+ z.nullable(
993
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType4$inboundSchema,
994
+ ),
995
+ ),
996
+ });
997
+
998
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4FromJSON(
999
+ jsonString: string,
1000
+ ): SafeParseResult<
1001
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4,
1002
+ SDKValidationError
1003
+ > {
1004
+ return safeParse(
1005
+ jsonString,
1006
+ (x) =>
1007
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$inboundSchema
1008
+ .parse(JSON.parse(x)),
1009
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4' from JSON`,
1010
+ );
1011
+ }
1012
+
1013
+ /** @internal */
1014
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$inboundSchema:
1015
+ z.ZodMiniType<
1016
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate,
1017
+ unknown
1018
+ > = z.pipe(
1019
+ z.object({
1020
+ active_from: types.date(),
1021
+ active_until: types.nullable(types.date()),
1022
+ created_by_actor: z.lazy(() =>
1023
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor4$inboundSchema
1024
+ ),
1025
+ attribute_type: types.literal("date"),
1026
+ value: types.string(),
1027
+ }),
1028
+ z.transform((v) => {
1029
+ return remap$(v, {
1030
+ "active_from": "activeFrom",
1031
+ "active_until": "activeUntil",
1032
+ "created_by_actor": "createdByActor",
1033
+ "attribute_type": "attributeType",
1034
+ });
1035
+ }),
1036
+ );
1037
+
1038
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataDateFromJSON(
1039
+ jsonString: string,
1040
+ ): SafeParseResult<
1041
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate,
1042
+ SDKValidationError
1043
+ > {
1044
+ return safeParse(
1045
+ jsonString,
1046
+ (x) =>
1047
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$inboundSchema
1048
+ .parse(JSON.parse(x)),
1049
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate' from JSON`,
1050
+ );
1051
+ }
1052
+
1053
+ /** @internal */
1054
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$inboundSchema:
1055
+ z.ZodMiniType<
1056
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3,
1057
+ unknown
1058
+ > = openEnums.inboundSchema(
1059
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3,
1060
+ );
1061
+
1062
+ /** @internal */
1063
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$inboundSchema:
1064
+ z.ZodMiniType<
1065
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3,
1066
+ unknown
1067
+ > = z.object({
1068
+ id: z.optional(z.nullable(types.string())),
1069
+ type: z.optional(
1070
+ z.nullable(
1071
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType3$inboundSchema,
1072
+ ),
1073
+ ),
1074
+ });
1075
+
1076
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3FromJSON(
1077
+ jsonString: string,
1078
+ ): SafeParseResult<
1079
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3,
1080
+ SDKValidationError
1081
+ > {
1082
+ return safeParse(
1083
+ jsonString,
1084
+ (x) =>
1085
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$inboundSchema
1086
+ .parse(JSON.parse(x)),
1087
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3' from JSON`,
1088
+ );
1089
+ }
1090
+
1091
+ /** @internal */
1092
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$inboundSchema:
1093
+ z.ZodMiniType<
1094
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode,
1095
+ unknown
1096
+ > = openEnums.inboundSchema(
1097
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode,
1098
+ );
1099
+
1100
+ /** @internal */
1101
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$inboundSchema:
1102
+ z.ZodMiniType<
1103
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency,
1104
+ unknown
1105
+ > = z.pipe(
1106
+ z.object({
1107
+ active_from: types.date(),
1108
+ active_until: types.nullable(types.date()),
1109
+ created_by_actor: z.lazy(() =>
1110
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor3$inboundSchema
1111
+ ),
1112
+ currency_value: types.number(),
1113
+ currency_code: z.optional(
1114
+ z.nullable(
1115
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCurrencyCode$inboundSchema,
1116
+ ),
1117
+ ),
1118
+ attribute_type: types.literal("currency"),
1119
+ }),
1120
+ z.transform((v) => {
1121
+ return remap$(v, {
1122
+ "active_from": "activeFrom",
1123
+ "active_until": "activeUntil",
1124
+ "created_by_actor": "createdByActor",
1125
+ "currency_value": "currencyValue",
1126
+ "currency_code": "currencyCode",
1127
+ "attribute_type": "attributeType",
1128
+ });
1129
+ }),
1130
+ );
1131
+
1132
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrencyFromJSON(
1133
+ jsonString: string,
1134
+ ): SafeParseResult<
1135
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency,
1136
+ SDKValidationError
1137
+ > {
1138
+ return safeParse(
1139
+ jsonString,
1140
+ (x) =>
1141
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$inboundSchema
1142
+ .parse(JSON.parse(x)),
1143
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency' from JSON`,
1144
+ );
1145
+ }
1146
+
1147
+ /** @internal */
1148
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$inboundSchema:
1149
+ z.ZodMiniType<
1150
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2,
1151
+ unknown
1152
+ > = openEnums.inboundSchema(
1153
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2,
1154
+ );
1155
+
1156
+ /** @internal */
1157
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$inboundSchema:
1158
+ z.ZodMiniType<
1159
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2,
1160
+ unknown
1161
+ > = z.object({
1162
+ id: z.optional(z.nullable(types.string())),
1163
+ type: z.optional(
1164
+ z.nullable(
1165
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType2$inboundSchema,
1166
+ ),
1167
+ ),
1168
+ });
1169
+
1170
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2FromJSON(
1171
+ jsonString: string,
1172
+ ): SafeParseResult<
1173
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2,
1174
+ SDKValidationError
1175
+ > {
1176
+ return safeParse(
1177
+ jsonString,
1178
+ (x) =>
1179
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$inboundSchema
1180
+ .parse(JSON.parse(x)),
1181
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2' from JSON`,
1182
+ );
1183
+ }
1184
+
1185
+ /** @internal */
1186
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$inboundSchema:
1187
+ z.ZodMiniType<
1188
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox,
1189
+ unknown
1190
+ > = z.pipe(
1191
+ z.object({
1192
+ active_from: types.date(),
1193
+ active_until: types.nullable(types.date()),
1194
+ created_by_actor: z.lazy(() =>
1195
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor2$inboundSchema
1196
+ ),
1197
+ value: types.boolean(),
1198
+ attribute_type: types.literal("checkbox"),
1199
+ }),
1200
+ z.transform((v) => {
1201
+ return remap$(v, {
1202
+ "active_from": "activeFrom",
1203
+ "active_until": "activeUntil",
1204
+ "created_by_actor": "createdByActor",
1205
+ "attribute_type": "attributeType",
1206
+ });
1207
+ }),
1208
+ );
1209
+
1210
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckboxFromJSON(
1211
+ jsonString: string,
1212
+ ): SafeParseResult<
1213
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox,
1214
+ SDKValidationError
1215
+ > {
1216
+ return safeParse(
1217
+ jsonString,
1218
+ (x) =>
1219
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$inboundSchema
1220
+ .parse(JSON.parse(x)),
1221
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox' from JSON`,
1222
+ );
1223
+ }
1224
+
1225
+ /** @internal */
1226
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$inboundSchema:
1227
+ z.ZodMiniType<
1228
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1,
1229
+ unknown
1230
+ > = openEnums.inboundSchema(
1231
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1,
1232
+ );
1233
+
1234
+ /** @internal */
1235
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$inboundSchema:
1236
+ z.ZodMiniType<
1237
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1,
1238
+ unknown
1239
+ > = z.object({
1240
+ id: z.optional(z.nullable(types.string())),
1241
+ type: z.optional(
1242
+ z.nullable(
1243
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActorType1$inboundSchema,
1244
+ ),
1245
+ ),
1246
+ });
1247
+
1248
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1FromJSON(
1249
+ jsonString: string,
1250
+ ): SafeParseResult<
1251
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1,
1252
+ SDKValidationError
1253
+ > {
1254
+ return safeParse(
1255
+ jsonString,
1256
+ (x) =>
1257
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$inboundSchema
1258
+ .parse(JSON.parse(x)),
1259
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1' from JSON`,
1260
+ );
1261
+ }
1262
+
1263
+ /** @internal */
1264
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$inboundSchema:
1265
+ z.ZodMiniType<
1266
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType,
1267
+ unknown
1268
+ > = openEnums.inboundSchema(
1269
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType,
1270
+ );
1271
+
1272
+ /** @internal */
1273
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$inboundSchema:
1274
+ z.ZodMiniType<
1275
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference,
1276
+ unknown
1277
+ > = z.pipe(
1278
+ z.object({
1279
+ active_from: types.date(),
1280
+ active_until: types.nullable(types.date()),
1281
+ created_by_actor: z.lazy(() =>
1282
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesCreatedByActor1$inboundSchema
1283
+ ),
1284
+ referenced_actor_type:
1285
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesReferencedActorType$inboundSchema,
1286
+ referenced_actor_id: types.nullable(types.string()),
1287
+ attribute_type: types.literal("actor-reference"),
1288
+ }),
1289
+ z.transform((v) => {
1290
+ return remap$(v, {
1291
+ "active_from": "activeFrom",
1292
+ "active_until": "activeUntil",
1293
+ "created_by_actor": "createdByActor",
1294
+ "referenced_actor_type": "referencedActorType",
1295
+ "referenced_actor_id": "referencedActorId",
1296
+ "attribute_type": "attributeType",
1297
+ });
1298
+ }),
1299
+ );
1300
+
1301
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReferenceFromJSON(
1302
+ jsonString: string,
1303
+ ): SafeParseResult<
1304
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference,
1305
+ SDKValidationError
1306
+ > {
1307
+ return safeParse(
1308
+ jsonString,
1309
+ (x) =>
1310
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$inboundSchema
1311
+ .parse(JSON.parse(x)),
1312
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference' from JSON`,
1313
+ );
1314
+ }
1315
+
1316
+ /** @internal */
1317
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$inboundSchema:
1318
+ z.ZodMiniType<
1319
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion,
1320
+ unknown
1321
+ > = discriminatedUnion("attribute_type", {
1322
+ ["actor-reference"]: z.lazy(() =>
1323
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$inboundSchema
1324
+ ),
1325
+ checkbox: z.lazy(() =>
1326
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$inboundSchema
1327
+ ),
1328
+ currency: z.lazy(() =>
1329
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$inboundSchema
1330
+ ),
1331
+ date: z.lazy(() =>
1332
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$inboundSchema
1333
+ ),
1334
+ domain: z.lazy(() =>
1335
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$inboundSchema
1336
+ ),
1337
+ ["email-address"]: z.lazy(() =>
1338
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$inboundSchema
1339
+ ),
1340
+ ["record-reference"]: z.lazy(() =>
1341
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$inboundSchema
1342
+ ),
1343
+ interaction: z.lazy(() =>
1344
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$inboundSchema
1345
+ ),
1346
+ location:
1347
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$inboundSchema,
1348
+ number:
1349
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$inboundSchema,
1350
+ ["personal-name"]:
1351
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$inboundSchema,
1352
+ ["phone-number"]:
1353
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$inboundSchema,
1354
+ status:
1355
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$inboundSchema,
1356
+ rating:
1357
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$inboundSchema,
1358
+ select:
1359
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$inboundSchema,
1360
+ text:
1361
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$inboundSchema,
1362
+ timestamp:
1363
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$inboundSchema,
1364
+ }, { outputPropertyName: "attributeType" });
1365
+
1366
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnionFromJSON(
1367
+ jsonString: string,
1368
+ ): SafeParseResult<
1369
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion,
1370
+ SDKValidationError
1371
+ > {
1372
+ return safeParse(
1373
+ jsonString,
1374
+ (x) =>
1375
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion$inboundSchema
1376
+ .parse(JSON.parse(x)),
1377
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataUnion' from JSON`,
1378
+ );
1379
+ }
1380
+
1381
+ /** @internal */
1382
+ export const GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$inboundSchema:
1383
+ z.ZodMiniType<
1384
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse,
1385
+ unknown
1386
+ > = z.object({
1387
+ data: z.array(discriminatedUnion("attribute_type", {
1388
+ ["actor-reference"]: z.lazy(() =>
1389
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataActorReference$inboundSchema
1390
+ ),
1391
+ checkbox: z.lazy(() =>
1392
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCheckbox$inboundSchema
1393
+ ),
1394
+ currency: z.lazy(() =>
1395
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataCurrency$inboundSchema
1396
+ ),
1397
+ date: z.lazy(() =>
1398
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDate$inboundSchema
1399
+ ),
1400
+ domain: z.lazy(() =>
1401
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataDomain$inboundSchema
1402
+ ),
1403
+ ["email-address"]: z.lazy(() =>
1404
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataEmailAddress$inboundSchema
1405
+ ),
1406
+ ["record-reference"]: z.lazy(() =>
1407
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRecordReference$inboundSchema
1408
+ ),
1409
+ interaction: z.lazy(() =>
1410
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataInteraction$inboundSchema
1411
+ ),
1412
+ location:
1413
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataLocation$inboundSchema,
1414
+ number:
1415
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataNumber$inboundSchema,
1416
+ ["personal-name"]:
1417
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPersonalName$inboundSchema,
1418
+ ["phone-number"]:
1419
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataPhoneNumber$inboundSchema,
1420
+ status:
1421
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataStatus$inboundSchema,
1422
+ rating:
1423
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataRating$inboundSchema,
1424
+ select:
1425
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataSelect$inboundSchema,
1426
+ text:
1427
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataText$inboundSchema,
1428
+ timestamp:
1429
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesDataTimestamp$inboundSchema,
1430
+ }, { outputPropertyName: "attributeType" })),
1431
+ });
1432
+
1433
+ export function getV2ListsListEntriesEntryIdAttributesAttributeValuesResponseFromJSON(
1434
+ jsonString: string,
1435
+ ): SafeParseResult<
1436
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse,
1437
+ SDKValidationError
1438
+ > {
1439
+ return safeParse(
1440
+ jsonString,
1441
+ (x) =>
1442
+ GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse$inboundSchema
1443
+ .parse(JSON.parse(x)),
1444
+ `Failed to parse 'GetV2ListsListEntriesEntryIdAttributesAttributeValuesResponse' from JSON`,
1445
+ );
1446
+ }