@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,99 @@
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 { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as types from "../../types/primitives.js";
10
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
11
+
12
+ export type Member = {
13
+ value: string;
14
+ dollarRef: string;
15
+ display?: string | undefined;
16
+ };
17
+
18
+ export type PostScimV2GroupsMeta = {
19
+ resourceType: string;
20
+ created: string;
21
+ lastModified: string;
22
+ };
23
+
24
+ /**
25
+ * Created
26
+ */
27
+ export type PostScimV2GroupsResponse = {
28
+ schemas: Array<string>;
29
+ id: string;
30
+ displayName: string;
31
+ members: Array<Member>;
32
+ meta: PostScimV2GroupsMeta;
33
+ };
34
+
35
+ /** @internal */
36
+ export const Member$inboundSchema: z.ZodMiniType<Member, unknown> = z.pipe(
37
+ z.object({
38
+ value: types.string(),
39
+ $ref: types.string(),
40
+ display: types.optional(types.string()),
41
+ }),
42
+ z.transform((v) => {
43
+ return remap$(v, {
44
+ "$ref": "dollarRef",
45
+ });
46
+ }),
47
+ );
48
+
49
+ export function memberFromJSON(
50
+ jsonString: string,
51
+ ): SafeParseResult<Member, SDKValidationError> {
52
+ return safeParse(
53
+ jsonString,
54
+ (x) => Member$inboundSchema.parse(JSON.parse(x)),
55
+ `Failed to parse 'Member' from JSON`,
56
+ );
57
+ }
58
+
59
+ /** @internal */
60
+ export const PostScimV2GroupsMeta$inboundSchema: z.ZodMiniType<
61
+ PostScimV2GroupsMeta,
62
+ unknown
63
+ > = z.object({
64
+ resourceType: types.string(),
65
+ created: types.string(),
66
+ lastModified: types.string(),
67
+ });
68
+
69
+ export function postScimV2GroupsMetaFromJSON(
70
+ jsonString: string,
71
+ ): SafeParseResult<PostScimV2GroupsMeta, SDKValidationError> {
72
+ return safeParse(
73
+ jsonString,
74
+ (x) => PostScimV2GroupsMeta$inboundSchema.parse(JSON.parse(x)),
75
+ `Failed to parse 'PostScimV2GroupsMeta' from JSON`,
76
+ );
77
+ }
78
+
79
+ /** @internal */
80
+ export const PostScimV2GroupsResponse$inboundSchema: z.ZodMiniType<
81
+ PostScimV2GroupsResponse,
82
+ unknown
83
+ > = z.object({
84
+ schemas: z.array(types.string()),
85
+ id: types.string(),
86
+ displayName: types.string(),
87
+ members: z.array(z.lazy(() => Member$inboundSchema)),
88
+ meta: z.lazy(() => PostScimV2GroupsMeta$inboundSchema),
89
+ });
90
+
91
+ export function postScimV2GroupsResponseFromJSON(
92
+ jsonString: string,
93
+ ): SafeParseResult<PostScimV2GroupsResponse, SDKValidationError> {
94
+ return safeParse(
95
+ jsonString,
96
+ (x) => PostScimV2GroupsResponse$inboundSchema.parse(JSON.parse(x)),
97
+ `Failed to parse 'PostScimV2GroupsResponse' from JSON`,
98
+ );
99
+ }
@@ -0,0 +1,141 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as types from "../../types/primitives.js";
9
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
10
+
11
+ export type Name = {
12
+ givenName: string;
13
+ familyName: string;
14
+ };
15
+
16
+ export type Email = {
17
+ value: string;
18
+ primary: boolean;
19
+ type?: string | undefined;
20
+ };
21
+
22
+ export type Role = {
23
+ value: string;
24
+ primary: boolean;
25
+ };
26
+
27
+ export type PostScimV2UsersMeta = {
28
+ resourceType: string;
29
+ created: string;
30
+ lastModified: string;
31
+ };
32
+
33
+ /**
34
+ * Created
35
+ */
36
+ export type PostScimV2UsersResponse = {
37
+ schemas: Array<string>;
38
+ id: string;
39
+ userName: string;
40
+ name: Name;
41
+ emails: Array<Email>;
42
+ roles: Array<Role>;
43
+ profileUrl?: string | undefined;
44
+ active: boolean;
45
+ meta: PostScimV2UsersMeta;
46
+ };
47
+
48
+ /** @internal */
49
+ export const Name$inboundSchema: z.ZodMiniType<Name, unknown> = z.object({
50
+ givenName: types.string(),
51
+ familyName: types.string(),
52
+ });
53
+
54
+ export function nameFromJSON(
55
+ jsonString: string,
56
+ ): SafeParseResult<Name, SDKValidationError> {
57
+ return safeParse(
58
+ jsonString,
59
+ (x) => Name$inboundSchema.parse(JSON.parse(x)),
60
+ `Failed to parse 'Name' from JSON`,
61
+ );
62
+ }
63
+
64
+ /** @internal */
65
+ export const Email$inboundSchema: z.ZodMiniType<Email, unknown> = z.object({
66
+ value: types.string(),
67
+ primary: types.boolean(),
68
+ type: types.optional(types.string()),
69
+ });
70
+
71
+ export function emailFromJSON(
72
+ jsonString: string,
73
+ ): SafeParseResult<Email, SDKValidationError> {
74
+ return safeParse(
75
+ jsonString,
76
+ (x) => Email$inboundSchema.parse(JSON.parse(x)),
77
+ `Failed to parse 'Email' from JSON`,
78
+ );
79
+ }
80
+
81
+ /** @internal */
82
+ export const Role$inboundSchema: z.ZodMiniType<Role, unknown> = z.object({
83
+ value: types.string(),
84
+ primary: types.boolean(),
85
+ });
86
+
87
+ export function roleFromJSON(
88
+ jsonString: string,
89
+ ): SafeParseResult<Role, SDKValidationError> {
90
+ return safeParse(
91
+ jsonString,
92
+ (x) => Role$inboundSchema.parse(JSON.parse(x)),
93
+ `Failed to parse 'Role' from JSON`,
94
+ );
95
+ }
96
+
97
+ /** @internal */
98
+ export const PostScimV2UsersMeta$inboundSchema: z.ZodMiniType<
99
+ PostScimV2UsersMeta,
100
+ unknown
101
+ > = z.object({
102
+ resourceType: types.string(),
103
+ created: types.string(),
104
+ lastModified: types.string(),
105
+ });
106
+
107
+ export function postScimV2UsersMetaFromJSON(
108
+ jsonString: string,
109
+ ): SafeParseResult<PostScimV2UsersMeta, SDKValidationError> {
110
+ return safeParse(
111
+ jsonString,
112
+ (x) => PostScimV2UsersMeta$inboundSchema.parse(JSON.parse(x)),
113
+ `Failed to parse 'PostScimV2UsersMeta' from JSON`,
114
+ );
115
+ }
116
+
117
+ /** @internal */
118
+ export const PostScimV2UsersResponse$inboundSchema: z.ZodMiniType<
119
+ PostScimV2UsersResponse,
120
+ unknown
121
+ > = z.object({
122
+ schemas: z.array(types.string()),
123
+ id: types.string(),
124
+ userName: types.string(),
125
+ name: z.lazy(() => Name$inboundSchema),
126
+ emails: z.array(z.lazy(() => Email$inboundSchema)),
127
+ roles: z.array(z.lazy(() => Role$inboundSchema)),
128
+ profileUrl: types.optional(types.string()),
129
+ active: types.boolean(),
130
+ meta: z.lazy(() => PostScimV2UsersMeta$inboundSchema),
131
+ });
132
+
133
+ export function postScimV2UsersResponseFromJSON(
134
+ jsonString: string,
135
+ ): SafeParseResult<PostScimV2UsersResponse, SDKValidationError> {
136
+ return safeParse(
137
+ jsonString,
138
+ (x) => PostScimV2UsersResponse$inboundSchema.parse(JSON.parse(x)),
139
+ `Failed to parse 'PostScimV2UsersResponse' from JSON`,
140
+ );
141
+ }
@@ -0,0 +1,117 @@
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 { blobLikeSchema } from "../../types/blobs.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
11
+ import * as models from "../index.js";
12
+
13
+ export type FileT = {
14
+ fileName: string;
15
+ content: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
16
+ };
17
+
18
+ export type PostV2FilesUploadRequest = {
19
+ /**
20
+ * The file to upload.
21
+ */
22
+ file: FileT | Blob;
23
+ /**
24
+ * The object slug or ID.
25
+ */
26
+ object: string;
27
+ /**
28
+ * The ID of the record to upload the file to.
29
+ */
30
+ recordId: string;
31
+ /**
32
+ * Optional parent folder ID. Omit to upload to the root folder.
33
+ */
34
+ parentFolderId?: string | undefined;
35
+ };
36
+
37
+ /**
38
+ * Created
39
+ */
40
+ export type PostV2FilesUploadResponse = {
41
+ data: models.FileT;
42
+ };
43
+
44
+ /** @internal */
45
+ export type FileT$Outbound = {
46
+ fileName: string;
47
+ content: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
48
+ };
49
+
50
+ /** @internal */
51
+ export const FileT$outboundSchema: z.ZodMiniType<FileT$Outbound, FileT> = z
52
+ .object({
53
+ fileName: z.string(),
54
+ content: z.union([
55
+ z.custom<ReadableStream<Uint8Array>>(x => x instanceof ReadableStream),
56
+ z.custom<Blob>(x => x instanceof Blob),
57
+ z.custom<ArrayBuffer>(x => x instanceof ArrayBuffer),
58
+ z.custom<Uint8Array>(x => x instanceof Uint8Array),
59
+ ]),
60
+ });
61
+
62
+ export function fileToJSON(fileT: FileT): string {
63
+ return JSON.stringify(FileT$outboundSchema.parse(fileT));
64
+ }
65
+
66
+ /** @internal */
67
+ export type PostV2FilesUploadRequest$Outbound = {
68
+ file: FileT$Outbound | Blob;
69
+ object: string;
70
+ record_id: string;
71
+ parent_folder_id?: string | undefined;
72
+ };
73
+
74
+ /** @internal */
75
+ export const PostV2FilesUploadRequest$outboundSchema: z.ZodMiniType<
76
+ PostV2FilesUploadRequest$Outbound,
77
+ PostV2FilesUploadRequest
78
+ > = z.pipe(
79
+ z.object({
80
+ file: z.union([z.lazy(() => FileT$outboundSchema), blobLikeSchema]),
81
+ object: z.string(),
82
+ recordId: z.string(),
83
+ parentFolderId: z.optional(z.string()),
84
+ }),
85
+ z.transform((v) => {
86
+ return remap$(v, {
87
+ recordId: "record_id",
88
+ parentFolderId: "parent_folder_id",
89
+ });
90
+ }),
91
+ );
92
+
93
+ export function postV2FilesUploadRequestToJSON(
94
+ postV2FilesUploadRequest: PostV2FilesUploadRequest,
95
+ ): string {
96
+ return JSON.stringify(
97
+ PostV2FilesUploadRequest$outboundSchema.parse(postV2FilesUploadRequest),
98
+ );
99
+ }
100
+
101
+ /** @internal */
102
+ export const PostV2FilesUploadResponse$inboundSchema: z.ZodMiniType<
103
+ PostV2FilesUploadResponse,
104
+ unknown
105
+ > = z.object({
106
+ data: models.FileT$inboundSchema,
107
+ });
108
+
109
+ export function postV2FilesUploadResponseFromJSON(
110
+ jsonString: string,
111
+ ): SafeParseResult<PostV2FilesUploadResponse, SDKValidationError> {
112
+ return safeParse(
113
+ jsonString,
114
+ (x) => PostV2FilesUploadResponse$inboundSchema.parse(JSON.parse(x)),
115
+ `Failed to parse 'PostV2FilesUploadResponse' from JSON`,
116
+ );
117
+ }
@@ -0,0 +1,336 @@
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 { ClosedEnum } from "../../types/enums.js";
11
+ import { Result as SafeParseResult } from "../../types/fp.js";
12
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
13
+ import * as models from "../index.js";
14
+
15
+ /**
16
+ * The external storage provider.
17
+ */
18
+ export const PostV2FilesStorageProvider2 = {
19
+ Dropbox: "dropbox",
20
+ Box: "box",
21
+ GoogleDrive: "google-drive",
22
+ MicrosoftOnedrive: "microsoft-onedrive",
23
+ } as const;
24
+ /**
25
+ * The external storage provider.
26
+ */
27
+ export type PostV2FilesStorageProvider2 = ClosedEnum<
28
+ typeof PostV2FilesStorageProvider2
29
+ >;
30
+
31
+ export type ConnectedFile = {
32
+ /**
33
+ * The object slug or ID.
34
+ */
35
+ object: string;
36
+ /**
37
+ * The ID of the record to create the file entry on.
38
+ */
39
+ recordId: string;
40
+ /**
41
+ * The external storage provider.
42
+ */
43
+ storageProvider: PostV2FilesStorageProvider2;
44
+ /**
45
+ * The ID of the file or folder in the external storage provider.
46
+ */
47
+ externalProviderFileId: string;
48
+ /**
49
+ * Microsoft drive ID. Only used when `storage_provider` is `microsoft-onedrive`.
50
+ */
51
+ microsoftDriveId?: string | null | undefined;
52
+ /**
53
+ * Creates a connected file entry.
54
+ */
55
+ fileType: "connected-file";
56
+ };
57
+
58
+ /**
59
+ * The external storage provider.
60
+ */
61
+ export const PostV2FilesStorageProvider1 = {
62
+ Dropbox: "dropbox",
63
+ Box: "box",
64
+ GoogleDrive: "google-drive",
65
+ MicrosoftOnedrive: "microsoft-onedrive",
66
+ } as const;
67
+ /**
68
+ * The external storage provider.
69
+ */
70
+ export type PostV2FilesStorageProvider1 = ClosedEnum<
71
+ typeof PostV2FilesStorageProvider1
72
+ >;
73
+
74
+ export type ConnectedFolder = {
75
+ /**
76
+ * The object slug or ID.
77
+ */
78
+ object: string;
79
+ /**
80
+ * The ID of the record to create the file entry on.
81
+ */
82
+ recordId: string;
83
+ /**
84
+ * The external storage provider.
85
+ */
86
+ storageProvider: PostV2FilesStorageProvider1;
87
+ /**
88
+ * The ID of the file or folder in the external storage provider.
89
+ */
90
+ externalProviderFileId: string;
91
+ /**
92
+ * Microsoft drive ID. Only used when `storage_provider` is `microsoft-onedrive`.
93
+ */
94
+ microsoftDriveId?: string | null | undefined;
95
+ /**
96
+ * Creates a connected folder entry.
97
+ */
98
+ fileType: "connected-folder";
99
+ };
100
+
101
+ export type PostV2FilesFolder = {
102
+ /**
103
+ * The object slug or ID.
104
+ */
105
+ object: string;
106
+ /**
107
+ * The ID of the record to create the file entry on.
108
+ */
109
+ recordId: string;
110
+ /**
111
+ * Creates a native Attio folder entry.
112
+ */
113
+ fileType: "folder";
114
+ /**
115
+ * The folder name.
116
+ */
117
+ name: string;
118
+ /**
119
+ * Optional parent folder ID. Omit to create a top-level folder.
120
+ */
121
+ parentFolderId?: string | undefined;
122
+ };
123
+
124
+ export type PostV2FilesRequest =
125
+ | PostV2FilesFolder
126
+ | ConnectedFolder
127
+ | ConnectedFile;
128
+
129
+ export type PostV2FilesData =
130
+ | models.Folder
131
+ | models.ConnectedFile
132
+ | models.ConnectedFolder
133
+ | discriminatedUnionTypes.Unknown<"fileType">;
134
+
135
+ /**
136
+ * Success
137
+ */
138
+ export type PostV2FilesResponse = {
139
+ data:
140
+ | models.Folder
141
+ | models.ConnectedFile
142
+ | models.ConnectedFolder
143
+ | discriminatedUnionTypes.Unknown<"fileType">;
144
+ };
145
+
146
+ /** @internal */
147
+ export const PostV2FilesStorageProvider2$outboundSchema: z.ZodMiniEnum<
148
+ typeof PostV2FilesStorageProvider2
149
+ > = z.enum(PostV2FilesStorageProvider2);
150
+
151
+ /** @internal */
152
+ export type ConnectedFile$Outbound = {
153
+ object: string;
154
+ record_id: string;
155
+ storage_provider: string;
156
+ external_provider_file_id: string;
157
+ microsoft_drive_id?: string | null | undefined;
158
+ file_type: "connected-file";
159
+ };
160
+
161
+ /** @internal */
162
+ export const ConnectedFile$outboundSchema: z.ZodMiniType<
163
+ ConnectedFile$Outbound,
164
+ ConnectedFile
165
+ > = z.pipe(
166
+ z.object({
167
+ object: z.string(),
168
+ recordId: z.string(),
169
+ storageProvider: PostV2FilesStorageProvider2$outboundSchema,
170
+ externalProviderFileId: z.string(),
171
+ microsoftDriveId: z.optional(z.nullable(z.string())),
172
+ fileType: z.literal("connected-file"),
173
+ }),
174
+ z.transform((v) => {
175
+ return remap$(v, {
176
+ recordId: "record_id",
177
+ storageProvider: "storage_provider",
178
+ externalProviderFileId: "external_provider_file_id",
179
+ microsoftDriveId: "microsoft_drive_id",
180
+ fileType: "file_type",
181
+ });
182
+ }),
183
+ );
184
+
185
+ export function connectedFileToJSON(connectedFile: ConnectedFile): string {
186
+ return JSON.stringify(ConnectedFile$outboundSchema.parse(connectedFile));
187
+ }
188
+
189
+ /** @internal */
190
+ export const PostV2FilesStorageProvider1$outboundSchema: z.ZodMiniEnum<
191
+ typeof PostV2FilesStorageProvider1
192
+ > = z.enum(PostV2FilesStorageProvider1);
193
+
194
+ /** @internal */
195
+ export type ConnectedFolder$Outbound = {
196
+ object: string;
197
+ record_id: string;
198
+ storage_provider: string;
199
+ external_provider_file_id: string;
200
+ microsoft_drive_id?: string | null | undefined;
201
+ file_type: "connected-folder";
202
+ };
203
+
204
+ /** @internal */
205
+ export const ConnectedFolder$outboundSchema: z.ZodMiniType<
206
+ ConnectedFolder$Outbound,
207
+ ConnectedFolder
208
+ > = z.pipe(
209
+ z.object({
210
+ object: z.string(),
211
+ recordId: z.string(),
212
+ storageProvider: PostV2FilesStorageProvider1$outboundSchema,
213
+ externalProviderFileId: z.string(),
214
+ microsoftDriveId: z.optional(z.nullable(z.string())),
215
+ fileType: z.literal("connected-folder"),
216
+ }),
217
+ z.transform((v) => {
218
+ return remap$(v, {
219
+ recordId: "record_id",
220
+ storageProvider: "storage_provider",
221
+ externalProviderFileId: "external_provider_file_id",
222
+ microsoftDriveId: "microsoft_drive_id",
223
+ fileType: "file_type",
224
+ });
225
+ }),
226
+ );
227
+
228
+ export function connectedFolderToJSON(
229
+ connectedFolder: ConnectedFolder,
230
+ ): string {
231
+ return JSON.stringify(ConnectedFolder$outboundSchema.parse(connectedFolder));
232
+ }
233
+
234
+ /** @internal */
235
+ export type PostV2FilesFolder$Outbound = {
236
+ object: string;
237
+ record_id: string;
238
+ file_type: "folder";
239
+ name: string;
240
+ parent_folder_id?: string | undefined;
241
+ };
242
+
243
+ /** @internal */
244
+ export const PostV2FilesFolder$outboundSchema: z.ZodMiniType<
245
+ PostV2FilesFolder$Outbound,
246
+ PostV2FilesFolder
247
+ > = z.pipe(
248
+ z.object({
249
+ object: z.string(),
250
+ recordId: z.string(),
251
+ fileType: z.literal("folder"),
252
+ name: z.string(),
253
+ parentFolderId: z.optional(z.string()),
254
+ }),
255
+ z.transform((v) => {
256
+ return remap$(v, {
257
+ recordId: "record_id",
258
+ fileType: "file_type",
259
+ parentFolderId: "parent_folder_id",
260
+ });
261
+ }),
262
+ );
263
+
264
+ export function postV2FilesFolderToJSON(
265
+ postV2FilesFolder: PostV2FilesFolder,
266
+ ): string {
267
+ return JSON.stringify(
268
+ PostV2FilesFolder$outboundSchema.parse(postV2FilesFolder),
269
+ );
270
+ }
271
+
272
+ /** @internal */
273
+ export type PostV2FilesRequest$Outbound =
274
+ | PostV2FilesFolder$Outbound
275
+ | ConnectedFolder$Outbound
276
+ | ConnectedFile$Outbound;
277
+
278
+ /** @internal */
279
+ export const PostV2FilesRequest$outboundSchema: z.ZodMiniType<
280
+ PostV2FilesRequest$Outbound,
281
+ PostV2FilesRequest
282
+ > = z.union([
283
+ z.lazy(() => PostV2FilesFolder$outboundSchema),
284
+ z.lazy(() => ConnectedFolder$outboundSchema),
285
+ z.lazy(() => ConnectedFile$outboundSchema),
286
+ ]);
287
+
288
+ export function postV2FilesRequestToJSON(
289
+ postV2FilesRequest: PostV2FilesRequest,
290
+ ): string {
291
+ return JSON.stringify(
292
+ PostV2FilesRequest$outboundSchema.parse(postV2FilesRequest),
293
+ );
294
+ }
295
+
296
+ /** @internal */
297
+ export const PostV2FilesData$inboundSchema: z.ZodMiniType<
298
+ PostV2FilesData,
299
+ unknown
300
+ > = discriminatedUnion("file_type", {
301
+ folder: models.Folder$inboundSchema,
302
+ ["connected-file"]: models.ConnectedFile$inboundSchema,
303
+ ["connected-folder"]: models.ConnectedFolder$inboundSchema,
304
+ }, { outputPropertyName: "fileType" });
305
+
306
+ export function postV2FilesDataFromJSON(
307
+ jsonString: string,
308
+ ): SafeParseResult<PostV2FilesData, SDKValidationError> {
309
+ return safeParse(
310
+ jsonString,
311
+ (x) => PostV2FilesData$inboundSchema.parse(JSON.parse(x)),
312
+ `Failed to parse 'PostV2FilesData' from JSON`,
313
+ );
314
+ }
315
+
316
+ /** @internal */
317
+ export const PostV2FilesResponse$inboundSchema: z.ZodMiniType<
318
+ PostV2FilesResponse,
319
+ unknown
320
+ > = z.object({
321
+ data: discriminatedUnion("file_type", {
322
+ folder: models.Folder$inboundSchema,
323
+ ["connected-file"]: models.ConnectedFile$inboundSchema,
324
+ ["connected-folder"]: models.ConnectedFolder$inboundSchema,
325
+ }, { outputPropertyName: "fileType" }),
326
+ });
327
+
328
+ export function postV2FilesResponseFromJSON(
329
+ jsonString: string,
330
+ ): SafeParseResult<PostV2FilesResponse, SDKValidationError> {
331
+ return safeParse(
332
+ jsonString,
333
+ (x) => PostV2FilesResponse$inboundSchema.parse(JSON.parse(x)),
334
+ `Failed to parse 'PostV2FilesResponse' from JSON`,
335
+ );
336
+ }