fix: OfferListing.Promotions is an array.

This commit is contained in:
David Ball 2024-08-05 23:13:21 -04:00
parent a7a763638a
commit c8e302acdb
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "amazon-pa-api5-node-ts", "name": "amazon-pa-api5-node-ts",
"version": "2.2.5", "version": "2.2.6",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "amazon-pa-api5-node-ts", "name": "amazon-pa-api5-node-ts",
"version": "2.2.5", "version": "2.2.6",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"superagent": "^9.0.0" "superagent": "^9.0.0"

View File

@ -1,6 +1,6 @@
{ {
"name": "amazon-pa-api5-node-ts", "name": "amazon-pa-api5-node-ts",
"version": "2.2.5", "version": "2.2.6",
"description": "ProductAdvertisingAPI 5.0 NodeJS SDK rewritten in TypeScript.", "description": "ProductAdvertisingAPI 5.0 NodeJS SDK rewritten in TypeScript.",
"license": "Apache-2.0", "license": "Apache-2.0",
"main": "dist/src/index.mjs", "main": "dist/src/index.mjs",

View File

@ -82,7 +82,7 @@ export class OfferListing {
/** /**
* @member {Array.<module:model/OfferPromotion>} Promotions * @member {Array.<module:model/OfferPromotion>} Promotions
*/ */
public Promotions?: OfferPromotion public Promotions?: OfferPromotion[]
/** /**
* @member {module:model/OfferPrice} SavingBasis * @member {module:model/OfferPrice} SavingBasis
*/ */