Skip to content
Closed
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.3.7"
".": "1.3.5"
}
468 changes: 468 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Complete reference of every operation, grouped by resource. See [the README](./R
- [Add asset to playlist](#add-asset-to-playlist)
- [Remove asset from playlist](#remove-asset-from-playlist)
- [Update Playlist](#update-playlist)
- [`delete`](#delete)
- [Delete Playlist](#delete-playlist)
- [Get playlist assets](#get-playlist-assets)
- [Arrange Videos In Playlist](#arrange-videos-in-playlist)
- [`Webhooks`](#webhooks)
Expand Down Expand Up @@ -673,9 +673,9 @@ This endpoint allows you to update playlist name, channel visibility, or playlis
const videoPlaylist = await client.videoPlaylists.update('playlistId');
```

### `delete`
### Delete Playlist

Deletes this playlist.
Deletes a playlist by plalist ID.

```ts
await client.videoPlaylists.delete('playlistId');
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.3.7",
"version": "1.3.5",
"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
9 changes: 9 additions & 0 deletions src/resources/audio-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,21 @@ export interface AudioUploadUploadResponse {
* Gumlet Asset ID
*/
asset_id: string;
/**
* Details about signed URLs for each language
*/
signed_urls: Array<AudioUploadUploadResponse.SignedURL>;
}

export namespace AudioUploadUploadResponse {
export interface SignedURL {
/**
* Audio language code
*/
language_code: string;
/**
* Upload URL on which actual audio file should be uploaded using a PUT request
*/
upload_url: string;
}
}
Expand Down
78 changes: 78 additions & 0 deletions src/resources/folders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,25 +162,51 @@ export interface FolderCreateParams {
}

export interface FolderCreateResponse {
/**
* Folder ID
*/
id?: string;
/**
* Folder name
*/
name?: string;
/**
* Workspace ID
*/
video_source_id?: string;
/**
* Parent folder ID
*/
parent_id?: string | null;
/**
* Path details
*/
path?: Array<string>;
path_names?: Array<string>;
/**
* Depth of this folder from root
* @default 0
*/
depth?: number;
/**
* Number of subfolders inside this folder
* @default 0
*/
subdirectory_count?: number;
/**
* Number of assets inside this folder
* @default 0
*/
asset_count?: number;
/**
* Folder creation time in ISO 8601 format
* @format date-time
*/
created_at?: string;
/**
* Folder update time in ISO 8601 format
* @format date-time
*/
updated_at?: string;
}

Expand All @@ -195,25 +221,51 @@ export type FolderListResponse = Array<FolderListResponse.FolderListResponseItem

export namespace FolderListResponse {
export interface FolderListResponseItem {
/**
* Folder ID
*/
id?: string;
/**
* Folder name
*/
name?: string;
/**
* Workspace ID
*/
video_source_id?: string;
/**
* Parent folder ID
*/
parent_id?: string | null;
/**
* Path of the folder
*/
path?: Array<string>;
path_names?: Array<string>;
/**
* Depth from root folder
* @default 0
*/
depth?: number;
/**
* Number of child folders
* @default 0
*/
subdirectory_count?: number;
/**
* Number of assets inside this folder
* @default 0
*/
asset_count?: number;
/**
* Folder creation time in ISO 8601 format
* @format date-time
*/
created_at?: string;
/**
* Folder update time in ISO 8601 format
* @format date-time
*/
updated_at?: string;
}
}
Expand All @@ -226,25 +278,51 @@ export interface FolderRetrieveParams {
}

export interface FolderRetrieveResponse {
/**
* Folder ID
*/
id?: string;
/**
* Folder name
*/
name?: string;
/**
* Workspace ID
*/
video_source_id?: string;
/**
* Parent folder ID
*/
parent_id?: string | null;
/**
* Path for this folder
*/
path?: Array<string>;
path_names?: Array<string>;
/**
* Depth of this folder from the root
* @default 0
*/
depth?: number;
/**
* Number of folders inside this folder
* @default 0
*/
subdirectory_count?: number;
/**
* Number of assets in this folder
* @default 0
*/
asset_count?: number;
/**
* Folder creation time in ISO 8601 format
* @format date-time
*/
created_at?: string;
/**
* Folder update time in ISO 8601 format
* @format date-time
*/
updated_at?: string;
}

Expand Down
Loading
Loading