@teemill/product-catalog 1.9.1 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/ProductsApi.d.ts +15 -1
  5. package/dist/apis/ProductsApi.js +226 -355
  6. package/dist/apis/VariantsApi.d.ts +1 -1
  7. package/dist/apis/VariantsApi.js +83 -187
  8. package/dist/esm/apis/ProductsApi.d.ts +107 -0
  9. package/dist/esm/apis/ProductsApi.js +300 -0
  10. package/dist/esm/apis/VariantsApi.d.ts +50 -0
  11. package/dist/esm/apis/VariantsApi.js +127 -0
  12. package/dist/esm/apis/index.d.ts +2 -0
  13. package/dist/esm/apis/index.js +4 -0
  14. package/dist/esm/index.d.ts +3 -0
  15. package/dist/esm/index.js +5 -0
  16. package/dist/esm/models/ApiError.d.ts +37 -0
  17. package/dist/esm/models/ApiError.js +42 -0
  18. package/dist/esm/models/Attribute.d.ts +50 -0
  19. package/dist/esm/models/Attribute.js +49 -0
  20. package/dist/esm/models/AttributeThumbnail.d.ts +46 -0
  21. package/dist/esm/models/AttributeThumbnail.js +48 -0
  22. package/dist/esm/models/CreateProductRequest.d.ts +88 -0
  23. package/dist/esm/models/CreateProductRequest.js +63 -0
  24. package/dist/esm/models/CreateProductRequestAdditionalFilesInner.d.ts +31 -0
  25. package/dist/esm/models/CreateProductRequestAdditionalFilesInner.js +43 -0
  26. package/dist/esm/models/CreateProductRequestImagesInner.d.ts +31 -0
  27. package/dist/esm/models/CreateProductRequestImagesInner.js +38 -0
  28. package/dist/esm/models/CreateProductRequestSeoMetadata.d.ts +31 -0
  29. package/dist/esm/models/CreateProductRequestSeoMetadata.js +38 -0
  30. package/dist/esm/models/CreateProductRequestVariantsInner.d.ts +59 -0
  31. package/dist/esm/models/CreateProductRequestVariantsInner.js +57 -0
  32. package/dist/esm/models/CreateProductRequestVariantsInnerApplicationsInner.d.ts +63 -0
  33. package/dist/esm/models/CreateProductRequestVariantsInnerApplicationsInner.js +67 -0
  34. package/dist/esm/models/CreateProductRequestVariantsInnerAttributesInner.d.ts +37 -0
  35. package/dist/esm/models/CreateProductRequestVariantsInnerAttributesInner.js +46 -0
  36. package/dist/esm/models/CreateProductRequestVariantsInnerImagesInner.d.ts +31 -0
  37. package/dist/esm/models/CreateProductRequestVariantsInnerImagesInner.js +43 -0
  38. package/dist/esm/models/CreateProductRequestVariantsInnerRetailPrice.d.ts +37 -0
  39. package/dist/esm/models/CreateProductRequestVariantsInnerRetailPrice.js +46 -0
  40. package/dist/esm/models/CreateProductVariant.d.ts +59 -0
  41. package/dist/esm/models/CreateProductVariant.js +54 -0
  42. package/dist/esm/models/CreateProductVariantApplicationsInner.d.ts +54 -0
  43. package/dist/esm/models/CreateProductVariantApplicationsInner.js +58 -0
  44. package/dist/esm/models/CreateProductVariantAttributesInner.d.ts +37 -0
  45. package/dist/esm/models/CreateProductVariantAttributesInner.js +44 -0
  46. package/dist/esm/models/CreateProductVariantRetailPrice.d.ts +37 -0
  47. package/dist/esm/models/CreateProductVariantRetailPrice.js +44 -0
  48. package/dist/esm/models/Image.d.ts +67 -0
  49. package/dist/esm/models/Image.js +50 -0
  50. package/dist/esm/models/ImportProducts200Response.d.ts +31 -0
  51. package/dist/esm/models/ImportProducts200Response.js +38 -0
  52. package/dist/esm/models/ModelFile.d.ts +31 -0
  53. package/dist/esm/models/ModelFile.js +38 -0
  54. package/dist/esm/models/Price.d.ts +37 -0
  55. package/dist/esm/models/Price.js +40 -0
  56. package/dist/esm/models/Product.d.ts +113 -0
  57. package/dist/esm/models/Product.js +71 -0
  58. package/dist/esm/models/ProductAdditionalFilesInner.d.ts +37 -0
  59. package/dist/esm/models/ProductAdditionalFilesInner.js +40 -0
  60. package/dist/esm/models/ProductsResponse.d.ts +38 -0
  61. package/dist/esm/models/ProductsResponse.js +41 -0
  62. package/dist/esm/models/SeoMetadata.d.ts +31 -0
  63. package/dist/esm/models/SeoMetadata.js +38 -0
  64. package/dist/esm/models/Stock.d.ts +31 -0
  65. package/dist/esm/models/Stock.js +38 -0
  66. package/dist/esm/models/UpdateProductRequest.d.ts +87 -0
  67. package/dist/esm/models/UpdateProductRequest.js +58 -0
  68. package/dist/esm/models/Variant.d.ts +114 -0
  69. package/dist/esm/models/Variant.js +71 -0
  70. package/dist/esm/models/VariantProduct.d.ts +37 -0
  71. package/dist/esm/models/VariantProduct.js +40 -0
  72. package/dist/esm/models/VariantsResponse.d.ts +38 -0
  73. package/dist/esm/models/VariantsResponse.js +41 -0
  74. package/dist/esm/models/index.d.ts +23 -0
  75. package/dist/esm/models/index.js +25 -0
  76. package/dist/esm/runtime.d.ts +187 -0
  77. package/dist/esm/runtime.js +333 -0
  78. package/dist/models/ApiError.d.ts +1 -1
  79. package/dist/models/ApiError.js +1 -1
  80. package/dist/models/Attribute.d.ts +1 -1
  81. package/dist/models/Attribute.js +2 -2
  82. package/dist/models/AttributeThumbnail.d.ts +1 -1
  83. package/dist/models/AttributeThumbnail.js +1 -1
  84. package/dist/models/CreateProductRequest.d.ts +1 -1
  85. package/dist/models/CreateProductRequest.js +4 -4
  86. package/dist/models/CreateProductRequestAdditionalFilesInner.js +2 -2
  87. package/dist/models/CreateProductRequestImagesInner.d.ts +1 -1
  88. package/dist/models/CreateProductRequestImagesInner.js +1 -1
  89. package/dist/models/CreateProductRequestSeoMetadata.d.ts +1 -1
  90. package/dist/models/CreateProductRequestSeoMetadata.js +1 -1
  91. package/dist/models/CreateProductRequestVariantsInner.js +6 -6
  92. package/dist/models/CreateProductRequestVariantsInnerApplicationsInner.js +1 -1
  93. package/dist/models/CreateProductRequestVariantsInnerAttributesInner.js +1 -1
  94. package/dist/models/CreateProductRequestVariantsInnerImagesInner.js +2 -2
  95. package/dist/models/CreateProductRequestVariantsInnerRetailPrice.js +1 -1
  96. package/dist/models/CreateProductVariant.d.ts +1 -1
  97. package/dist/models/CreateProductVariant.js +5 -5
  98. package/dist/models/CreateProductVariantApplicationsInner.d.ts +2 -11
  99. package/dist/models/CreateProductVariantApplicationsInner.js +2 -10
  100. package/dist/models/CreateProductVariantAttributesInner.d.ts +1 -1
  101. package/dist/models/CreateProductVariantAttributesInner.js +1 -1
  102. package/dist/models/CreateProductVariantRetailPrice.d.ts +1 -1
  103. package/dist/models/CreateProductVariantRetailPrice.js +1 -1
  104. package/dist/models/Image.d.ts +1 -1
  105. package/dist/models/Image.js +1 -1
  106. package/dist/models/ImportProducts200Response.d.ts +1 -1
  107. package/dist/models/ImportProducts200Response.js +1 -1
  108. package/dist/models/ModelFile.d.ts +1 -1
  109. package/dist/models/ModelFile.js +1 -1
  110. package/dist/models/Price.d.ts +1 -1
  111. package/dist/models/Price.js +1 -1
  112. package/dist/models/Product.d.ts +2 -2
  113. package/dist/models/Product.js +5 -5
  114. package/dist/models/ProductAdditionalFilesInner.d.ts +1 -1
  115. package/dist/models/ProductAdditionalFilesInner.js +1 -1
  116. package/dist/models/ProductsResponse.d.ts +1 -1
  117. package/dist/models/ProductsResponse.js +2 -2
  118. package/dist/models/SeoMetadata.d.ts +1 -1
  119. package/dist/models/SeoMetadata.js +1 -1
  120. package/dist/models/Stock.d.ts +1 -1
  121. package/dist/models/Stock.js +1 -1
  122. package/dist/models/UpdateProductRequest.d.ts +1 -1
  123. package/dist/models/UpdateProductRequest.js +3 -3
  124. package/dist/models/Variant.d.ts +2 -2
  125. package/dist/models/Variant.js +6 -6
  126. package/dist/models/VariantProduct.d.ts +1 -1
  127. package/dist/models/VariantProduct.js +1 -1
  128. package/dist/models/VariantsResponse.d.ts +1 -1
  129. package/dist/models/VariantsResponse.js +2 -2
  130. package/dist/runtime.d.ts +1 -1
  131. package/dist/runtime.js +223 -439
  132. package/package.json +4 -2
  133. package/src/apis/ProductsApi.ts +62 -1
  134. package/src/apis/VariantsApi.ts +1 -1
  135. package/src/models/ApiError.ts +1 -1
  136. package/src/models/Attribute.ts +1 -1
  137. package/src/models/AttributeThumbnail.ts +1 -1
  138. package/src/models/CreateProductRequest.ts +1 -1
  139. package/src/models/CreateProductRequestImagesInner.ts +1 -1
  140. package/src/models/CreateProductRequestSeoMetadata.ts +1 -1
  141. package/src/models/CreateProductVariant.ts +1 -1
  142. package/src/models/CreateProductVariantApplicationsInner.ts +2 -12
  143. package/src/models/CreateProductVariantAttributesInner.ts +1 -1
  144. package/src/models/CreateProductVariantRetailPrice.ts +1 -1
  145. package/src/models/Image.ts +1 -1
  146. package/src/models/ImportProducts200Response.ts +1 -1
  147. package/src/models/ModelFile.ts +1 -1
  148. package/src/models/Price.ts +1 -1
  149. package/src/models/Product.ts +2 -2
  150. package/src/models/ProductAdditionalFilesInner.ts +1 -1
  151. package/src/models/ProductsResponse.ts +1 -1
  152. package/src/models/SeoMetadata.ts +1 -1
  153. package/src/models/Stock.ts +1 -1
  154. package/src/models/UpdateProductRequest.ts +1 -1
  155. package/src/models/Variant.ts +2 -2
  156. package/src/models/VariantProduct.ts +1 -1
  157. package/src/models/VariantsResponse.ts +1 -1
  158. package/src/runtime.ts +1 -1
  159. package/tsconfig.esm.json +7 -0
  160. package/tsconfig.json +2 -2
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,7 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AttributeToJSON = exports.AttributeFromJSONTyped = exports.AttributeFromJSON = exports.instanceOfAttribute = void 0;
17
- var AttributeThumbnail_1 = require("./AttributeThumbnail");
17
+ const AttributeThumbnail_1 = require("./AttributeThumbnail");
18
18
  /**
19
19
  * Check if a given object implements the Attribute interface.
20
20
  */
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,9 +14,9 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateProductRequestToJSON = exports.CreateProductRequestFromJSONTyped = exports.CreateProductRequestFromJSON = exports.instanceOfCreateProductRequest = void 0;
17
- var CreateProductRequestImagesInner_1 = require("./CreateProductRequestImagesInner");
18
- var CreateProductRequestSeoMetadata_1 = require("./CreateProductRequestSeoMetadata");
19
- var CreateProductVariant_1 = require("./CreateProductVariant");
17
+ const CreateProductRequestImagesInner_1 = require("./CreateProductRequestImagesInner");
18
+ const CreateProductRequestSeoMetadata_1 = require("./CreateProductRequestSeoMetadata");
19
+ const CreateProductVariant_1 = require("./CreateProductVariant");
20
20
  /**
21
21
  * Check if a given object implements the CreateProductRequest interface.
22
22
  */
@@ -14,12 +14,12 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateProductRequestAdditionalFilesInnerToJSON = exports.CreateProductRequestAdditionalFilesInnerFromJSONTyped = exports.CreateProductRequestAdditionalFilesInnerFromJSON = exports.instanceOfCreateProductRequestAdditionalFilesInner = void 0;
17
- var runtime_1 = require("../runtime");
17
+ const runtime_1 = require("../runtime");
18
18
  /**
19
19
  * Check if a given object implements the CreateProductRequestAdditionalFilesInner interface.
20
20
  */
21
21
  function instanceOfCreateProductRequestAdditionalFilesInner(value) {
22
- var isInstance = true;
22
+ let isInstance = true;
23
23
  return isInstance;
24
24
  }
25
25
  exports.instanceOfCreateProductRequestAdditionalFilesInner = instanceOfCreateProductRequestAdditionalFilesInner;
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,16 +14,16 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateProductRequestVariantsInnerToJSON = exports.CreateProductRequestVariantsInnerFromJSONTyped = exports.CreateProductRequestVariantsInnerFromJSON = exports.instanceOfCreateProductRequestVariantsInner = void 0;
17
- var runtime_1 = require("../runtime");
18
- var CreateProductRequestVariantsInnerApplicationsInner_1 = require("./CreateProductRequestVariantsInnerApplicationsInner");
19
- var CreateProductRequestVariantsInnerAttributesInner_1 = require("./CreateProductRequestVariantsInnerAttributesInner");
20
- var CreateProductRequestVariantsInnerImagesInner_1 = require("./CreateProductRequestVariantsInnerImagesInner");
21
- var CreateProductRequestVariantsInnerRetailPrice_1 = require("./CreateProductRequestVariantsInnerRetailPrice");
17
+ const runtime_1 = require("../runtime");
18
+ const CreateProductRequestVariantsInnerApplicationsInner_1 = require("./CreateProductRequestVariantsInnerApplicationsInner");
19
+ const CreateProductRequestVariantsInnerAttributesInner_1 = require("./CreateProductRequestVariantsInnerAttributesInner");
20
+ const CreateProductRequestVariantsInnerImagesInner_1 = require("./CreateProductRequestVariantsInnerImagesInner");
21
+ const CreateProductRequestVariantsInnerRetailPrice_1 = require("./CreateProductRequestVariantsInnerRetailPrice");
22
22
  /**
23
23
  * Check if a given object implements the CreateProductRequestVariantsInner interface.
24
24
  */
25
25
  function instanceOfCreateProductRequestVariantsInner(value) {
26
- var isInstance = true;
26
+ let isInstance = true;
27
27
  isInstance = isInstance && "attributes" in value;
28
28
  isInstance = isInstance && "retailPrice" in value;
29
29
  return isInstance;
@@ -36,7 +36,7 @@ exports.CreateProductRequestVariantsInnerApplicationsInnerPlacementEnum = {
36
36
  * Check if a given object implements the CreateProductRequestVariantsInnerApplicationsInner interface.
37
37
  */
38
38
  function instanceOfCreateProductRequestVariantsInnerApplicationsInner(value) {
39
- var isInstance = true;
39
+ let isInstance = true;
40
40
  isInstance = isInstance && "technology" in value;
41
41
  isInstance = isInstance && "placement" in value;
42
42
  isInstance = isInstance && "src" in value;
@@ -18,7 +18,7 @@ exports.CreateProductRequestVariantsInnerAttributesInnerToJSON = exports.CreateP
18
18
  * Check if a given object implements the CreateProductRequestVariantsInnerAttributesInner interface.
19
19
  */
20
20
  function instanceOfCreateProductRequestVariantsInnerAttributesInner(value) {
21
- var isInstance = true;
21
+ let isInstance = true;
22
22
  isInstance = isInstance && "name" in value;
23
23
  isInstance = isInstance && "value" in value;
24
24
  return isInstance;
@@ -14,12 +14,12 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateProductRequestVariantsInnerImagesInnerToJSON = exports.CreateProductRequestVariantsInnerImagesInnerFromJSONTyped = exports.CreateProductRequestVariantsInnerImagesInnerFromJSON = exports.instanceOfCreateProductRequestVariantsInnerImagesInner = void 0;
17
- var runtime_1 = require("../runtime");
17
+ const runtime_1 = require("../runtime");
18
18
  /**
19
19
  * Check if a given object implements the CreateProductRequestVariantsInnerImagesInner interface.
20
20
  */
21
21
  function instanceOfCreateProductRequestVariantsInnerImagesInner(value) {
22
- var isInstance = true;
22
+ let isInstance = true;
23
23
  return isInstance;
24
24
  }
25
25
  exports.instanceOfCreateProductRequestVariantsInnerImagesInner = instanceOfCreateProductRequestVariantsInnerImagesInner;
@@ -18,7 +18,7 @@ exports.CreateProductRequestVariantsInnerRetailPriceToJSON = exports.CreateProdu
18
18
  * Check if a given object implements the CreateProductRequestVariantsInnerRetailPrice interface.
19
19
  */
20
20
  function instanceOfCreateProductRequestVariantsInnerRetailPrice(value) {
21
- var isInstance = true;
21
+ let isInstance = true;
22
22
  isInstance = isInstance && "amount" in value;
23
23
  isInstance = isInstance && "currencyCode" in value;
24
24
  return isInstance;
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,10 +14,10 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateProductVariantToJSON = exports.CreateProductVariantFromJSONTyped = exports.CreateProductVariantFromJSON = exports.instanceOfCreateProductVariant = void 0;
17
- var CreateProductRequestImagesInner_1 = require("./CreateProductRequestImagesInner");
18
- var CreateProductVariantApplicationsInner_1 = require("./CreateProductVariantApplicationsInner");
19
- var CreateProductVariantAttributesInner_1 = require("./CreateProductVariantAttributesInner");
20
- var CreateProductVariantRetailPrice_1 = require("./CreateProductVariantRetailPrice");
17
+ const CreateProductRequestImagesInner_1 = require("./CreateProductRequestImagesInner");
18
+ const CreateProductVariantApplicationsInner_1 = require("./CreateProductVariantApplicationsInner");
19
+ const CreateProductVariantAttributesInner_1 = require("./CreateProductVariantAttributesInner");
20
+ const CreateProductVariantRetailPrice_1 = require("./CreateProductVariantRetailPrice");
21
21
  /**
22
22
  * Check if a given object implements the CreateProductVariant interface.
23
23
  */
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,7 +20,7 @@ export interface CreateProductVariantApplicationsInner {
20
20
  * @type {string}
21
21
  * @memberof CreateProductVariantApplicationsInner
22
22
  */
23
- technology: CreateProductVariantApplicationsInnerTechnologyEnum;
23
+ technology: string;
24
24
  /**
25
25
  * Placement of the application. Available placements depend on the chosen product and technology.
26
26
  * @type {string}
@@ -34,15 +34,6 @@ export interface CreateProductVariantApplicationsInner {
34
34
  */
35
35
  src: string;
36
36
  }
37
- /**
38
- * @export
39
- */
40
- export declare const CreateProductVariantApplicationsInnerTechnologyEnum: {
41
- readonly Dtg: "dtg";
42
- readonly Embroidery: "embroidery";
43
- readonly Dtf: "dtf";
44
- };
45
- export type CreateProductVariantApplicationsInnerTechnologyEnum = typeof CreateProductVariantApplicationsInnerTechnologyEnum[keyof typeof CreateProductVariantApplicationsInnerTechnologyEnum];
46
37
  /**
47
38
  * @export
48
39
  */
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,15 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateProductVariantApplicationsInnerToJSON = exports.CreateProductVariantApplicationsInnerFromJSONTyped = exports.CreateProductVariantApplicationsInnerFromJSON = exports.instanceOfCreateProductVariantApplicationsInner = exports.CreateProductVariantApplicationsInnerPlacementEnum = exports.CreateProductVariantApplicationsInnerTechnologyEnum = void 0;
17
- /**
18
- * @export
19
- */
20
- exports.CreateProductVariantApplicationsInnerTechnologyEnum = {
21
- Dtg: 'dtg',
22
- Embroidery: 'embroidery',
23
- Dtf: 'dtf'
24
- };
16
+ exports.CreateProductVariantApplicationsInnerToJSON = exports.CreateProductVariantApplicationsInnerFromJSONTyped = exports.CreateProductVariantApplicationsInnerFromJSON = exports.instanceOfCreateProductVariantApplicationsInner = exports.CreateProductVariantApplicationsInnerPlacementEnum = void 0;
25
17
  /**
26
18
  * @export
27
19
  */
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -110,4 +110,4 @@ export interface Product {
110
110
  export declare function instanceOfProduct(value: object): boolean;
111
111
  export declare function ProductFromJSON(json: any): Product;
112
112
  export declare function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product;
113
- export declare function ProductToJSON(value?: Product | null): any;
113
+ export declare function ProductToJSON(value?: Omit<Product, 'slug'> | null): any;
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,10 +14,10 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProductToJSON = exports.ProductFromJSONTyped = exports.ProductFromJSON = exports.instanceOfProduct = void 0;
17
- var Image_1 = require("./Image");
18
- var ProductAdditionalFilesInner_1 = require("./ProductAdditionalFilesInner");
19
- var SeoMetadata_1 = require("./SeoMetadata");
20
- var Variant_1 = require("./Variant");
17
+ const Image_1 = require("./Image");
18
+ const ProductAdditionalFilesInner_1 = require("./ProductAdditionalFilesInner");
19
+ const SeoMetadata_1 = require("./SeoMetadata");
20
+ const Variant_1 = require("./Variant");
21
21
  /**
22
22
  * Check if a given object implements the Product interface.
23
23
  */
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,7 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProductsResponseToJSON = exports.ProductsResponseFromJSONTyped = exports.ProductsResponseFromJSON = exports.instanceOfProductsResponse = void 0;
17
- var Product_1 = require("./Product");
17
+ const Product_1 = require("./Product");
18
18
  /**
19
19
  * Check if a given object implements the ProductsResponse interface.
20
20
  */
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.9.1
5
+ * The version of the OpenAPI document: 1.11.1
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.9.1
8
+ * The version of the OpenAPI document: 1.11.1
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,8 +14,8 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.UpdateProductRequestToJSON = exports.UpdateProductRequestFromJSONTyped = exports.UpdateProductRequestFromJSON = exports.instanceOfUpdateProductRequest = void 0;
17
- var CreateProductRequestSeoMetadata_1 = require("./CreateProductRequestSeoMetadata");
18
- var CreateProductVariant_1 = require("./CreateProductVariant");
17
+ const CreateProductRequestSeoMetadata_1 = require("./CreateProductRequestSeoMetadata");
18
+ const CreateProductVariant_1 = require("./CreateProductVariant");
19
19
  /**
20
20
  * Check if a given object implements the UpdateProductRequest interface.
21
21
  */