Skip to content

Commit ec6d3a3

Browse files
committed
Updating JavaScript SDK
1 parent e93904a commit ec6d3a3

File tree

414 files changed

+7696
-3983
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

414 files changed

+7696
-3983
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ These classes call the API in the same way that direct REST calls do.
66
You can use this SDK to search for media, get information about media and about collections, and (if your subscription permits) license and download media.
77
This is the official SDK provided by Shutterstock for its API.
88

9-
- API version: 1.1.42
9+
- API version: 1.2.0
1010

1111
## References
1212

@@ -391,9 +391,6 @@ Class | Method | HTTP request | Description
391391
*shutterstock-api.ImagesApi* | [**deleteImageCollection**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/ImagesApi.md#deleteImageCollection) | **DELETE** /v2/images/collections/{id} | Delete image collections
392392
*shutterstock-api.ImagesApi* | [**deleteImageCollectionItems**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/ImagesApi.md#deleteImageCollectionItems) | **DELETE** /v2/images/collections/{id}/items | Remove images from collections
393393
*shutterstock-api.ImagesApi* | [**downloadImage**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/ImagesApi.md#downloadImage) | **POST** /v2/images/licenses/{id}/downloads | Download images
394-
*shutterstock-api.ImagesApi* | [**getFeaturedImageCollection**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/ImagesApi.md#getFeaturedImageCollection) | **GET** /v2/images/collections/featured/{id} | Get the details of featured image collections
395-
*shutterstock-api.ImagesApi* | [**getFeaturedImageCollectionItems**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/ImagesApi.md#getFeaturedImageCollectionItems) | **GET** /v2/images/collections/featured/{id}/items | Get the contents of featured image collections
396-
*shutterstock-api.ImagesApi* | [**getFeaturedImageCollectionList**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/ImagesApi.md#getFeaturedImageCollectionList) | **GET** /v2/images/collections/featured | List featured image collections
397394
*shutterstock-api.ImagesApi* | [**getImage**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/ImagesApi.md#getImage) | **GET** /v2/images/{id} | Get details about images
398395
*shutterstock-api.ImagesApi* | [**getImageCollection**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/ImagesApi.md#getImageCollection) | **GET** /v2/images/collections/{id} | Get the details of image collections
399396
*shutterstock-api.ImagesApi* | [**getImageCollectionItems**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/ImagesApi.md#getImageCollectionItems) | **GET** /v2/images/collections/{id}/items | Get the contents of image collections
@@ -426,9 +423,6 @@ Class | Method | HTTP request | Description
426423
*shutterstock-api.VideosApi* | [**deleteVideoCollectionItems**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/VideosApi.md#deleteVideoCollectionItems) | **DELETE** /v2/videos/collections/{id}/items | Remove videos from collections
427424
*shutterstock-api.VideosApi* | [**downloadVideos**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/VideosApi.md#downloadVideos) | **POST** /v2/videos/licenses/{id}/downloads | Download videos
428425
*shutterstock-api.VideosApi* | [**findSimilarVideos**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/VideosApi.md#findSimilarVideos) | **GET** /v2/videos/{id}/similar | List similar videos
429-
*shutterstock-api.VideosApi* | [**getFeaturedVideoCollection**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/VideosApi.md#getFeaturedVideoCollection) | **GET** /v2/videos/collections/featured/{id} | Get the details of featured video collections
430-
*shutterstock-api.VideosApi* | [**getFeaturedVideoCollectionItems**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/VideosApi.md#getFeaturedVideoCollectionItems) | **GET** /v2/videos/collections/featured/{id}/items | Get the contents of featured video collections
431-
*shutterstock-api.VideosApi* | [**getFeaturedVideoCollectionList**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/VideosApi.md#getFeaturedVideoCollectionList) | **GET** /v2/videos/collections/featured | List featured video collections
432426
*shutterstock-api.VideosApi* | [**getUpdatedVideos**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/VideosApi.md#getUpdatedVideos) | **GET** /v2/videos/updated | List updated videos
433427
*shutterstock-api.VideosApi* | [**getVideo**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/VideosApi.md#getVideo) | **GET** /v2/videos/{id} | Get details about videos
434428
*shutterstock-api.VideosApi* | [**getVideoCollection**](https://github.com/shutterstock/public-api-javascript-sdk/blob/master/docs/VideosApi.md#getVideoCollection) | **GET** /v2/videos/collections/{id} | Get the details of video collections

docs/Audio.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**added_date** | **Date** | Date this track was added to the Shutterstock library | [optional]
77
**affiliate_url** | **String** | Affiliate referral link; appears only for registered affiliate partners | [optional]
8-
**album** | [**InlineResponse2009Album**](InlineResponse2009Album.md) | | [optional]
9-
**artists** | [**[InlineResponse2009Artists]**](InlineResponse2009Artists.md) | List of artists | [optional]
10-
**assets** | [**InlineResponse2009Assets**](InlineResponse2009Assets.md) | | [optional]
8+
**album** | [**InlineResponse2008Album**](InlineResponse2008Album.md) | | [optional]
9+
**artists** | [**[InlineResponse2008Artists]**](InlineResponse2008Artists.md) | List of artists | [optional]
10+
**assets** | [**InlineResponse2008Assets**](InlineResponse2008Assets.md) | | [optional]
1111
**bpm** | **Number** | BPM (beats per minute) of this track | [optional]
1212
**contributor** | [**InlineResponse200Contributor**](InlineResponse200Contributor.md) | |
1313
**deleted_time** | **Date** | | [optional]
@@ -28,7 +28,7 @@ Name | Type | Description | Notes
2828
**published_time** | **Date** | Time this track was published | [optional]
2929
**recording_version** | **String** | Recording version of this track | [optional]
3030
**releases** | **[String]** | List of all releases of this track | [optional]
31-
**similar_artists** | [**[InlineResponse2009Artists]**](InlineResponse2009Artists.md) | List of all similar artists of this track | [optional]
31+
**similar_artists** | [**[InlineResponse2008Artists]**](InlineResponse2008Artists.md) | List of all similar artists of this track | [optional]
3232
**submitted_time** | **Date** | Time this track was submitted | [optional]
3333
**title** | **String** | Title of this track | [optional]
3434
**updated_time** | **Date** | Time this track was last updated | [optional]

docs/AudioApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ No response body.
252252

253253
<a name="downloadTracks"></a>
254254
# AudioApi.downloadTracks
255-
> `InlineResponse20011 AudioApi.downloadTracks(id)`
255+
> `InlineResponse20010 AudioApi.downloadTracks(id)`
256256
257257
**Download audio tracks**
258258

@@ -303,7 +303,7 @@ Name | Type | Description
303303

304304
### Return type
305305

306-
[InlineResponse20011](InlineResponse20011.md)
306+
[InlineResponse20010](InlineResponse20010.md)
307307

308308
### Example response
309309

@@ -313,7 +313,7 @@ Name | Type | Description
313313

314314
<a name="getTrack"></a>
315315
# AudioApi.getTrack
316-
> `InlineResponse20010 AudioApi.getTrack(id, queryParams)`
316+
> `InlineResponse2009 AudioApi.getTrack(id, queryParams)`
317317
318318
**Get details about audio tracks**
319319

@@ -371,7 +371,7 @@ Name | Type | Description
371371

372372
### Return type
373373

374-
[InlineResponse20010](InlineResponse20010.md)
374+
[InlineResponse2009](InlineResponse2009.md)
375375

376376
### Example response
377377

@@ -1160,7 +1160,7 @@ No response body.
11601160

11611161
<a name="searchTracks"></a>
11621162
# AudioApi.searchTracks
1163-
> `InlineResponse2009 AudioApi.searchTracks(queryParams)`
1163+
> `InlineResponse2008 AudioApi.searchTracks(queryParams)`
11641164
11651165
**Search for tracks**
11661166

@@ -1253,7 +1253,7 @@ Name | Type | Description
12531253

12541254
### Return type
12551255

1256-
[InlineResponse2009](InlineResponse2009.md)
1256+
[InlineResponse2008](InlineResponse2008.md)
12571257

12581258
### Example response
12591259

docs/AudioAssets.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**album_art** | [**InlineResponse2009AssetsAlbumArt**](InlineResponse2009AssetsAlbumArt.md) | | [optional]
7-
**clean_audio** | [**InlineResponse2009AssetsAlbumArt**](InlineResponse2009AssetsAlbumArt.md) | | [optional]
8-
**original_audio** | [**InlineResponse2009AssetsAlbumArt**](InlineResponse2009AssetsAlbumArt.md) | | [optional]
9-
**preview_mp3** | [**InlineResponse2009AssetsAlbumArt**](InlineResponse2009AssetsAlbumArt.md) | | [optional]
10-
**preview_ogg** | [**InlineResponse2009AssetsAlbumArt**](InlineResponse2009AssetsAlbumArt.md) | | [optional]
11-
**waveform** | [**InlineResponse2009AssetsAlbumArt**](InlineResponse2009AssetsAlbumArt.md) | | [optional]
12-
**shorts_loops_stems** | [**InlineResponse2009AssetsShortsLoopsStems**](InlineResponse2009AssetsShortsLoopsStems.md) | | [optional]
6+
**album_art** | [**InlineResponse2008AssetsAlbumArt**](InlineResponse2008AssetsAlbumArt.md) | | [optional]
7+
**clean_audio** | [**InlineResponse2008AssetsAlbumArt**](InlineResponse2008AssetsAlbumArt.md) | | [optional]
8+
**original_audio** | [**InlineResponse2008AssetsAlbumArt**](InlineResponse2008AssetsAlbumArt.md) | | [optional]
9+
**preview_mp3** | [**InlineResponse2008AssetsAlbumArt**](InlineResponse2008AssetsAlbumArt.md) | | [optional]
10+
**preview_ogg** | [**InlineResponse2008AssetsAlbumArt**](InlineResponse2008AssetsAlbumArt.md) | | [optional]
11+
**waveform** | [**InlineResponse2008AssetsAlbumArt**](InlineResponse2008AssetsAlbumArt.md) | | [optional]
12+
**shorts_loops_stems** | [**InlineResponse2008AssetsShortsLoopsStems**](InlineResponse2008AssetsShortsLoopsStems.md) | | [optional]
1313

1414

docs/AudioDataList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**data** | [**[InlineResponse2009Data]**](InlineResponse2009Data.md) | Tracks | [optional]
6+
**data** | [**[InlineResponse2008Data]**](InlineResponse2008Data.md) | Tracks | [optional]
77
**errors** | [**[AudioDataListErrors]**](AudioDataListErrors.md) | Error list; appears only if there was an error | [optional]
88
**message** | **String** | Server-generated message, if any | [optional]
99
**page** | **Number** | Current page that is returned | [optional]

docs/AudioSearchResults.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**data** | [**[InlineResponse2009Data]**](InlineResponse2009Data.md) | List of tracks |
6+
**data** | [**[InlineResponse2008Data]**](InlineResponse2008Data.md) | List of tracks |
77
**message** | **String** | Server-generated message, if any | [optional]
88
**page** | **Number** | Current page that is returned | [optional]
99
**per_page** | **Number** | Number of results per page | [optional]

docs/CatalogApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Required scopes:
263263

264264
<a name="getCollections"></a>
265265
# CatalogApi.getCollections
266-
> `InlineResponse20027 CatalogApi.getCollections(queryParams)`
266+
> `InlineResponse20026 CatalogApi.getCollections(queryParams)`
267267
268268
**List catalog collections**
269269

@@ -321,7 +321,7 @@ Name | Type | Description
321321

322322
### Return type
323323

324-
[InlineResponse20027](InlineResponse20027.md)
324+
[InlineResponse20026](InlineResponse20026.md)
325325

326326
### Example response
327327

@@ -331,7 +331,7 @@ Name | Type | Description
331331

332332
<a name="searchCatalog"></a>
333333
# CatalogApi.searchCatalog
334-
> `InlineResponse20026 CatalogApi.searchCatalog(queryParams)`
334+
> `InlineResponse20025 CatalogApi.searchCatalog(queryParams)`
335335
336336
**Search catalogs for assets**
337337

@@ -393,7 +393,7 @@ Name | Type | Description
393393

394394
### Return type
395395

396-
[InlineResponse20026](InlineResponse20026.md)
396+
[InlineResponse20025](InlineResponse20025.md)
397397

398398
### Example response
399399

docs/CatalogCollection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**id** | **String** | |
77
**name** | **String** | |
8-
**cover_asset** | [**InlineResponse20026Data**](InlineResponse20026Data.md) | | [optional]
8+
**cover_asset** | [**InlineResponse20025Data**](InlineResponse20025Data.md) | | [optional]
99
**total_item_count** | **Number** | |
1010
**created_time** | **Date** | |
1111
**updated_time** | **Date** | |
1212
**visibility** | **String** | |
13-
**role_assignments** | [**InlineResponse20027RoleAssignments**](InlineResponse20027RoleAssignments.md) | |
13+
**role_assignments** | [**InlineResponse20026RoleAssignments**](InlineResponse20026RoleAssignments.md) | |
1414

1515

1616
<a name="VisibilityEnum"></a>

docs/CatalogCollectionDataList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
66
**page** | **Number** | |
77
**per_page** | **Number** | |
88
**total_count** | **Number** | |
9-
**data** | [**[InlineResponse20027Data]**](InlineResponse20027Data.md) | List of catalog collections |
9+
**data** | [**[InlineResponse20026Data]**](InlineResponse20026Data.md) | List of catalog collections |
1010

1111

docs/CatalogCollectionItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**id** | **String** | |
7-
**asset** | [**InlineResponse20026Asset**](InlineResponse20026Asset.md) | |
7+
**asset** | [**InlineResponse20025Asset**](InlineResponse20025Asset.md) | |
88
**created_time** | **Date** | |
99
**collection_ids** | **[String]** | The collection IDs that this asset belongs to | [optional]
1010

0 commit comments

Comments
 (0)