Skip to content

Commit c3f14c6

Browse files
fix: Support status codes with no content (box/box-codegen#604) (#415)
1 parent 8a781c9 commit c3f14c6

14 files changed

+180
-120
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "c4810bd", "specHash": "c2c76f3", "version": "1.7.0" }
1+
{ "engineHash": "37e1577", "specHash": "c2c76f3", "version": "1.7.0" }

docs/chunkedUploads.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ await client.chunkedUploads.createFileUploadSessionCommitByUrl(
383383

384384
### Returns
385385

386-
This function returns a value of type `Files`.
386+
This function returns a value of type `undefined | Files`.
387387

388388
Returns the file object in a list.Returns when all chunks have been uploaded but not yet processed.
389389

@@ -426,7 +426,7 @@ await client.chunkedUploads.createFileUploadSessionCommit(
426426

427427
### Returns
428428

429-
This function returns a value of type `Files`.
429+
This function returns a value of type `undefined | Files`.
430430

431431
Returns the file object in a list.Returns when all chunks have been uploaded but not yet processed.
432432

docs/files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ await client.files.getFileThumbnailById(
185185

186186
### Returns
187187

188-
This function returns a value of type `ByteStream`.
188+
This function returns a value of type `undefined | ByteStream`.
189189

190190
When a thumbnail can be created the thumbnail data will be
191191
returned in the body of the response.Sometimes generating a thumbnail can take a few seconds. In these

docs/userCollaborations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ await client.userCollaborations.updateCollaborationById(collaborationId, {
6363

6464
### Returns
6565

66-
This function returns a value of type `Collaboration`.
66+
This function returns a value of type `undefined | Collaboration`.
6767

6868
Returns an updated collaboration object unless the owner has changed.If the role is changed to `owner`, the collaboration is deleted
6969
and a new collaboration is created. The previous `owner` of

package-lock.json

Lines changed: 78 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)