@teemill/gfn-catalog 1.4.0 → 2.0.2
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 +6 -28
- package/README.md +3 -3
- package/api.ts +1892 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api.d.ts +1287 -0
- package/dist/api.js +966 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api.d.ts +1287 -0
- package/dist/esm/api.js +947 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/{models/AttributeThumbnail.js → base.js} +38 -26
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +13 -3
- package/dist/esm/index.js +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +15 -5
- package/git_push.sh +57 -0
- package/{dist/models/Stock.d.ts → index.ts} +8 -21
- package/package.json +14 -2
- package/tsconfig.json +4 -6
- package/dist/apis/ProductsApi.d.ts +0 -35
- package/dist/apis/ProductsApi.js +0 -85
- package/dist/apis/StatementsApi.d.ts +0 -48
- package/dist/apis/StatementsApi.js +0 -127
- package/dist/apis/TransactionsApi.d.ts +0 -48
- package/dist/apis/TransactionsApi.js +0 -129
- package/dist/apis/VariantsApi.d.ts +0 -82
- package/dist/apis/VariantsApi.js +0 -229
- package/dist/apis/index.d.ts +0 -4
- package/dist/apis/index.js +0 -22
- package/dist/esm/apis/ProductsApi.d.ts +0 -35
- package/dist/esm/apis/ProductsApi.js +0 -81
- package/dist/esm/apis/StatementsApi.d.ts +0 -48
- package/dist/esm/apis/StatementsApi.js +0 -123
- package/dist/esm/apis/TransactionsApi.d.ts +0 -48
- package/dist/esm/apis/TransactionsApi.js +0 -125
- package/dist/esm/apis/VariantsApi.d.ts +0 -82
- package/dist/esm/apis/VariantsApi.js +0 -225
- package/dist/esm/apis/index.d.ts +0 -4
- package/dist/esm/apis/index.js +0 -6
- package/dist/esm/models/ApiError.d.ts +0 -37
- package/dist/esm/models/ApiError.js +0 -42
- package/dist/esm/models/ApiValidationError.d.ts +0 -39
- package/dist/esm/models/ApiValidationError.js +0 -44
- package/dist/esm/models/Attribute.d.ts +0 -50
- package/dist/esm/models/Attribute.js +0 -49
- package/dist/esm/models/AttributeThumbnail.d.ts +0 -46
- package/dist/esm/models/ExportTransactionsRequest.d.ts +0 -43
- package/dist/esm/models/ExportTransactionsRequest.js +0 -42
- package/dist/esm/models/Image.d.ts +0 -67
- package/dist/esm/models/Image.js +0 -50
- package/dist/esm/models/ListStatements200Response.d.ts +0 -38
- package/dist/esm/models/ListStatements200Response.js +0 -41
- package/dist/esm/models/ListTransactions200Response.d.ts +0 -38
- package/dist/esm/models/ListTransactions200Response.js +0 -41
- package/dist/esm/models/Product.d.ts +0 -67
- package/dist/esm/models/Product.js +0 -52
- package/dist/esm/models/ProductsResponse.d.ts +0 -38
- package/dist/esm/models/ProductsResponse.js +0 -41
- package/dist/esm/models/Statement.d.ts +0 -61
- package/dist/esm/models/Statement.js +0 -60
- package/dist/esm/models/Stock.d.ts +0 -31
- package/dist/esm/models/Stock.js +0 -38
- package/dist/esm/models/StockResponse.d.ts +0 -38
- package/dist/esm/models/StockResponse.js +0 -41
- package/dist/esm/models/Transaction.d.ts +0 -68
- package/dist/esm/models/Transaction.js +0 -61
- package/dist/esm/models/TransactionOrder.d.ts +0 -37
- package/dist/esm/models/TransactionOrder.js +0 -44
- package/dist/esm/models/Variant.d.ts +0 -78
- package/dist/esm/models/Variant.js +0 -61
- package/dist/esm/models/VariantManufacturerOrigin.d.ts +0 -37
- package/dist/esm/models/VariantManufacturerOrigin.js +0 -40
- package/dist/esm/models/VariantProduct.d.ts +0 -37
- package/dist/esm/models/VariantProduct.js +0 -40
- package/dist/esm/models/VariantStock.d.ts +0 -50
- package/dist/esm/models/VariantStock.js +0 -45
- package/dist/esm/models/VariantsResponse.d.ts +0 -38
- package/dist/esm/models/VariantsResponse.js +0 -41
- package/dist/esm/models/index.d.ts +0 -20
- package/dist/esm/models/index.js +0 -22
- package/dist/esm/runtime.d.ts +0 -187
- package/dist/esm/runtime.js +0 -333
- package/dist/models/ApiError.d.ts +0 -37
- package/dist/models/ApiError.js +0 -49
- package/dist/models/ApiValidationError.d.ts +0 -39
- package/dist/models/ApiValidationError.js +0 -51
- package/dist/models/Attribute.d.ts +0 -50
- package/dist/models/Attribute.js +0 -56
- package/dist/models/AttributeThumbnail.d.ts +0 -46
- package/dist/models/AttributeThumbnail.js +0 -55
- package/dist/models/ExportTransactionsRequest.d.ts +0 -43
- package/dist/models/ExportTransactionsRequest.js +0 -49
- package/dist/models/Image.d.ts +0 -67
- package/dist/models/Image.js +0 -57
- package/dist/models/ListStatements200Response.d.ts +0 -38
- package/dist/models/ListStatements200Response.js +0 -48
- package/dist/models/ListTransactions200Response.d.ts +0 -38
- package/dist/models/ListTransactions200Response.js +0 -48
- package/dist/models/Product.d.ts +0 -67
- package/dist/models/Product.js +0 -59
- package/dist/models/ProductsResponse.d.ts +0 -38
- package/dist/models/ProductsResponse.js +0 -48
- package/dist/models/Statement.d.ts +0 -61
- package/dist/models/Statement.js +0 -67
- package/dist/models/Stock.js +0 -45
- package/dist/models/StockResponse.d.ts +0 -38
- package/dist/models/StockResponse.js +0 -48
- package/dist/models/Transaction.d.ts +0 -68
- package/dist/models/Transaction.js +0 -68
- package/dist/models/TransactionOrder.d.ts +0 -37
- package/dist/models/TransactionOrder.js +0 -51
- package/dist/models/Variant.d.ts +0 -78
- package/dist/models/Variant.js +0 -68
- package/dist/models/VariantManufacturerOrigin.d.ts +0 -37
- package/dist/models/VariantManufacturerOrigin.js +0 -47
- package/dist/models/VariantProduct.d.ts +0 -37
- package/dist/models/VariantProduct.js +0 -47
- package/dist/models/VariantStock.d.ts +0 -50
- package/dist/models/VariantStock.js +0 -52
- package/dist/models/VariantsResponse.d.ts +0 -38
- package/dist/models/VariantsResponse.js +0 -48
- package/dist/models/index.d.ts +0 -20
- package/dist/models/index.js +0 -38
- package/dist/runtime.d.ts +0 -187
- package/dist/runtime.js +0 -349
- package/src/apis/ProductsApi.ts +0 -116
- package/src/apis/StatementsApi.ts +0 -177
- package/src/apis/TransactionsApi.ts +0 -180
- package/src/apis/VariantsApi.ts +0 -345
- package/src/apis/index.ts +0 -6
- package/src/index.ts +0 -5
- package/src/models/ApiError.ts +0 -69
- package/src/models/ApiValidationError.ts +0 -70
- package/src/models/Attribute.ts +0 -93
- package/src/models/AttributeThumbnail.ts +0 -80
- package/src/models/ExportTransactionsRequest.ts +0 -76
- package/src/models/Image.ts +0 -108
- package/src/models/ListStatements200Response.ts +0 -75
- package/src/models/ListTransactions200Response.ts +0 -75
- package/src/models/Product.ts +0 -109
- package/src/models/ProductsResponse.ts +0 -75
- package/src/models/Statement.ts +0 -106
- package/src/models/Stock.ts +0 -60
- package/src/models/StockResponse.ts +0 -75
- package/src/models/Transaction.ts +0 -120
- package/src/models/TransactionOrder.ts +0 -70
- package/src/models/Variant.ts +0 -149
- package/src/models/VariantManufacturerOrigin.ts +0 -68
- package/src/models/VariantProduct.ts +0 -68
- package/src/models/VariantStock.ts +0 -91
- package/src/models/VariantsResponse.ts +0 -75
- package/src/models/index.ts +0 -22
- package/src/runtime.ts +0 -441
|
@@ -1,31 +1,18 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
/**
|
|
2
4
|
* GFN Catalog API
|
|
3
5
|
* 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
6
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 2.0.2
|
|
6
8
|
* Contact: hello@teemill.com
|
|
7
9
|
*
|
|
8
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
11
|
* https://openapi-generator.tech
|
|
10
12
|
* Do not edit the class manually.
|
|
11
13
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
export interface Stock {
|
|
18
|
-
/**
|
|
19
|
-
* Current stock level
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof Stock
|
|
22
|
-
*/
|
|
23
|
-
level?: number;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the Stock interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfStock(value: object): value is Stock;
|
|
29
|
-
export declare function StockFromJSON(json: any): Stock;
|
|
30
|
-
export declare function StockFromJSONTyped(json: any, ignoreDiscriminator: boolean): Stock;
|
|
31
|
-
export declare function StockToJSON(value?: Stock | null): any;
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export * from "./api";
|
|
17
|
+
export * from "./configuration";
|
|
18
|
+
|
package/package.json
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teemill/gfn-catalog",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "OpenAPI client for @teemill/gfn-catalog",
|
|
5
|
-
"author": "OpenAPI-Generator",
|
|
5
|
+
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/Teemill/public-api.git"
|
|
9
9
|
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"axios",
|
|
12
|
+
"typescript",
|
|
13
|
+
"openapi-client",
|
|
14
|
+
"openapi-generator",
|
|
15
|
+
"@teemill/gfn-catalog"
|
|
16
|
+
],
|
|
17
|
+
"license": "Unlicense",
|
|
10
18
|
"main": "./dist/index.js",
|
|
11
19
|
"typings": "./dist/index.d.ts",
|
|
12
20
|
"module": "./dist/esm/index.js",
|
|
@@ -15,7 +23,11 @@
|
|
|
15
23
|
"build": "tsc && tsc -p tsconfig.esm.json",
|
|
16
24
|
"prepare": "npm run build"
|
|
17
25
|
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"axios": "^1.6.1"
|
|
28
|
+
},
|
|
18
29
|
"devDependencies": {
|
|
30
|
+
"@types/node": "12.11.5 - 12.20.42",
|
|
19
31
|
"typescript": "^4.0 || ^5.0"
|
|
20
32
|
}
|
|
21
33
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"declaration": true,
|
|
4
|
-
"target": "
|
|
4
|
+
"target": "ES6",
|
|
5
5
|
"module": "commonjs",
|
|
6
|
-
"
|
|
6
|
+
"noImplicitAny": true,
|
|
7
7
|
"outDir": "dist",
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
"dom"
|
|
11
|
-
],
|
|
8
|
+
"rootDir": ".",
|
|
9
|
+
"moduleResolution": "node",
|
|
12
10
|
"typeRoots": [
|
|
13
11
|
"node_modules/@types"
|
|
14
12
|
]
|
|
@@ -1,35 +0,0 @@
|
|
|
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.4.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
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { ProductsResponse } from '../models/index';
|
|
14
|
-
export interface ListProductsRequest {
|
|
15
|
-
project: string;
|
|
16
|
-
pageToken?: number;
|
|
17
|
-
pageSize?: number;
|
|
18
|
-
fields?: string;
|
|
19
|
-
search?: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
export declare class ProductsApi extends runtime.BaseAPI {
|
|
25
|
-
/**
|
|
26
|
-
* Lists all GFN products available to the project. Can be filtered by style codes using the search parameter.
|
|
27
|
-
* List GFN products
|
|
28
|
-
*/
|
|
29
|
-
listProductsRaw(requestParameters: ListProductsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductsResponse>>;
|
|
30
|
-
/**
|
|
31
|
-
* Lists all GFN products available to the project. Can be filtered by style codes using the search parameter.
|
|
32
|
-
* List GFN products
|
|
33
|
-
*/
|
|
34
|
-
listProducts(project: string, optionalParameters?: runtime.OptionalOnly<ListProductsRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductsResponse>;
|
|
35
|
-
}
|
package/dist/apis/ProductsApi.js
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
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
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ProductsApi = void 0;
|
|
26
|
-
const runtime = require("../runtime");
|
|
27
|
-
const index_1 = require("../models/index");
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
class ProductsApi extends runtime.BaseAPI {
|
|
32
|
-
/**
|
|
33
|
-
* Lists all GFN products available to the project. Can be filtered by style codes using the search parameter.
|
|
34
|
-
* List GFN products
|
|
35
|
-
*/
|
|
36
|
-
listProductsRaw(requestParameters, initOverrides) {
|
|
37
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
-
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
39
|
-
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling listProducts.');
|
|
40
|
-
}
|
|
41
|
-
const queryParameters = {};
|
|
42
|
-
if (requestParameters.project !== undefined) {
|
|
43
|
-
queryParameters['project'] = requestParameters.project;
|
|
44
|
-
}
|
|
45
|
-
if (requestParameters.pageToken !== undefined) {
|
|
46
|
-
queryParameters['pageToken'] = requestParameters.pageToken;
|
|
47
|
-
}
|
|
48
|
-
if (requestParameters.pageSize !== undefined) {
|
|
49
|
-
queryParameters['pageSize'] = requestParameters.pageSize;
|
|
50
|
-
}
|
|
51
|
-
if (requestParameters.fields !== undefined) {
|
|
52
|
-
queryParameters['fields'] = requestParameters.fields;
|
|
53
|
-
}
|
|
54
|
-
if (requestParameters.search !== undefined) {
|
|
55
|
-
queryParameters['search'] = requestParameters.search;
|
|
56
|
-
}
|
|
57
|
-
const headerParameters = {};
|
|
58
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
59
|
-
// oauth required
|
|
60
|
-
headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
|
|
61
|
-
}
|
|
62
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
63
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
64
|
-
}
|
|
65
|
-
const response = yield this.request({
|
|
66
|
-
path: `/v1/gfn/catalog/products`,
|
|
67
|
-
method: 'GET',
|
|
68
|
-
headers: headerParameters,
|
|
69
|
-
query: queryParameters,
|
|
70
|
-
}, initOverrides);
|
|
71
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProductsResponseFromJSON)(jsonValue));
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Lists all GFN products available to the project. Can be filtered by style codes using the search parameter.
|
|
76
|
-
* List GFN products
|
|
77
|
-
*/
|
|
78
|
-
listProducts(project_1) {
|
|
79
|
-
return __awaiter(this, arguments, void 0, function* (project, optionalParameters = {}, initOverrides) {
|
|
80
|
-
const response = yield this.listProductsRaw(Object.assign({ project: project }, optionalParameters), initOverrides);
|
|
81
|
-
return yield response.value();
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
exports.ProductsApi = ProductsApi;
|
|
@@ -1,48 +0,0 @@
|
|
|
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.4.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
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { ListStatements200Response, Statement } from '../models/index';
|
|
14
|
-
export interface GetStatementRequest {
|
|
15
|
-
project: string;
|
|
16
|
-
statementId: string;
|
|
17
|
-
}
|
|
18
|
-
export interface ListStatementsRequest {
|
|
19
|
-
project: string;
|
|
20
|
-
pageToken?: number;
|
|
21
|
-
pageSize?: number;
|
|
22
|
-
search?: string;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
export declare class StatementsApi extends runtime.BaseAPI {
|
|
28
|
-
/**
|
|
29
|
-
* Gets a GFN statement by the given ID.
|
|
30
|
-
* Get a GFN statement
|
|
31
|
-
*/
|
|
32
|
-
getStatementRaw(requestParameters: GetStatementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Statement>>;
|
|
33
|
-
/**
|
|
34
|
-
* Gets a GFN statement by the given ID.
|
|
35
|
-
* Get a GFN statement
|
|
36
|
-
*/
|
|
37
|
-
getStatement(project: string, statementId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Statement>;
|
|
38
|
-
/**
|
|
39
|
-
* Lists GFN statements available to the project
|
|
40
|
-
* List GFN statements
|
|
41
|
-
*/
|
|
42
|
-
listStatementsRaw(requestParameters: ListStatementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListStatements200Response>>;
|
|
43
|
-
/**
|
|
44
|
-
* Lists GFN statements available to the project
|
|
45
|
-
* List GFN statements
|
|
46
|
-
*/
|
|
47
|
-
listStatements(project: string, optionalParameters?: runtime.OptionalOnly<ListStatementsRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListStatements200Response>;
|
|
48
|
-
}
|
|
@@ -1,127 +0,0 @@
|
|
|
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
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.StatementsApi = void 0;
|
|
26
|
-
const runtime = require("../runtime");
|
|
27
|
-
const index_1 = require("../models/index");
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
class StatementsApi extends runtime.BaseAPI {
|
|
32
|
-
/**
|
|
33
|
-
* Gets a GFN statement by the given ID.
|
|
34
|
-
* Get a GFN statement
|
|
35
|
-
*/
|
|
36
|
-
getStatementRaw(requestParameters, initOverrides) {
|
|
37
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
-
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
39
|
-
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getStatement.');
|
|
40
|
-
}
|
|
41
|
-
if (requestParameters.statementId === null || requestParameters.statementId === undefined) {
|
|
42
|
-
throw new runtime.RequiredError('statementId', 'Required parameter requestParameters.statementId was null or undefined when calling getStatement.');
|
|
43
|
-
}
|
|
44
|
-
const queryParameters = {};
|
|
45
|
-
if (requestParameters.project !== undefined) {
|
|
46
|
-
queryParameters['project'] = requestParameters.project;
|
|
47
|
-
}
|
|
48
|
-
const headerParameters = {};
|
|
49
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
50
|
-
// oauth required
|
|
51
|
-
headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
|
|
52
|
-
}
|
|
53
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
54
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
55
|
-
}
|
|
56
|
-
const response = yield this.request({
|
|
57
|
-
path: `/v1/gfn/statements/{statementId}`.replace(`{${"statementId"}}`, encodeURIComponent(String(requestParameters.statementId))),
|
|
58
|
-
method: 'GET',
|
|
59
|
-
headers: headerParameters,
|
|
60
|
-
query: queryParameters,
|
|
61
|
-
}, initOverrides);
|
|
62
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.StatementFromJSON)(jsonValue));
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Gets a GFN statement by the given ID.
|
|
67
|
-
* Get a GFN statement
|
|
68
|
-
*/
|
|
69
|
-
getStatement(project, statementId, initOverrides) {
|
|
70
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
-
const response = yield this.getStatementRaw({
|
|
72
|
-
project: project, statementId: statementId,
|
|
73
|
-
}, initOverrides);
|
|
74
|
-
return yield response.value();
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Lists GFN statements available to the project
|
|
79
|
-
* List GFN statements
|
|
80
|
-
*/
|
|
81
|
-
listStatementsRaw(requestParameters, initOverrides) {
|
|
82
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
83
|
-
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
84
|
-
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling listStatements.');
|
|
85
|
-
}
|
|
86
|
-
const queryParameters = {};
|
|
87
|
-
if (requestParameters.project !== undefined) {
|
|
88
|
-
queryParameters['project'] = requestParameters.project;
|
|
89
|
-
}
|
|
90
|
-
if (requestParameters.pageToken !== undefined) {
|
|
91
|
-
queryParameters['pageToken'] = requestParameters.pageToken;
|
|
92
|
-
}
|
|
93
|
-
if (requestParameters.pageSize !== undefined) {
|
|
94
|
-
queryParameters['pageSize'] = requestParameters.pageSize;
|
|
95
|
-
}
|
|
96
|
-
if (requestParameters.search !== undefined) {
|
|
97
|
-
queryParameters['search'] = requestParameters.search;
|
|
98
|
-
}
|
|
99
|
-
const headerParameters = {};
|
|
100
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
101
|
-
// oauth required
|
|
102
|
-
headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
|
|
103
|
-
}
|
|
104
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
105
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
106
|
-
}
|
|
107
|
-
const response = yield this.request({
|
|
108
|
-
path: `/v1/gfn/statements`,
|
|
109
|
-
method: 'GET',
|
|
110
|
-
headers: headerParameters,
|
|
111
|
-
query: queryParameters,
|
|
112
|
-
}, initOverrides);
|
|
113
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListStatements200ResponseFromJSON)(jsonValue));
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Lists GFN statements available to the project
|
|
118
|
-
* List GFN statements
|
|
119
|
-
*/
|
|
120
|
-
listStatements(project_1) {
|
|
121
|
-
return __awaiter(this, arguments, void 0, function* (project, optionalParameters = {}, initOverrides) {
|
|
122
|
-
const response = yield this.listStatementsRaw(Object.assign({ project: project }, optionalParameters), initOverrides);
|
|
123
|
-
return yield response.value();
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
exports.StatementsApi = StatementsApi;
|
|
@@ -1,48 +0,0 @@
|
|
|
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.4.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
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { ExportTransactionsRequest, ListTransactions200Response } from '../models/index';
|
|
14
|
-
export interface ExportTransactionsOperationRequest {
|
|
15
|
-
project: string;
|
|
16
|
-
exportTransactionsRequest: ExportTransactionsRequest;
|
|
17
|
-
}
|
|
18
|
-
export interface ListTransactionsRequest {
|
|
19
|
-
project: string;
|
|
20
|
-
pageToken?: number;
|
|
21
|
-
pageSize?: number;
|
|
22
|
-
statementId?: string;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
export declare class TransactionsApi extends runtime.BaseAPI {
|
|
28
|
-
/**
|
|
29
|
-
* Exports all GFN transactions available to the project
|
|
30
|
-
* Export GFN transactions
|
|
31
|
-
*/
|
|
32
|
-
exportTransactionsRaw(requestParameters: ExportTransactionsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
33
|
-
/**
|
|
34
|
-
* Exports all GFN transactions available to the project
|
|
35
|
-
* Export GFN transactions
|
|
36
|
-
*/
|
|
37
|
-
exportTransactions(project: string, exportTransactionsRequest: ExportTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
38
|
-
/**
|
|
39
|
-
* Lists all GFN transactions available to the project
|
|
40
|
-
* List GFN transactions
|
|
41
|
-
*/
|
|
42
|
-
listTransactionsRaw(requestParameters: ListTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListTransactions200Response>>;
|
|
43
|
-
/**
|
|
44
|
-
* Lists all GFN transactions available to the project
|
|
45
|
-
* List GFN transactions
|
|
46
|
-
*/
|
|
47
|
-
listTransactions(project: string, optionalParameters?: runtime.OptionalOnly<ListTransactionsRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListTransactions200Response>;
|
|
48
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
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
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.TransactionsApi = void 0;
|
|
26
|
-
const runtime = require("../runtime");
|
|
27
|
-
const index_1 = require("../models/index");
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
class TransactionsApi extends runtime.BaseAPI {
|
|
32
|
-
/**
|
|
33
|
-
* Exports all GFN transactions available to the project
|
|
34
|
-
* Export GFN transactions
|
|
35
|
-
*/
|
|
36
|
-
exportTransactionsRaw(requestParameters, initOverrides) {
|
|
37
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
-
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
39
|
-
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling exportTransactions.');
|
|
40
|
-
}
|
|
41
|
-
if (requestParameters.exportTransactionsRequest === null || requestParameters.exportTransactionsRequest === undefined) {
|
|
42
|
-
throw new runtime.RequiredError('exportTransactionsRequest', 'Required parameter requestParameters.exportTransactionsRequest was null or undefined when calling exportTransactions.');
|
|
43
|
-
}
|
|
44
|
-
const queryParameters = {};
|
|
45
|
-
if (requestParameters.project !== undefined) {
|
|
46
|
-
queryParameters['project'] = requestParameters.project;
|
|
47
|
-
}
|
|
48
|
-
const headerParameters = {};
|
|
49
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
50
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
51
|
-
// oauth required
|
|
52
|
-
headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
|
|
53
|
-
}
|
|
54
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
55
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
56
|
-
}
|
|
57
|
-
const response = yield this.request({
|
|
58
|
-
path: `/v1/gfn/transactions/export`,
|
|
59
|
-
method: 'POST',
|
|
60
|
-
headers: headerParameters,
|
|
61
|
-
query: queryParameters,
|
|
62
|
-
body: (0, index_1.ExportTransactionsRequestToJSON)(requestParameters.exportTransactionsRequest),
|
|
63
|
-
}, initOverrides);
|
|
64
|
-
return new runtime.BlobApiResponse(response);
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Exports all GFN transactions available to the project
|
|
69
|
-
* Export GFN transactions
|
|
70
|
-
*/
|
|
71
|
-
exportTransactions(project, exportTransactionsRequest, initOverrides) {
|
|
72
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
73
|
-
const response = yield this.exportTransactionsRaw({
|
|
74
|
-
project: project, exportTransactionsRequest: exportTransactionsRequest,
|
|
75
|
-
}, initOverrides);
|
|
76
|
-
return yield response.value();
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Lists all GFN transactions available to the project
|
|
81
|
-
* List GFN transactions
|
|
82
|
-
*/
|
|
83
|
-
listTransactionsRaw(requestParameters, initOverrides) {
|
|
84
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
-
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
86
|
-
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling listTransactions.');
|
|
87
|
-
}
|
|
88
|
-
const queryParameters = {};
|
|
89
|
-
if (requestParameters.project !== undefined) {
|
|
90
|
-
queryParameters['project'] = requestParameters.project;
|
|
91
|
-
}
|
|
92
|
-
if (requestParameters.pageToken !== undefined) {
|
|
93
|
-
queryParameters['pageToken'] = requestParameters.pageToken;
|
|
94
|
-
}
|
|
95
|
-
if (requestParameters.pageSize !== undefined) {
|
|
96
|
-
queryParameters['pageSize'] = requestParameters.pageSize;
|
|
97
|
-
}
|
|
98
|
-
if (requestParameters.statementId !== undefined) {
|
|
99
|
-
queryParameters['statementId'] = requestParameters.statementId;
|
|
100
|
-
}
|
|
101
|
-
const headerParameters = {};
|
|
102
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
103
|
-
// oauth required
|
|
104
|
-
headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
|
|
105
|
-
}
|
|
106
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
107
|
-
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
108
|
-
}
|
|
109
|
-
const response = yield this.request({
|
|
110
|
-
path: `/v1/gfn/transactions`,
|
|
111
|
-
method: 'GET',
|
|
112
|
-
headers: headerParameters,
|
|
113
|
-
query: queryParameters,
|
|
114
|
-
}, initOverrides);
|
|
115
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListTransactions200ResponseFromJSON)(jsonValue));
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Lists all GFN transactions available to the project
|
|
120
|
-
* List GFN transactions
|
|
121
|
-
*/
|
|
122
|
-
listTransactions(project_1) {
|
|
123
|
-
return __awaiter(this, arguments, void 0, function* (project, optionalParameters = {}, initOverrides) {
|
|
124
|
-
const response = yield this.listTransactionsRaw(Object.assign({ project: project }, optionalParameters), initOverrides);
|
|
125
|
-
return yield response.value();
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
exports.TransactionsApi = TransactionsApi;
|
|
@@ -1,82 +0,0 @@
|
|
|
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.4.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
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { StockResponse, Variant, VariantStock, VariantsResponse } from '../models/index';
|
|
14
|
-
export interface GetStockRequest {
|
|
15
|
-
project: string;
|
|
16
|
-
variantId: string;
|
|
17
|
-
fulfillmentProjects?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface GetVariantRequest {
|
|
20
|
-
project: string;
|
|
21
|
-
variantId: string;
|
|
22
|
-
fields?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface ListStockRequest {
|
|
25
|
-
project: string;
|
|
26
|
-
fulfillmentProjects?: string;
|
|
27
|
-
pageToken?: number;
|
|
28
|
-
pageSize?: number;
|
|
29
|
-
search?: string;
|
|
30
|
-
}
|
|
31
|
-
export interface ListVariantsRequest {
|
|
32
|
-
project: string;
|
|
33
|
-
pageToken?: number;
|
|
34
|
-
pageSize?: number;
|
|
35
|
-
fields?: string;
|
|
36
|
-
search?: string;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export declare class VariantsApi extends runtime.BaseAPI {
|
|
42
|
-
/**
|
|
43
|
-
* Gets the stock level for the GFN variant with the given ID.
|
|
44
|
-
* Get GFN variant stock
|
|
45
|
-
*/
|
|
46
|
-
getStockRaw(requestParameters: GetStockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariantStock>>;
|
|
47
|
-
/**
|
|
48
|
-
* Gets the stock level for the GFN variant with the given ID.
|
|
49
|
-
* Get GFN variant stock
|
|
50
|
-
*/
|
|
51
|
-
getStock(project: string, variantId: string, optionalParameters?: runtime.OptionalOnly<GetStockRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariantStock>;
|
|
52
|
-
/**
|
|
53
|
-
* Gets a GFN variant by the given ID.
|
|
54
|
-
* Get a GFN variant
|
|
55
|
-
*/
|
|
56
|
-
getVariantRaw(requestParameters: GetVariantRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Variant>>;
|
|
57
|
-
/**
|
|
58
|
-
* Gets a GFN variant by the given ID.
|
|
59
|
-
* Get a GFN variant
|
|
60
|
-
*/
|
|
61
|
-
getVariant(project: string, variantId: string, optionalParameters?: runtime.OptionalOnly<GetVariantRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Variant>;
|
|
62
|
-
/**
|
|
63
|
-
* Lists the stock levels for all GFN variants available to the project.
|
|
64
|
-
* List GFN variant stock
|
|
65
|
-
*/
|
|
66
|
-
listStockRaw(requestParameters: ListStockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StockResponse>>;
|
|
67
|
-
/**
|
|
68
|
-
* Lists the stock levels for all GFN variants available to the project.
|
|
69
|
-
* List GFN variant stock
|
|
70
|
-
*/
|
|
71
|
-
listStock(project: string, optionalParameters?: runtime.OptionalOnly<ListStockRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StockResponse>;
|
|
72
|
-
/**
|
|
73
|
-
* Lists all GFN variants available to the project. Can be filtered by product ID, SKU, and attribute values using the search parameter.
|
|
74
|
-
* List GFN variants
|
|
75
|
-
*/
|
|
76
|
-
listVariantsRaw(requestParameters: ListVariantsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariantsResponse>>;
|
|
77
|
-
/**
|
|
78
|
-
* Lists all GFN variants available to the project. Can be filtered by product ID, SKU, and attribute values using the search parameter.
|
|
79
|
-
* List GFN variants
|
|
80
|
-
*/
|
|
81
|
-
listVariants(project: string, optionalParameters?: runtime.OptionalOnly<ListVariantsRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariantsResponse>;
|
|
82
|
-
}
|