diff --git a/src/index.ts b/src/index.ts
index 91f5b5d..d86b8bb 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -48,6 +48,7 @@ import { GetBrowseNodesResource } from "./model/GetBrowseNodesResource";
import { GetBrowseNodesResponse } from "./model/GetBrowseNodesResponse";
import { GetItemsRequest } from "./model/GetItemsRequest";
import { GetItemsResource } from "./model/GetItemsResource";
+import { ItemIdType } from "./model/ItemIdType";
import { Languages } from "./model/Languages";
import { LanguageType } from "./model/LanguageType";
import { MultiValuedAttribute } from "./model/MultiValuedAttribute";
diff --git a/src/model/ItemIdType.ts b/src/model/ItemIdType.ts
index 065e1cd..7fd9bd9 100644
--- a/src/model/ItemIdType.ts
+++ b/src/model/ItemIdType.ts
@@ -21,46 +21,35 @@
*
*/
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.ProductAdvertisingAPIv1) {
- root.ProductAdvertisingAPIv1 = {};
- }
- root.ProductAdvertisingAPIv1.ItemIdType = factory(root.ProductAdvertisingAPIv1.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
+/**
+ * Enum class ItemIdType.
+ * @enum {}
+ * @readonly
+ */
+export const ItemIdTypeValues = {
/**
- * Enum class ItemIdType.
- * @enum {}
- * @readonly
+ * value: "ASIN"
+ * @const
*/
- var exports = {
- /**
- * value: "ASIN"
- * @const
- */
- "ASIN": "ASIN" };
+ "ASIN": "ASIN",
+};
+/**
+ * Enum class ItemIdType.
+ * @enum {}
+ * @readonly
+ */
+export class ItemIdType {
+ /**
+ * value: "ASIN"
+ * @const
+ */
+ public static get ASIN() { return ItemIdTypeValues.ASIN; }
+
/**
* Returns a ItemIdType enum value from a Javascript object name.
* @param {Object} data The plain JavaScript object containing the name of the enum value.
* @return {module:model/ItemIdType} The enum ItemIdType value.
*/
- exports.constructFromObject = function(object) {
- return object;
- }
-
- return exports;
-}));
-
-
+ public static constructFromObject(object: any) { return object;}
+};
diff --git a/src/model/OfferCount.ts b/src/model/OfferCount.ts
index 1df7ee9..2bcc8a4 100644
--- a/src/model/OfferCount.ts
+++ b/src/model/OfferCount.ts
@@ -21,42 +21,20 @@
*
*/
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.ProductAdvertisingAPIv1) {
- root.ProductAdvertisingAPIv1 = {};
- }
- root.ProductAdvertisingAPIv1.OfferCount = factory(root.ProductAdvertisingAPIv1.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
+/**
+ * The OfferCount model module.
+ * @module model/OfferCount
+ * @version 1.0.0
+ */
+// I'm not really even sure why this is a whole code module.
-
-
- /**
- * The OfferCount model module.
- * @module model/OfferCount
- * @version 1.0.0
- */
-
- /**
- * Constructs a new OfferCount.
- * @alias module:model/OfferCount
- * @class
- */
- var exports = function() {
- var _this = this;
-
- };
-
+/**
+ * Constructs a new OfferCount.
+ * @alias module:model/OfferCount
+ * @class
+ */
+export class OfferCount {
/**
* Constructs a OfferCount from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data to obj if supplied or a new instance if not.
@@ -64,14 +42,7 @@
* @param {module:model/OfferCount} obj Optional instance to populate.
* @return {module:model/OfferCount} The populated OfferCount instance.
*/
- exports.constructFromObject = function(data, obj) {
+ public static constructFromObject(data: any, _obj?: string) {
return data;
}
-
-
-
-
- return exports;
-}));
-
-
+};