Skip to content

Commit d6c0f98

Browse files
committed
Updating JavaScript SDK
1 parent 6fc8b44 commit d6c0f98

304 files changed

Lines changed: 632 additions & 612 deletions

File tree

Some content is hidden

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

README.md

Lines changed: 1 addition & 1 deletion
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.3.0
9+
- API version: 1.4.0
1010

1111
## References
1212

docs/Contributor.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**id** | **String** | ID of the contributor |
7+
**name** | **String** | Display name of the contributor | [optional]
78

89

docs/ImagesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ Name | Type | Description
16641664
query | String| One or more search terms separated by spaces; you can use NOT to filter out images that match a term
16651665
region | [Object](.md)| Raise or lower search result rankings based on the result's relevance to a specified region; you can provide a country code or an IP address from which the API infers a country
16661666
safe | Boolean| Enable or disable safe search, defaults to true
1667-
sort | String| Sort by, defaults to popular <br/><br/>Valid values: "newest", "popular", "relevance", "random"
1667+
sort | String| Sort by, defaults to popular <br/><br/>Valid values: "newest", "popular", "relevance", "random", "oldest"
16681668
spellcheck_query | Boolean| Spellcheck the search query and return results on suggested spellings, defaults to true
16691669
view | String| Amount of detail to render in the response, defaults to minimal <br/><br/>Valid values: "minimal", "full"
16701670
width | Number| (Deprecated; use width_from and width_to instead) Show images with the specified width

docs/InlineResponse200Contributor.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**id** | **String** | ID of the contributor |
7+
**name** | **String** | Display name of the contributor | [optional]
78

89

docs/VideosApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ Name | Type | Description
14011401
query | String| One or more search terms separated by spaces; you can use NOT to filter out videos that match a term
14021402
resolution | String| Show videos with the specified resolution <br/><br/>Valid values: "4k", "standard_definition", "high_definition"
14031403
safe | Boolean| Enable or disable safe search, defaults to true
1404-
sort | String| Sort by one of these categories, defaults to popular <br/><br/>Valid values: "newest", "popular", "relevance", "random"
1404+
sort | String| Sort by one of these categories, defaults to popular <br/><br/>Valid values: "newest", "oldest", "popular", "relevance", "random"
14051405
view | String| Amount of detail to render in the response, defaults to minimal <br/><br/>Valid values: "minimal", "full"
14061406

14071407
### Accepted authentication

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "shutterstock-api",
3-
"version": "1.3.0",
3+
"version": "1.4.0",
44
"description": "The Shutterstock API provides access to Shutterstock's library of media as well as information about customers accounts and the contributors that provide the media",
55
"license": "MIT",
66
"main": "src/index.js",

src/ApiClient.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Shutterstock API Reference
33
* The Shutterstock API provides access to Shutterstock's library of media, as well as information about customers' accounts and the contributors that provide the media.
44
*
5-
* OpenAPI spec version: 1.3.0
5+
* OpenAPI spec version: 1.4.0
66
*
77
* NOTE: This class is auto generated by the swagger code generator program.
88
* https://github.com/swagger-api/swagger-codegen.git
@@ -32,7 +32,7 @@
3232

3333
/**
3434
* @module ApiClient
35-
* @version 1.3.0
35+
* @version 1.4.0
3636
*/
3737

3838
/**
@@ -64,8 +64,8 @@
6464
* @default {}
6565
*/
6666
this.defaultHeaders = {
67-
'User-Agent': 'public-api-sdk-generator/1.3.0',
68-
'x-shutterstock-application': 'shutterstock-sdk/v1.3.0',
67+
'User-Agent': 'public-api-sdk-generator/1.4.0',
68+
'x-shutterstock-application': 'shutterstock-sdk/v1.4.0',
6969
};
7070

7171
/**

src/api/AudioApi.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Shutterstock API Reference
33
* The Shutterstock API provides access to Shutterstock's library of media, as well as information about customers' accounts and the contributors that provide the media.
44
*
5-
* OpenAPI spec version: 1.3.0
5+
* OpenAPI spec version: 1.4.0
66
*
77
* NOTE: This class is auto generated by the swagger code generator program.
88
* https://github.com/swagger-api/swagger-codegen.git
@@ -33,7 +33,7 @@
3333
/**
3434
* Audio service.
3535
* @module api/AudioApi
36-
* @version 1.3.0
36+
* @version 1.4.0
3737
*/
3838

3939
/**
@@ -48,7 +48,7 @@
4848

4949
this.setAppName = function (value) {
5050
this.apiClient.defaultHeaders = Object.assign({}, this.apiClient.defaultHeaders, {
51-
'x-shutterstock-application': value + ',shutterstock-sdk/v1.3.0',
51+
'x-shutterstock-application': value + ',shutterstock-sdk/v1.4.0',
5252
});
5353
};
5454

src/api/CatalogApi.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Shutterstock API Reference
33
* The Shutterstock API provides access to Shutterstock's library of media, as well as information about customers' accounts and the contributors that provide the media.
44
*
5-
* OpenAPI spec version: 1.3.0
5+
* OpenAPI spec version: 1.4.0
66
*
77
* NOTE: This class is auto generated by the swagger code generator program.
88
* https://github.com/swagger-api/swagger-codegen.git
@@ -33,7 +33,7 @@
3333
/**
3434
* Catalog service.
3535
* @module api/CatalogApi
36-
* @version 1.3.0
36+
* @version 1.4.0
3737
*/
3838

3939
/**
@@ -48,7 +48,7 @@
4848

4949
this.setAppName = function (value) {
5050
this.apiClient.defaultHeaders = Object.assign({}, this.apiClient.defaultHeaders, {
51-
'x-shutterstock-application': value + ',shutterstock-sdk/v1.3.0',
51+
'x-shutterstock-application': value + ',shutterstock-sdk/v1.4.0',
5252
});
5353
};
5454

src/api/ComputerVisionApi.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Shutterstock API Reference
33
* The Shutterstock API provides access to Shutterstock's library of media, as well as information about customers' accounts and the contributors that provide the media.
44
*
5-
* OpenAPI spec version: 1.3.0
5+
* OpenAPI spec version: 1.4.0
66
*
77
* NOTE: This class is auto generated by the swagger code generator program.
88
* https://github.com/swagger-api/swagger-codegen.git
@@ -33,7 +33,7 @@
3333
/**
3434
* ComputerVision service.
3535
* @module api/ComputerVisionApi
36-
* @version 1.3.0
36+
* @version 1.4.0
3737
*/
3838

3939
/**
@@ -48,7 +48,7 @@
4848

4949
this.setAppName = function (value) {
5050
this.apiClient.defaultHeaders = Object.assign({}, this.apiClient.defaultHeaders, {
51-
'x-shutterstock-application': value + ',shutterstock-sdk/v1.3.0',
51+
'x-shutterstock-application': value + ',shutterstock-sdk/v1.4.0',
5252
});
5353
};
5454

0 commit comments

Comments
 (0)