"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DownloadAmazonListings = exports.DownloadAmazonOffers = exports.DownloadAmazonCatalog = exports.IdentifierType = exports.COMMAND_MESSAGE_REQUEST_DOWNLOAD_AMAZON_OFFERS = exports.COMMAND_MESSAGE_REQUEST_DOWNLOAD_AMAZON_LISTINGS = exports.COMMAND_MESSAGE_REQUEST_DOWNLOAD_AMAZON_CATALOG = void 0;
const jackson_js_1 = require("jackson-js");
exports.COMMAND_MESSAGE_REQUEST_DOWNLOAD_AMAZON_CATALOG = "download-amazon-catalog-request";
exports.COMMAND_MESSAGE_REQUEST_DOWNLOAD_AMAZON_LISTINGS = "download-amazon-listings-request";
exports.COMMAND_MESSAGE_REQUEST_DOWNLOAD_AMAZON_OFFERS = "download-amazon-offers-request";
var IdentifierType;
(function (IdentifierType) {
    IdentifierType["ASIN"] = "ASIN";
    IdentifierType["SELLER_SKU"] = "SELLER_SKU";
})(IdentifierType = exports.IdentifierType || (exports.IdentifierType = {}));
class DownloadAmazonCatalog {
    constructor(tenant, identifierType) {
        this.identifiers = [];
        this.tenant = tenant;
        this.identifierType = identifierType;
    }
}
__decorate([
    (0, jackson_js_1.JsonProperty)(),
    (0, jackson_js_1.JsonClassType)({ type: () => [Array, [String]] })
], DownloadAmazonCatalog.prototype, "identifiers", void 0);
__decorate([
    (0, jackson_js_1.JsonProperty)()
], DownloadAmazonCatalog.prototype, "identifierType", void 0);
__decorate([
    (0, jackson_js_1.JsonProperty)()
], DownloadAmazonCatalog.prototype, "tenant", void 0);
exports.DownloadAmazonCatalog = DownloadAmazonCatalog;
class DownloadAmazonOffers {
    constructor(tenant, provider, sellerSku, condition) {
        this.condition = condition;
        this.sellerSku = sellerSku;
        this.tenant = tenant;
        this.provider = provider;
    }
}
__decorate([
    (0, jackson_js_1.JsonProperty)()
], DownloadAmazonOffers.prototype, "sellerSku", void 0);
__decorate([
    (0, jackson_js_1.JsonProperty)()
], DownloadAmazonOffers.prototype, "provider", void 0);
__decorate([
    (0, jackson_js_1.JsonProperty)()
], DownloadAmazonOffers.prototype, "condition", void 0);
__decorate([
    (0, jackson_js_1.JsonProperty)()
], DownloadAmazonOffers.prototype, "tenant", void 0);
exports.DownloadAmazonOffers = DownloadAmazonOffers;
class DownloadAmazonListings {
    constructor(tenant, provider, sellerSku) {
        this.sellerSku = sellerSku;
        this.tenant = tenant;
        this.provider = provider;
    }
}
__decorate([
    (0, jackson_js_1.JsonProperty)()
], DownloadAmazonListings.prototype, "sellerSku", void 0);
__decorate([
    (0, jackson_js_1.JsonProperty)()
], DownloadAmazonListings.prototype, "provider", void 0);
__decorate([
    (0, jackson_js_1.JsonProperty)()
], DownloadAmazonListings.prototype, "tenant", void 0);
exports.DownloadAmazonListings = DownloadAmazonListings;
//# sourceMappingURL=download.js.map