@scaleleap/amazon-marketplaces
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -6,2 +6,9 @@ # Changelog | ||
# [1.5.0](https://github.com/ScaleLeap/amazon-marketplaces/compare/v1.4.0...v1.5.0) (2020-02-26) | ||
### Features | ||
* adds advertising account time zone ([f20dbc8](https://github.com/ScaleLeap/amazon-marketplaces/commit/f20dbc8ddb770212318cace1851df9ab3045bb91)) | ||
# [1.4.0](https://github.com/ScaleLeap/amazon-marketplaces/compare/v1.3.0...v1.4.0) (2020-02-18) | ||
@@ -8,0 +15,0 @@ |
@@ -0,7 +1,22 @@ | ||
/** | ||
* Time Zone Enum. | ||
*/ | ||
export declare enum AmazonMarketplaceAdvertisingTimeZone { | ||
AMERICA_LOS_ANGELES = "America/Los_Angeles", | ||
ASIA_DUBAI = "Asia/Dubai", | ||
ASIA_TOKYO = "Asia/Tokyo", | ||
AUSTRALIA_SYDNEY = "Australia/Sydney", | ||
EUROPE_LONDON = "Europe/London", | ||
EUROPE_PARIS = "Europe/Paris" | ||
} | ||
export interface AmazonMarketplaceAdvertising { | ||
/** | ||
* Amazon Advertising API endpoint URI | ||
* Amazon Advertising API endpoint URI. | ||
*/ | ||
readonly uri: string; | ||
/** | ||
* Amazon Advertising account time zone. | ||
*/ | ||
readonly timeZone: AmazonMarketplaceAdvertisingTimeZone; | ||
/** | ||
* Minimum and maximum bids for each advertising type. | ||
@@ -8,0 +23,0 @@ */ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* Time Zone Enum. | ||
*/ | ||
var AmazonMarketplaceAdvertisingTimeZone; | ||
(function (AmazonMarketplaceAdvertisingTimeZone) { | ||
AmazonMarketplaceAdvertisingTimeZone["AMERICA_LOS_ANGELES"] = "America/Los_Angeles"; | ||
AmazonMarketplaceAdvertisingTimeZone["ASIA_DUBAI"] = "Asia/Dubai"; | ||
AmazonMarketplaceAdvertisingTimeZone["ASIA_TOKYO"] = "Asia/Tokyo"; | ||
AmazonMarketplaceAdvertisingTimeZone["AUSTRALIA_SYDNEY"] = "Australia/Sydney"; | ||
AmazonMarketplaceAdvertisingTimeZone["EUROPE_LONDON"] = "Europe/London"; | ||
AmazonMarketplaceAdvertisingTimeZone["EUROPE_PARIS"] = "Europe/Paris"; | ||
})(AmazonMarketplaceAdvertisingTimeZone = exports.AmazonMarketplaceAdvertisingTimeZone || (exports.AmazonMarketplaceAdvertisingTimeZone = {})); | ||
class AmazonMarketplace { | ||
@@ -4,0 +16,0 @@ constructor(amazonMarketplace) { |
@@ -23,4 +23,5 @@ "use strict"; | ||
}, | ||
timeZone: amazon_marketplace_1.AmazonMarketplaceAdvertisingTimeZone.ASIA_DUBAI, | ||
}, | ||
}); | ||
//# sourceMappingURL=AE.js.map |
@@ -23,4 +23,5 @@ "use strict"; | ||
}, | ||
timeZone: amazon_marketplace_1.AmazonMarketplaceAdvertisingTimeZone.AUSTRALIA_SYDNEY, | ||
}, | ||
}); | ||
//# sourceMappingURL=AU.js.map |
@@ -23,4 +23,5 @@ "use strict"; | ||
}, | ||
timeZone: amazon_marketplace_1.AmazonMarketplaceAdvertisingTimeZone.EUROPE_PARIS, | ||
}, | ||
}); | ||
//# sourceMappingURL=DE.js.map |
@@ -27,4 +27,5 @@ "use strict"; | ||
}, | ||
timeZone: amazon_marketplace_1.AmazonMarketplaceAdvertisingTimeZone.EUROPE_LONDON, | ||
}, | ||
}); | ||
//# sourceMappingURL=GB.js.map |
@@ -23,4 +23,5 @@ "use strict"; | ||
}, | ||
timeZone: amazon_marketplace_1.AmazonMarketplaceAdvertisingTimeZone.ASIA_TOKYO, | ||
}, | ||
}); | ||
//# sourceMappingURL=JP.js.map |
@@ -23,4 +23,5 @@ "use strict"; | ||
}, | ||
timeZone: amazon_marketplace_1.AmazonMarketplaceAdvertisingTimeZone.AMERICA_LOS_ANGELES, | ||
}, | ||
}); | ||
//# sourceMappingURL=US.js.map |
{ | ||
"name": "@scaleleap/amazon-marketplaces", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"publishConfig": { | ||
@@ -36,6 +36,7 @@ "access": "public" | ||
"@jedmao/semantic-release-npm-github-config": "1.0.9", | ||
"@types/jest": "25.1.2", | ||
"@types/node": "13.7.1", | ||
"@typescript-eslint/eslint-plugin": "2.19.2", | ||
"@typescript-eslint/parser": "2.19.2", | ||
"@types/jest": "25.1.3", | ||
"@types/node": "13.7.6", | ||
"@typescript-eslint/eslint-plugin": "2.21.0", | ||
"@typescript-eslint/parser": "2.21.0", | ||
"danger": "9.2.10", | ||
"eslint": "6.8.0", | ||
@@ -47,6 +48,6 @@ "eslint-config-prettier": "6.10.0", | ||
"rimraf": "3.0.2", | ||
"ts-jest": "25.2.0", | ||
"ts-jest": "25.2.1", | ||
"tsconfigs": "4.0.2", | ||
"typedoc": "0.16.9", | ||
"typescript": "3.7.5" | ||
"typedoc": "0.16.10", | ||
"typescript": "3.8.2" | ||
}, | ||
@@ -53,0 +54,0 @@ "dependencies": { |
@@ -31,2 +31,3 @@ ![Amazon Marketplace Logo](https://raw.githubusercontent.com/ScaleLeap/amazon-marketplaces/master/amazon-marketplace.png) | ||
* Maximum bid | ||
* Account time zone | ||
@@ -89,3 +90,4 @@ ### Code Demo | ||
} | ||
} | ||
}, | ||
"timeZone": "America/Los_Angeles" | ||
} | ||
@@ -113,5 +115,7 @@ } | ||
* [Amazon Advertising API](https://advertising.amazon.com/API/docs/v2/guides/supported_features) | ||
* [Amazon Advertising API](https://advertising.amazon.com/API/docs/en-us/get-started/how-to-use-api) | ||
* [Amazon Marketplace Web Service](https://docs.developer.amazonservices.com/en_US/dev_guide/DG_Endpoints.html) | ||
* [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#X_currencies) | ||
* [Regional profile time zone codes](https://advertising.amazon.com/API/docs/en-us/reference/2/profiles#regional-profile-time-zone-codes) | ||
* [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) | ||
@@ -118,0 +122,0 @@ ### Authors or Acknowledgments |
@@ -19,4 +19,3 @@ { | ||
], | ||
"automerge": true, | ||
"automergeType": "branch" | ||
"automerge": true | ||
}, | ||
@@ -27,6 +26,5 @@ { | ||
], | ||
"automerge": true, | ||
"automergeType": "branch" | ||
"automerge": true | ||
} | ||
] | ||
} |
@@ -0,4 +1,16 @@ | ||
/** | ||
* Time Zone Enum. | ||
*/ | ||
export enum AmazonMarketplaceAdvertisingTimeZone { | ||
AMERICA_LOS_ANGELES = 'America/Los_Angeles', | ||
ASIA_DUBAI = 'Asia/Dubai', | ||
ASIA_TOKYO = 'Asia/Tokyo', | ||
AUSTRALIA_SYDNEY = 'Australia/Sydney', | ||
EUROPE_LONDON = 'Europe/London', | ||
EUROPE_PARIS = 'Europe/Paris', | ||
} | ||
export interface AmazonMarketplaceAdvertising { | ||
/** | ||
* Amazon Advertising API endpoint URI | ||
* Amazon Advertising API endpoint URI. | ||
*/ | ||
@@ -8,2 +20,7 @@ readonly uri: string | ||
/** | ||
* Amazon Advertising account time zone. | ||
*/ | ||
readonly timeZone: AmazonMarketplaceAdvertisingTimeZone | ||
/** | ||
* Minimum and maximum bids for each advertising type. | ||
@@ -10,0 +27,0 @@ */ |
@@ -1,2 +0,2 @@ | ||
import { AmazonMarketplace } from '../amazon-marketplace' | ||
import { AmazonMarketplace, AmazonMarketplaceAdvertisingTimeZone } from '../amazon-marketplace' | ||
@@ -22,3 +22,4 @@ export const AE = new AmazonMarketplace({ | ||
}, | ||
timeZone: AmazonMarketplaceAdvertisingTimeZone.ASIA_DUBAI, | ||
}, | ||
}) |
@@ -1,2 +0,2 @@ | ||
import { AmazonMarketplace } from '../amazon-marketplace' | ||
import { AmazonMarketplace, AmazonMarketplaceAdvertisingTimeZone } from '../amazon-marketplace' | ||
@@ -22,3 +22,4 @@ export const AU = new AmazonMarketplace({ | ||
}, | ||
timeZone: AmazonMarketplaceAdvertisingTimeZone.AUSTRALIA_SYDNEY, | ||
}, | ||
}) |
@@ -1,2 +0,2 @@ | ||
import { AmazonMarketplace } from '../amazon-marketplace' | ||
import { AmazonMarketplace, AmazonMarketplaceAdvertisingTimeZone } from '../amazon-marketplace' | ||
@@ -22,3 +22,4 @@ export const DE = new AmazonMarketplace({ | ||
}, | ||
timeZone: AmazonMarketplaceAdvertisingTimeZone.EUROPE_PARIS, | ||
}, | ||
}) |
@@ -1,2 +0,2 @@ | ||
import { AmazonMarketplace } from '../amazon-marketplace' | ||
import { AmazonMarketplace, AmazonMarketplaceAdvertisingTimeZone } from '../amazon-marketplace' | ||
import { DE } from './DE' | ||
@@ -27,3 +27,4 @@ | ||
}, | ||
timeZone: AmazonMarketplaceAdvertisingTimeZone.EUROPE_LONDON, | ||
}, | ||
}) |
@@ -1,2 +0,2 @@ | ||
import { AmazonMarketplace } from '../amazon-marketplace' | ||
import { AmazonMarketplace, AmazonMarketplaceAdvertisingTimeZone } from '../amazon-marketplace' | ||
@@ -22,3 +22,4 @@ export const JP = new AmazonMarketplace({ | ||
}, | ||
timeZone: AmazonMarketplaceAdvertisingTimeZone.ASIA_TOKYO, | ||
}, | ||
}) |
@@ -1,2 +0,2 @@ | ||
import { AmazonMarketplace } from '../amazon-marketplace' | ||
import { AmazonMarketplace, AmazonMarketplaceAdvertisingTimeZone } from '../amazon-marketplace' | ||
@@ -22,3 +22,4 @@ export const US = new AmazonMarketplace({ | ||
}, | ||
timeZone: AmazonMarketplaceAdvertisingTimeZone.AMERICA_LOS_ANGELES, | ||
}, | ||
}) |
@@ -7,2 +7,3 @@ import { | ||
findAmazonMarketplaceOrFail, | ||
AmazonMarketplaceAdvertisingTimeZone, | ||
} from '../src' | ||
@@ -16,2 +17,3 @@ | ||
expect(findAmazonMarketplaceOrFail).toBeTruthy() | ||
expect(AmazonMarketplaceAdvertisingTimeZone).toBeTruthy() | ||
}) | ||
@@ -18,0 +20,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
71226
102
1303
132
0
16