diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 41ea87d..f6a9e15 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.2.1" + ".": "1.2.2" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 1628539..6020b19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/api.md b/api.md index 3ddef6b..36ea37a 100644 --- a/api.md +++ b/api.md @@ -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 | | --- | --- | diff --git a/package.json b/package.json index 07dc597..51b1930 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/resources/video-assets.ts b/src/resources/video-assets.ts index 26b514b..fb1f760 100644 --- a/src/resources/video-assets.ts +++ b/src/resources/video-assets.ts @@ -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. @@ -1578,8 +1578,8 @@ export interface VideoAssetListParams { } export interface VideoAssetListResponse { + all_assets: Array; folders?: Array; - all_assets?: Array; /** * @default 0 */ @@ -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; - path_names?: Array; - /** - * @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; /** @@ -1665,6 +1642,10 @@ export namespace VideoAssetListResponse { */ height?: number; additional_tracks?: Array; + /** + * Title of the asset. + */ + title?: string; } export namespace Input { @@ -1712,6 +1693,29 @@ export namespace VideoAssetListResponse { thumbnail_url?: Array; } } + + export interface Folder { + id?: string; + name?: string; + video_source_id?: string; + parent_id?: string | null; + path?: Array; + path_names?: Array; + /** + * @default 0 + */ + depth?: number; + /** + * @default 0 + */ + subdirectory_count?: number; + /** + * @default 0 + */ + asset_count?: number; + created_at?: string; + updated_at?: string; + } } export interface VideoAssetListDeprecatedParams { diff --git a/src/resources/video-workspaces.ts b/src/resources/video-workspaces.ts index e5e6f34..d52a742 100644 --- a/src/resources/video-workspaces.ts +++ b/src/resources/video-workspaces.ts @@ -137,6 +137,10 @@ export namespace VideoWorkspaceListResponse { embed_details?: AllSource.EmbedDetails; folders?: Array; channel_settings?: AllSource.ChannelSettings; + /** + * Whether the workspace is disabled for streaming. `true` means it's disabled. + */ + on_streaming_halt?: boolean; } export namespace AllSource { @@ -772,7 +776,7 @@ export namespace VideoWorkspaceUpdateParams { * Example: ["IN","USA"] */ blacklisted_countries?: Array; - whitelisted_referrers?: string; + whitelisted_referrers?: Array; } export interface ChannelSettings { @@ -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; @@ -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 { @@ -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; } } diff --git a/src/version.ts b/src/version.ts index 4b6ebe2..d3646f0 100644 --- a/src/version.ts +++ b/src/version.ts @@ -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