Skip to content

Commit 40bd105

Browse files
committed
Updating JavaScript SDK
1 parent a5c21b4 commit 40bd105

File tree

173 files changed

+359
-354
lines changed

Some content is hidden

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

173 files changed

+359
-354
lines changed

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.1.40
9+
- API version: 1.1.41
1010

1111
## References
1212

docs/VideosApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,6 +1713,7 @@ const queryParams = {
17131713
'language': "language_example", // String | Set query and result language (uses Accept-Language header if not set)
17141714
'license': ["[commercial, editorial]"], // [String] | Show only videos with the specified license or licenses
17151715
'model': ["[442583, 434750]"], // [String] | Show videos with each of the specified models
1716+
'orientation': "orientation_example", // String | Search for videos in a specific orientation
17161717
'page': 1, // Number | Page number
17171718
'per_page': 20, // Number | Number of results per page
17181719
'people_age': "20s", // String | Show videos that feature people of the specified age range
@@ -1759,6 +1760,7 @@ Name | Type | Description
17591760
language | String| Set query and result language (uses Accept-Language header if not set) <br/><br/>Valid values: "ar", "bg", "bn", "cs", "da", "de", "el", "en", "es", "fi", "fr", "gu", "he", "hi", "hr", "hu", "id", "it", "ja", "kn", "ko", "ml", "mr", "nb", "nl", "or", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "ta", "te", "th", "tr", "uk", "ur", "vi", "zh", "zh-Hant"
17601761
license | [String]| Show only videos with the specified license or licenses <br/><br/>Valid values: "commercial", "editorial"
17611762
model | [String]| Show videos with each of the specified models
1763+
orientation | String| Search for videos in a specific orientation <br/><br/>Valid values: "vertical", "horizontal"
17621764
page | Number| Page number, defaults to 1
17631765
per_page | Number| Number of results per page, defaults to 20
17641766
people_age | String| Show videos that feature people of the specified age range <br/><br/>Valid values: "infants", "children", "teenagers", "20s", "30s", "40s", "50s", "60s", "older"

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.1.40",
3+
"version": "1.1.41",
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.1.40
5+
* OpenAPI spec version: 1.1.41
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.1.40
35+
* @version 1.1.41
3636
*/
3737

3838
/**
@@ -64,8 +64,8 @@
6464
* @default {}
6565
*/
6666
this.defaultHeaders = {
67-
'User-Agent': 'public-api-sdk-generator/1.1.40',
68-
'x-shutterstock-application': 'shutterstock-sdk/v1.1.40',
67+
'User-Agent': 'public-api-sdk-generator/1.1.41',
68+
'x-shutterstock-application': 'shutterstock-sdk/v1.1.41',
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.1.40
5+
* OpenAPI spec version: 1.1.41
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.1.40
36+
* @version 1.1.41
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.1.40',
51+
'x-shutterstock-application': value + ',shutterstock-sdk/v1.1.41',
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.1.40
5+
* OpenAPI spec version: 1.1.41
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.1.40
36+
* @version 1.1.41
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.1.40',
51+
'x-shutterstock-application': value + ',shutterstock-sdk/v1.1.41',
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.1.40
5+
* OpenAPI spec version: 1.1.41
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.1.40
36+
* @version 1.1.41
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.1.40',
51+
'x-shutterstock-application': value + ',shutterstock-sdk/v1.1.41',
5252
});
5353
};
5454

src/api/ContributorsApi.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.1.40
5+
* OpenAPI spec version: 1.1.41
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
* Contributors service.
3535
* @module api/ContributorsApi
36-
* @version 1.1.40
36+
* @version 1.1.41
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.1.40',
51+
'x-shutterstock-application': value + ',shutterstock-sdk/v1.1.41',
5252
});
5353
};
5454

src/api/EditorialImagesApi.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.1.40
5+
* OpenAPI spec version: 1.1.41
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
* EditorialImages service.
3535
* @module api/EditorialImagesApi
36-
* @version 1.1.40
36+
* @version 1.1.41
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.1.40',
51+
'x-shutterstock-application': value + ',shutterstock-sdk/v1.1.41',
5252
});
5353
};
5454

src/api/EditorialVideoApi.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.1.40
5+
* OpenAPI spec version: 1.1.41
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
* EditorialVideo service.
3535
* @module api/EditorialVideoApi
36-
* @version 1.1.40
36+
* @version 1.1.41
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.1.40',
51+
'x-shutterstock-application': value + ',shutterstock-sdk/v1.1.41',
5252
});
5353
};
5454

0 commit comments

Comments
 (0)