fix: Updated definition for SearchItemsResource.
This commit is contained in:
parent
5dae789942
commit
86f73e1cbf
15
package-lock.json
generated
15
package-lock.json
generated
|
|
@ -1,15 +1,14 @@
|
|||
{
|
||||
"name": "paapi5-nodejs-sdk",
|
||||
"version": "2.1.0",
|
||||
"name": "amazon-pa-api5-node-ts",
|
||||
"version": "2.1.5",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "paapi5-nodejs-sdk",
|
||||
"version": "2.1.0",
|
||||
"name": "amazon-pa-api5-node-ts",
|
||||
"version": "2.1.5",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"crypto-js": "^4.2.0",
|
||||
"superagent": "^9.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
@ -2376,12 +2375,6 @@
|
|||
"node": ">= 8"
|
||||
}
|
||||
},
|
||||
"node_modules/crypto-js": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz",
|
||||
"integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/debug": {
|
||||
"version": "4.3.5",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "amazon-pa-api5-node-ts",
|
||||
"version": "2.1.4",
|
||||
"version": "2.1.5",
|
||||
"description": "ProductAdvertisingAPI 5.0 NodeJS SDK rewritten in TypeScript.",
|
||||
"license": "Apache-2.0",
|
||||
"main": "dist/src/index",
|
||||
|
|
|
|||
|
|
@ -329,10 +329,11 @@ export const SearchItemsResourceValues = {
|
|||
"SearchRefinements": "SearchRefinements"
|
||||
};
|
||||
|
||||
export class SearchItemsResource {
|
||||
export class SearchItemsResource extends String {
|
||||
[key: string]: any;
|
||||
|
||||
public constructor() {
|
||||
super();
|
||||
const self = this;
|
||||
Object.keys(SearchItemsResourceValues).forEach((key: string) => self[key] = SearchItemsResourceValues[key]);
|
||||
}
|
||||
|
|
@ -342,5 +343,5 @@ export class SearchItemsResource {
|
|||
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
||||
* @return {module:model/SearchItemsResource} The enum <code>SearchItemsResource</code> value.
|
||||
*/
|
||||
public static constructFromObject(object: any) { return object; }
|
||||
public static constructFromObject(object: string|SearchItemsResource|typeof SearchItemsResourceValues) { return object; }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user