@unofficialbox/box-open-sdk 0.1.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 (384) hide show
  1. package/README.md +13 -0
  2. package/dist/cjs/auth.js +112 -0
  3. package/dist/cjs/buildinfo.js +10 -0
  4. package/dist/cjs/client.js +268 -0
  5. package/dist/cjs/errors.js +20 -0
  6. package/dist/cjs/index.js +43 -0
  7. package/dist/cjs/internal.js +37 -0
  8. package/dist/cjs/jwt.js +122 -0
  9. package/dist/cjs/managers/ai.js +106 -0
  10. package/dist/cjs/managers/ai_studio.js +131 -0
  11. package/dist/cjs/managers/app_item_associations.js +119 -0
  12. package/dist/cjs/managers/archives.js +110 -0
  13. package/dist/cjs/managers/authorization.js +149 -0
  14. package/dist/cjs/managers/automate_workflows.js +91 -0
  15. package/dist/cjs/managers/avatars.js +76 -0
  16. package/dist/cjs/managers/chunked_uploads.js +156 -0
  17. package/dist/cjs/managers/classifications.js +94 -0
  18. package/dist/cjs/managers/collaboration_allowlist_entries.js +104 -0
  19. package/dist/cjs/managers/collaboration_allowlist_exempt_targets.js +104 -0
  20. package/dist/cjs/managers/collections.js +124 -0
  21. package/dist/cjs/managers/comments.js +131 -0
  22. package/dist/cjs/managers/device_pinners.js +99 -0
  23. package/dist/cjs/managers/docgen.js +133 -0
  24. package/dist/cjs/managers/docgen_template.js +178 -0
  25. package/dist/cjs/managers/downloads.js +69 -0
  26. package/dist/cjs/managers/email_aliases.js +78 -0
  27. package/dist/cjs/managers/enterprise_configurations.js +58 -0
  28. package/dist/cjs/managers/events.js +82 -0
  29. package/dist/cjs/managers/external_users.js +58 -0
  30. package/dist/cjs/managers/file_classifications.js +97 -0
  31. package/dist/cjs/managers/file_metadata.js +115 -0
  32. package/dist/cjs/managers/file_requests.js +90 -0
  33. package/dist/cjs/managers/file_version_legal_holds.js +88 -0
  34. package/dist/cjs/managers/file_version_retentions.js +105 -0
  35. package/dist/cjs/managers/file_versions.js +140 -0
  36. package/dist/cjs/managers/file_watermarks.js +77 -0
  37. package/dist/cjs/managers/files.js +138 -0
  38. package/dist/cjs/managers/folder_classifications.js +97 -0
  39. package/dist/cjs/managers/folder_locks.js +73 -0
  40. package/dist/cjs/managers/folder_metadata.js +111 -0
  41. package/dist/cjs/managers/folder_watermarks.js +77 -0
  42. package/dist/cjs/managers/folders.js +191 -0
  43. package/dist/cjs/managers/groups.js +132 -0
  44. package/dist/cjs/managers/hub_collaborations.js +121 -0
  45. package/dist/cjs/managers/hub_document.js +113 -0
  46. package/dist/cjs/managers/hub_items.js +96 -0
  47. package/dist/cjs/managers/hubs.js +186 -0
  48. package/dist/cjs/managers/index.js +102 -0
  49. package/dist/cjs/managers/integration_mappings.js +178 -0
  50. package/dist/cjs/managers/invites.js +74 -0
  51. package/dist/cjs/managers/legal_hold_policies.js +121 -0
  52. package/dist/cjs/managers/legal_hold_policy_assignments.js +186 -0
  53. package/dist/cjs/managers/list_collaborations.js +185 -0
  54. package/dist/cjs/managers/memberships.js +160 -0
  55. package/dist/cjs/managers/metadata_cascade_policies.js +118 -0
  56. package/dist/cjs/managers/metadata_taxonomies.js +322 -0
  57. package/dist/cjs/managers/metadata_templates.js +196 -0
  58. package/dist/cjs/managers/notes.js +58 -0
  59. package/dist/cjs/managers/recent_items.js +80 -0
  60. package/dist/cjs/managers/retention_policies.js +131 -0
  61. package/dist/cjs/managers/retention_policy_assignments.js +182 -0
  62. package/dist/cjs/managers/search.js +130 -0
  63. package/dist/cjs/managers/session_termination.js +68 -0
  64. package/dist/cjs/managers/shared_links_app_items.js +55 -0
  65. package/dist/cjs/managers/shared_links_files.js +109 -0
  66. package/dist/cjs/managers/shared_links_folders.js +109 -0
  67. package/dist/cjs/managers/shared_links_web_links.js +109 -0
  68. package/dist/cjs/managers/shield_information_barrier_reports.js +98 -0
  69. package/dist/cjs/managers/shield_information_barrier_segment_members.js +105 -0
  70. package/dist/cjs/managers/shield_information_barrier_segment_restrictions.js +105 -0
  71. package/dist/cjs/managers/shield_information_barrier_segments.js +116 -0
  72. package/dist/cjs/managers/shield_information_barriers.js +108 -0
  73. package/dist/cjs/managers/shield_lists.js +97 -0
  74. package/dist/cjs/managers/sign_requests.js +123 -0
  75. package/dist/cjs/managers/sign_templates.js +87 -0
  76. package/dist/cjs/managers/skills.js +106 -0
  77. package/dist/cjs/managers/storage_policies.js +90 -0
  78. package/dist/cjs/managers/storage_policy_assignments.js +114 -0
  79. package/dist/cjs/managers/task_assignments.js +94 -0
  80. package/dist/cjs/managers/tasks.js +94 -0
  81. package/dist/cjs/managers/terms_of_service_user_statuses.js +81 -0
  82. package/dist/cjs/managers/terms_of_services.js +89 -0
  83. package/dist/cjs/managers/transfer.js +67 -0
  84. package/dist/cjs/managers/trashed_files.js +84 -0
  85. package/dist/cjs/managers/trashed_folders.js +84 -0
  86. package/dist/cjs/managers/trashed_items.js +94 -0
  87. package/dist/cjs/managers/trashed_web_links.js +84 -0
  88. package/dist/cjs/managers/uploads.js +98 -0
  89. package/dist/cjs/managers/user_collaborations.js +95 -0
  90. package/dist/cjs/managers/users.js +165 -0
  91. package/dist/cjs/managers/web_links.js +88 -0
  92. package/dist/cjs/managers/webhooks.js +115 -0
  93. package/dist/cjs/managers/workflows.js +92 -0
  94. package/dist/cjs/managers/zip_downloads.js +76 -0
  95. package/dist/cjs/models/index.js +38 -0
  96. package/dist/cjs/models/schemas.js +3 -0
  97. package/dist/cjs/package.json +3 -0
  98. package/dist/cjs/runtime.js +304 -0
  99. package/dist/cjs/tokens.js +121 -0
  100. package/dist/esm/auth.js +105 -0
  101. package/dist/esm/buildinfo.js +7 -0
  102. package/dist/esm/client.js +264 -0
  103. package/dist/esm/errors.js +16 -0
  104. package/dist/esm/index.js +6 -0
  105. package/dist/esm/internal.js +32 -0
  106. package/dist/esm/jwt.js +86 -0
  107. package/dist/esm/managers/ai.js +69 -0
  108. package/dist/esm/managers/ai_studio.js +94 -0
  109. package/dist/esm/managers/app_item_associations.js +82 -0
  110. package/dist/esm/managers/archives.js +73 -0
  111. package/dist/esm/managers/authorization.js +112 -0
  112. package/dist/esm/managers/automate_workflows.js +54 -0
  113. package/dist/esm/managers/avatars.js +39 -0
  114. package/dist/esm/managers/chunked_uploads.js +119 -0
  115. package/dist/esm/managers/classifications.js +57 -0
  116. package/dist/esm/managers/collaboration_allowlist_entries.js +67 -0
  117. package/dist/esm/managers/collaboration_allowlist_exempt_targets.js +67 -0
  118. package/dist/esm/managers/collections.js +87 -0
  119. package/dist/esm/managers/comments.js +94 -0
  120. package/dist/esm/managers/device_pinners.js +62 -0
  121. package/dist/esm/managers/docgen.js +96 -0
  122. package/dist/esm/managers/docgen_template.js +141 -0
  123. package/dist/esm/managers/downloads.js +32 -0
  124. package/dist/esm/managers/email_aliases.js +41 -0
  125. package/dist/esm/managers/enterprise_configurations.js +21 -0
  126. package/dist/esm/managers/events.js +45 -0
  127. package/dist/esm/managers/external_users.js +21 -0
  128. package/dist/esm/managers/file_classifications.js +60 -0
  129. package/dist/esm/managers/file_metadata.js +78 -0
  130. package/dist/esm/managers/file_requests.js +53 -0
  131. package/dist/esm/managers/file_version_legal_holds.js +51 -0
  132. package/dist/esm/managers/file_version_retentions.js +68 -0
  133. package/dist/esm/managers/file_versions.js +103 -0
  134. package/dist/esm/managers/file_watermarks.js +40 -0
  135. package/dist/esm/managers/files.js +101 -0
  136. package/dist/esm/managers/folder_classifications.js +60 -0
  137. package/dist/esm/managers/folder_locks.js +36 -0
  138. package/dist/esm/managers/folder_metadata.js +74 -0
  139. package/dist/esm/managers/folder_watermarks.js +40 -0
  140. package/dist/esm/managers/folders.js +154 -0
  141. package/dist/esm/managers/groups.js +95 -0
  142. package/dist/esm/managers/hub_collaborations.js +84 -0
  143. package/dist/esm/managers/hub_document.js +76 -0
  144. package/dist/esm/managers/hub_items.js +59 -0
  145. package/dist/esm/managers/hubs.js +149 -0
  146. package/dist/esm/managers/index.js +86 -0
  147. package/dist/esm/managers/integration_mappings.js +141 -0
  148. package/dist/esm/managers/invites.js +37 -0
  149. package/dist/esm/managers/legal_hold_policies.js +84 -0
  150. package/dist/esm/managers/legal_hold_policy_assignments.js +149 -0
  151. package/dist/esm/managers/list_collaborations.js +148 -0
  152. package/dist/esm/managers/memberships.js +123 -0
  153. package/dist/esm/managers/metadata_cascade_policies.js +81 -0
  154. package/dist/esm/managers/metadata_taxonomies.js +285 -0
  155. package/dist/esm/managers/metadata_templates.js +159 -0
  156. package/dist/esm/managers/notes.js +21 -0
  157. package/dist/esm/managers/recent_items.js +43 -0
  158. package/dist/esm/managers/retention_policies.js +94 -0
  159. package/dist/esm/managers/retention_policy_assignments.js +145 -0
  160. package/dist/esm/managers/search.js +93 -0
  161. package/dist/esm/managers/session_termination.js +31 -0
  162. package/dist/esm/managers/shared_links_app_items.js +18 -0
  163. package/dist/esm/managers/shared_links_files.js +72 -0
  164. package/dist/esm/managers/shared_links_folders.js +72 -0
  165. package/dist/esm/managers/shared_links_web_links.js +72 -0
  166. package/dist/esm/managers/shield_information_barrier_reports.js +61 -0
  167. package/dist/esm/managers/shield_information_barrier_segment_members.js +68 -0
  168. package/dist/esm/managers/shield_information_barrier_segment_restrictions.js +68 -0
  169. package/dist/esm/managers/shield_information_barrier_segments.js +79 -0
  170. package/dist/esm/managers/shield_information_barriers.js +71 -0
  171. package/dist/esm/managers/shield_lists.js +60 -0
  172. package/dist/esm/managers/sign_requests.js +86 -0
  173. package/dist/esm/managers/sign_templates.js +50 -0
  174. package/dist/esm/managers/skills.js +69 -0
  175. package/dist/esm/managers/storage_policies.js +53 -0
  176. package/dist/esm/managers/storage_policy_assignments.js +77 -0
  177. package/dist/esm/managers/task_assignments.js +57 -0
  178. package/dist/esm/managers/tasks.js +57 -0
  179. package/dist/esm/managers/terms_of_service_user_statuses.js +44 -0
  180. package/dist/esm/managers/terms_of_services.js +52 -0
  181. package/dist/esm/managers/transfer.js +30 -0
  182. package/dist/esm/managers/trashed_files.js +47 -0
  183. package/dist/esm/managers/trashed_folders.js +47 -0
  184. package/dist/esm/managers/trashed_items.js +57 -0
  185. package/dist/esm/managers/trashed_web_links.js +47 -0
  186. package/dist/esm/managers/uploads.js +61 -0
  187. package/dist/esm/managers/user_collaborations.js +58 -0
  188. package/dist/esm/managers/users.js +128 -0
  189. package/dist/esm/managers/web_links.js +51 -0
  190. package/dist/esm/managers/webhooks.js +78 -0
  191. package/dist/esm/managers/workflows.js +55 -0
  192. package/dist/esm/managers/zip_downloads.js +39 -0
  193. package/dist/esm/models/index.js +2 -0
  194. package/dist/esm/models/schemas.js +2 -0
  195. package/dist/esm/package.json +3 -0
  196. package/dist/esm/runtime.js +272 -0
  197. package/dist/esm/tokens.js +116 -0
  198. package/dist/types/auth.d.ts +56 -0
  199. package/dist/types/buildinfo.d.ts +6 -0
  200. package/dist/types/client.d.ts +176 -0
  201. package/dist/types/errors.d.ts +19 -0
  202. package/dist/types/index.d.ts +5 -0
  203. package/dist/types/internal.d.ts +9 -0
  204. package/dist/types/jwt.d.ts +23 -0
  205. package/dist/types/managers/ai.d.ts +17 -0
  206. package/dist/types/managers/ai_studio.d.ts +27 -0
  207. package/dist/types/managers/app_item_associations.d.ts +25 -0
  208. package/dist/types/managers/archives.d.ts +18 -0
  209. package/dist/types/managers/authorization.d.ts +17 -0
  210. package/dist/types/managers/automate_workflows.d.ts +16 -0
  211. package/dist/types/managers/avatars.d.ts +10 -0
  212. package/dist/types/managers/chunked_uploads.d.ts +26 -0
  213. package/dist/types/managers/classifications.d.ts +11 -0
  214. package/dist/types/managers/collaboration_allowlist_entries.d.ts +18 -0
  215. package/dist/types/managers/collaboration_allowlist_exempt_targets.d.ts +18 -0
  216. package/dist/types/managers/collections.d.ts +26 -0
  217. package/dist/types/managers/comments.d.ts +32 -0
  218. package/dist/types/managers/device_pinners.d.ts +18 -0
  219. package/dist/types/managers/docgen.d.ts +25 -0
  220. package/dist/types/managers/docgen_template.d.ts +35 -0
  221. package/dist/types/managers/downloads.d.ts +14 -0
  222. package/dist/types/managers/email_aliases.d.ts +10 -0
  223. package/dist/types/managers/enterprise_configurations.d.ts +8 -0
  224. package/dist/types/managers/events.d.ts +18 -0
  225. package/dist/types/managers/external_users.d.ts +8 -0
  226. package/dist/types/managers/file_classifications.d.ts +11 -0
  227. package/dist/types/managers/file_metadata.d.ts +20 -0
  228. package/dist/types/managers/file_requests.d.ts +15 -0
  229. package/dist/types/managers/file_version_legal_holds.d.ts +16 -0
  230. package/dist/types/managers/file_version_retentions.d.ts +22 -0
  231. package/dist/types/managers/file_versions.d.ts +32 -0
  232. package/dist/types/managers/file_watermarks.d.ts +10 -0
  233. package/dist/types/managers/files.d.ts +39 -0
  234. package/dist/types/managers/folder_classifications.d.ts +11 -0
  235. package/dist/types/managers/folder_locks.d.ts +10 -0
  236. package/dist/types/managers/folder_metadata.d.ts +16 -0
  237. package/dist/types/managers/folder_watermarks.d.ts +10 -0
  238. package/dist/types/managers/folders.d.ts +54 -0
  239. package/dist/types/managers/groups.d.ts +33 -0
  240. package/dist/types/managers/hub_collaborations.d.ts +19 -0
  241. package/dist/types/managers/hub_document.d.ts +23 -0
  242. package/dist/types/managers/hub_items.d.ts +17 -0
  243. package/dist/types/managers/hubs.d.ts +35 -0
  244. package/dist/types/managers/index.d.ts +85 -0
  245. package/dist/types/managers/integration_mappings.d.ts +34 -0
  246. package/dist/types/managers/invites.d.ts +17 -0
  247. package/dist/types/managers/legal_hold_policies.d.ts +21 -0
  248. package/dist/types/managers/legal_hold_policy_assignments.d.ts +39 -0
  249. package/dist/types/managers/list_collaborations.d.ts +42 -0
  250. package/dist/types/managers/memberships.d.ts +39 -0
  251. package/dist/types/managers/metadata_cascade_policies.d.ts +20 -0
  252. package/dist/types/managers/metadata_taxonomies.d.ts +54 -0
  253. package/dist/types/managers/metadata_templates.d.ts +36 -0
  254. package/dist/types/managers/notes.d.ts +8 -0
  255. package/dist/types/managers/recent_items.d.ts +16 -0
  256. package/dist/types/managers/retention_policies.d.ts +27 -0
  257. package/dist/types/managers/retention_policy_assignments.d.ts +40 -0
  258. package/dist/types/managers/search.d.ts +33 -0
  259. package/dist/types/managers/session_termination.d.ts +9 -0
  260. package/dist/types/managers/shared_links_app_items.d.ts +8 -0
  261. package/dist/types/managers/shared_links_files.d.ts +17 -0
  262. package/dist/types/managers/shared_links_folders.d.ts +17 -0
  263. package/dist/types/managers/shared_links_web_links.d.ts +17 -0
  264. package/dist/types/managers/shield_information_barrier_reports.d.ts +17 -0
  265. package/dist/types/managers/shield_information_barrier_segment_members.d.ts +18 -0
  266. package/dist/types/managers/shield_information_barrier_segment_restrictions.d.ts +18 -0
  267. package/dist/types/managers/shield_information_barrier_segments.d.ts +19 -0
  268. package/dist/types/managers/shield_information_barriers.d.ts +18 -0
  269. package/dist/types/managers/shield_lists.d.ts +12 -0
  270. package/dist/types/managers/sign_requests.d.ts +21 -0
  271. package/dist/types/managers/sign_templates.d.ts +16 -0
  272. package/dist/types/managers/skills.d.ts +12 -0
  273. package/dist/types/managers/storage_policies.d.ts +17 -0
  274. package/dist/types/managers/storage_policy_assignments.d.ts +18 -0
  275. package/dist/types/managers/task_assignments.d.ts +12 -0
  276. package/dist/types/managers/tasks.d.ts +12 -0
  277. package/dist/types/managers/terms_of_service_user_statuses.d.ts +14 -0
  278. package/dist/types/managers/terms_of_services.d.ts +15 -0
  279. package/dist/types/managers/transfer.d.ts +13 -0
  280. package/dist/types/managers/trashed_files.d.ts +18 -0
  281. package/dist/types/managers/trashed_folders.d.ts +18 -0
  282. package/dist/types/managers/trashed_items.d.ts +20 -0
  283. package/dist/types/managers/trashed_web_links.d.ts +18 -0
  284. package/dist/types/managers/uploads.d.ts +21 -0
  285. package/dist/types/managers/user_collaborations.d.ts +20 -0
  286. package/dist/types/managers/users.d.ts +47 -0
  287. package/dist/types/managers/web_links.d.ts +15 -0
  288. package/dist/types/managers/webhooks.d.ts +19 -0
  289. package/dist/types/managers/workflows.d.ts +17 -0
  290. package/dist/types/managers/zip_downloads.d.ts +10 -0
  291. package/dist/types/models/index.d.ts +1 -0
  292. package/dist/types/models/schemas.d.ts +4424 -0
  293. package/dist/types/runtime.d.ts +85 -0
  294. package/dist/types/tokens.d.ts +50 -0
  295. package/docs/README.md +101 -0
  296. package/docs/auth.md +60 -0
  297. package/docs/errors.md +20 -0
  298. package/docs/managers/ai.md +49 -0
  299. package/docs/managers/ai_studio.md +63 -0
  300. package/docs/managers/app_item_associations.md +35 -0
  301. package/docs/managers/archives.md +48 -0
  302. package/docs/managers/authorization.md +43 -0
  303. package/docs/managers/automate_workflows.md +31 -0
  304. package/docs/managers/avatars.md +37 -0
  305. package/docs/managers/chunked_uploads.md +88 -0
  306. package/docs/managers/classifications.md +35 -0
  307. package/docs/managers/collaboration_allowlist_entries.md +46 -0
  308. package/docs/managers/collaboration_allowlist_exempt_targets.md +46 -0
  309. package/docs/managers/collections.md +44 -0
  310. package/docs/managers/comments.md +66 -0
  311. package/docs/managers/device_pinners.md +40 -0
  312. package/docs/managers/docgen.md +50 -0
  313. package/docs/managers/docgen_template.md +75 -0
  314. package/docs/managers/downloads.md +19 -0
  315. package/docs/managers/email_aliases.md +38 -0
  316. package/docs/managers/enterprise_configurations.md +16 -0
  317. package/docs/managers/events.md +26 -0
  318. package/docs/managers/external_users.md +13 -0
  319. package/docs/managers/file_classifications.md +49 -0
  320. package/docs/managers/file_metadata.md +69 -0
  321. package/docs/managers/file_requests.md +50 -0
  322. package/docs/managers/file_version_legal_holds.md +29 -0
  323. package/docs/managers/file_version_retentions.md +34 -0
  324. package/docs/managers/file_versions.md +70 -0
  325. package/docs/managers/file_watermarks.md +37 -0
  326. package/docs/managers/files.md +72 -0
  327. package/docs/managers/folder_classifications.md +49 -0
  328. package/docs/managers/folder_locks.md +33 -0
  329. package/docs/managers/folder_metadata.md +68 -0
  330. package/docs/managers/folder_watermarks.md +37 -0
  331. package/docs/managers/folders.md +93 -0
  332. package/docs/managers/groups.md +66 -0
  333. package/docs/managers/hub_collaborations.md +59 -0
  334. package/docs/managers/hub_document.md +34 -0
  335. package/docs/managers/hub_items.md +32 -0
  336. package/docs/managers/hubs.md +90 -0
  337. package/docs/managers/integration_mappings.md +96 -0
  338. package/docs/managers/invites.md +28 -0
  339. package/docs/managers/legal_hold_policies.md +60 -0
  340. package/docs/managers/legal_hold_policy_assignments.md +80 -0
  341. package/docs/managers/list_collaborations.md +64 -0
  342. package/docs/managers/memberships.md +79 -0
  343. package/docs/managers/metadata_cascade_policies.md +60 -0
  344. package/docs/managers/metadata_taxonomies.md +206 -0
  345. package/docs/managers/metadata_templates.md +98 -0
  346. package/docs/managers/notes.md +13 -0
  347. package/docs/managers/recent_items.md +19 -0
  348. package/docs/managers/retention_policies.md +63 -0
  349. package/docs/managers/retention_policy_assignments.md +78 -0
  350. package/docs/managers/search.md +43 -0
  351. package/docs/managers/session_termination.md +21 -0
  352. package/docs/managers/shared_links_app_items.md +15 -0
  353. package/docs/managers/shared_links_files.md +67 -0
  354. package/docs/managers/shared_links_folders.md +67 -0
  355. package/docs/managers/shared_links_web_links.md +67 -0
  356. package/docs/managers/shield_information_barrier_reports.md +37 -0
  357. package/docs/managers/shield_information_barrier_segment_members.md +47 -0
  358. package/docs/managers/shield_information_barrier_segment_restrictions.md +47 -0
  359. package/docs/managers/shield_information_barrier_segments.md +59 -0
  360. package/docs/managers/shield_information_barriers.md +44 -0
  361. package/docs/managers/shield_lists.md +51 -0
  362. package/docs/managers/sign_requests.md +60 -0
  363. package/docs/managers/sign_templates.md +28 -0
  364. package/docs/managers/skills.md +61 -0
  365. package/docs/managers/storage_policies.md +29 -0
  366. package/docs/managers/storage_policy_assignments.md +59 -0
  367. package/docs/managers/task_assignments.md +55 -0
  368. package/docs/managers/tasks.md +55 -0
  369. package/docs/managers/terms_of_service_user_statuses.md +36 -0
  370. package/docs/managers/terms_of_services.md +45 -0
  371. package/docs/managers/transfer.md +19 -0
  372. package/docs/managers/trashed_files.md +39 -0
  373. package/docs/managers/trashed_folders.md +39 -0
  374. package/docs/managers/trashed_items.md +23 -0
  375. package/docs/managers/trashed_web_links.md +39 -0
  376. package/docs/managers/uploads.md +41 -0
  377. package/docs/managers/user_collaborations.md +51 -0
  378. package/docs/managers/users.md +82 -0
  379. package/docs/managers/web_links.md +46 -0
  380. package/docs/managers/webhooks.md +58 -0
  381. package/docs/managers/workflows.md +32 -0
  382. package/docs/managers/zip_downloads.md +33 -0
  383. package/docs/pagination.md +17 -0
  384. package/package.json +32 -0
@@ -0,0 +1,55 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # TaskAssignmentsManager
3
+
4
+ Reach these methods through the `taskAssignments` field on `Client`.
5
+
6
+ ## listTaskAssignments
7
+
8
+ `GET /tasks/{task_id}/assignments`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `task_id` | path | `string` | yes |
13
+
14
+ **Returns:** `TaskAssignments`
15
+
16
+ ## create
17
+
18
+ `POST /task_assignments`
19
+
20
+ **Request body** (`application/json`): `TaskAssignmentCreateRequest`
21
+
22
+ **Returns:** `TaskAssignment`
23
+
24
+ ## get
25
+
26
+ `GET /task_assignments/{task_assignment_id}`
27
+
28
+ | Parameter | In | Type | Required |
29
+ |---|---|---|---|
30
+ | `task_assignment_id` | path | `string` | yes |
31
+
32
+ **Returns:** `TaskAssignment`
33
+
34
+ ## update
35
+
36
+ `PUT /task_assignments/{task_assignment_id}`
37
+
38
+ | Parameter | In | Type | Required |
39
+ |---|---|---|---|
40
+ | `task_assignment_id` | path | `string` | yes |
41
+
42
+ **Request body** (`application/json`): `TaskAssignmentUpdateRequest`
43
+
44
+ **Returns:** `TaskAssignment`
45
+
46
+ ## delete_
47
+
48
+ `DELETE /task_assignments/{task_assignment_id}`
49
+
50
+ | Parameter | In | Type | Required |
51
+ |---|---|---|---|
52
+ | `task_assignment_id` | path | `string` | yes |
53
+
54
+ **Returns:** `void`
55
+
@@ -0,0 +1,55 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # TasksManager
3
+
4
+ Reach these methods through the `tasks` field on `Client`.
5
+
6
+ ## listFile
7
+
8
+ `GET /files/{file_id}/tasks`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `file_id` | path | `string` | yes |
13
+
14
+ **Returns:** `Tasks`
15
+
16
+ ## create
17
+
18
+ `POST /tasks`
19
+
20
+ **Request body** (`application/json`): `TaskCreateRequest`
21
+
22
+ **Returns:** `Task`
23
+
24
+ ## get
25
+
26
+ `GET /tasks/{task_id}`
27
+
28
+ | Parameter | In | Type | Required |
29
+ |---|---|---|---|
30
+ | `task_id` | path | `string` | yes |
31
+
32
+ **Returns:** `Task`
33
+
34
+ ## update
35
+
36
+ `PUT /tasks/{task_id}`
37
+
38
+ | Parameter | In | Type | Required |
39
+ |---|---|---|---|
40
+ | `task_id` | path | `string` | yes |
41
+
42
+ **Request body** (`application/json`): `TaskUpdateRequest`
43
+
44
+ **Returns:** `Task`
45
+
46
+ ## delete_
47
+
48
+ `DELETE /tasks/{task_id}`
49
+
50
+ | Parameter | In | Type | Required |
51
+ |---|---|---|---|
52
+ | `task_id` | path | `string` | yes |
53
+
54
+ **Returns:** `void`
55
+
@@ -0,0 +1,36 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # TermsOfServiceUserStatusesManager
3
+
4
+ Reach these methods through the `termsOfServiceUserStatuses` field on `Client`.
5
+
6
+ ## list
7
+
8
+ `GET /terms_of_service_user_statuses`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `tos_id` | query | `string` | yes |
13
+ | `user_id` | query | `string` | no |
14
+
15
+ **Returns:** `TermsOfServiceUserStatuses`
16
+
17
+ ## create
18
+
19
+ `POST /terms_of_service_user_statuses`
20
+
21
+ **Request body** (`application/json`): `TermsOfServiceUserStatuseCreateRequest`
22
+
23
+ **Returns:** `TermsOfServiceUserStatus`
24
+
25
+ ## update
26
+
27
+ `PUT /terms_of_service_user_statuses/{terms_of_service_user_status_id}`
28
+
29
+ | Parameter | In | Type | Required |
30
+ |---|---|---|---|
31
+ | `terms_of_service_user_status_id` | path | `string` | yes |
32
+
33
+ **Request body** (`application/json`): `TermsOfServiceUserStatuseUpdateRequest`
34
+
35
+ **Returns:** `TermsOfServiceUserStatus`
36
+
@@ -0,0 +1,45 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # TermsOfServicesManager
3
+
4
+ Reach these methods through the `termsOfServices` field on `Client`.
5
+
6
+ ## list
7
+
8
+ `GET /terms_of_services`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `tos_type` | query | `GetTosType` | no |
13
+
14
+ **Returns:** `TermsOfServices`
15
+
16
+ ## create
17
+
18
+ `POST /terms_of_services`
19
+
20
+ **Request body** (`application/json`): `TermsOfServiceCreateRequest`
21
+
22
+ **Returns:** `TermsOfService`
23
+
24
+ ## get
25
+
26
+ `GET /terms_of_services/{terms_of_service_id}`
27
+
28
+ | Parameter | In | Type | Required |
29
+ |---|---|---|---|
30
+ | `terms_of_service_id` | path | `string` | yes |
31
+
32
+ **Returns:** `TermsOfService`
33
+
34
+ ## update
35
+
36
+ `PUT /terms_of_services/{terms_of_service_id}`
37
+
38
+ | Parameter | In | Type | Required |
39
+ |---|---|---|---|
40
+ | `terms_of_service_id` | path | `string` | yes |
41
+
42
+ **Request body** (`application/json`): `TermsOfServiceUpdateRequest`
43
+
44
+ **Returns:** `TermsOfService`
45
+
@@ -0,0 +1,19 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # TransferManager
3
+
4
+ Reach these methods through the `transfer` field on `Client`.
5
+
6
+ ## updateUserFolder0
7
+
8
+ `PUT /users/{user_id}/folders/0`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `user_id` | path | `string` | yes |
13
+ | `fields` | query | `Array<string>` | no |
14
+ | `notify` | query | `boolean` | no |
15
+
16
+ **Request body** (`application/json`): `UserFolder0UpdateRequest`
17
+
18
+ **Returns:** `FolderFull`
19
+
@@ -0,0 +1,39 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # TrashedFilesManager
3
+
4
+ Reach these methods through the `trashedFiles` field on `Client`.
5
+
6
+ ## createFile
7
+
8
+ `POST /files/{file_id}`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `file_id` | path | `string` | yes |
13
+ | `fields` | query | `Array<string>` | no |
14
+
15
+ **Request body** (`application/json`): `FileCreateRequest`
16
+
17
+ **Returns:** `TrashFileRestored`
18
+
19
+ ## getFileTrash
20
+
21
+ `GET /files/{file_id}/trash`
22
+
23
+ | Parameter | In | Type | Required |
24
+ |---|---|---|---|
25
+ | `file_id` | path | `string` | yes |
26
+ | `fields` | query | `Array<string>` | no |
27
+
28
+ **Returns:** `TrashFile`
29
+
30
+ ## deleteFileTrash
31
+
32
+ `DELETE /files/{file_id}/trash`
33
+
34
+ | Parameter | In | Type | Required |
35
+ |---|---|---|---|
36
+ | `file_id` | path | `string` | yes |
37
+
38
+ **Returns:** `void`
39
+
@@ -0,0 +1,39 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # TrashedFoldersManager
3
+
4
+ Reach these methods through the `trashedFolders` field on `Client`.
5
+
6
+ ## createFolder
7
+
8
+ `POST /folders/{folder_id}`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `folder_id` | path | `string` | yes |
13
+ | `fields` | query | `Array<string>` | no |
14
+
15
+ **Request body** (`application/json`): `FileCreateRequest`
16
+
17
+ **Returns:** `TrashFolderRestored`
18
+
19
+ ## getFolderTrash
20
+
21
+ `GET /folders/{folder_id}/trash`
22
+
23
+ | Parameter | In | Type | Required |
24
+ |---|---|---|---|
25
+ | `folder_id` | path | `string` | yes |
26
+ | `fields` | query | `Array<string>` | no |
27
+
28
+ **Returns:** `TrashFolder`
29
+
30
+ ## deleteFolderTrash
31
+
32
+ `DELETE /folders/{folder_id}/trash`
33
+
34
+ | Parameter | In | Type | Required |
35
+ |---|---|---|---|
36
+ | `folder_id` | path | `string` | yes |
37
+
38
+ **Returns:** `void`
39
+
@@ -0,0 +1,23 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # TrashedItemsManager
3
+
4
+ Reach these methods through the `trashedItems` field on `Client`.
5
+
6
+ ## listFolderTrashItems
7
+
8
+ `GET /folders/trash/items`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `fields` | query | `Array<string>` | no |
13
+ | `limit` | query | `number` | no |
14
+ | `offset` | query | `number` | no |
15
+ | `usemarker` | query | `boolean` | no |
16
+ | `marker` | query | `string` | no |
17
+ | `direction` | query | `OrderDirection` | no |
18
+ | `sort` | query | `GetFolderTrashItemsSort` | no |
19
+
20
+ **Returns:** `Items`
21
+
22
+ Paginated — `listFolderTrashItems(...)` is an async iterable that yields each entry across pages (`for await (const item of ...)`), threading the cursor for you. See the [pagination guide](../pagination.md).
23
+
@@ -0,0 +1,39 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # TrashedWebLinksManager
3
+
4
+ Reach these methods through the `trashedWebLinks` field on `Client`.
5
+
6
+ ## createWebLink
7
+
8
+ `POST /web_links/{web_link_id}`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `web_link_id` | path | `string` | yes |
13
+ | `fields` | query | `Array<string>` | no |
14
+
15
+ **Request body** (`application/json`): `FileCreateRequest`
16
+
17
+ **Returns:** `TrashWebLinkRestored`
18
+
19
+ ## getWebLinkTrash
20
+
21
+ `GET /web_links/{web_link_id}/trash`
22
+
23
+ | Parameter | In | Type | Required |
24
+ |---|---|---|---|
25
+ | `web_link_id` | path | `string` | yes |
26
+ | `fields` | query | `Array<string>` | no |
27
+
28
+ **Returns:** `TrashWebLink`
29
+
30
+ ## deleteWebLinkTrash
31
+
32
+ `DELETE /web_links/{web_link_id}/trash`
33
+
34
+ | Parameter | In | Type | Required |
35
+ |---|---|---|---|
36
+ | `web_link_id` | path | `string` | yes |
37
+
38
+ **Returns:** `void`
39
+
@@ -0,0 +1,41 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # UploadsManager
3
+
4
+ Reach these methods through the `uploads` field on `Client`.
5
+
6
+ ## createFileContent
7
+
8
+ `POST /files/{file_id}/content`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `file_id` | path | `string` | yes |
13
+ | `if-match` | header | `string` | no |
14
+ | `fields` | query | `Array<string>` | no |
15
+ | `content-md5` | header | `string` | no |
16
+
17
+ **Request body** (`multipart/form-data`): `FileIdContentCreateRequest`
18
+
19
+ **Returns:** `Files`
20
+
21
+ ## createFileContent2
22
+
23
+ `POST /files/content`
24
+
25
+ | Parameter | In | Type | Required |
26
+ |---|---|---|---|
27
+ | `fields` | query | `Array<string>` | no |
28
+ | `content-md5` | header | `string` | no |
29
+
30
+ **Request body** (`multipart/form-data`): `FileContentCreateRequest`
31
+
32
+ **Returns:** `Files`
33
+
34
+ ## optionFileContent
35
+
36
+ `OPTIONS /files/content`
37
+
38
+ **Request body** (`application/json`): `OptionFileContentRequest`
39
+
40
+ **Returns:** `UploadUrl`
41
+
@@ -0,0 +1,51 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # UserCollaborationsManager
3
+
4
+ Reach these methods through the `userCollaborations` field on `Client`.
5
+
6
+ ## getCollaboration
7
+
8
+ `GET /collaborations/{collaboration_id}`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `collaboration_id` | path | `string` | yes |
13
+ | `fields` | query | `Array<string>` | no |
14
+
15
+ **Returns:** `Collaboration`
16
+
17
+ ## updateCollaboration
18
+
19
+ `PUT /collaborations/{collaboration_id}`
20
+
21
+ | Parameter | In | Type | Required |
22
+ |---|---|---|---|
23
+ | `collaboration_id` | path | `string` | yes |
24
+
25
+ **Request body** (`application/json`): `CollaborationUpdateRequest`
26
+
27
+ **Returns:** `Collaboration`
28
+
29
+ ## deleteCollaboration
30
+
31
+ `DELETE /collaborations/{collaboration_id}`
32
+
33
+ | Parameter | In | Type | Required |
34
+ |---|---|---|---|
35
+ | `collaboration_id` | path | `string` | yes |
36
+
37
+ **Returns:** `void`
38
+
39
+ ## createCollaborations
40
+
41
+ `POST /collaborations`
42
+
43
+ | Parameter | In | Type | Required |
44
+ |---|---|---|---|
45
+ | `fields` | query | `Array<string>` | no |
46
+ | `notify` | query | `boolean` | no |
47
+
48
+ **Request body** (`application/json`): `CollaborationsCreateRequest`
49
+
50
+ **Returns:** `Collaboration`
51
+
@@ -0,0 +1,82 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # UsersManager
3
+
4
+ Reach these methods through the `users` field on `Client`.
5
+
6
+ ## list
7
+
8
+ `GET /users`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `filter_term` | query | `string` | no |
13
+ | `user_type` | query | `GetUserType` | no |
14
+ | `external_app_user_id` | query | `string` | no |
15
+ | `fields` | query | `Array<string>` | no |
16
+ | `offset` | query | `number` | no |
17
+ | `limit` | query | `number` | no |
18
+ | `usemarker` | query | `boolean` | no |
19
+ | `marker` | query | `string` | no |
20
+
21
+ **Returns:** `Users`
22
+
23
+ Paginated — `list(...)` is an async iterable that yields each entry across pages (`for await (const item of ...)`), threading the cursor for you. See the [pagination guide](../pagination.md).
24
+
25
+ ## create
26
+
27
+ `POST /users`
28
+
29
+ | Parameter | In | Type | Required |
30
+ |---|---|---|---|
31
+ | `fields` | query | `Array<string>` | no |
32
+
33
+ **Request body** (`application/json`): `UserCreateRequest`
34
+
35
+ **Returns:** `UserFull`
36
+
37
+ ## getMe
38
+
39
+ `GET /users/me`
40
+
41
+ | Parameter | In | Type | Required |
42
+ |---|---|---|---|
43
+ | `fields` | query | `Array<string>` | no |
44
+
45
+ **Returns:** `UserFull`
46
+
47
+ ## get
48
+
49
+ `GET /users/{user_id}`
50
+
51
+ | Parameter | In | Type | Required |
52
+ |---|---|---|---|
53
+ | `user_id` | path | `string` | yes |
54
+ | `fields` | query | `Array<string>` | no |
55
+
56
+ **Returns:** `UserFull`
57
+
58
+ ## update
59
+
60
+ `PUT /users/{user_id}`
61
+
62
+ | Parameter | In | Type | Required |
63
+ |---|---|---|---|
64
+ | `user_id` | path | `string` | yes |
65
+ | `fields` | query | `Array<string>` | no |
66
+
67
+ **Request body** (`application/json`): `UserUpdateRequest`
68
+
69
+ **Returns:** `UserFull`
70
+
71
+ ## delete_
72
+
73
+ `DELETE /users/{user_id}`
74
+
75
+ | Parameter | In | Type | Required |
76
+ |---|---|---|---|
77
+ | `user_id` | path | `string` | yes |
78
+ | `notify` | query | `boolean` | no |
79
+ | `force` | query | `boolean` | no |
80
+
81
+ **Returns:** `void`
82
+
@@ -0,0 +1,46 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # WebLinksManager
3
+
4
+ Reach these methods through the `webLinks` field on `Client`.
5
+
6
+ ## create
7
+
8
+ `POST /web_links`
9
+
10
+ **Request body** (`application/json`): `WebLinkCreateRequest`
11
+
12
+ **Returns:** `WebLink`
13
+
14
+ ## get
15
+
16
+ `GET /web_links/{web_link_id}`
17
+
18
+ | Parameter | In | Type | Required |
19
+ |---|---|---|---|
20
+ | `web_link_id` | path | `string` | yes |
21
+ | `boxapi` | header | `string` | no |
22
+
23
+ **Returns:** `WebLink`
24
+
25
+ ## update
26
+
27
+ `PUT /web_links/{web_link_id}`
28
+
29
+ | Parameter | In | Type | Required |
30
+ |---|---|---|---|
31
+ | `web_link_id` | path | `string` | yes |
32
+
33
+ **Request body** (`application/json`): `WebLinkUpdateRequest`
34
+
35
+ **Returns:** `WebLink`
36
+
37
+ ## delete_
38
+
39
+ `DELETE /web_links/{web_link_id}`
40
+
41
+ | Parameter | In | Type | Required |
42
+ |---|---|---|---|
43
+ | `web_link_id` | path | `string` | yes |
44
+
45
+ **Returns:** `void`
46
+
@@ -0,0 +1,58 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # WebhooksManager
3
+
4
+ Reach these methods through the `webhooks` field on `Client`.
5
+
6
+ ## list
7
+
8
+ `GET /webhooks`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `marker` | query | `string` | no |
13
+ | `limit` | query | `number` | no |
14
+
15
+ **Returns:** `Webhooks`
16
+
17
+ Paginated — `list(...)` is an async iterable that yields each entry across pages (`for await (const item of ...)`), threading the cursor for you. See the [pagination guide](../pagination.md).
18
+
19
+ ## create
20
+
21
+ `POST /webhooks`
22
+
23
+ **Request body** (`application/json`): `WebhookCreateRequest`
24
+
25
+ **Returns:** `Webhook`
26
+
27
+ ## get
28
+
29
+ `GET /webhooks/{webhook_id}`
30
+
31
+ | Parameter | In | Type | Required |
32
+ |---|---|---|---|
33
+ | `webhook_id` | path | `string` | yes |
34
+
35
+ **Returns:** `Webhook`
36
+
37
+ ## update
38
+
39
+ `PUT /webhooks/{webhook_id}`
40
+
41
+ | Parameter | In | Type | Required |
42
+ |---|---|---|---|
43
+ | `webhook_id` | path | `string` | yes |
44
+
45
+ **Request body** (`application/json`): `WebhookUpdateRequest`
46
+
47
+ **Returns:** `Webhook`
48
+
49
+ ## delete_
50
+
51
+ `DELETE /webhooks/{webhook_id}`
52
+
53
+ | Parameter | In | Type | Required |
54
+ |---|---|---|---|
55
+ | `webhook_id` | path | `string` | yes |
56
+
57
+ **Returns:** `void`
58
+
@@ -0,0 +1,32 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # WorkflowsManager
3
+
4
+ Reach these methods through the `workflows` field on `Client`.
5
+
6
+ ## list
7
+
8
+ `GET /workflows`
9
+
10
+ | Parameter | In | Type | Required |
11
+ |---|---|---|---|
12
+ | `folder_id` | query | `string` | yes |
13
+ | `trigger_type` | query | `string` | no |
14
+ | `limit` | query | `number` | no |
15
+ | `marker` | query | `string` | no |
16
+
17
+ **Returns:** `Workflows`
18
+
19
+ Paginated — `list(...)` is an async iterable that yields each entry across pages (`for await (const item of ...)`), threading the cursor for you. See the [pagination guide](../pagination.md).
20
+
21
+ ## start
22
+
23
+ `POST /workflows/{workflow_id}/start`
24
+
25
+ | Parameter | In | Type | Required |
26
+ |---|---|---|---|
27
+ | `workflow_id` | path | `string` | yes |
28
+
29
+ **Request body** (`application/json`): `WorkflowStartRequest`
30
+
31
+ **Returns:** `void`
32
+
@@ -0,0 +1,33 @@
1
+ <!-- Generated by box-gantry. DO NOT EDIT. -->
2
+ # ZipDownloadsManager
3
+
4
+ Reach these methods through the `zipDownloads` field on `Client`.
5
+
6
+ ## create
7
+
8
+ `POST /zip_downloads`
9
+
10
+ **Request body** (`application/json`): `ZipDownloadRequest`
11
+
12
+ **Returns:** `ZipDownload`
13
+
14
+ ## getContent
15
+
16
+ `GET /zip_downloads/{zip_download_id}/content`
17
+
18
+ | Parameter | In | Type | Required |
19
+ |---|---|---|---|
20
+ | `zip_download_id` | path | `string` | yes |
21
+
22
+ **Returns:** a binary stream (`runtime.Stream`)
23
+
24
+ ## getStatus
25
+
26
+ `GET /zip_downloads/{zip_download_id}/status`
27
+
28
+ | Parameter | In | Type | Required |
29
+ |---|---|---|---|
30
+ | `zip_download_id` | path | `string` | yes |
31
+
32
+ **Returns:** `ZipDownloadStatus`
33
+