Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.2.3"
".": "1.2.4"
}
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## [1.2.4](https://github.com/gumlet/nodejs-sdk/compare/v1.2.3...v1.2.4) (2026-09-08)


### ⚠ BREAKING CHANGES

* **api:** 2 breaking changes to the SDK surface.
- Removed operation `videoAssets.recover` (`POST /video/asset/recover`).
- Removed operation `videoAssets.listRecycleBin` (`GET /video/asset/recoverable/list`).

### Features

* **api:** remove operation videoAssets.recover (+3 more changes) ([cea2eed](https://github.com/gumlet/nodejs-sdk/commit/cea2eede00e4b45d0f797eb344646bdb6182d9fb))


### Chores

* **api:** update generated SDK content ([e92e88c](https://github.com/gumlet/nodejs-sdk/commit/e92e88c75d8663d503fce5bbc3e7ac524a1916b3))
* release 1.2.4 ([3f09225](https://github.com/gumlet/nodejs-sdk/commit/3f09225871d3369aaa733410cc1496c6e1830c9f))
* release 1.2.4 ([4839502](https://github.com/gumlet/nodejs-sdk/commit/48395028caab0923fd293438c0d6fa56d29a5d16))

## [1.2.3](https://github.com/gumlet/nodejs-sdk/compare/v1.2.2...v1.2.3) (2026-09-07)


Expand Down
69 changes: 37 additions & 32 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ Complete reference of every operation, grouped by resource. See [the README](./R
- [Update thumbnail from video](#update-thumbnail-from-video)
- [Update thumbnail via upload](#update-thumbnail-via-upload)
- [Create/Update Video Asset Chapters](#createupdate-video-asset-chapters)
- [Recover Deleted Asset](#recover-deleted-asset)
- [List Assets](#list-assets)
- [List Assets](#list-assets-1)
- [List Recycle Bin](#list-recycle-bin)
- [`SubtitleUpload`](#subtitleupload)
- [Upload Subtitles](#upload-subtitles)
- [Complete Subtitle Upload](#complete-subtitle-upload)
Expand Down Expand Up @@ -68,6 +66,9 @@ Complete reference of every operation, grouped by resource. See [the README](./R
- [`start`](#start)
- [Upload Live Thumbnails](#upload-live-thumbnails)
- [Get Live Asset Status History](#get-live-asset-status-history)
- [`RecycleBin`](#recyclebin)
- [Recover Deleted Asset](#recover-deleted-asset)
- [List Recycle Bin](#list-recycle-bin)
- [`VideoWorkspaces`](#videoworkspaces)
- [List Workspaces](#list-workspaces)
- [Create Workspace](#create-workspace)
Expand Down Expand Up @@ -267,20 +268,6 @@ const videoAsset = await client.videoAssets.createUpdateChapter('assetId', {
});
```

### Recover Deleted Asset

Recovers a deleted asset from the recycle bin.

| Direction | Type |
| --- | --- |
| Request | [`VideoAssetRecoverParams`](./src/resources/video-assets.ts) |

```ts
await client.videoAssets.recover({
asset_id: '',
});
```

### List Assets

List folders and assets for a workspace in a single response. Use `parent_id` to browse a specific folder, or filters like `title`, `status`, and `playlist_id` to search assets.
Expand Down Expand Up @@ -315,22 +302,6 @@ const videoAsset = await client.videoAssets.listDeprecated('workspaceId', {
});
```

### List Recycle Bin

List all assets in a recycle bin for a given workspace. The deleted assets are available for 30 days. After that, assets are permanently deleted.

| Direction | Type |
| --- | --- |
| Request | [`VideoAssetListRecycleBinParams`](./src/resources/video-assets.ts) |
| Response | [`VideoAssetListRecycleBinResponse`](./src/resources/video-assets.ts) |

```ts
const videoAsset = await client.videoAssets.listRecycleBin({
size: 20,
workspace_id: 'workspaceId',
});
```

## `SubtitleUpload`

Add subtitles to an existing asset.
Expand Down Expand Up @@ -952,6 +923,40 @@ This endpoint retrieves the history of a live video asset that has previously be
const liveStreamAsset = await client.liveStreamAssets.statusHistory('liveAssetId');
```

## `RecycleBin`

Endpoints to list deleted assets and restore them.

### Recover Deleted Asset

Recovers a deleted asset from the recycle bin.

| Direction | Type |
| --- | --- |
| Request | [`RecycleBinRecoverParams`](./src/resources/recycle-bin.ts) |

```ts
await client.recycleBin.recover({
asset_id: '',
});
```

### List Recycle Bin

List all assets in a recycle bin for a given workspace. The deleted assets are available for 30 days. After that, assets are permanently deleted.

| Direction | Type |
| --- | --- |
| Request | [`RecycleBinListParams`](./src/resources/recycle-bin.ts) |
| Response | [`RecycleBinListResponse`](./src/resources/recycle-bin.ts) |

```ts
const recycleBin = await client.recycleBin.list({
size: 20,
workspace_id: 'workspaceId',
});
```

## `VideoWorkspaces`

Create and manage video workspaces.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gumlet/nodejs-sdk",
"version": "1.2.3",
"version": "1.2.4",
"description": "Gumlet helps developers deliver online video and images. This API encompasses Gumlet Video, Image and Video Analytics functionality to help you build your products better and faster than ever before.",
"author": "Gumlet",
"repository": {
Expand Down
Loading
Loading