@teemill/gfn-catalog 1.2.0 → 1.4.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 +10 -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/StatementsApi.d.ts +48 -0
- package/dist/apis/StatementsApi.js +127 -0
- package/dist/apis/TransactionsApi.d.ts +48 -0
- package/dist/apis/TransactionsApi.js +129 -0
- package/dist/apis/VariantsApi.d.ts +19 -2
- package/dist/apis/VariantsApi.js +170 -245
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/ProductsApi.d.ts +35 -0
- package/dist/esm/apis/ProductsApi.js +81 -0
- package/dist/esm/apis/StatementsApi.d.ts +48 -0
- package/dist/esm/apis/StatementsApi.js +123 -0
- package/dist/esm/apis/TransactionsApi.d.ts +48 -0
- package/dist/esm/apis/TransactionsApi.js +125 -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 +4 -0
- package/dist/esm/apis/index.js +6 -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/ApiValidationError.d.ts +39 -0
- package/dist/esm/models/ApiValidationError.js +44 -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/ExportTransactionsRequest.d.ts +43 -0
- package/dist/esm/models/ExportTransactionsRequest.js +42 -0
- package/dist/esm/models/Image.d.ts +67 -0
- package/dist/esm/models/Image.js +50 -0
- package/dist/esm/models/ListStatements200Response.d.ts +38 -0
- package/dist/esm/models/ListStatements200Response.js +41 -0
- package/dist/esm/models/ListTransactions200Response.d.ts +38 -0
- package/dist/esm/models/ListTransactions200Response.js +41 -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/Statement.d.ts +61 -0
- package/dist/esm/models/Statement.js +60 -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/Transaction.d.ts +68 -0
- package/dist/esm/models/Transaction.js +61 -0
- package/dist/esm/models/TransactionOrder.d.ts +37 -0
- package/dist/esm/models/TransactionOrder.js +44 -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 +20 -0
- package/dist/esm/models/index.js +22 -0
- package/dist/esm/runtime.d.ts +187 -0
- package/dist/esm/runtime.js +333 -0
- package/dist/models/ApiError.d.ts +2 -2
- package/dist/models/ApiError.js +2 -2
- package/dist/models/ApiValidationError.d.ts +39 -0
- package/dist/models/ApiValidationError.js +51 -0
- package/dist/models/Attribute.d.ts +2 -2
- package/dist/models/Attribute.js +4 -4
- package/dist/models/AttributeThumbnail.d.ts +2 -2
- package/dist/models/AttributeThumbnail.js +1 -1
- package/dist/models/ExportTransactionsRequest.d.ts +43 -0
- package/dist/models/ExportTransactionsRequest.js +49 -0
- package/dist/models/Image.d.ts +2 -2
- package/dist/models/Image.js +1 -1
- package/dist/models/ListStatements200Response.d.ts +38 -0
- package/dist/models/ListStatements200Response.js +48 -0
- package/dist/models/ListTransactions200Response.d.ts +38 -0
- package/dist/models/ListTransactions200Response.js +48 -0
- package/dist/models/Product.d.ts +2 -2
- package/dist/models/Product.js +2 -2
- package/dist/models/ProductsResponse.d.ts +2 -2
- package/dist/models/ProductsResponse.js +2 -2
- package/dist/models/Statement.d.ts +61 -0
- package/dist/models/Statement.js +67 -0
- package/dist/models/Stock.d.ts +2 -2
- package/dist/models/Stock.js +1 -1
- package/dist/models/StockResponse.d.ts +2 -2
- package/dist/models/StockResponse.js +2 -2
- package/dist/models/Transaction.d.ts +68 -0
- package/dist/models/Transaction.js +68 -0
- package/dist/models/TransactionOrder.d.ts +37 -0
- package/dist/models/TransactionOrder.js +51 -0
- package/dist/models/Variant.d.ts +4 -4
- package/dist/models/Variant.js +8 -8
- package/dist/models/VariantManufacturerOrigin.d.ts +2 -2
- package/dist/models/VariantManufacturerOrigin.js +1 -1
- package/dist/models/VariantProduct.d.ts +2 -2
- package/dist/models/VariantProduct.js +1 -1
- package/dist/models/VariantStock.d.ts +2 -2
- package/dist/models/VariantStock.js +2 -2
- package/dist/models/VariantsResponse.d.ts +2 -2
- package/dist/models/VariantsResponse.js +2 -2
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +223 -439
- package/package.json +5 -3
- package/src/apis/ProductsApi.ts +4 -1
- package/src/apis/StatementsApi.ts +177 -0
- package/src/apis/TransactionsApi.ts +180 -0
- package/src/apis/VariantsApi.ts +87 -1
- package/src/apis/index.ts +2 -0
- package/src/models/ApiError.ts +3 -3
- package/src/models/ApiValidationError.ts +70 -0
- package/src/models/Attribute.ts +4 -4
- package/src/models/AttributeThumbnail.ts +2 -2
- package/src/models/ExportTransactionsRequest.ts +76 -0
- package/src/models/Image.ts +2 -2
- package/src/models/ListStatements200Response.ts +75 -0
- package/src/models/ListTransactions200Response.ts +75 -0
- package/src/models/Product.ts +3 -3
- package/src/models/ProductsResponse.ts +2 -2
- package/src/models/Statement.ts +106 -0
- package/src/models/Stock.ts +2 -2
- package/src/models/StockResponse.ts +2 -2
- package/src/models/Transaction.ts +120 -0
- package/src/models/TransactionOrder.ts +70 -0
- package/src/models/Variant.ts +16 -16
- package/src/models/VariantManufacturerOrigin.ts +2 -2
- package/src/models/VariantProduct.ts +2 -2
- package/src/models/VariantStock.ts +2 -2
- package/src/models/VariantsResponse.ts +2 -2
- package/src/models/index.ts +7 -0
- package/src/runtime.ts +1 -1
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +2 -2
|
@@ -0,0 +1,51 @@
|
|
|
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.4.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.TransactionOrderToJSON = exports.TransactionOrderFromJSONTyped = exports.TransactionOrderFromJSON = exports.instanceOfTransactionOrder = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the TransactionOrder interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfTransactionOrder(value) {
|
|
21
|
+
if (!('ref' in value) || value['ref'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('project' in value) || value['project'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfTransactionOrder = instanceOfTransactionOrder;
|
|
28
|
+
function TransactionOrderFromJSON(json) {
|
|
29
|
+
return TransactionOrderFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.TransactionOrderFromJSON = TransactionOrderFromJSON;
|
|
32
|
+
function TransactionOrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'ref': json['ref'],
|
|
38
|
+
'project': json['project'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.TransactionOrderFromJSONTyped = TransactionOrderFromJSONTyped;
|
|
42
|
+
function TransactionOrderToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'ref': value['ref'],
|
|
48
|
+
'project': value['project'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.TransactionOrderToJSON = TransactionOrderToJSON;
|
package/dist/models/Variant.d.ts
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
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.4.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 { VariantManufacturerOrigin } from './VariantManufacturerOrigin';
|
|
13
|
+
import type { VariantProduct } from './VariantProduct';
|
|
12
14
|
import type { Attribute } from './Attribute';
|
|
13
15
|
import type { Image } from './Image';
|
|
14
16
|
import type { Stock } from './Stock';
|
|
15
|
-
import type { VariantManufacturerOrigin } from './VariantManufacturerOrigin';
|
|
16
|
-
import type { VariantProduct } from './VariantProduct';
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
@@ -72,7 +72,7 @@ export interface Variant {
|
|
|
72
72
|
/**
|
|
73
73
|
* Check if a given object implements the Variant interface.
|
|
74
74
|
*/
|
|
75
|
-
export declare function instanceOfVariant(value: object):
|
|
75
|
+
export declare function instanceOfVariant(value: object): value is Variant;
|
|
76
76
|
export declare function VariantFromJSON(json: any): Variant;
|
|
77
77
|
export declare function VariantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Variant;
|
|
78
78
|
export declare function VariantToJSON(value?: Variant | null): any;
|
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.4.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,18 +14,18 @@
|
|
|
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
|
-
|
|
21
|
-
|
|
17
|
+
const VariantManufacturerOrigin_1 = require("./VariantManufacturerOrigin");
|
|
18
|
+
const VariantProduct_1 = require("./VariantProduct");
|
|
19
|
+
const Attribute_1 = require("./Attribute");
|
|
20
|
+
const Image_1 = require("./Image");
|
|
21
|
+
const Stock_1 = require("./Stock");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the Variant interface.
|
|
24
24
|
*/
|
|
25
25
|
function instanceOfVariant(value) {
|
|
26
|
-
if (!('sku' in value))
|
|
26
|
+
if (!('sku' in value) || value['sku'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
-
if (!('attributes' in value))
|
|
28
|
+
if (!('attributes' in value) || value['attributes'] === undefined)
|
|
29
29
|
return false;
|
|
30
30
|
return true;
|
|
31
31
|
}
|
|
@@ -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.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,7 @@ export interface VariantManufacturerOrigin {
|
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the VariantManufacturerOrigin interface.
|
|
33
33
|
*/
|
|
34
|
-
export declare function instanceOfVariantManufacturerOrigin(value: object):
|
|
34
|
+
export declare function instanceOfVariantManufacturerOrigin(value: object): value is VariantManufacturerOrigin;
|
|
35
35
|
export declare function VariantManufacturerOriginFromJSON(json: any): VariantManufacturerOrigin;
|
|
36
36
|
export declare function VariantManufacturerOriginFromJSONTyped(json: any, ignoreDiscriminator: boolean): VariantManufacturerOrigin;
|
|
37
37
|
export declare function VariantManufacturerOriginToJSON(value?: VariantManufacturerOrigin | null): any;
|
|
@@ -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.4.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
|
* 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.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,7 @@ export interface VariantProduct {
|
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the VariantProduct interface.
|
|
33
33
|
*/
|
|
34
|
-
export declare function instanceOfVariantProduct(value: object):
|
|
34
|
+
export declare function instanceOfVariantProduct(value: object): value is VariantProduct;
|
|
35
35
|
export declare function VariantProductFromJSON(json: any): VariantProduct;
|
|
36
36
|
export declare function VariantProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): VariantProduct;
|
|
37
37
|
export declare function VariantProductToJSON(value?: VariantProduct | null): any;
|
|
@@ -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.4.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
|
* 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.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -44,7 +44,7 @@ export interface VariantStock {
|
|
|
44
44
|
/**
|
|
45
45
|
* Check if a given object implements the VariantStock interface.
|
|
46
46
|
*/
|
|
47
|
-
export declare function instanceOfVariantStock(value: object):
|
|
47
|
+
export declare function instanceOfVariantStock(value: object): value is VariantStock;
|
|
48
48
|
export declare function VariantStockFromJSON(json: any): VariantStock;
|
|
49
49
|
export declare function VariantStockFromJSONTyped(json: any, ignoreDiscriminator: boolean): VariantStock;
|
|
50
50
|
export declare function VariantStockToJSON(value?: VariantStock | null): any;
|
|
@@ -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.4.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.VariantStockToJSON = exports.VariantStockFromJSONTyped = exports.VariantStockFromJSON = exports.instanceOfVariantStock = void 0;
|
|
17
|
-
|
|
17
|
+
const Stock_1 = require("./Stock");
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the VariantStock interface.
|
|
20
20
|
*/
|
|
@@ -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.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,7 +32,7 @@ export interface VariantsResponse {
|
|
|
32
32
|
/**
|
|
33
33
|
* Check if a given object implements the VariantsResponse interface.
|
|
34
34
|
*/
|
|
35
|
-
export declare function instanceOfVariantsResponse(value: object):
|
|
35
|
+
export declare function instanceOfVariantsResponse(value: object): value is VariantsResponse;
|
|
36
36
|
export declare function VariantsResponseFromJSON(json: any): VariantsResponse;
|
|
37
37
|
export declare function VariantsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VariantsResponse;
|
|
38
38
|
export declare function VariantsResponseToJSON(value?: VariantsResponse | null): any;
|
|
@@ -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.4.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
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
export * from './ApiError';
|
|
2
|
+
export * from './ApiValidationError';
|
|
2
3
|
export * from './Attribute';
|
|
3
4
|
export * from './AttributeThumbnail';
|
|
5
|
+
export * from './ExportTransactionsRequest';
|
|
4
6
|
export * from './Image';
|
|
7
|
+
export * from './ListStatements200Response';
|
|
8
|
+
export * from './ListTransactions200Response';
|
|
5
9
|
export * from './Product';
|
|
6
10
|
export * from './ProductsResponse';
|
|
11
|
+
export * from './Statement';
|
|
7
12
|
export * from './Stock';
|
|
8
13
|
export * from './StockResponse';
|
|
14
|
+
export * from './Transaction';
|
|
15
|
+
export * from './TransactionOrder';
|
|
9
16
|
export * from './Variant';
|
|
10
17
|
export * from './VariantManufacturerOrigin';
|
|
11
18
|
export * from './VariantProduct';
|
package/dist/models/index.js
CHANGED
|
@@ -17,13 +17,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./ApiError"), exports);
|
|
20
|
+
__exportStar(require("./ApiValidationError"), exports);
|
|
20
21
|
__exportStar(require("./Attribute"), exports);
|
|
21
22
|
__exportStar(require("./AttributeThumbnail"), exports);
|
|
23
|
+
__exportStar(require("./ExportTransactionsRequest"), exports);
|
|
22
24
|
__exportStar(require("./Image"), exports);
|
|
25
|
+
__exportStar(require("./ListStatements200Response"), exports);
|
|
26
|
+
__exportStar(require("./ListTransactions200Response"), exports);
|
|
23
27
|
__exportStar(require("./Product"), exports);
|
|
24
28
|
__exportStar(require("./ProductsResponse"), exports);
|
|
29
|
+
__exportStar(require("./Statement"), exports);
|
|
25
30
|
__exportStar(require("./Stock"), exports);
|
|
26
31
|
__exportStar(require("./StockResponse"), exports);
|
|
32
|
+
__exportStar(require("./Transaction"), exports);
|
|
33
|
+
__exportStar(require("./TransactionOrder"), exports);
|
|
27
34
|
__exportStar(require("./Variant"), exports);
|
|
28
35
|
__exportStar(require("./VariantManufacturerOrigin"), exports);
|
|
29
36
|
__exportStar(require("./VariantProduct"), 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.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|