@teemill/product-catalog 1.88.1 → 1.90.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.
@@ -0,0 +1,138 @@
1
+ .gitignore
2
+ .npmignore
3
+ .openapi-generator-ignore
4
+ README.md
5
+ api.ts
6
+ base.ts
7
+ common.ts
8
+ configuration.ts
9
+ docs/Action.md
10
+ docs/AdditionalFile.md
11
+ docs/AnalyticsItem.md
12
+ docs/AnalyticsSummary.md
13
+ docs/ApiError.md
14
+ docs/Application.md
15
+ docs/ApplicationGroup.md
16
+ docs/ApplicationGroupsApi.md
17
+ docs/ApplicationGroupsResponse.md
18
+ docs/ApplicationMockup.md
19
+ docs/ApplicationProperties.md
20
+ docs/ApplicationPropertiesMetadata.md
21
+ docs/ApplicationPropertiesMetadataPersonalization.md
22
+ docs/ApplicationPropertiesPersonalization.md
23
+ docs/ApplicationPropertiesPersonalizationRules.md
24
+ docs/ApplicationPropertiesPosition.md
25
+ docs/ApplicationPropertiesPositionInference.md
26
+ docs/ApplicationPropertiesProperties.md
27
+ docs/ApplicationSet.md
28
+ docs/ApplicationSet1.md
29
+ docs/ApplicationSetRecord.md
30
+ docs/ApplicationSetsApi.md
31
+ docs/ApplicationSetsResponse.md
32
+ docs/ApplicationTechnologiesApi.md
33
+ docs/ApplicationTechnologiesResponse.md
34
+ docs/ApplicationTechnology.md
35
+ docs/ApplicationTechnologyIntegrationProduct.md
36
+ docs/Attribute.md
37
+ docs/AttributeThumbnail.md
38
+ docs/Attributes1Inner.md
39
+ docs/BundleProduct.md
40
+ docs/CreateApplication.md
41
+ docs/CreateApplicationGroupRequest.md
42
+ docs/CreateApplicationProperties.md
43
+ docs/CreateApplicationSetRequest.md
44
+ docs/CreateApplicationSetRequestRecordsInner.md
45
+ docs/CreateApplicationSetRequestRecordsInnerAttributesInner.md
46
+ docs/CreateBundleProduct.md
47
+ docs/CreateBundleProductBundleItemsInner.md
48
+ docs/CreateBundleProductSeoMetadata.md
49
+ docs/CreateDigitalProduct.md
50
+ docs/CreateDigitalProductVariantsInner.md
51
+ docs/CreateDigitalProductVariantsInnerAttributesInner.md
52
+ docs/CreateDigitalProductVariantsInnerImagesInner.md
53
+ docs/CreateProduct.md
54
+ docs/CreateProductAdditionalFilesInner.md
55
+ docs/CreateProductImagesInner.md
56
+ docs/CreateProductRequest.md
57
+ docs/CreateProductVariant.md
58
+ docs/CreateProductVariantAttributesInner.md
59
+ docs/CreateProductVariantImagesInner.md
60
+ docs/CreateProductVideosInner.md
61
+ docs/DeleteProductsRequest.md
62
+ docs/DuplicateProducts202Response.md
63
+ docs/DuplicateProductsRequest.md
64
+ docs/ExportProducts202Response.md
65
+ docs/Image.md
66
+ docs/ImageFile.md
67
+ docs/ImageFileFocalPoint.md
68
+ docs/ImportProducts200Response.md
69
+ docs/License.md
70
+ docs/Location.md
71
+ docs/MetaField.md
72
+ docs/NamedPrice.md
73
+ docs/OptimisationHistoryItem.md
74
+ docs/Price.md
75
+ docs/Product.md
76
+ docs/ProductAdditionalFilesInner.md
77
+ docs/ProductAnalyticsApi.md
78
+ docs/ProductAnalyticsResponse.md
79
+ docs/ProductApplicationSetsInner.md
80
+ docs/ProductBundleItemsInner.md
81
+ docs/ProductCreatorsApi.md
82
+ docs/ProductGfnProduct.md
83
+ docs/ProductType.md
84
+ docs/ProductTypeListResponse.md
85
+ docs/ProductTypesApi.md
86
+ docs/ProductWarehouseProduct.md
87
+ docs/ProductsApi.md
88
+ docs/ProductsResponse.md
89
+ docs/Recommendation.md
90
+ docs/RequiredPrice.md
91
+ docs/SEOMetadata.md
92
+ docs/SEOMetadata1.md
93
+ docs/SalePrice.md
94
+ docs/SeoOptimiseProducts202Response.md
95
+ docs/SeoOptimiseProductsRequest.md
96
+ docs/Stock.md
97
+ docs/TargetSearchPhraseData.md
98
+ docs/TextApplicationProperties.md
99
+ docs/TextApplicationPropertiesPersonalization.md
100
+ docs/TextApplicationPropertiesPersonalizationRules.md
101
+ docs/TextApplicationPropertiesPosition.md
102
+ docs/UpdateApplicationGroupRequest.md
103
+ docs/UpdateApplicationSetRequest.md
104
+ docs/UpdateApplicationSetRequestRecordsInner.md
105
+ docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.md
106
+ docs/UpdateProductRequest.md
107
+ docs/UpdateProductRequestBundleItemsInner.md
108
+ docs/UpdateProductRequestBundleItemsInnerConfig.md
109
+ docs/UpdateProductRequestBundleItemsInnerConfigValidOptionsInner.md
110
+ docs/UpdateProductRequestIntegrationConnectionsInner.md
111
+ docs/UpdateProductsRequest.md
112
+ docs/UpdateProductsRequestProductsInner.md
113
+ docs/UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md
114
+ docs/UpdateProductsRequestProductsInnerLicense.md
115
+ docs/UpdateProductsRequestProductsInnerSeoMetadata.md
116
+ docs/UpdateProductsRequestProductsInnerVariantsInner.md
117
+ docs/UpdateProductsRequestProductsInnerVariantsInnerAttributesInner.md
118
+ docs/UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner.md
119
+ docs/UpdateProductsRequestProductsInnerVariantsInnerRetailPrice.md
120
+ docs/UpdateProductsRequestProductsInnerVariantsInnerSalePrice.md
121
+ docs/UserList.md
122
+ docs/UserListCreatorsInner.md
123
+ docs/UserListCreatorsInnerAvatar.md
124
+ docs/Variant.md
125
+ docs/VariantGfnVariant.md
126
+ docs/VariantIntegrationConnectionsInner.md
127
+ docs/VariantProduct.md
128
+ docs/VariantWarehouseVariant.md
129
+ docs/VariantWholesaleCost.md
130
+ docs/VariantsApi.md
131
+ docs/VariantsResponse.md
132
+ docs/Video.md
133
+ docs/VideoFile.md
134
+ git_push.sh
135
+ index.ts
136
+ package.json
137
+ tsconfig.esm.json
138
+ tsconfig.json
@@ -0,0 +1 @@
1
+ 7.20.0
@@ -0,0 +1,23 @@
1
+ # OpenAPI Generator Ignore
2
+ # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
+
4
+ # Use this file to prevent files from being overwritten by the generator.
5
+ # The patterns follow closely to .gitignore or .dockerignore.
6
+
7
+ # As an example, the C# client generator defines ApiClient.cs.
8
+ # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
+ #ApiClient.cs
10
+
11
+ # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
+ #foo/*/qux
13
+ # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
+
15
+ # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
+ #foo/**/qux
17
+ # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
+
19
+ # You can also negate patterns with an exclamation (!).
20
+ # For example, you can ignore all files in a docs folder with the file extension .md:
21
+ #docs/*.md
22
+ # Then explicitly reverse the ignore rule for a single file:
23
+ #!docs/README.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/product-catalog@1.88.1
1
+ ## @teemill/product-catalog@1.90.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/product-catalog@1.88.1 --save
39
+ npm install @teemill/product-catalog@1.90.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -121,6 +121,10 @@ Class | Method | HTTP request | Description
121
121
  - [CreateBundleProduct](docs/CreateBundleProduct.md)
122
122
  - [CreateBundleProductBundleItemsInner](docs/CreateBundleProductBundleItemsInner.md)
123
123
  - [CreateBundleProductSeoMetadata](docs/CreateBundleProductSeoMetadata.md)
124
+ - [CreateDigitalProduct](docs/CreateDigitalProduct.md)
125
+ - [CreateDigitalProductVariantsInner](docs/CreateDigitalProductVariantsInner.md)
126
+ - [CreateDigitalProductVariantsInnerAttributesInner](docs/CreateDigitalProductVariantsInnerAttributesInner.md)
127
+ - [CreateDigitalProductVariantsInnerImagesInner](docs/CreateDigitalProductVariantsInnerImagesInner.md)
124
128
  - [CreateProduct](docs/CreateProduct.md)
125
129
  - [CreateProductAdditionalFilesInner](docs/CreateProductAdditionalFilesInner.md)
126
130
  - [CreateProductImagesInner](docs/CreateProductImagesInner.md)
package/api.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Product Catalog API
4
+ * Product Catalog
5
5
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.88.1
7
+ * The version of the OpenAPI document: 1.90.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -778,6 +778,50 @@ export interface CreateBundleProductSeoMetadata {
778
778
  */
779
779
  'description'?: string | null;
780
780
  }
781
+ /**
782
+ * A digital product is a product that is not physical, it is a service that is sold.
783
+ */
784
+ export interface CreateDigitalProduct {
785
+ /**
786
+ * The title of the product
787
+ */
788
+ 'title': string;
789
+ /**
790
+ * An explicit flag to indicate that the product is a digital product.
791
+ */
792
+ 'isDigital': boolean;
793
+ /**
794
+ * A list of variants to create for the product.
795
+ */
796
+ 'variants': Array<CreateDigitalProductVariantsInner>;
797
+ }
798
+ export interface CreateDigitalProductVariantsInner {
799
+ /**
800
+ * The attributes of the variant.
801
+ */
802
+ 'attributes': Array<CreateDigitalProductVariantsInnerAttributesInner>;
803
+ /**
804
+ * Images to attach to the product.
805
+ */
806
+ 'images': Array<CreateDigitalProductVariantsInnerImagesInner>;
807
+ 'retailPrice': Price;
808
+ }
809
+ export interface CreateDigitalProductVariantsInnerAttributesInner {
810
+ /**
811
+ * The name of the attribute.
812
+ */
813
+ 'name': string;
814
+ /**
815
+ * The value of the attribute.
816
+ */
817
+ 'value': string;
818
+ }
819
+ export interface CreateDigitalProductVariantsInnerImagesInner {
820
+ /**
821
+ * Publicly available file URL.
822
+ */
823
+ 'src': string;
824
+ }
781
825
  export interface CreateProduct {
782
826
  /**
783
827
  * Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
@@ -877,7 +921,7 @@ export interface CreateProductImagesInner {
877
921
  /**
878
922
  * @type CreateProductRequest
879
923
  */
880
- export type CreateProductRequest = CreateBundleProduct | CreateProduct;
924
+ export type CreateProductRequest = CreateBundleProduct | CreateDigitalProduct | CreateProduct;
881
925
 
882
926
  export interface CreateProductVariant {
883
927
  /**
@@ -1192,6 +1236,10 @@ export interface Product {
1192
1236
  * The user ID of the user who created the product
1193
1237
  */
1194
1238
  'createdBy'?: string | null;
1239
+ /**
1240
+ * Whether the product is digital
1241
+ */
1242
+ 'isDigital'?: boolean;
1195
1243
  }
1196
1244
  export interface ProductAdditionalFilesInner {
1197
1245
  /**
package/base.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Product Catalog API
4
+ * Product Catalog
5
5
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.88.1
7
+ * The version of the OpenAPI document: 1.90.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Product Catalog API
4
+ * Product Catalog
5
5
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.88.1
7
+ * The version of the OpenAPI document: 1.90.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /**
3
- * Product Catalog API
3
+ * Product Catalog
4
4
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
5
5
  *
6
- * The version of the OpenAPI document: 1.88.1
6
+ * The version of the OpenAPI document: 1.90.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Product Catalog API
2
+ * Product Catalog
3
3
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.88.1
5
+ * The version of the OpenAPI document: 1.90.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -742,6 +742,50 @@ export interface CreateBundleProductSeoMetadata {
742
742
  */
743
743
  'description'?: string | null;
744
744
  }
745
+ /**
746
+ * A digital product is a product that is not physical, it is a service that is sold.
747
+ */
748
+ export interface CreateDigitalProduct {
749
+ /**
750
+ * The title of the product
751
+ */
752
+ 'title': string;
753
+ /**
754
+ * An explicit flag to indicate that the product is a digital product.
755
+ */
756
+ 'isDigital': boolean;
757
+ /**
758
+ * A list of variants to create for the product.
759
+ */
760
+ 'variants': Array<CreateDigitalProductVariantsInner>;
761
+ }
762
+ export interface CreateDigitalProductVariantsInner {
763
+ /**
764
+ * The attributes of the variant.
765
+ */
766
+ 'attributes': Array<CreateDigitalProductVariantsInnerAttributesInner>;
767
+ /**
768
+ * Images to attach to the product.
769
+ */
770
+ 'images': Array<CreateDigitalProductVariantsInnerImagesInner>;
771
+ 'retailPrice': Price;
772
+ }
773
+ export interface CreateDigitalProductVariantsInnerAttributesInner {
774
+ /**
775
+ * The name of the attribute.
776
+ */
777
+ 'name': string;
778
+ /**
779
+ * The value of the attribute.
780
+ */
781
+ 'value': string;
782
+ }
783
+ export interface CreateDigitalProductVariantsInnerImagesInner {
784
+ /**
785
+ * Publicly available file URL.
786
+ */
787
+ 'src': string;
788
+ }
745
789
  export interface CreateProduct {
746
790
  /**
747
791
  * Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
@@ -841,7 +885,7 @@ export interface CreateProductImagesInner {
841
885
  /**
842
886
  * @type CreateProductRequest
843
887
  */
844
- export type CreateProductRequest = CreateBundleProduct | CreateProduct;
888
+ export type CreateProductRequest = CreateBundleProduct | CreateDigitalProduct | CreateProduct;
845
889
  export interface CreateProductVariant {
846
890
  /**
847
891
  * One entry per attribute (e.g. Size, Colour). The name and value of each attribute must match the GFN Catalog API exactly — use the GFN Catalog API to list the product and its variants to get the exact strings (casing and spelling must match).
@@ -1149,6 +1193,10 @@ export interface Product {
1149
1193
  * The user ID of the user who created the product
1150
1194
  */
1151
1195
  'createdBy'?: string | null;
1196
+ /**
1197
+ * Whether the product is digital
1198
+ */
1199
+ 'isDigital'?: boolean;
1152
1200
  }
1153
1201
  export interface ProductAdditionalFilesInner {
1154
1202
  /**
package/dist/api.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Product Catalog API
5
+ * Product Catalog
6
6
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.88.1
8
+ * The version of the OpenAPI document: 1.90.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Product Catalog API
2
+ * Product Catalog
3
3
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.88.1
5
+ * The version of the OpenAPI document: 1.90.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Product Catalog API
5
+ * Product Catalog
6
6
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.88.1
8
+ * The version of the OpenAPI document: 1.90.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Product Catalog API
2
+ * Product Catalog
3
3
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.88.1
5
+ * The version of the OpenAPI document: 1.90.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Product Catalog API
5
+ * Product Catalog
6
6
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.88.1
8
+ * The version of the OpenAPI document: 1.90.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Product Catalog API
2
+ * Product Catalog
3
3
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.88.1
5
+ * The version of the OpenAPI document: 1.90.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  /* tslint:disable */
3
3
  /**
4
- * Product Catalog API
4
+ * Product Catalog
5
5
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.88.1
7
+ * The version of the OpenAPI document: 1.90.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Product Catalog API
2
+ * Product Catalog
3
3
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.88.1
5
+ * The version of the OpenAPI document: 1.90.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -742,6 +742,50 @@ export interface CreateBundleProductSeoMetadata {
742
742
  */
743
743
  'description'?: string | null;
744
744
  }
745
+ /**
746
+ * A digital product is a product that is not physical, it is a service that is sold.
747
+ */
748
+ export interface CreateDigitalProduct {
749
+ /**
750
+ * The title of the product
751
+ */
752
+ 'title': string;
753
+ /**
754
+ * An explicit flag to indicate that the product is a digital product.
755
+ */
756
+ 'isDigital': boolean;
757
+ /**
758
+ * A list of variants to create for the product.
759
+ */
760
+ 'variants': Array<CreateDigitalProductVariantsInner>;
761
+ }
762
+ export interface CreateDigitalProductVariantsInner {
763
+ /**
764
+ * The attributes of the variant.
765
+ */
766
+ 'attributes': Array<CreateDigitalProductVariantsInnerAttributesInner>;
767
+ /**
768
+ * Images to attach to the product.
769
+ */
770
+ 'images': Array<CreateDigitalProductVariantsInnerImagesInner>;
771
+ 'retailPrice': Price;
772
+ }
773
+ export interface CreateDigitalProductVariantsInnerAttributesInner {
774
+ /**
775
+ * The name of the attribute.
776
+ */
777
+ 'name': string;
778
+ /**
779
+ * The value of the attribute.
780
+ */
781
+ 'value': string;
782
+ }
783
+ export interface CreateDigitalProductVariantsInnerImagesInner {
784
+ /**
785
+ * Publicly available file URL.
786
+ */
787
+ 'src': string;
788
+ }
745
789
  export interface CreateProduct {
746
790
  /**
747
791
  * Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
@@ -841,7 +885,7 @@ export interface CreateProductImagesInner {
841
885
  /**
842
886
  * @type CreateProductRequest
843
887
  */
844
- export type CreateProductRequest = CreateBundleProduct | CreateProduct;
888
+ export type CreateProductRequest = CreateBundleProduct | CreateDigitalProduct | CreateProduct;
845
889
  export interface CreateProductVariant {
846
890
  /**
847
891
  * One entry per attribute (e.g. Size, Colour). The name and value of each attribute must match the GFN Catalog API exactly — use the GFN Catalog API to list the product and its variants to get the exact strings (casing and spelling must match).
@@ -1149,6 +1193,10 @@ export interface Product {
1149
1193
  * The user ID of the user who created the product
1150
1194
  */
1151
1195
  'createdBy'?: string | null;
1196
+ /**
1197
+ * Whether the product is digital
1198
+ */
1199
+ 'isDigital'?: boolean;
1152
1200
  }
1153
1201
  export interface ProductAdditionalFilesInner {
1154
1202
  /**
package/dist/esm/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Product Catalog API
4
+ * Product Catalog
5
5
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.88.1
7
+ * The version of the OpenAPI document: 1.90.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Product Catalog API
2
+ * Product Catalog
3
3
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.88.1
5
+ * The version of the OpenAPI document: 1.90.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Product Catalog API
4
+ * Product Catalog
5
5
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.88.1
7
+ * The version of the OpenAPI document: 1.90.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Product Catalog API
2
+ * Product Catalog
3
3
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.88.1
5
+ * The version of the OpenAPI document: 1.90.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Product Catalog API
4
+ * Product Catalog
5
5
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.88.1
7
+ * The version of the OpenAPI document: 1.90.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Product Catalog API
2
+ * Product Catalog
3
3
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.88.1
5
+ * The version of the OpenAPI document: 1.90.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,9 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /**
3
- * Product Catalog API
3
+ * Product Catalog
4
4
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
5
5
  *
6
- * The version of the OpenAPI document: 1.88.1
6
+ * The version of the OpenAPI document: 1.90.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Product Catalog API
2
+ * Product Catalog
3
3
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.88.1
5
+ * The version of the OpenAPI document: 1.90.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Product Catalog API
4
+ * Product Catalog
5
5
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.88.1
7
+ * The version of the OpenAPI document: 1.90.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Product Catalog API
2
+ * Product Catalog
3
3
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.88.1
5
+ * The version of the OpenAPI document: 1.90.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Product Catalog API
5
+ * Product Catalog
6
6
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.88.1
8
+ * The version of the OpenAPI document: 1.90.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,25 @@
1
+ # CreateDigitalProduct
2
+
3
+ A digital product is a product that is not physical, it is a service that is sold.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **title** | **string** | The title of the product | [default to undefined]
10
+ **isDigital** | **boolean** | An explicit flag to indicate that the product is a digital product. | [default to undefined]
11
+ **variants** | [**Array&lt;CreateDigitalProductVariantsInner&gt;**](CreateDigitalProductVariantsInner.md) | A list of variants to create for the product. | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { CreateDigitalProduct } from '@teemill/product-catalog';
17
+
18
+ const instance: CreateDigitalProduct = {
19
+ title,
20
+ isDigital,
21
+ variants,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # CreateDigitalProductVariantsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **attributes** | [**Array&lt;CreateDigitalProductVariantsInnerAttributesInner&gt;**](CreateDigitalProductVariantsInnerAttributesInner.md) | The attributes of the variant. | [default to undefined]
9
+ **images** | [**Array&lt;CreateDigitalProductVariantsInnerImagesInner&gt;**](CreateDigitalProductVariantsInnerImagesInner.md) | Images to attach to the product. | [default to undefined]
10
+ **retailPrice** | [**Price**](Price.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CreateDigitalProductVariantsInner } from '@teemill/product-catalog';
16
+
17
+ const instance: CreateDigitalProductVariantsInner = {
18
+ attributes,
19
+ images,
20
+ retailPrice,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # CreateDigitalProductVariantsInnerAttributesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | The name of the attribute. | [default to undefined]
9
+ **value** | **string** | The value of the attribute. | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { CreateDigitalProductVariantsInnerAttributesInner } from '@teemill/product-catalog';
15
+
16
+ const instance: CreateDigitalProductVariantsInnerAttributesInner = {
17
+ name,
18
+ value,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # CreateDigitalProductVariantsInnerImagesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **src** | **string** | Publicly available file URL. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { CreateDigitalProductVariantsInnerImagesInner } from '@teemill/product-catalog';
14
+
15
+ const instance: CreateDigitalProductVariantsInnerImagesInner = {
16
+ src,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -6,7 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **gfnProductRef** | **string** | Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API. | [default to undefined]
9
- **title** | **string** | Product title | [optional] [default to undefined]
9
+ **title** | **string** | The title of the product | [default to undefined]
10
10
  **description** | **string** | Product description | [optional] [default to undefined]
11
11
  **enabled** | **boolean** | Whether the product is enabled upon creation. | [optional] [default to undefined]
12
12
  **slug** | **string** | A custom URL slug for the product. This must be unique for each product on the project. | [optional] [default to undefined]
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
16
16
  **targetSearchPhraseSynonyms** | **Array&lt;string&gt;** | Synonyms for the target search phrase. **Note:** This field requires the website integration | [optional] [default to undefined]
17
17
  **tags** | **Array&lt;string&gt;** | Additional product tags used for searching and filtering. | [optional] [default to undefined]
18
18
  **internalTags** | **Array&lt;string&gt;** | Internal tags used for internal searching and filtering. | [optional] [default to undefined]
19
- **variants** | [**Array&lt;CreateProductVariant&gt;**](CreateProductVariant.md) | The variants to create for this product. Each variant must specify attributes that match a variant in the GFN Catalog for the product referenced by gfnProductRef. Use the GFN Catalog API to list products and variants (e.g. GET /v1/gfn/catalog/products/{productId} and GET /v1/gfn/catalog/variants) to get the exact attribute names and values — they must match exactly, including casing. | [default to undefined]
19
+ **variants** | [**Array&lt;CreateDigitalProductVariantsInner&gt;**](CreateDigitalProductVariantsInner.md) | A list of variants to create for the product. | [default to undefined]
20
20
  **images** | [**Array&lt;CreateProductImagesInner&gt;**](CreateProductImagesInner.md) | Images to attach to the product. For example, photos of models using/wearing the product. | [optional] [default to undefined]
21
21
  **videos** | [**Array&lt;CreateProductVideosInner&gt;**](CreateProductVideosInner.md) | Videos to attach to the product. | [optional] [default to undefined]
22
22
  **additionalFiles** | [**Array&lt;CreateProductAdditionalFilesInner&gt;**](CreateProductAdditionalFilesInner.md) | Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc. | [optional] [default to undefined]
@@ -30,6 +30,7 @@ Name | Type | Description | Notes
30
30
  **retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
31
31
  **salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
32
32
  **price** | [**Price**](Price.md) | | [optional] [readonly] [default to undefined]
33
+ **isDigital** | **boolean** | An explicit flag to indicate that the product is a digital product. | [default to undefined]
33
34
 
34
35
  ## Example
35
36
 
@@ -62,6 +63,7 @@ const instance: CreateProductRequest = {
62
63
  retailPrice,
63
64
  salePrice,
64
65
  price,
66
+ isDigital,
65
67
  };
66
68
  ```
67
69
 
package/docs/Product.md CHANGED
@@ -44,6 +44,7 @@ Name | Type | Description | Notes
44
44
  **showSaleBadge** | **boolean** | Whether to show a sale badge on the product | [optional] [default to undefined]
45
45
  **license** | [**License**](License.md) | | [optional] [default to undefined]
46
46
  **createdBy** | **string** | The user ID of the user who created the product | [optional] [default to undefined]
47
+ **isDigital** | **boolean** | Whether the product is digital | [optional] [default to false]
47
48
 
48
49
  ## Example
49
50
 
@@ -90,6 +91,7 @@ const instance: Product = {
90
91
  showSaleBadge,
91
92
  license,
92
93
  createdBy,
94
+ isDigital,
93
95
  };
94
96
  ```
95
97
 
package/index.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Product Catalog API
4
+ * Product Catalog
5
5
  * Manage your 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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.88.1
7
+ * The version of the OpenAPI document: 1.90.0
8
8
  *
9
9
  *
10
10
  * 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.88.1",
3
+ "version": "1.90.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {