Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
efcd5de
feat: Add support for additionalProperties with Any value in Swift (b…
box-sdk-build Apr 17, 2025
b281375
test: Improve `Slack` integration mapping test (box/box-codegen#710)
box-sdk-build Apr 22, 2025
46762bb
chore: Fix `GitHub` actions and integration tests (box/box-codegen#712)
box-sdk-build Apr 23, 2025
2fbfc1e
chore: Update .codegen.json with commit hash of codegen and openapi spec
box-sdk-build Apr 23, 2025
b49e230
fix: Update default timeout for Python (box/box-codegen#707)
box-sdk-build Apr 28, 2025
e40e998
fix: Fixes required to handle `MetadataInstanceValue` (box/box-codege…
box-sdk-build Apr 28, 2025
ef3ea1a
chore: Update .codegen.json with commit hash of codegen and openapi spec
box-sdk-build Apr 28, 2025
ed516a6
feat: Support additional properties in Java (box/box-codegen#719)
box-sdk-build Apr 29, 2025
f853c87
Auto resolve conflict by keeping our changes
Apr 29, 2025
936fe94
Auto resolve conflict by keeping our changes
Apr 30, 2025
ad31c63
Auto resolve conflict by keeping our changes
Apr 30, 2025
267f3ff
feat: add AI agents warnings; allow for more types of metadata value …
box-sdk-build May 2, 2025
bf67996
feat: add support of IBM models to AI API (box/box-openapi#522)
box-sdk-build May 8, 2025
8288151
feat: increase max items for ai extract endpoints (box/box-openapi#525)
box-sdk-build May 8, 2025
a68e853
chore: Update .codegen.json with commit hash of codegen and openapi spec
box-sdk-build May 8, 2025
71d4b3d
Auto resolve conflict by keeping our changes
May 9, 2025
1837028
Auto resolve conflict by keeping our changes
May 9, 2025
6cddd9b
chore: Update .codegen.json with commit hash of codegen and openapi spec
box-sdk-build May 9, 2025
564da06
Auto resolve conflict by keeping our changes
May 9, 2025
c102c1e
chore: Update .codegen.json with commit hash of codegen and openapi spec
box-sdk-build May 12, 2025
d635269
chore: Update .codegen.json with commit hash of codegen and openapi spec
box-sdk-build May 12, 2025
d359fd4
docs: add third party notices for .net (box/box-codegen#725)
box-sdk-build May 15, 2025
ed40deb
test: Add test for updating file and folder metadata (box/box-codegen…
box-sdk-build May 15, 2025
ca96966
chore: Update .codegen.json with commit hash of codegen and openapi spec
box-sdk-build May 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "c2a365c", "specHash": "a8825be", "version": "1.15.1" }
{ "engineHash": "ddd3212", "specHash": "a8825be", "version": "1.15.1" }
44 changes: 35 additions & 9 deletions docs/fileMetadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,15 @@ See the endpoint docs at
```ts
await client.fileMetadata.createFileMetadataById(
file.id,
'global' as CreateFileMetadataByIdScope,
'properties',
{ ['abc']: 'xyz' },
'enterprise' as CreateFileMetadataByIdScope,
templateKey,
{
['name']: 'John',
['age']: 23,
['birthDate']: '2001-01-03T02:20:50.520Z',
['countryCode']: 'US',
['sports']: ['basketball', 'tennis'],
},
);
```

Expand Down Expand Up @@ -141,13 +147,33 @@ See the endpoint docs at
```ts
await client.fileMetadata.updateFileMetadataById(
file.id,
'global' as UpdateFileMetadataByIdScope,
'properties',
'enterprise' as UpdateFileMetadataByIdScope,
templateKey,
[
{
op: 'replace' as UpdateFileMetadataByIdRequestBodyOpField,
path: '/abc',
value: newValue,
path: '/name',
value: 'Jack',
} satisfies UpdateFileMetadataByIdRequestBody,
{
op: 'replace' as UpdateFileMetadataByIdRequestBodyOpField,
path: '/age',
value: 24,
} satisfies UpdateFileMetadataByIdRequestBody,
{
op: 'replace' as UpdateFileMetadataByIdRequestBodyOpField,
path: '/birthDate',
value: '2000-01-03T02:20:50.520Z',
} satisfies UpdateFileMetadataByIdRequestBody,
{
op: 'replace' as UpdateFileMetadataByIdRequestBodyOpField,
path: '/countryCode',
value: 'CA',
} satisfies UpdateFileMetadataByIdRequestBody,
{
op: 'replace' as UpdateFileMetadataByIdRequestBodyOpField,
path: '/sports',
value: ['football'],
} satisfies UpdateFileMetadataByIdRequestBody,
],
);
Expand Down Expand Up @@ -187,8 +213,8 @@ See the endpoint docs at
```ts
await client.fileMetadata.deleteFileMetadataById(
file.id,
'global' as DeleteFileMetadataByIdScope,
'properties',
'enterprise' as DeleteFileMetadataByIdScope,
templateKey,
);
```

Expand Down
44 changes: 35 additions & 9 deletions docs/folderMetadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,15 @@ See the endpoint docs at
```ts
await client.folderMetadata.createFolderMetadataById(
folder.id,
'global' as CreateFolderMetadataByIdScope,
'properties',
{ ['abc']: 'xyz' },
'enterprise' as CreateFolderMetadataByIdScope,
templateKey,
{
['name']: 'John',
['age']: 23,
['birthDate']: '2001-01-03T02:20:50.520Z',
['countryCode']: 'US',
['sports']: ['basketball', 'tennis'],
},
);
```

Expand Down Expand Up @@ -146,13 +152,33 @@ See the endpoint docs at
```ts
await client.folderMetadata.updateFolderMetadataById(
folder.id,
'global' as UpdateFolderMetadataByIdScope,
'properties',
'enterprise' as UpdateFolderMetadataByIdScope,
templateKey,
[
{
op: 'replace' as UpdateFolderMetadataByIdRequestBodyOpField,
path: '/abc',
value: newValue,
path: '/name',
value: 'Jack',
} satisfies UpdateFolderMetadataByIdRequestBody,
{
op: 'replace' as UpdateFolderMetadataByIdRequestBodyOpField,
path: '/age',
value: 24,
} satisfies UpdateFolderMetadataByIdRequestBody,
{
op: 'replace' as UpdateFolderMetadataByIdRequestBodyOpField,
path: '/birthDate',
value: '2000-01-03T02:20:50.520Z',
} satisfies UpdateFolderMetadataByIdRequestBody,
{
op: 'replace' as UpdateFolderMetadataByIdRequestBodyOpField,
path: '/countryCode',
value: 'CA',
} satisfies UpdateFolderMetadataByIdRequestBody,
{
op: 'replace' as UpdateFolderMetadataByIdRequestBodyOpField,
path: '/sports',
value: ['football'],
} satisfies UpdateFolderMetadataByIdRequestBody,
],
);
Expand Down Expand Up @@ -192,8 +218,8 @@ See the endpoint docs at
```ts
await client.folderMetadata.deleteFolderMetadataById(
folder.id,
'global' as DeleteFolderMetadataByIdScope,
'properties',
'enterprise' as DeleteFolderMetadataByIdScope,
templateKey,
);
```

Expand Down
72 changes: 36 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading