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.1"
".": "1.2.2"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

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


### Chores

* **api:** update generated SDK content ([bfda0eb](https://github.com/gumlet/nodejs-sdk/commit/bfda0eb6319b65aee4b779f841b883cf06f5f4e8))

## [1.2.1](https://github.com/gumlet/nodejs-sdk/compare/v1.2.0...v1.2.1) (2026-09-07)


Expand Down
2 changes: 1 addition & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ const videoAsset = await client.videoAssets.listDeprecated('workspaceId', {

### List Recycle Bin

List all assets in a recycle bin for a given workspace.
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 |
| --- | --- |
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.1",
"version": "1.2.2",
"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
54 changes: 29 additions & 25 deletions src/resources/video-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export class VideoAssets extends APIResource {
}

/**
* List all assets in a recycle bin for a given workspace.
* 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.
*
* @param {VideoAssetListRecycleBinParams} query - The parameters to send with the request.
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
Expand Down Expand Up @@ -1578,8 +1578,8 @@ export interface VideoAssetListParams {
}

export interface VideoAssetListResponse {
all_assets: Array<VideoAssetListResponse.AllAsset>;
folders?: Array<VideoAssetListResponse.Folder>;
all_assets?: Array<VideoAssetListResponse.AllAsset>;
/**
* @default 0
*/
Expand All @@ -1599,29 +1599,6 @@ export interface VideoAssetListResponse {
}

export namespace VideoAssetListResponse {
export interface Folder {
id?: string;
name?: string;
video_source_id?: string;
parent_id?: string | null;
path?: Array<string>;
path_names?: Array<string>;
/**
* @default 0
*/
depth?: number;
/**
* @default 0
*/
subdirectory_count?: number;
/**
* @default 0
*/
asset_count?: number;
created_at?: string;
updated_at?: string;
}

export interface AllAsset {
asset_id?: string;
/**
Expand Down Expand Up @@ -1665,6 +1642,10 @@ export namespace VideoAssetListResponse {
*/
height?: number;
additional_tracks?: Array<Input.AdditionalTrack>;
/**
* Title of the asset.
*/
title?: string;
}

export namespace Input {
Expand Down Expand Up @@ -1712,6 +1693,29 @@ export namespace VideoAssetListResponse {
thumbnail_url?: Array<string>;
}
}

export interface Folder {
id?: string;
name?: string;
video_source_id?: string;
parent_id?: string | null;
path?: Array<string>;
path_names?: Array<string>;
/**
* @default 0
*/
depth?: number;
/**
* @default 0
*/
subdirectory_count?: number;
/**
* @default 0
*/
asset_count?: number;
created_at?: string;
updated_at?: string;
}
}

export interface VideoAssetListDeprecatedParams {
Expand Down
18 changes: 17 additions & 1 deletion src/resources/video-workspaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ export namespace VideoWorkspaceListResponse {
embed_details?: AllSource.EmbedDetails;
folders?: Array<string>;
channel_settings?: AllSource.ChannelSettings;
/**
* Whether the workspace is disabled for streaming. `true` means it's disabled.
*/
on_streaming_halt?: boolean;
}

export namespace AllSource {
Expand Down Expand Up @@ -772,7 +776,7 @@ export namespace VideoWorkspaceUpdateParams {
* Example: ["IN","USA"]
*/
blacklisted_countries?: Array<string>;
whitelisted_referrers?: string;
whitelisted_referrers?: Array<string>;
}

export interface ChannelSettings {
Expand Down Expand Up @@ -879,6 +883,10 @@ export namespace VideoWorkspaceUpdateParams {
}

export interface VideoWorkspaceUpdateResponse {
/**
* Whether Gumlet video analytics is enabled for this workspace.
*/
insights_enabled: boolean;
id?: string;
name?: string;
type?: string;
Expand Down Expand Up @@ -1220,6 +1228,10 @@ export namespace VideoWorkspaceRetrieveResponse {
* Enable / disable channel invite email.
*/
disable_invite_email: boolean;
/**
* Password for the channel.
*/
password?: string;
}

export interface VideoProtection {
Expand All @@ -1239,6 +1251,10 @@ export namespace VideoWorkspaceRetrieveResponse {
* List of whitelisted of 2 letter country codes.
*/
whitelisted_countries?: string;
/**
* Signed URL for the workspace.
*/
signed_url?: string;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// File generated from our OpenAPI spec by Scalar. See README.md for details.

export const VERSION = '1.2.1'; // x-release-please-version
export const VERSION = '1.2.2'; // x-release-please-version
Loading