@teemill/gfn-catalog 1.1.0 → 1.3.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.
- package/.openapi-generator/FILES +4 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/ProductsApi.d.ts +1 -1
- package/dist/apis/ProductsApi.js +47 -128
- package/dist/apis/VariantsApi.d.ts +34 -2
- package/dist/apis/VariantsApi.js +180 -186
- package/dist/esm/apis/ProductsApi.d.ts +35 -0
- package/dist/esm/apis/ProductsApi.js +81 -0
- package/dist/esm/apis/VariantsApi.d.ts +82 -0
- package/dist/esm/apis/VariantsApi.js +225 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ApiError.d.ts +37 -0
- package/dist/esm/models/ApiError.js +42 -0
- package/dist/esm/models/Attribute.d.ts +50 -0
- package/dist/esm/models/Attribute.js +49 -0
- package/dist/esm/models/AttributeThumbnail.d.ts +46 -0
- package/dist/esm/models/AttributeThumbnail.js +48 -0
- package/dist/esm/models/Image.d.ts +67 -0
- package/dist/esm/models/Image.js +50 -0
- package/dist/esm/models/Product.d.ts +67 -0
- package/dist/esm/models/Product.js +52 -0
- package/dist/esm/models/ProductsResponse.d.ts +38 -0
- package/dist/esm/models/ProductsResponse.js +41 -0
- package/dist/esm/models/Stock.d.ts +31 -0
- package/dist/esm/models/Stock.js +38 -0
- package/dist/esm/models/StockResponse.d.ts +38 -0
- package/dist/esm/models/StockResponse.js +41 -0
- package/dist/esm/models/Variant.d.ts +78 -0
- package/dist/esm/models/Variant.js +61 -0
- package/dist/esm/models/VariantManufacturerOrigin.d.ts +37 -0
- package/dist/esm/models/VariantManufacturerOrigin.js +40 -0
- package/dist/esm/models/VariantProduct.d.ts +37 -0
- package/dist/esm/models/VariantProduct.js +40 -0
- package/dist/esm/models/VariantStock.d.ts +50 -0
- package/dist/esm/models/VariantStock.js +45 -0
- package/dist/esm/models/VariantsResponse.d.ts +38 -0
- package/dist/esm/models/VariantsResponse.js +41 -0
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +15 -0
- package/dist/esm/runtime.d.ts +187 -0
- package/dist/esm/runtime.js +333 -0
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/Attribute.d.ts +1 -1
- package/dist/models/Attribute.js +2 -2
- package/dist/models/AttributeThumbnail.d.ts +1 -1
- package/dist/models/AttributeThumbnail.js +1 -1
- package/dist/models/Image.d.ts +1 -1
- package/dist/models/Image.js +1 -1
- package/dist/models/Product.d.ts +1 -1
- package/dist/models/Product.js +1 -1
- package/dist/models/ProductsResponse.d.ts +1 -1
- package/dist/models/ProductsResponse.js +2 -2
- package/dist/models/Stock.d.ts +31 -0
- package/dist/models/Stock.js +45 -0
- package/dist/models/StockResponse.d.ts +38 -0
- package/dist/models/StockResponse.js +48 -0
- package/dist/models/Variant.d.ts +11 -4
- package/dist/models/Variant.js +10 -7
- package/dist/models/VariantManufacturerOrigin.d.ts +37 -0
- package/dist/models/VariantManufacturerOrigin.js +47 -0
- package/dist/models/VariantProduct.d.ts +1 -1
- package/dist/models/VariantProduct.js +1 -1
- package/dist/models/VariantStock.d.ts +23 -4
- package/dist/models/VariantStock.js +10 -3
- package/dist/models/VariantsResponse.d.ts +1 -1
- package/dist/models/VariantsResponse.js +2 -2
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +223 -439
- package/package.json +4 -2
- package/src/apis/ProductsApi.ts +1 -1
- package/src/apis/VariantsApi.ts +157 -1
- package/src/models/ApiError.ts +1 -1
- package/src/models/Attribute.ts +1 -1
- package/src/models/AttributeThumbnail.ts +1 -1
- package/src/models/Image.ts +1 -1
- package/src/models/Product.ts +1 -1
- package/src/models/ProductsResponse.ts +1 -1
- package/src/models/Stock.ts +60 -0
- package/src/models/StockResponse.ts +75 -0
- package/src/models/Variant.ts +25 -11
- package/src/models/VariantManufacturerOrigin.ts +68 -0
- package/src/models/VariantProduct.ts +1 -1
- package/src/models/VariantStock.ts +37 -6
- package/src/models/VariantsResponse.ts +1 -1
- package/src/models/index.ts +3 -0
- package/src/runtime.ts +1 -1
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +2 -2
package/dist/models/Variant.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Attribute } from './Attribute';
|
|
13
13
|
import type { Image } from './Image';
|
|
14
|
+
import type { Stock } from './Stock';
|
|
15
|
+
import type { VariantManufacturerOrigin } from './VariantManufacturerOrigin';
|
|
14
16
|
import type { VariantProduct } from './VariantProduct';
|
|
15
|
-
import type { VariantStock } from './VariantStock';
|
|
16
17
|
/**
|
|
17
18
|
*
|
|
18
19
|
* @export
|
|
@@ -51,10 +52,16 @@ export interface Variant {
|
|
|
51
52
|
attributes: Array<Attribute>;
|
|
52
53
|
/**
|
|
53
54
|
*
|
|
54
|
-
* @type {
|
|
55
|
+
* @type {VariantManufacturerOrigin}
|
|
55
56
|
* @memberof Variant
|
|
56
57
|
*/
|
|
57
|
-
|
|
58
|
+
manufacturerOrigin?: VariantManufacturerOrigin;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Stock}
|
|
62
|
+
* @memberof Variant
|
|
63
|
+
*/
|
|
64
|
+
stock?: Stock;
|
|
58
65
|
/**
|
|
59
66
|
* Images
|
|
60
67
|
* @type {Array<Image>}
|
package/dist/models/Variant.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.0
|
|
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,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.VariantToJSON = exports.VariantFromJSONTyped = exports.VariantFromJSON = exports.instanceOfVariant = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
const Attribute_1 = require("./Attribute");
|
|
18
|
+
const Image_1 = require("./Image");
|
|
19
|
+
const Stock_1 = require("./Stock");
|
|
20
|
+
const VariantManufacturerOrigin_1 = require("./VariantManufacturerOrigin");
|
|
21
|
+
const VariantProduct_1 = require("./VariantProduct");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the Variant interface.
|
|
23
24
|
*/
|
|
@@ -43,7 +44,8 @@ function VariantFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
44
|
'product': json['product'] == null ? undefined : (0, VariantProduct_1.VariantProductFromJSON)(json['product']),
|
|
44
45
|
'sku': json['sku'],
|
|
45
46
|
'attributes': (json['attributes'].map(Attribute_1.AttributeFromJSON)),
|
|
46
|
-
'
|
|
47
|
+
'manufacturerOrigin': json['manufacturerOrigin'] == null ? undefined : (0, VariantManufacturerOrigin_1.VariantManufacturerOriginFromJSON)(json['manufacturerOrigin']),
|
|
48
|
+
'stock': json['stock'] == null ? undefined : (0, Stock_1.StockFromJSON)(json['stock']),
|
|
47
49
|
'images': json['images'] == null ? undefined : (json['images'].map(Image_1.ImageFromJSON)),
|
|
48
50
|
};
|
|
49
51
|
}
|
|
@@ -58,7 +60,8 @@ function VariantToJSON(value) {
|
|
|
58
60
|
'product': (0, VariantProduct_1.VariantProductToJSON)(value['product']),
|
|
59
61
|
'sku': value['sku'],
|
|
60
62
|
'attributes': (value['attributes'].map(Attribute_1.AttributeToJSON)),
|
|
61
|
-
'
|
|
63
|
+
'manufacturerOrigin': (0, VariantManufacturerOrigin_1.VariantManufacturerOriginToJSON)(value['manufacturerOrigin']),
|
|
64
|
+
'stock': (0, Stock_1.StockToJSON)(value['stock']),
|
|
62
65
|
'images': value['images'] == null ? undefined : (value['images'].map(Image_1.ImageToJSON)),
|
|
63
66
|
};
|
|
64
67
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GFN Catalog API
|
|
3
|
+
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.3.0
|
|
6
|
+
* Contact: hello@teemill.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Where the product was originally produced or manufactured
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VariantManufacturerOrigin
|
|
16
|
+
*/
|
|
17
|
+
export interface VariantManufacturerOrigin {
|
|
18
|
+
/**
|
|
19
|
+
* Country of origin (ISO 3166-1 alpha-2).
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VariantManufacturerOrigin
|
|
22
|
+
*/
|
|
23
|
+
country?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the country of origin
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VariantManufacturerOrigin
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the VariantManufacturerOrigin interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfVariantManufacturerOrigin(value: object): boolean;
|
|
35
|
+
export declare function VariantManufacturerOriginFromJSON(json: any): VariantManufacturerOrigin;
|
|
36
|
+
export declare function VariantManufacturerOriginFromJSONTyped(json: any, ignoreDiscriminator: boolean): VariantManufacturerOrigin;
|
|
37
|
+
export declare function VariantManufacturerOriginToJSON(value?: VariantManufacturerOrigin | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* GFN Catalog API
|
|
6
|
+
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.0
|
|
9
|
+
* Contact: hello@teemill.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.VariantManufacturerOriginToJSON = exports.VariantManufacturerOriginFromJSONTyped = exports.VariantManufacturerOriginFromJSON = exports.instanceOfVariantManufacturerOrigin = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the VariantManufacturerOrigin interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfVariantManufacturerOrigin(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
exports.instanceOfVariantManufacturerOrigin = instanceOfVariantManufacturerOrigin;
|
|
24
|
+
function VariantManufacturerOriginFromJSON(json) {
|
|
25
|
+
return VariantManufacturerOriginFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
exports.VariantManufacturerOriginFromJSON = VariantManufacturerOriginFromJSON;
|
|
28
|
+
function VariantManufacturerOriginFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
34
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.VariantManufacturerOriginFromJSONTyped = VariantManufacturerOriginFromJSONTyped;
|
|
38
|
+
function VariantManufacturerOriginToJSON(value) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'country': value['country'],
|
|
44
|
+
'name': value['name'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.VariantManufacturerOriginToJSON = VariantManufacturerOriginToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.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
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.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,13 +2,14 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { Stock } from './Stock';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -16,11 +17,29 @@
|
|
|
16
17
|
*/
|
|
17
18
|
export interface VariantStock {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
20
|
+
* Unique object identifier
|
|
21
|
+
* @type {string}
|
|
21
22
|
* @memberof VariantStock
|
|
22
23
|
*/
|
|
23
|
-
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* A reference to the resource location
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof VariantStock
|
|
29
|
+
*/
|
|
30
|
+
ref?: string;
|
|
31
|
+
/**
|
|
32
|
+
* A reference to the resource location
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof VariantStock
|
|
35
|
+
*/
|
|
36
|
+
productRef?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Stock}
|
|
40
|
+
* @memberof VariantStock
|
|
41
|
+
*/
|
|
42
|
+
stock?: Stock;
|
|
24
43
|
}
|
|
25
44
|
/**
|
|
26
45
|
* Check if a given object implements the VariantStock interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.VariantStockToJSON = exports.VariantStockFromJSONTyped = exports.VariantStockFromJSON = exports.instanceOfVariantStock = void 0;
|
|
17
|
+
const Stock_1 = require("./Stock");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the VariantStock interface.
|
|
19
20
|
*/
|
|
@@ -30,7 +31,10 @@ function VariantStockFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
31
|
return json;
|
|
31
32
|
}
|
|
32
33
|
return {
|
|
33
|
-
'
|
|
34
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
35
|
+
'ref': json['ref'] == null ? undefined : json['ref'],
|
|
36
|
+
'productRef': json['productRef'] == null ? undefined : json['productRef'],
|
|
37
|
+
'stock': json['stock'] == null ? undefined : (0, Stock_1.StockFromJSON)(json['stock']),
|
|
34
38
|
};
|
|
35
39
|
}
|
|
36
40
|
exports.VariantStockFromJSONTyped = VariantStockFromJSONTyped;
|
|
@@ -39,7 +43,10 @@ function VariantStockToJSON(value) {
|
|
|
39
43
|
return value;
|
|
40
44
|
}
|
|
41
45
|
return {
|
|
42
|
-
'
|
|
46
|
+
'id': value['id'],
|
|
47
|
+
'ref': value['ref'],
|
|
48
|
+
'productRef': value['productRef'],
|
|
49
|
+
'stock': (0, Stock_1.StockToJSON)(value['stock']),
|
|
43
50
|
};
|
|
44
51
|
}
|
|
45
52
|
exports.VariantStockToJSON = VariantStockToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.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
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.0
|
|
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.VariantsResponseToJSON = exports.VariantsResponseFromJSONTyped = exports.VariantsResponseFromJSON = exports.instanceOfVariantsResponse = void 0;
|
|
17
|
-
|
|
17
|
+
const Variant_1 = require("./Variant");
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the VariantsResponse interface.
|
|
20
20
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -4,7 +4,10 @@ export * from './AttributeThumbnail';
|
|
|
4
4
|
export * from './Image';
|
|
5
5
|
export * from './Product';
|
|
6
6
|
export * from './ProductsResponse';
|
|
7
|
+
export * from './Stock';
|
|
8
|
+
export * from './StockResponse';
|
|
7
9
|
export * from './Variant';
|
|
10
|
+
export * from './VariantManufacturerOrigin';
|
|
8
11
|
export * from './VariantProduct';
|
|
9
12
|
export * from './VariantStock';
|
|
10
13
|
export * from './VariantsResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -22,7 +22,10 @@ __exportStar(require("./AttributeThumbnail"), exports);
|
|
|
22
22
|
__exportStar(require("./Image"), exports);
|
|
23
23
|
__exportStar(require("./Product"), exports);
|
|
24
24
|
__exportStar(require("./ProductsResponse"), exports);
|
|
25
|
+
__exportStar(require("./Stock"), exports);
|
|
26
|
+
__exportStar(require("./StockResponse"), exports);
|
|
25
27
|
__exportStar(require("./Variant"), exports);
|
|
28
|
+
__exportStar(require("./VariantManufacturerOrigin"), exports);
|
|
26
29
|
__exportStar(require("./VariantProduct"), exports);
|
|
27
30
|
__exportStar(require("./VariantStock"), exports);
|
|
28
31
|
__exportStar(require("./VariantsResponse"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfilment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|