@teemill/product-catalog 1.6.7 → 1.7.0

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 (78) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +2 -2
  3. package/dist/apis/ProductsApi.d.ts +1 -1
  4. package/dist/apis/ProductsApi.js +1 -1
  5. package/dist/apis/VariantsApi.d.ts +1 -1
  6. package/dist/apis/VariantsApi.js +1 -1
  7. package/dist/models/ApiError.d.ts +1 -1
  8. package/dist/models/ApiError.js +1 -1
  9. package/dist/models/Attribute.d.ts +1 -1
  10. package/dist/models/Attribute.js +1 -1
  11. package/dist/models/AttributeThumbnail.d.ts +1 -1
  12. package/dist/models/AttributeThumbnail.js +1 -1
  13. package/dist/models/CreateProductRequest.d.ts +8 -1
  14. package/dist/models/CreateProductRequest.js +4 -1
  15. package/dist/models/CreateProductRequestSeoMetadata.d.ts +31 -0
  16. package/dist/models/CreateProductRequestSeoMetadata.js +50 -0
  17. package/dist/models/CreateProductRequestVariantsInner.d.ts +1 -1
  18. package/dist/models/CreateProductRequestVariantsInner.js +1 -1
  19. package/dist/models/CreateProductRequestVariantsInnerApplicationsInner.d.ts +1 -1
  20. package/dist/models/CreateProductRequestVariantsInnerApplicationsInner.js +1 -1
  21. package/dist/models/CreateProductRequestVariantsInnerAttributesInner.d.ts +1 -1
  22. package/dist/models/CreateProductRequestVariantsInnerAttributesInner.js +1 -1
  23. package/dist/models/CreateProductRequestVariantsInnerImagesInner.d.ts +1 -1
  24. package/dist/models/CreateProductRequestVariantsInnerImagesInner.js +1 -1
  25. package/dist/models/CreateProductRequestVariantsInnerRetailPrice.d.ts +1 -1
  26. package/dist/models/CreateProductRequestVariantsInnerRetailPrice.js +1 -1
  27. package/dist/models/Image.d.ts +1 -1
  28. package/dist/models/Image.js +1 -1
  29. package/dist/models/ImportProducts200Response.d.ts +1 -1
  30. package/dist/models/ImportProducts200Response.js +1 -1
  31. package/dist/models/Price.d.ts +1 -1
  32. package/dist/models/Price.js +1 -1
  33. package/dist/models/Product.d.ts +8 -1
  34. package/dist/models/Product.js +4 -1
  35. package/dist/models/ProductAdditionalFilesInner.d.ts +1 -1
  36. package/dist/models/ProductAdditionalFilesInner.js +1 -1
  37. package/dist/models/ProductsResponse.d.ts +1 -1
  38. package/dist/models/ProductsResponse.js +1 -1
  39. package/dist/models/SeoMetadata.d.ts +31 -0
  40. package/dist/models/SeoMetadata.js +50 -0
  41. package/dist/models/Stock.d.ts +1 -1
  42. package/dist/models/Stock.js +1 -1
  43. package/dist/models/Variant.d.ts +1 -1
  44. package/dist/models/Variant.js +1 -1
  45. package/dist/models/VariantProduct.d.ts +1 -1
  46. package/dist/models/VariantProduct.js +1 -1
  47. package/dist/models/VariantsResponse.d.ts +1 -1
  48. package/dist/models/VariantsResponse.js +1 -1
  49. package/dist/models/index.d.ts +2 -0
  50. package/dist/models/index.js +2 -0
  51. package/dist/runtime.d.ts +1 -1
  52. package/dist/runtime.js +1 -1
  53. package/package.json +1 -1
  54. package/src/apis/ProductsApi.ts +1 -1
  55. package/src/apis/VariantsApi.ts +1 -1
  56. package/src/models/ApiError.ts +1 -1
  57. package/src/models/Attribute.ts +1 -1
  58. package/src/models/AttributeThumbnail.ts +1 -1
  59. package/src/models/CreateProductRequest.ts +15 -1
  60. package/src/models/CreateProductRequestSeoMetadata.ts +65 -0
  61. package/src/models/CreateProductRequestVariantsInner.ts +1 -1
  62. package/src/models/CreateProductRequestVariantsInnerApplicationsInner.ts +1 -1
  63. package/src/models/CreateProductRequestVariantsInnerAttributesInner.ts +1 -1
  64. package/src/models/CreateProductRequestVariantsInnerImagesInner.ts +1 -1
  65. package/src/models/CreateProductRequestVariantsInnerRetailPrice.ts +1 -1
  66. package/src/models/Image.ts +1 -1
  67. package/src/models/ImportProducts200Response.ts +1 -1
  68. package/src/models/Price.ts +1 -1
  69. package/src/models/Product.ts +15 -1
  70. package/src/models/ProductAdditionalFilesInner.ts +1 -1
  71. package/src/models/ProductsResponse.ts +1 -1
  72. package/src/models/SeoMetadata.ts +65 -0
  73. package/src/models/Stock.ts +1 -1
  74. package/src/models/Variant.ts +1 -1
  75. package/src/models/VariantProduct.ts +1 -1
  76. package/src/models/VariantsResponse.ts +1 -1
  77. package/src/models/index.ts +2 -0
  78. package/src/runtime.ts +1 -1
@@ -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.6.7
5
+ * The version of the OpenAPI document: 1.7.0
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.6.7
8
+ * The version of the OpenAPI document: 1.7.0
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.6.7
5
+ * The version of the OpenAPI document: 1.7.0
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.6.7
8
+ * The version of the OpenAPI document: 1.7.0
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.6.7
5
+ * The version of the OpenAPI document: 1.7.0
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.6.7
8
+ * The version of the OpenAPI document: 1.7.0
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.6.7
5
+ * The version of the OpenAPI document: 1.7.0
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.6.7
8
+ * The version of the OpenAPI document: 1.7.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,6 +2,7 @@ export * from './ApiError';
2
2
  export * from './Attribute';
3
3
  export * from './AttributeThumbnail';
4
4
  export * from './CreateProductRequest';
5
+ export * from './CreateProductRequestSeoMetadata';
5
6
  export * from './CreateProductRequestVariantsInner';
6
7
  export * from './CreateProductRequestVariantsInnerApplicationsInner';
7
8
  export * from './CreateProductRequestVariantsInnerAttributesInner';
@@ -13,6 +14,7 @@ export * from './Price';
13
14
  export * from './Product';
14
15
  export * from './ProductAdditionalFilesInner';
15
16
  export * from './ProductsResponse';
17
+ export * from './SeoMetadata';
16
18
  export * from './Stock';
17
19
  export * from './Variant';
18
20
  export * from './VariantProduct';
@@ -20,6 +20,7 @@ __exportStar(require("./ApiError"), exports);
20
20
  __exportStar(require("./Attribute"), exports);
21
21
  __exportStar(require("./AttributeThumbnail"), exports);
22
22
  __exportStar(require("./CreateProductRequest"), exports);
23
+ __exportStar(require("./CreateProductRequestSeoMetadata"), exports);
23
24
  __exportStar(require("./CreateProductRequestVariantsInner"), exports);
24
25
  __exportStar(require("./CreateProductRequestVariantsInnerApplicationsInner"), exports);
25
26
  __exportStar(require("./CreateProductRequestVariantsInnerAttributesInner"), exports);
@@ -31,6 +32,7 @@ __exportStar(require("./Price"), exports);
31
32
  __exportStar(require("./Product"), exports);
32
33
  __exportStar(require("./ProductAdditionalFilesInner"), exports);
33
34
  __exportStar(require("./ProductsResponse"), exports);
35
+ __exportStar(require("./SeoMetadata"), exports);
34
36
  __exportStar(require("./Stock"), exports);
35
37
  __exportStar(require("./Variant"), exports);
36
38
  __exportStar(require("./VariantProduct"), exports);
package/dist/runtime.d.ts CHANGED
@@ -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.6.7
5
+ * The version of the OpenAPI document: 1.7.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/runtime.js CHANGED
@@ -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.6.7
8
+ * The version of the OpenAPI document: 1.7.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/product-catalog",
3
- "version": "1.6.7",
3
+ "version": "1.7.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,12 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
+ import type { CreateProductRequestSeoMetadata } from './CreateProductRequestSeoMetadata';
17
+ import {
18
+ CreateProductRequestSeoMetadataFromJSON,
19
+ CreateProductRequestSeoMetadataFromJSONTyped,
20
+ CreateProductRequestSeoMetadataToJSON,
21
+ } from './CreateProductRequestSeoMetadata';
16
22
  import type { CreateProductRequestVariantsInner } from './CreateProductRequestVariantsInner';
17
23
  import {
18
24
  CreateProductRequestVariantsInnerFromJSON,
@@ -62,6 +68,12 @@ export interface CreateProductRequest {
62
68
  * @memberof CreateProductRequest
63
69
  */
64
70
  slug?: string;
71
+ /**
72
+ *
73
+ * @type {CreateProductRequestSeoMetadata}
74
+ * @memberof CreateProductRequest
75
+ */
76
+ seoMetadata?: CreateProductRequestSeoMetadata;
65
77
  /**
66
78
  * Additional product tags used for searching and filtering.
67
79
  * @type {Array<string>}
@@ -108,6 +120,7 @@ export function CreateProductRequestFromJSONTyped(json: any, ignoreDiscriminator
108
120
  'description': !exists(json, 'description') ? undefined : json['description'],
109
121
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
110
122
  'slug': !exists(json, 'slug') ? undefined : json['slug'],
123
+ 'seoMetadata': !exists(json, 'seoMetadata') ? undefined : CreateProductRequestSeoMetadataFromJSON(json['seoMetadata']),
111
124
  'tags': !exists(json, 'tags') ? undefined : json['tags'],
112
125
  'variants': ((json['variants'] as Array<any>).map(CreateProductRequestVariantsInnerFromJSON)),
113
126
  'additionalFiles': !exists(json, 'additionalFiles') ? undefined : ((json['additionalFiles'] as Array<any>).map(CreateProductRequestVariantsInnerImagesInnerFromJSON)),
@@ -128,6 +141,7 @@ export function CreateProductRequestToJSON(value?: CreateProductRequest | null):
128
141
  'description': value.description,
129
142
  'enabled': value.enabled,
130
143
  'slug': value.slug,
144
+ 'seoMetadata': CreateProductRequestSeoMetadataToJSON(value.seoMetadata),
131
145
  'tags': value.tags,
132
146
  'variants': ((value.variants as Array<any>).map(CreateProductRequestVariantsInnerToJSON)),
133
147
  'additionalFiles': value.additionalFiles === undefined ? undefined : ((value.additionalFiles as Array<any>).map(CreateProductRequestVariantsInnerImagesInnerToJSON)),
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Product Catalog API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.7.0
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface CreateProductRequestSeoMetadata
20
+ */
21
+ export interface CreateProductRequestSeoMetadata {
22
+ /**
23
+ * Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
24
+ * @type {string}
25
+ * @memberof CreateProductRequestSeoMetadata
26
+ */
27
+ title?: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the CreateProductRequestSeoMetadata interface.
32
+ */
33
+ export function instanceOfCreateProductRequestSeoMetadata(value: object): boolean {
34
+ let isInstance = true;
35
+
36
+ return isInstance;
37
+ }
38
+
39
+ export function CreateProductRequestSeoMetadataFromJSON(json: any): CreateProductRequestSeoMetadata {
40
+ return CreateProductRequestSeoMetadataFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function CreateProductRequestSeoMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProductRequestSeoMetadata {
44
+ if ((json === undefined) || (json === null)) {
45
+ return json;
46
+ }
47
+ return {
48
+
49
+ 'title': !exists(json, 'title') ? undefined : json['title'],
50
+ };
51
+ }
52
+
53
+ export function CreateProductRequestSeoMetadataToJSON(value?: CreateProductRequestSeoMetadata | null): any {
54
+ if (value === undefined) {
55
+ return undefined;
56
+ }
57
+ if (value === null) {
58
+ return null;
59
+ }
60
+ return {
61
+
62
+ 'title': value.title,
63
+ };
64
+ }
65
+
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,6 +25,12 @@ import {
25
25
  ProductAdditionalFilesInnerFromJSONTyped,
26
26
  ProductAdditionalFilesInnerToJSON,
27
27
  } from './ProductAdditionalFilesInner';
28
+ import type { SeoMetadata } from './SeoMetadata';
29
+ import {
30
+ SeoMetadataFromJSON,
31
+ SeoMetadataFromJSONTyped,
32
+ SeoMetadataToJSON,
33
+ } from './SeoMetadata';
28
34
  import type { Variant } from './Variant';
29
35
  import {
30
36
  VariantFromJSON,
@@ -68,6 +74,12 @@ export interface Product {
68
74
  * @memberof Product
69
75
  */
70
76
  readonly slug?: string;
77
+ /**
78
+ *
79
+ * @type {SeoMetadata}
80
+ * @memberof Product
81
+ */
82
+ seoMetadata?: SeoMetadata;
71
83
  /**
72
84
  *
73
85
  * @type {Array<string>}
@@ -138,6 +150,7 @@ export function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
138
150
  'title': json['title'],
139
151
  'description': json['description'],
140
152
  'slug': !exists(json, 'slug') ? undefined : json['slug'],
153
+ 'seoMetadata': !exists(json, 'seoMetadata') ? undefined : SeoMetadataFromJSON(json['seoMetadata']),
141
154
  'tags': !exists(json, 'tags') ? undefined : json['tags'],
142
155
  'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
143
156
  'updatedAt': !exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
@@ -161,6 +174,7 @@ export function ProductToJSON(value?: Product | null): any {
161
174
  'ref': value.ref,
162
175
  'title': value.title,
163
176
  'description': value.description,
177
+ 'seoMetadata': SeoMetadataToJSON(value.seoMetadata),
164
178
  'tags': value.tags,
165
179
  'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
166
180
  'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Product Catalog API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.7.0
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * SEO metadata for the product
18
+ * @export
19
+ * @interface SeoMetadata
20
+ */
21
+ export interface SeoMetadata {
22
+ /**
23
+ * Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
24
+ * @type {string}
25
+ * @memberof SeoMetadata
26
+ */
27
+ title?: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the SeoMetadata interface.
32
+ */
33
+ export function instanceOfSeoMetadata(value: object): boolean {
34
+ let isInstance = true;
35
+
36
+ return isInstance;
37
+ }
38
+
39
+ export function SeoMetadataFromJSON(json: any): SeoMetadata {
40
+ return SeoMetadataFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function SeoMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeoMetadata {
44
+ if ((json === undefined) || (json === null)) {
45
+ return json;
46
+ }
47
+ return {
48
+
49
+ 'title': !exists(json, 'title') ? undefined : json['title'],
50
+ };
51
+ }
52
+
53
+ export function SeoMetadataToJSON(value?: SeoMetadata | null): any {
54
+ if (value === undefined) {
55
+ return undefined;
56
+ }
57
+ if (value === null) {
58
+ return null;
59
+ }
60
+ return {
61
+
62
+ 'title': value.title,
63
+ };
64
+ }
65
+
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,6 +4,7 @@ export * from './ApiError';
4
4
  export * from './Attribute';
5
5
  export * from './AttributeThumbnail';
6
6
  export * from './CreateProductRequest';
7
+ export * from './CreateProductRequestSeoMetadata';
7
8
  export * from './CreateProductRequestVariantsInner';
8
9
  export * from './CreateProductRequestVariantsInnerApplicationsInner';
9
10
  export * from './CreateProductRequestVariantsInnerAttributesInner';
@@ -15,6 +16,7 @@ export * from './Price';
15
16
  export * from './Product';
16
17
  export * from './ProductAdditionalFilesInner';
17
18
  export * from './ProductsResponse';
19
+ export * from './SeoMetadata';
18
20
  export * from './Stock';
19
21
  export * from './Variant';
20
22
  export * from './VariantProduct';
package/src/runtime.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.6.7
7
+ * The version of the OpenAPI document: 1.7.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).