box-node-sdk 3.7.1 → 3.8.1

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 (134) hide show
  1. package/README.md +93 -71
  2. package/config/package.schema.json +42 -42
  3. package/lib/api-request-manager.d.ts +0 -2
  4. package/lib/api-request-manager.js.map +1 -1
  5. package/lib/api-request.d.ts +0 -2
  6. package/lib/api-request.js.map +1 -1
  7. package/lib/box-client.d.ts +7 -7
  8. package/lib/box-client.js +6 -3
  9. package/lib/box-client.js.map +1 -1
  10. package/lib/box-node-sdk.d.ts +1 -3
  11. package/lib/box-node-sdk.js +26 -10
  12. package/lib/box-node-sdk.js.map +1 -1
  13. package/lib/chunked-uploader.d.ts +0 -4
  14. package/lib/chunked-uploader.js.map +1 -1
  15. package/lib/enterprise-event-stream.d.ts +0 -1
  16. package/lib/enterprise-event-stream.js +3 -3
  17. package/lib/enterprise-event-stream.js.map +1 -1
  18. package/lib/event-stream.d.ts +0 -2
  19. package/lib/event-stream.js.map +1 -1
  20. package/lib/managers/ai.generated.d.ts +28 -2
  21. package/lib/managers/ai.generated.js +18 -1
  22. package/lib/managers/ai.generated.js.map +1 -1
  23. package/lib/managers/collaboration-allowlist.js.map +1 -1
  24. package/lib/managers/collaborations.d.ts +3 -3
  25. package/lib/managers/collaborations.js +23 -23
  26. package/lib/managers/collaborations.js.map +1 -1
  27. package/lib/managers/collections.js.map +1 -1
  28. package/lib/managers/comments.js.map +1 -1
  29. package/lib/managers/device-pins.js.map +1 -1
  30. package/lib/managers/enterprise.js.map +1 -1
  31. package/lib/managers/events.d.ts +0 -1
  32. package/lib/managers/events.js +3 -1
  33. package/lib/managers/events.js.map +1 -1
  34. package/lib/managers/file-requests-manager.d.ts +2 -2
  35. package/lib/managers/file-requests-manager.js +1 -1
  36. package/lib/managers/file-requests-manager.js.map +1 -1
  37. package/lib/managers/files.d.ts +1 -3
  38. package/lib/managers/files.js +6 -2
  39. package/lib/managers/files.js.map +1 -1
  40. package/lib/managers/folders.d.ts +1 -1
  41. package/lib/managers/folders.js +3 -1
  42. package/lib/managers/folders.js.map +1 -1
  43. package/lib/managers/groups.js +2 -2
  44. package/lib/managers/groups.js.map +1 -1
  45. package/lib/managers/integration-mappings.js.map +1 -1
  46. package/lib/managers/legal-hold-policies.js.map +1 -1
  47. package/lib/managers/metadata.js.map +1 -1
  48. package/lib/managers/recent-items.js.map +1 -1
  49. package/lib/managers/retention-policies.d.ts +1 -1
  50. package/lib/managers/retention-policies.js.map +1 -1
  51. package/lib/managers/search.d.ts +1 -1
  52. package/lib/managers/search.js.map +1 -1
  53. package/lib/managers/shared-items.js.map +1 -1
  54. package/lib/managers/shield-information-barrier-reports.generated.js.map +1 -1
  55. package/lib/managers/shield-information-barrier-segment-members.generated.js.map +1 -1
  56. package/lib/managers/shield-information-barrier-segment-restrictions.generated.js.map +1 -1
  57. package/lib/managers/shield-information-barrier-segments.generated.js.map +1 -1
  58. package/lib/managers/shield-information-barriers.generated.js.map +1 -1
  59. package/lib/managers/sign-requests.generated.js.map +1 -1
  60. package/lib/managers/sign-templates.generated.js.map +1 -1
  61. package/lib/managers/storage-policies.js.map +1 -1
  62. package/lib/managers/tasks.js.map +1 -1
  63. package/lib/managers/terms-of-service.js.map +1 -1
  64. package/lib/managers/trash.js.map +1 -1
  65. package/lib/managers/users.d.ts +0 -2
  66. package/lib/managers/users.js +1 -1
  67. package/lib/managers/users.js.map +1 -1
  68. package/lib/managers/web-links.js +3 -1
  69. package/lib/managers/web-links.js.map +1 -1
  70. package/lib/managers/webhooks.d.ts +11 -11
  71. package/lib/managers/webhooks.js +24 -14
  72. package/lib/managers/webhooks.js.map +1 -1
  73. package/lib/schemas/ai-agent-ask.generated.d.ts +17 -0
  74. package/lib/schemas/ai-agent-ask.generated.js +3 -0
  75. package/lib/schemas/ai-agent-ask.generated.js.map +1 -0
  76. package/lib/schemas/ai-agent-basic-gen-tool.generated.d.ts +14 -0
  77. package/lib/schemas/ai-agent-basic-gen-tool.generated.js +3 -0
  78. package/lib/schemas/ai-agent-basic-gen-tool.generated.js.map +1 -0
  79. package/lib/schemas/ai-agent-basic-text-tool-ask.generated.d.ts +34 -0
  80. package/lib/schemas/ai-agent-basic-text-tool-ask.generated.js +3 -0
  81. package/lib/schemas/ai-agent-basic-text-tool-ask.generated.js.map +1 -0
  82. package/lib/schemas/ai-agent-basic-text-tool-text-gen.generated.d.ts +36 -0
  83. package/lib/schemas/ai-agent-basic-text-tool-text-gen.generated.js +3 -0
  84. package/lib/schemas/ai-agent-basic-text-tool-text-gen.generated.js.map +1 -0
  85. package/lib/schemas/ai-agent-long-text-tool.generated.d.ts +9 -0
  86. package/lib/schemas/ai-agent-long-text-tool.generated.js +3 -0
  87. package/lib/schemas/ai-agent-long-text-tool.generated.js.map +1 -0
  88. package/lib/schemas/ai-agent-text-gen.generated.d.ts +14 -0
  89. package/lib/schemas/ai-agent-text-gen.generated.js +3 -0
  90. package/lib/schemas/ai-agent-text-gen.generated.js.map +1 -0
  91. package/lib/schemas/ai-ask.generated.d.ts +13 -2
  92. package/lib/schemas/ai-citation.generated.d.ts +27 -0
  93. package/lib/schemas/ai-citation.generated.js +3 -0
  94. package/lib/schemas/ai-citation.generated.js.map +1 -0
  95. package/lib/schemas/ai-dialogue-history.generated.d.ts +22 -0
  96. package/lib/schemas/ai-dialogue-history.generated.js +3 -0
  97. package/lib/schemas/ai-dialogue-history.generated.js.map +1 -0
  98. package/lib/schemas/ai-llm-endpoint-params-google.generated.d.ts +31 -0
  99. package/lib/schemas/ai-llm-endpoint-params-google.generated.js +3 -0
  100. package/lib/schemas/ai-llm-endpoint-params-google.generated.js.map +1 -0
  101. package/lib/schemas/ai-llm-endpoint-params-open-ai.generated.d.ts +43 -0
  102. package/lib/schemas/ai-llm-endpoint-params-open-ai.generated.js +3 -0
  103. package/lib/schemas/ai-llm-endpoint-params-open-ai.generated.js.map +1 -0
  104. package/lib/schemas/ai-response-full.generated.d.ts +12 -0
  105. package/lib/schemas/ai-response-full.generated.js +3 -0
  106. package/lib/schemas/ai-response-full.generated.js.map +1 -0
  107. package/lib/schemas/ai-response.generated.d.ts +1 -1
  108. package/lib/schemas/ai-text-gen.generated.d.ts +5 -7
  109. package/lib/schemas/collaboration-update.d.ts +1 -1
  110. package/lib/schemas/collaboration.d.ts +3 -3
  111. package/lib/schemas/collaborations.d.ts +1 -1
  112. package/lib/schemas/file-request.d.ts +2 -2
  113. package/lib/schemas/index.generated.d.ts +11 -0
  114. package/lib/schemas/index.generated.js +11 -0
  115. package/lib/schemas/index.generated.js.map +1 -1
  116. package/lib/sessions/app-auth-session.js.map +1 -1
  117. package/lib/sessions/basic-session.d.ts +0 -1
  118. package/lib/sessions/basic-session.js.map +1 -1
  119. package/lib/sessions/ccg-session.js.map +1 -1
  120. package/lib/sessions/persistent-session.js.map +1 -1
  121. package/lib/token-manager.js +4 -2
  122. package/lib/token-manager.js.map +1 -1
  123. package/lib/util/config.d.ts +0 -1
  124. package/lib/util/config.js +18 -8
  125. package/lib/util/config.js.map +1 -1
  126. package/lib/util/errors.js +17 -7
  127. package/lib/util/errors.js.map +1 -1
  128. package/lib/util/exponential-backoff.js.map +1 -1
  129. package/lib/util/paging-iterator.js +17 -7
  130. package/lib/util/paging-iterator.js.map +1 -1
  131. package/lib/util/serializable.js.map +1 -1
  132. package/lib/util/url-path.js.map +1 -1
  133. package/package.json +22 -26
  134. package/CHANGELOG.md +0 -612
package/CHANGELOG.md DELETED
@@ -1,612 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ### [3.7.1](https://github.com/box/box-node-sdk/compare/v3.7.0...v3.7.1) (2024-08-06)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * add version to copy file options annotation ([#885](https://github.com/box/box-node-sdk/issues/885)) ([4f9312c](https://github.com/box/box-node-sdk/commit/4f9312c63138f8cf8e0a9e46a9e1345172dbdc6b))
11
-
12
- ## [3.7.0](https://github.com/box/box-node-sdk/compare/v3.6.0...v3.7.0) (2024-07-16)
13
-
14
-
15
- ### New Features and Enhancements
16
-
17
- * Support AI APIs ([#883](https://github.com/box/box-node-sdk/issues/883)) ([bb81e07](https://github.com/box/box-node-sdk/commit/bb81e074eb1017bd742c90159e6cf4e6ce9d9776))
18
-
19
- ## [3.6.0](https://github.com/box/box-node-sdk/compare/v3.5.1...v3.6.0) (2024-05-20)
20
-
21
-
22
- ### New Features and Enhancements
23
-
24
- * Transition to stable status ([#880](https://github.com/box/box-node-sdk/issues/880)) ([ae996ea](https://github.com/box/box-node-sdk/commit/ae996eafd9e34de99119a7780384b90758908313))
25
-
26
- ### [3.5.1](https://github.com/box/box-node-sdk/compare/v3.5.0...v3.5.1) (2024-05-02)
27
-
28
-
29
- ### Bug Fixes
30
-
31
- * Fix `options` parameter in metadata query method ([#878](https://github.com/box/box-node-sdk/issues/878)) ([7943420](https://github.com/box/box-node-sdk/commit/79434209c572cd77c329d6008cda9837a9dba411))
32
-
33
- ## [3.5.0](https://github.com/box/box-node-sdk/compare/v3.4.2...v3.5.0) (2024-02-19)
34
-
35
-
36
- ### New Features and Enhancements
37
-
38
- * Sign request group ([#870](https://github.com/box/box-node-sdk/issues/870)) ([11bf5d2](https://github.com/box/box-node-sdk/commit/11bf5d2db7e0cefc669aab99c8b65c632289ac46))
39
-
40
- ### Bug Fixes
41
-
42
- * Bumped proxy-agent to 6.4.0 ([#874](https://github.com/box/box-node-sdk/issues/874)) ([55a8a0b](https://github.com/box/box-node-sdk/commit/55a8a0baebe151f4107fdbec0a1022e9534f88a4))
43
- * Remove delete classification ([#869](https://github.com/box/box-node-sdk/issues/869)) ([22384ab](https://github.com/box/box-node-sdk/commit/22384abc3abbc35800cbcdea7c7eb9a452cc4859))
44
-
45
- ### [3.4.2](https://github.com/box/box-node-sdk/compare/v3.4.1...v3.4.2) (2023-11-08)
46
-
47
-
48
- ### Bug Fixes
49
-
50
- * Fix `proxy-agent` ([#867](https://github.com/box/box-node-sdk/issues/867)) ([3de7586](https://github.com/box/box-node-sdk/commit/3de7586e44dbb7c8e1bff8f34471964805c810f5))
51
-
52
- ### [3.4.1](https://github.com/box/box-node-sdk/compare/v3.4.0...v3.4.1) (2023-11-03)
53
-
54
-
55
- ### Bug Fixes
56
-
57
- * Update `proxy-agent` usage, drop support Node 12 ([#865](https://github.com/box/box-node-sdk/issues/865)) ([e229d3f](https://github.com/box/box-node-sdk/commit/e229d3f93de350c00768528a1c0d3a6ecfc697a9))
58
-
59
- ## [3.4.0](https://github.com/box/box-node-sdk/compare/v3.3.0...v3.4.0) (2023-11-03)
60
-
61
-
62
- ### New Features and Enhancements
63
-
64
- * Add request option to skip `PassThrough` ([#863](https://github.com/box/box-node-sdk/issues/863)) ([726db45](https://github.com/box/box-node-sdk/commit/726db45cfbb992e545fe2865283df63c898656ac))
65
-
66
- ## [3.3.0](https://github.com/box/box-node-sdk/compare/v3.2.1...v3.3.0) (2023-10-26)
67
-
68
-
69
- ### New Features and Enhancements
70
-
71
- * Replace `request` library with `@cypress/request` ([#860](https://github.com/box/box-node-sdk/issues/860)) ([d365ae8](https://github.com/box/box-node-sdk/commit/d365ae8368c549ecdceb7dd5b928904fd3c58978))
72
-
73
- ### Bug Fixes
74
-
75
- * mark auth funs callbacks as optional ([#858](https://github.com/box/box-node-sdk/issues/858)) ([55f22fe](https://github.com/box/box-node-sdk/commit/55f22fec7d7d35e487f3fb51bc9bbd3e848842ab))
76
-
77
- ### [3.2.1](https://github.com/box/box-node-sdk/compare/v3.2.0...v3.2.1) (2023-10-06)
78
-
79
-
80
- ### Bug Fixes
81
-
82
- * Overrides tough-cookie dependency ([#852](https://github.com/box/box-node-sdk/issues/852)) ([99df873](https://github.com/box/box-node-sdk/commit/99df873e1a1dad4a0073d53b4ed57c0eeb859401))
83
-
84
- ## [3.2.0](https://github.com/box/box-node-sdk/compare/v3.1.1...v3.2.0) (2023-09-07)
85
-
86
-
87
- ### New Features and Enhancements
88
-
89
- * Support sign template ([#848](https://github.com/box/box-node-sdk/issues/848)) ([18d3413](https://github.com/box/box-node-sdk/commit/18d3413afeddf43c62dfd0caf1279e61c99b6b83))
90
-
91
- ### [3.1.1](https://github.com/box/box-node-sdk/compare/v3.1.0...v3.1.1) (2023-07-19)
92
-
93
-
94
- ## [3.1.0](https://github.com/box/box-node-sdk/compare/v3.0.0...v3.1.0) (2023-06-01)
95
-
96
-
97
- ### New Features and Enhancements
98
-
99
- * Added support for integration mappings API ([#831](https://github.com/box/box-node-sdk/issues/831)) ([a525327](https://github.com/box/box-node-sdk/commit/a525327c1362628a0ffdb36cb4bf3346ca0e0153))
100
-
101
- ### Bug Fixes
102
-
103
- * Correct types of `userId` and `groupId` for creating collaboration ([#833](https://github.com/box/box-node-sdk/issues/833)) ([f803ff8](https://github.com/box/box-node-sdk/commit/f803ff82330fd78a8dc4875452a21aab54686b2e)), closes [#832](https://github.com/box/box-node-sdk/issues/832)
104
-
105
- ## [3.0.0](https://github.com/box/box-node-sdk/compare/v2.10.0...v3.0.0) (2023-05-23)
106
-
107
- The most important change in this release is **dropping support for Node versions below 12** and changing the **support environments from Node 12 to Node 16**.
108
-
109
- ### Breaking Changes
110
-
111
- - Removed `use_index` usage. ([#812](https://github.com/box/box-node-sdk/pull/812)) ([d56799a](https://github.com/box/box-node-sdk/commit/d56799a61f42265d7785f99e92a449c58d125aef))
112
- - Removed deprecated `BoxClient.batch()` and `BoxClient.batchExec()` method.
113
- - Removed deprecated `CollaborationWhitelist` class, use `CollaborationAllowlist` instead.
114
- - Removed deprecated `CollaborationAllowlist.getWhitelistedDomain()` method, use `CollaborationAllowlist.getAllowlistedDomain()` instead.
115
- - Removed deprecated `CollaborationAllowlist.getAllWhitelistedDomains()` method, use `CollaborationAllowlist.getAllAllowlistedDomains()` instead.
116
- - Remove deprecated `Files.getThumbnail(fileID: string, options?: Record<string, any>, callback?: Function)` method, use `Files.getRepresentationContent( fileID, representationType, options, callback)` instead.
117
-
118
- Migration details can be found [here](https://github.com/box/box-node-sdk/blob/v3.0.0/docs/upgrade/2.x.x%20to%203.x.x.md)
119
-
120
- ### Dependency Upgrades
121
- - Bumped `jsonwebtoken` from 8.5.1 to 9.0.0. ([#802](https://github.com/box/box-node-sdk/pull/802)) ([5b1d4e9](https://github.com/box/box-node-sdk/pull/828/commits/5b1d4e9ec557c14c1d27695733cc0bcae49061cb))
122
- - Bumped `vm2` from 3.9.11 to 3.9.19 ([#826](https://github.com/box/box-node-sdk/pull/826)) ([220df76](https://github.com/box/box-node-sdk/commit/220df765080bc27c91daed51ac46620f6bc8b9ed))
123
-
124
- ## [2.10.0](https://github.com/box/box-node-sdk/compare/v2.9.0...v2.10.0) (2023-05-11)
125
-
126
-
127
- ### New Features and Enhancements
128
-
129
- * Added support for ethical wall API ([#822](https://github.com/box/box-node-sdk/issues/822)) ([4814af3](https://github.com/box/box-node-sdk/commit/4814af35c1741fbfe3fa03f8f0412ade8b38dfcc))
130
- * Added `name` and `signature_color` fields to `SignRequest` and `SignRequestCreateRequest` types and `login_required` field to `SignRequestCreateSigner` type ([#822](https://github.com/box/box-node-sdk/issues/822)) ([4814af3](https://github.com/box/box-node-sdk/commit/4814af35c1741fbfe3fa03f8f0412ade8b38dfcc))
131
-
132
- ## [2.9.0](https://github.com/box/box-node-sdk/compare/v2.8.1...v2.9.0) (2023-04-19)
133
-
134
-
135
- ### New Features and Enhancements
136
-
137
- * New fields in `retention-policy` and `retention-policy-assignment` ([#803](https://github.com/box/box-node-sdk/issues/803)) ([f14ba84](https://github.com/box/box-node-sdk/commit/f14ba84013985513854ad396581d085d1d4f0255))
138
-
139
- ### Bug Fixes
140
-
141
- * return empty object when `tos` status is not present ([#797](https://github.com/box/box-node-sdk/issues/797)) ([12fd9b0](https://github.com/box/box-node-sdk/commit/12fd9b053707471722f53cd1760c8cf59451fe8d))
142
-
143
- ### [2.8.1](https://github.com/box/box-node-sdk/compare/v2.8.0...v2.8.1) (2023-01-05)
144
-
145
-
146
- ### Bug Fixes
147
-
148
- * Fix `getReadStream` delay reading ([#790](https://github.com/box/box-node-sdk/issues/790)) ([6bfc1ee](https://github.com/box/box-node-sdk/commit/6bfc1eebeb9a31606ff96127eeb1ad03d2f13d9c))
149
-
150
- ## [2.8.0](https://github.com/box/box-node-sdk/compare/v2.7.2...v2.8.0) (2022-12-21)
151
-
152
-
153
- ### New Features and Enhancements
154
-
155
- * Session termination ([#782](https://github.com/box/box-node-sdk/issues/782)) ([7fb56c6](https://github.com/box/box-node-sdk/commit/7fb56c625f8eb03e6a5354b67a0debfd9e4ad7c8))
156
-
157
- ### [2.7.2](https://github.com/box/box-node-sdk/compare/v2.7.1...v2.7.2) (2022-11-10)
158
-
159
-
160
- ### Bug Fixes
161
-
162
- * Add `fields` query parameter to file and folder update ([#776](https://github.com/box/box-node-sdk/issues/776)) ([a327deb](https://github.com/box/box-node-sdk/commit/a327debc83d98a4190a5a16cf848417ea5714db9))
163
-
164
- ### [2.7.1](https://github.com/box/box-node-sdk/compare/v2.7.0...v2.7.1) (2022-10-28)
165
-
166
-
167
- ### Bug Fixes
168
-
169
- * Export missing `RetentionType` ([#774](https://github.com/box/box-node-sdk/issues/774)) ([7e6b244](https://github.com/box/box-node-sdk/commit/7e6b244ba63d363ecc921be570140c9e1ed1d032))
170
-
171
- ## [2.7.0](https://github.com/box/box-node-sdk/compare/v2.6.0...v2.7.0) (2022-10-27)
172
-
173
-
174
- ### New Features and Enhancements
175
-
176
- * Add support for modifiable retention policies & enable deleting retention policy assignment ([#769](https://github.com/box/box-node-sdk/issues/769)) ([5e8c776](https://github.com/box/box-node-sdk/commit/5e8c776fc94e9dcf313cc15c96e42fbffaf36b74))
177
-
178
- ## [2.6.0](https://github.com/box/box-node-sdk/compare/v2.5.0...v2.6.0) (2022-09-23)
179
-
180
-
181
- ### New Features and Enhancements
182
-
183
- * Add `content_type`, `redirect_url` field to Sign Request ([#758](https://github.com/box/box-node-sdk/issues/758)) ([8abb9b6](https://github.com/box/box-node-sdk/commit/8abb9b602b13cd72c6c8de549d19756ae147b403))
184
- * Add sign request webhook ([#760](https://github.com/box/box-node-sdk/issues/760)) ([e92d1ab](https://github.com/box/box-node-sdk/commit/e92d1abee5faf58166f4892d7b2e6bc3c6480ac6))
185
- * Added support for Access Only Collaboration ([#759](https://github.com/box/box-node-sdk/issues/759)) ([dd8261f](https://github.com/box/box-node-sdk/commit/dd8261f970c207854058c3ed86ccabf9bec05ea8))
186
-
187
- ## [2.5.0](https://github.com/box/box-node-sdk/compare/v2.4.0...v2.5.0) (2022-08-09)
188
-
189
-
190
- ### New Features and Enhancements
191
-
192
- * Added support update and remove user avatar ([#744](https://github.com/box/box-node-sdk/issues/744)) ([aaf6175](https://github.com/box/box-node-sdk/commit/aaf617528de5c61e19cfb25e28fe77c01532b9fa))
193
-
194
- ### Bug Fixes
195
-
196
- * Fix error while generate token using oauth ([#750](https://github.com/box/box-node-sdk/issues/750)) ([f826291](https://github.com/box/box-node-sdk/commit/f82629108a1af6c4d160de1976fd01fdf0d8dde3)), closes [#286](https://github.com/box/box-node-sdk/issues/286)
197
- * Fix lint error in test file ([#747](https://github.com/box/box-node-sdk/issues/747)) ([3b1e10d](https://github.com/box/box-node-sdk/commit/3b1e10d206aa88a8bf99989bb7ff85776a9864a4))
198
-
199
- ## [2.4.0](https://github.com/box/box-node-sdk/compare/v2.3.0...v2.4.0) (2022-07-13)
200
-
201
-
202
- ### New Features and Enhancements
203
-
204
- * Added support for file requests ([#742](https://github.com/box/box-node-sdk/issues/742)) ([30b2e76](https://github.com/box/box-node-sdk/commit/30b2e767c6c3af68e1463cc801914f9889dc593c))
205
- * Added support of `admin_logs_streaming` stream type ([#740](https://github.com/box/box-node-sdk/issues/740)) ([406950a](https://github.com/box/box-node-sdk/commit/406950a03af54a022427e0532e889a61e0d25152))
206
-
207
- ### Bug Fixes
208
-
209
- * properly handle client errors in streams ([#736](https://github.com/box/box-node-sdk/issues/736)) ([12378d6](https://github.com/box/box-node-sdk/commit/12378d6755c2e3cddcb79439cdcbbe8e1e61df13))
210
-
211
- ## [2.3.0](https://github.com/box/box-node-sdk/compare/v2.2.0...v2.3.0) (2022-04-28)
212
-
213
-
214
- ### New Features and Enhancements
215
-
216
- * Add `description` parameter to `uploadFile` methods ([#730](https://github.com/box/box-node-sdk/issues/730)) ([2596584](https://github.com/box/box-node-sdk/commit/2596584dffb44c1995c8b6b3faa67564f4d32499))
217
-
218
- ### Bug Fixes
219
-
220
- * added missing `js-docs` on shared links ([#731](https://github.com/box/box-node-sdk/issues/731)) ([3554d41](https://github.com/box/box-node-sdk/commit/3554d41d9050e7a81224c35e3e2e257604a0b41b))
221
-
222
- ## [2.2.0](https://github.com/box/box-node-sdk/compare/v2.1.0...v2.2.0) (2022-04-20)
223
-
224
-
225
- ### New Features and Enhancements
226
-
227
- * editable shared links ([#722](https://github.com/box/box-node-sdk/issues/722)) ([f0c0135](https://github.com/box/box-node-sdk/commit/f0c0135511fde46144e6c496432104321af443f6))
228
-
229
- ## [2.1.0](https://github.com/box/box-node-sdk/compare/v2.0.0...v2.1.0) (2022-03-28)
230
-
231
-
232
- ### New Features and Enhancements
233
-
234
- * Client Credentials Grant authentication method ([#709](https://github.com/box/box-node-sdk/issues/709)) ([fbf4e80](https://github.com/box/box-node-sdk/commit/fbf4e80648821e38479b24bf489e7d222ae6c18f))
235
- * Deprecating `index_name` when executing metadata query ([#686](https://github.com/box/box-node-sdk/issues/686)) ([e01cc65](https://github.com/box/box-node-sdk/commit/e01cc650e4e793955be543e93928ad82a3254492))
236
- * **test:** add support for testing with Jest ([#676](https://github.com/box/box-node-sdk/issues/676)) ([1a11759](https://github.com/box/box-node-sdk/commit/1a11759db999510c69d6a27f7becd565620bb000))
237
-
238
- ### Bug Fixes
239
-
240
- * Client Credentials Grant authentication method supports token down-scoping ([#710](https://github.com/box/box-node-sdk/issues/710)) ([730368f](https://github.com/box/box-node-sdk/commit/730368f410ff56e9a8c90feea2192b29c08df198))
241
- * Fix JWT expiration field being float instead of integer ([#715](https://github.com/box/box-node-sdk/issues/715)) ([7e950f1](https://github.com/box/box-node-sdk/commit/7e950f1265a52ce251c42a186c8196089a9ed858)), closes [#713](https://github.com/box/box-node-sdk/issues/713)
242
-
243
- ## [2.0.0](https://github.com/box/box-node-sdk/compare/v1.39.0...v2.0.0) (2021-09-29)
244
-
245
- ### ⚠ BREAKING CHANGES
246
-
247
- * Drop support for Node 6,7 ([#670](https://github.com/box/box-node-sdk/pull/670))
248
-
249
- ### New Features and Enhancements:
250
-
251
- * Add support for is_external_collab_restricted User property ([#668](https://github.com/box/box-node-sdk/pull/668))
252
- * Bump proxy-agent from 4.0.0 to 5.0.0 ([#664](https://github.com/box/box-node-sdk/pull/664))
253
-
254
- ## [1.39.0](https://github.com/box/box-node-sdk/compare/v1.38.0...v1.39.0) (2021-08-30)
255
-
256
- ### New Features and Enhancements:
257
-
258
- * Add support for Box Sign API ([#658](https://github.com/box/box-node-sdk/pull/658))
259
- * Enhance TS Imports ([#656](https://github.com/box/box-node-sdk/pull/656))
260
-
261
- ## [1.38.0](https://github.com/box/box-node-sdk/compare/v1.37.2...v1.38.0) (2021-08-05)
262
-
263
- ### New Features and Enhancements:
264
-
265
- * Add sensitive-language event types for admin invites ([#648](https://github.com/box/box-node-sdk/pull/648))
266
- * Use BetterDocs to adapt JSDocs to TypeScript ([#646](https://github.com/box/box-node-sdk/pull/646))
267
- * Change ProxyAgent import to be dynamic ([#641](https://github.com/box/box-node-sdk/pull/641))
268
- * New API for get files and file versions under retention ([#585](https://github.com/box/box-node-sdk/pull/585))
269
-
270
- ### Bug Fixes:
271
-
272
- * Deeply freeze Config except Buffers and Readable streams ([#651](https://github.com/box/box-node-sdk/pull/651))
273
- * Fix a typo in docs of src/managers/search.ts ([#649](https://github.com/box/box-node-sdk/pull/649))
274
- * Update broken documentation link ([#647](https://github.com/box/box-node-sdk/pull/647))
275
- * fix type annotations for exchangeToken functions ([#645](https://github.com/box/box-node-sdk/pull/645))
276
- * Deprecate files getThumbnail API in favor of getRepresentationContent ([#627](https://github.com/box/box-node-sdk/pull/627))
277
-
278
- ## [1.37.2](https://github.com/box/box-node-sdk/compare/v1.37.1...v1.37.2) (2021-05-20)
279
-
280
- ### Bug Fixes:
281
-
282
- * Fix backwards compatibility issue by moving some TypeScript @types as direct dependencies ([#630](https://github.com/box/box-node-sdk/pull/630))
283
-
284
- ## [1.37.1](https://github.com/box/box-node-sdk/compare/v1.37.0..v1.37.1) (2021-05-19)
285
-
286
- ### Bug Fixes:
287
-
288
- * Insensitive language: replace whitelist with allowlist ([#625](https://github.com/box/box-node-sdk/pull/625))
289
-
290
- ## [1.37.0](https://github.com/box/box-node-sdk/compare/v1.36.0...v1.37.0) (2021-04-16)
291
-
292
- ### New Features and Enhancements:
293
-
294
- * Add support for copyInstanceOnItemCopy field for metadata templates ([#572](https://github.com/box/box-node-sdk/pull/572))
295
-
296
- ### Bug Fixes:
297
-
298
- * Fix webhook signature validation ([#568](https://github.com/box/box-node-sdk/pull/568))
299
- * Update dependencies to patch security vulnerabilities ([#578](https://github.com/box/box-node-sdk/pull/578))
300
-
301
- ## [1.36.0](https://github.com/box/box-node-sdk/compare/v1.35.0...v1.36.0) (2021-01-27)
302
-
303
- ### New Features and Enhancements:
304
-
305
- * Add folder lock functionality ([#560](https://github.com/box/box-node-sdk/pull/560))
306
- * Add support for filtering groups by name ([#561](https://github.com/box/box-node-sdk/pull/561))
307
-
308
- ### Bug Fixes:
309
-
310
- * Update proxy-agent to patch proxy support issue ([#563](https://github.com/box/box-node-sdk/pull/563))
311
- * Update dependencies to patch security vulnerabilities ([#566](https://github.com/box/box-node-sdk/pull/566))
312
-
313
- ## [1.35.0](https://github.com/box/box-node-sdk/compare/v1.34.3...v1.35.0) (2020-11-02)
314
-
315
- ### New Features and Enhancements:
316
-
317
- * Add support for search param to get shared link items ([#547](https://github.com/box/box-node-sdk/pull/547))
318
-
319
- ## [1.34.3](https://github.com/box/box-node-sdk/compare/v1.34.2...v1.34.3) (2020-10-02)
320
-
321
- ### Bug Fixes:
322
-
323
- * Upgrade ajv dependency ([#545](https://github.com/box/box-node-sdk/pull/545))
324
-
325
- ## [1.34.2](https://github.com/box/box-node-sdk/compare/v1.34.1...v1.34.2) (2020-08-20)
326
-
327
- * Make iterator bug fix for uploading files non breaking ([#534](https://github.com/box/box-node-sdk/pull/534))
328
-
329
- ## [1.34.1](https://github.com/box/box-node-sdk/compare/v1.34.0...v1.34.1) (2020-08-17)
330
-
331
- * Fix iterator bug for uploading new file versions ([#531](https://github.com/box/box-node-sdk/pull/531))
332
-
333
- ## [1.34.0](https://github.com/box/box-node-sdk/compare/v1.33.0...v1.34.0) (2020-08-04)
334
-
335
- * Add zip functionality ([#525](https://github.com/box/box-node-sdk/pull/525))
336
- * Add proxy support for `http`, `https`, `socks` and `pac` protocols ([#529](https://github.com/box/box-node-sdk/pull/529))
337
-
338
- ## [1.33.0](https://github.com/box/box-node-sdk/compare/v1.32.0...v1.33.0) (2020-06-25)
339
-
340
- * Add path parameter sanitization ([#505](https://github.com/box/box-node-sdk/pull/505))
341
- * Add support for all streams for uploading files ([#519](https://github.com/box/box-node-sdk/pull/519))
342
-
343
- ## [1.32.0](https://github.com/box/box-node-sdk/compare/v1.31.0...v1.32.0) (2020-04-01)
344
-
345
- * Temporarily removed Node 4 and Node 5 builds from Travis, due to tests not passing. Will investigate, going forward ([#495](https://github.com/box/box-node-sdk/pull/495)).
346
- * Fixed an issue where an error is thrown during a retry when a response is not returned by the previous call ([#477](https://github.com/box/box-node-sdk/pull/477)).
347
- * Added the ability to [query](./docs/metadata.md#query) Box items based on their metadata ([#487](https://github.com/box/box-node-sdk/pull/487)).
348
-
349
- ## [1.31.0](https://github.com/box/box-node-sdk/compare/v1.30.0...v1.31.0) (2020-02-13)
350
-
351
- * Fixed Authentication Request Retries
352
- * Added marker-based paging for users endpoints
353
- * Added `getNextMarker()` to PagingIterator to get the next marker
354
-
355
- ## [1.30.0](https://github.com/box/box-node-sdk/compare/v1.29.1...v1.30.0) (2019-11-21)
356
-
357
- * Deprecated Batch API methods
358
- * Added support for [token exchange](./lib/box-client.js#L495) using shared links
359
-
360
- ## [1.29.1](https://github.com/box/box-node-sdk/compare/v1.29.0...v1.29.1) (2019-08-22)
361
-
362
- * Fixed an issue where JWT authentication requests could fail after being rate limited
363
-
364
- ## [1.29.0](https://github.com/box/box-node-sdk/compare/v1.28.0...v1.29.0) (2019-04-25)
365
-
366
- * Added convenience methods for setting metadata on [files](./docs/metadata.md#set-metadata-on-a-file)
367
- and [folders](./docs/metadata.md#set-metadata-on-a-folder) ([#376](https://github.com/box/box-node-sdk/pull/376))
368
-
369
- ## [1.28.0](https://github.com/box/box-node-sdk/compare/v1.27.0...v1.28.0) (2019-03-28)
370
-
371
- * Added methods for [moving](./docs/web-links.md#move-a-web-link) and [copying](./docs/web-links.md#move-a-web-link)
372
- weblinks, as well as [adding or removing from a collection](./docs/web-links.md#add-web-link-to-a-collection)
373
-
374
- ## [1.27.0](https://github.com/box/box-node-sdk/compare/v1.26.2...v1.27.0) (2019-02-28)
375
-
376
- * Added the trace ID from API response headers to error messages for easier debugging
377
- * Added more safety checks in the error flow to protect against throwing when handling a malformed request
378
- * Added support for [retrieving a user's avatar image](./docs/users.md#get-user-avatar)
379
-
380
- ## [1.26.2](https://github.com/box/box-node-sdk/compare/v1.26.1...v1.26.2) (2019-02-22)
381
-
382
- * Fixed an error where under high request rates, code in the error handling logic could throw when handling a
383
- malformed request
384
-
385
- ## [1.26.1](https://github.com/box/box-node-sdk/compare/v1.26.0...v1.26.1) (2019-02-12)
386
-
387
- * Fixed an error where some methods could throw an error when constructing an iterator
388
-
389
- ## [1.26.0](https://github.com/box/box-node-sdk/compare/v1.25.0...v1.26.0) (2019-02-12)
390
-
391
- * Added support for [replying to a comment](./docs/comments.md#reply-to-a-comment) (thanks @jpan-box!)
392
- * Fixed an issue where calling `client.events.get()` could return an iterator that would only iterate over
393
- the first chunk of events. This method will now always return the raw JSON data in order to enable manual
394
- paging. For automatic paging through events, `client.events.getEventStream()` or
395
- `client.events.getEnterpriseEventStream()` should be used instead.
396
-
397
- ## [1.25.0](https://github.com/box/box-node-sdk/compare/v1.24.1...v1.25.0) (2019-01-24)
398
-
399
- * Added the `retryStrategy` config parameter to allow customizing how the SDK retries failing requests
400
-
401
- ## [1.24.1](https://github.com/box/box-node-sdk/compare/v1.24.0...v1.24.1) (2019-01-11)
402
-
403
- * Fixed an issue where token expiration was not being correctly handled
404
-
405
- ## [1.24.0](https://github.com/box/box-node-sdk/compare/v1.23.0...v1.24.0) (2018-12-10)
406
-
407
- * Added a configuration option for populating the first-party client analytics header information
408
-
409
- ## [1.23.0](https://github.com/box/box-node-sdk/compare/vA...v1.23.0) (2018-11-21)
410
-
411
- * Added an `etag` option to common file and folder methods to allow handling race conditions
412
- * [`client.files.update()`](./docs/files.md#update-a-files-information)
413
- * [`client.files.delete()`](./docs/files.md#delete-a-file)
414
- * [`client.files.deletePermanently()`](./docs/trash.md#delete-a-file-from-the-trash)
415
- * [`client.files.deleteVersion()`](./docs/files.md#delete-a-previous-file-version)
416
- * [`client.folders.update()`](./docs/folders.md#update-a-folders-information)
417
- * [`client.folders.delete()`](./docs/folders.md#delete-a-folder)
418
- * [`client.folders.deletePermanently()`](./docs/trash.md#delete-a-folder-from-the-trash)
419
-
420
- ## [1.22.1](https://github.com/box/box-node-sdk/compare/v1.22.0...v1.22.1) (2018-11-15)
421
-
422
- * Fixed an issue where retrying JWT auth token requests would sometimes fail due to a non-unique `jti` claim
423
-
424
- ## [1.22.0](https://github.com/box/box-node-sdk/compare/v1.21.0...v1.22.0) (2018-09-17)
425
-
426
- * Chunked Uploader methods now return promises for [simpler handling of chunked uploads](./docs/files.md#automatic-uploader)
427
- * File attributes to set on the newly-uploaded file can now be
428
- [passed via `options.fileAttributes`](./docs/files.md#automatic-uploader) when creating a Chunked Uploader
429
-
430
- ## [1.21.0](https://github.com/box/box-node-sdk/compare/v1.20.0...v1.21.0) (2018-09-13)
431
-
432
- * Added the ability to close an Event Stream by calling `eventStream.destroy()` (thanks @boneskull!)
433
- * Improved error messages related to certain authentication failure cases
434
-
435
- ## [1.20.0](https://github.com/box/box-node-sdk/compare/v1.19.0...v1.20.0) (2018-08-09)
436
-
437
- * Added missing values to the `client.webhooks.triggerTypes` enum (thanks @MathersMax!)
438
- * Added support for [Metadata Cascade Policies](./docs/metadata.md#create-cascade-policy)
439
-
440
- ## [1.19.0](https://github.com/box/box-node-sdk/compare/v1.18.0...v1.19.0) (2018-06-14)
441
-
442
- * Added `generateRepresentations` option to [`files.getRepresentationContent()`](./docs/files.md#get-representation-content)
443
-
444
- ## [1.18.0](https://github.com/box/box-node-sdk/compare/v1.17.0...v1.18.0) (2018-05-24)
445
-
446
- * Updated dependencies to resolve potential security issues:
447
- * `request@2.87.0`
448
- * Transitive dependencies of `jsonwebtoken@8.2.1`
449
- * Added a static `BoxSDK.getBasicClient()` method to enable creating a client without needing
450
- to specify a client ID and secret (thanks to @cbetta)
451
-
452
- ## [1.17.0](https://github.com/box/box-node-sdk/compare/v1.16.1...v1.17.0) (2018-05-10)
453
-
454
- * Updated dependencies: `request@2.85.0`, `jsonwebtoken@8.2.1`
455
- * Added support for [Storage Policies](./docs/storage-policies.md)
456
- * Added the option to use a Token Store for caching tokens with App Auth using JWT
457
-
458
- ## [1.16.1](https://github.com/box/box-node-sdk/compare/v1.16.0...v1.16.1) (2018-04-26)
459
-
460
- * Fixed a bug where metadata template deletion would not properly return results via callback
461
-
462
- ## [1.16.0](https://github.com/box/box-node-sdk/compare/v1.15.0...v1.16.0) (2018-04-10)
463
-
464
- * Added support for [assigning Retention Policies to Metadata Templates](https://github.com/box/box-node-sdk/blob/main/docs/retention-policies.md#assign-retention-policy)
465
-
466
- ## [1.15.0](https://github.com/box/box-node-sdk/compare/v1.14.1...v1.15.0) (2018-03-29)
467
-
468
- * Fixed [`client.webhooks.validateMessage() and `sdk.validateWebhookMessage()`](https://github.com/box/box-node-sdk/blob/main/docs/webhooks.md#validate-a-webhook-message)
469
- to accept the request body as an `Object`
470
- * Fixed `sdk.configure()` to correct reconfigure all options
471
- * Improved error messages for API errors and added the request object as `error.request` for easier debugging
472
-
473
- ## [1.14.1](https://github.com/box/box-node-sdk/compare/v1.14.0...v1.14.1) (2018-03-13)
474
-
475
- * Fixed a bug when `files.getReadStream()` was called with null options
476
-
477
- ## [1.14.0](https://github.com/box/box-node-sdk/compare/v1.13.0...v1.14.0) (2018-03-12)
478
-
479
- * Added support for [getting a metadata template by ID](./docs/metadata.md#get-by-id)
480
- * Added a `byteRange` option to [file download](./docs/files.md#download-a-file) to support partial file download
481
- * Improved error messages when using promises and in authentication flows
482
-
483
- ## [1.13.0](https://github.com/box/box-node-sdk/compare/v1.12.1...v1.13.0) (2018-03-01)
484
-
485
- * Added support for getting a [stream of file representation contents](./docs/files.md#get-representation-content)
486
- * Switched to using exponential backoff for request retries
487
-
488
- ## [1.12.1](https://github.com/box/box-node-sdk/compare/v1.12.0...v1.12.1) (2018-01-25)
489
-
490
- * Fixed an issue where chunked uploader would not work with response streams from the request library
491
- (0e7014561f9cd0f7f38f98536b3f0c3946231d2e)
492
-
493
- ## [1.12.0](https://github.com/box/box-node-sdk/compare/v1.11.0...v1.12.0) (2018-01-11)
494
-
495
- * Added support for [metadata template deletion](./docs/metadata.md#delete-metadata-template)
496
-
497
- ## [1.11.0](https://github.com/box/box-node-sdk/compare/v1.10.1...v1.11.0) (2017-12-12)
498
-
499
- * Added options to preserve file timestamps on [file upload](./docs/files.md#upload-a-file)
500
- and to rename a file or preserve modification timestamp on [new version upload](./docs/files.md#upload-a-new-version-of-a-file)
501
- * Added [Collaboration Whitelist](./docs/collaboration-whitelist.md) functionality to allow enterprise admins
502
- to control which external users can collaborate on their content
503
- * Added an option to Token Exchange to generate [annotator tokens](./docs/authentication.md#annotator-tokens) for use with Box View
504
-
505
- ## [1.10.1](https://github.com/box/box-node-sdk/compare/v1.10.0...v1.10.1) (2017-11-28)
506
-
507
- * Updated to jsonwebtoken@8.1.0 to fix an issue where some users were getting
508
- an error when using App Auth
509
-
510
- ## [1.10.0](https://github.com/box/box-node-sdk/compare/v1.9.0...v1.10.0) (2017-01-14)
511
-
512
- * Added support for [Terms of Service](./docs/terms-of-service.md) endpoints
513
- * Fixed a bug where receiving a collection without paging parameters from the API
514
- would cause the SDK to throw an exception when using the `iterators` SDK option.
515
- Now, this will return an iterator over the items returned by the API.
516
- * Fixed a bug in Token Exchange where passing multiple scopes would result in an error
517
- * Added support for [getting Representations info on a file](./docs/files.md#get-representation-info)
518
-
519
- ## [1.9.0](https://github.com/box/box-node-sdk/compare/v1.8.0...v1.9.0) (2017-09-12)
520
-
521
- * Fixed token methods to return bluebird Promises instead of native Promises
522
- * Added support for the `notify` and `can_view_path` options on Collaborations
523
-
524
- ## [1.8.0](https://github.com/box/box-node-sdk/compare/v1.7.0...v1.8.0) (2017-08-21)
525
-
526
- * Added support for [Batch API](./docs/client.md#batch-api)
527
- * Fixed a bug where the Event Stream would make more API calls than necessary,
528
- potentially hitting Box API rate limits
529
- * Added Promise support to methods on the SDK object
530
- * Added Node.js version to the User-Agent header that the SDK sends
531
- * Fixed a bug where using multiple Persistent Clients instances could cause some
532
- clients to end up with expired tokens
533
-
534
- ## [1.7.0](https://github.com/box/box-node-sdk/compare/v1.6.0...v1.7.0) (2017-07-19)
535
-
536
- * Add support for passing IP to all token methods, and fixed a bug where a client's IP was not being correctly reported on token refreshes
537
-
538
- ## [1.6.0](https://github.com/box/box-node-sdk/compare/v1.5.1...v1.6.0) (2017-06-23)
539
-
540
- * Added [Recent Items](./docs/recent-items.md) support
541
- * Updated app auth expiration time default value and validation
542
-
543
- ## [1.5.1](https://github.com/box/box-node-sdk/compare/v1.5.0...v1.5.1) (2017-06-15)
544
-
545
- * Revert deep-freezing Config properties, since it was causing errors
546
-
547
- ## [1.5.0](https://github.com/box/box-node-sdk/compare/v1.4.2...v1.5.0) (2017-06-15)
548
-
549
- * Added support for [Token Exchange](./docs/authentication.md#token-exchange),
550
- which allows a client to get downscoped tokens suitable for passing to a browser
551
- app or worker process.
552
- * Ensured deeply-nested Config properties are immutable
553
-
554
- ## [1.4.2](https://github.com/box/box-node-sdk/compare/v1.4.1...v1.4.2) (2017-05-22)
555
-
556
- * Fixed `BoxSDK.getPreconfiguredInstance()` to configure webhook keys
557
-
558
- ## [1.4.1](https://github.com/box/box-node-sdk/compare/v1.4.0...v1.4.1) (2017-05-22)
559
-
560
- * Fixed `BoxSDK.getPreconfiguredInstance()` when app auth setttings are not populated
561
-
562
- ## [1.4.0](https://github.com/box/box-node-sdk/compare/v1.3.0...v1.4.0) (2017-05-19)
563
-
564
- * Added support for [file collaborations](./docs/collaborations.md#add-a-collaboration).
565
- Users can now invite others to collaborate on single files.
566
- See [the blog post](https://blog.box.com/blog/file-collaboration-api/) for more information.
567
- * Fixed an issue where users were unable to use JWT Server Auth when their computers' clocks
568
- were not synchronized with the Box API servers.
569
- * All asynchronous client methods now return Promises in addition to taking a
570
- (now-optional) callback parameter, so you can write more modern JS with the SDK.
571
- * The SDK can now be preconfigured using a JSON blob that can be downloaded in the
572
- Box Dev Console for JWT Server Authentication apps, making it easier to get started
573
- developing!
574
- * Added support for [chunked upload](./docs/files.md#chunked-upload), where a large
575
- file can be uploaded one piece at a time. This makes large file uploads much faster
576
- and more reliable, since parts can be uploaded in parallel and failed parts can be
577
- retried in isolation.
578
- * Added an `is_confirmed` option to [email alias creation](./docs/users.md#add-email-alias) for
579
- admins to auto-confirm the alias.
580
- * Added support for the [Enterprise Events stream](./docs/events.md#enterprise-events).
581
- * Added an option to have collections methods (e.g. `folders.getItems()`,
582
- `enterprise.getUsers()`, etc) return [async iterators](./README.md#iterators) that will automatically
583
- page through the collection. This conforms to the [proposed async iteration spec](https://github.com/tc39/proposal-async-iteration),
584
- which will eventually allow them to be used in ergonomic for-await-of loop syntax.
585
-
586
- ## [1.3.0](https://github.com/box/box-node-sdk/compare/v1.2.0...v1.3.0) (2017-01-24)
587
-
588
- * Added `BoxSDK.validateWebhookMessage()` and `client.webhooks.validateMessage()` for validating webhook messages from Box
589
-
590
- ## [1.2.0](https://github.com/box/box-node-sdk/compare/v1.1.0...v1.2.0) (2016-12-12)
591
-
592
- * Added methods for all API endpoints; we now have full API coverage :tada:
593
- * Added support for renaming a file or folder on copy
594
- * Added `client.asUser(userID)` and `client.asSelf()` to support making calls on behalf of managed users
595
- * Fixed event streams so they don't go into an infinite error loop when auth expires
596
- * Fixed an error where App Auth clients would not be able to authorize due to clock skew
597
- * Fixed the `mdfilters` parameter in `client.search.query()` to support metadata search
598
- * Cloned options objects to prevent modification of passed-in objects by the SDK
599
- * Added better error messaging to the sample app
600
-
601
- ## [1.1.0](https://github.com/box/box-node-sdk/compare/v1.0.0...v1.1.0) (2016-09-27)
602
-
603
- * Added endpoint to get a file's tasks
604
- * Fixed issues with stream uploads
605
- * Improved performance of file uploads
606
- * Added endpoints to delete files and folders from trash
607
- * Added endpoint to get a trashed folder
608
- * Upgraded request dependency to fix ReDoS vulnerability
609
-
610
- ## [1.0.0] (2016-07-13)
611
-
612
- Initial release.