@teemill/gfn-catalog 3.5.0 → 3.6.1
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/README.md +73 -2
- package/api.ts +50 -25
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +53 -28
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +53 -28
- package/dist/esm/api.js +1 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ApiError.md +22 -0
- package/docs/ApiValidationError.md +22 -0
- package/docs/Attribute.md +26 -0
- package/docs/AttributeThumbnail.md +23 -0
- package/docs/ExportTransactionsRequest.md +20 -0
- package/docs/Fulfillment.md +26 -0
- package/docs/Image.md +33 -0
- package/docs/InlineObject.md +22 -0
- package/docs/InlineObject1.md +22 -0
- package/docs/InlineObject2.md +22 -0
- package/docs/Location.md +22 -0
- package/docs/Product.md +40 -0
- package/docs/ProductAttribute.md +24 -0
- package/docs/ProductAttributeValuesInner.md +22 -0
- package/docs/ProductBrand.md +22 -0
- package/docs/ProductImagesInner.md +26 -0
- package/docs/ProductVariantsInner.md +22 -0
- package/docs/ProductsApi.md +138 -0
- package/docs/ProductsResponse.md +22 -0
- package/docs/Statement.md +34 -0
- package/docs/StatementsApi.md +132 -0
- package/docs/Stock.md +22 -0
- package/docs/StockResponse.md +22 -0
- package/docs/Transaction.md +38 -0
- package/docs/TransactionsApi.md +205 -0
- package/docs/Variant.md +34 -0
- package/docs/VariantManufacturerOrigin.md +23 -0
- package/docs/VariantProduct.md +22 -0
- package/docs/VariantStock.md +26 -0
- package/docs/VariantsApi.md +268 -0
- package/docs/VariantsResponse.md +22 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/gfn-catalog@3.
|
|
1
|
+
## @teemill/gfn-catalog@3.6.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/gfn-catalog@3.
|
|
39
|
+
npm install @teemill/gfn-catalog@3.6.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,3 +44,74 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
+
|
|
48
|
+
### Documentation for API Endpoints
|
|
49
|
+
|
|
50
|
+
All URIs are relative to *https://api.podos.io*
|
|
51
|
+
|
|
52
|
+
Class | Method | HTTP request | Description
|
|
53
|
+
------------ | ------------- | ------------- | -------------
|
|
54
|
+
*ProductsApi* | [**getProduct**](docs/ProductsApi.md#getproduct) | **GET** /v1/gfn/catalog/products/{productId} | Get a GFN product
|
|
55
|
+
*ProductsApi* | [**listProducts**](docs/ProductsApi.md#listproducts) | **GET** /v1/gfn/catalog/products | List GFN products
|
|
56
|
+
*StatementsApi* | [**getStatement**](docs/StatementsApi.md#getstatement) | **GET** /v1/gfn/statements/{statementId} | Get a GFN statement
|
|
57
|
+
*StatementsApi* | [**listStatements**](docs/StatementsApi.md#liststatements) | **GET** /v1/gfn/statements | List GFN statements
|
|
58
|
+
*TransactionsApi* | [**exportTransactions**](docs/TransactionsApi.md#exporttransactions) | **POST** /v1/gfn/transactions/export | Export GFN transactions
|
|
59
|
+
*TransactionsApi* | [**listFulfillments**](docs/TransactionsApi.md#listfulfillments) | **GET** /v1/gfn/transactions/fulfillments | Lists the GFN fulfillments of the project
|
|
60
|
+
*TransactionsApi* | [**listTransactions**](docs/TransactionsApi.md#listtransactions) | **GET** /v1/gfn/transactions | List GFN transactions
|
|
61
|
+
*VariantsApi* | [**getStock**](docs/VariantsApi.md#getstock) | **GET** /v1/gfn/catalog/stock/{variantId} | Get GFN variant stock
|
|
62
|
+
*VariantsApi* | [**getVariant**](docs/VariantsApi.md#getvariant) | **GET** /v1/gfn/catalog/variants/{variantId} | Get a GFN variant
|
|
63
|
+
*VariantsApi* | [**listStock**](docs/VariantsApi.md#liststock) | **GET** /v1/gfn/catalog/stock | List GFN variant stock
|
|
64
|
+
*VariantsApi* | [**listVariants**](docs/VariantsApi.md#listvariants) | **GET** /v1/gfn/catalog/variants | List GFN variants
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Documentation For Models
|
|
68
|
+
|
|
69
|
+
- [ApiError](docs/ApiError.md)
|
|
70
|
+
- [ApiValidationError](docs/ApiValidationError.md)
|
|
71
|
+
- [Attribute](docs/Attribute.md)
|
|
72
|
+
- [AttributeThumbnail](docs/AttributeThumbnail.md)
|
|
73
|
+
- [ExportTransactionsRequest](docs/ExportTransactionsRequest.md)
|
|
74
|
+
- [Fulfillment](docs/Fulfillment.md)
|
|
75
|
+
- [Image](docs/Image.md)
|
|
76
|
+
- [InlineObject](docs/InlineObject.md)
|
|
77
|
+
- [InlineObject1](docs/InlineObject1.md)
|
|
78
|
+
- [InlineObject2](docs/InlineObject2.md)
|
|
79
|
+
- [Location](docs/Location.md)
|
|
80
|
+
- [Product](docs/Product.md)
|
|
81
|
+
- [ProductAttribute](docs/ProductAttribute.md)
|
|
82
|
+
- [ProductAttributeValuesInner](docs/ProductAttributeValuesInner.md)
|
|
83
|
+
- [ProductBrand](docs/ProductBrand.md)
|
|
84
|
+
- [ProductImagesInner](docs/ProductImagesInner.md)
|
|
85
|
+
- [ProductVariantsInner](docs/ProductVariantsInner.md)
|
|
86
|
+
- [ProductsResponse](docs/ProductsResponse.md)
|
|
87
|
+
- [Statement](docs/Statement.md)
|
|
88
|
+
- [Stock](docs/Stock.md)
|
|
89
|
+
- [StockResponse](docs/StockResponse.md)
|
|
90
|
+
- [Transaction](docs/Transaction.md)
|
|
91
|
+
- [Variant](docs/Variant.md)
|
|
92
|
+
- [VariantManufacturerOrigin](docs/VariantManufacturerOrigin.md)
|
|
93
|
+
- [VariantProduct](docs/VariantProduct.md)
|
|
94
|
+
- [VariantStock](docs/VariantStock.md)
|
|
95
|
+
- [VariantsResponse](docs/VariantsResponse.md)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<a id="documentation-for-authorization"></a>
|
|
99
|
+
## Documentation For Authorization
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
Authentication schemes defined for the API:
|
|
103
|
+
<a id="api-key"></a>
|
|
104
|
+
### api-key
|
|
105
|
+
|
|
106
|
+
- **Type**: API key
|
|
107
|
+
- **API key parameter name**: Authorization
|
|
108
|
+
- **Location**: HTTP header
|
|
109
|
+
|
|
110
|
+
<a id="session-oauth"></a>
|
|
111
|
+
### session-oauth
|
|
112
|
+
|
|
113
|
+
- **Type**: OAuth
|
|
114
|
+
- **Flow**: password
|
|
115
|
+
- **Authorization URL**:
|
|
116
|
+
- **Scopes**: N/A
|
|
117
|
+
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* Use this API to access the Global Fulfillment 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.6.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -216,57 +216,57 @@ export interface Image {
|
|
|
216
216
|
/**
|
|
217
217
|
*
|
|
218
218
|
* @export
|
|
219
|
-
* @interface
|
|
219
|
+
* @interface InlineObject
|
|
220
220
|
*/
|
|
221
|
-
export interface
|
|
221
|
+
export interface InlineObject {
|
|
222
222
|
/**
|
|
223
223
|
*
|
|
224
|
-
* @type {Array<
|
|
225
|
-
* @memberof
|
|
224
|
+
* @type {Array<Statement>}
|
|
225
|
+
* @memberof InlineObject
|
|
226
226
|
*/
|
|
227
|
-
'
|
|
227
|
+
'statements'?: Array<Statement>;
|
|
228
228
|
/**
|
|
229
229
|
*
|
|
230
230
|
* @type {number}
|
|
231
|
-
* @memberof
|
|
231
|
+
* @memberof InlineObject
|
|
232
232
|
*/
|
|
233
233
|
'nextPageToken'?: number | null;
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
236
|
*
|
|
237
237
|
* @export
|
|
238
|
-
* @interface
|
|
238
|
+
* @interface InlineObject1
|
|
239
239
|
*/
|
|
240
|
-
export interface
|
|
240
|
+
export interface InlineObject1 {
|
|
241
241
|
/**
|
|
242
242
|
*
|
|
243
|
-
* @type {Array<
|
|
244
|
-
* @memberof
|
|
243
|
+
* @type {Array<Transaction>}
|
|
244
|
+
* @memberof InlineObject1
|
|
245
245
|
*/
|
|
246
|
-
'
|
|
246
|
+
'transactions'?: Array<Transaction>;
|
|
247
247
|
/**
|
|
248
248
|
*
|
|
249
249
|
* @type {number}
|
|
250
|
-
* @memberof
|
|
250
|
+
* @memberof InlineObject1
|
|
251
251
|
*/
|
|
252
252
|
'nextPageToken'?: number | null;
|
|
253
253
|
}
|
|
254
254
|
/**
|
|
255
255
|
*
|
|
256
256
|
* @export
|
|
257
|
-
* @interface
|
|
257
|
+
* @interface InlineObject2
|
|
258
258
|
*/
|
|
259
|
-
export interface
|
|
259
|
+
export interface InlineObject2 {
|
|
260
260
|
/**
|
|
261
261
|
*
|
|
262
|
-
* @type {Array<
|
|
263
|
-
* @memberof
|
|
262
|
+
* @type {Array<Fulfillment>}
|
|
263
|
+
* @memberof InlineObject2
|
|
264
264
|
*/
|
|
265
|
-
'
|
|
265
|
+
'fulfillments'?: Array<Fulfillment>;
|
|
266
266
|
/**
|
|
267
267
|
*
|
|
268
268
|
* @type {number}
|
|
269
|
-
* @memberof
|
|
269
|
+
* @memberof InlineObject2
|
|
270
270
|
*/
|
|
271
271
|
'nextPageToken'?: number | null;
|
|
272
272
|
}
|
|
@@ -355,6 +355,12 @@ export interface Product {
|
|
|
355
355
|
* @memberof Product
|
|
356
356
|
*/
|
|
357
357
|
'variants': Array<ProductVariantsInner>;
|
|
358
|
+
/**
|
|
359
|
+
*
|
|
360
|
+
* @type {ProductBrand}
|
|
361
|
+
* @memberof Product
|
|
362
|
+
*/
|
|
363
|
+
'brand'?: ProductBrand;
|
|
358
364
|
}
|
|
359
365
|
/**
|
|
360
366
|
*
|
|
@@ -400,6 +406,25 @@ export interface ProductAttributeValuesInner {
|
|
|
400
406
|
*/
|
|
401
407
|
'value': string;
|
|
402
408
|
}
|
|
409
|
+
/**
|
|
410
|
+
*
|
|
411
|
+
* @export
|
|
412
|
+
* @interface ProductBrand
|
|
413
|
+
*/
|
|
414
|
+
export interface ProductBrand {
|
|
415
|
+
/**
|
|
416
|
+
* the name of the brand that manufactures/supplies the product
|
|
417
|
+
* @type {string}
|
|
418
|
+
* @memberof ProductBrand
|
|
419
|
+
*/
|
|
420
|
+
'name': string;
|
|
421
|
+
/**
|
|
422
|
+
* a URL to the brand\'s logo
|
|
423
|
+
* @type {string}
|
|
424
|
+
* @memberof ProductBrand
|
|
425
|
+
*/
|
|
426
|
+
'logo'?: string;
|
|
427
|
+
}
|
|
403
428
|
/**
|
|
404
429
|
*
|
|
405
430
|
* @export
|
|
@@ -1231,7 +1256,7 @@ export const StatementsApiFp = function(configuration?: Configuration) {
|
|
|
1231
1256
|
* @param {*} [options] Override http request option.
|
|
1232
1257
|
* @throws {RequiredError}
|
|
1233
1258
|
*/
|
|
1234
|
-
async listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1259
|
+
async listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>> {
|
|
1235
1260
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listStatements(project, pageToken, pageSize, search, options);
|
|
1236
1261
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1237
1262
|
const localVarOperationServerBasePath = operationServerMap['StatementsApi.listStatements']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1264,7 +1289,7 @@ export const StatementsApiFactory = function (configuration?: Configuration, bas
|
|
|
1264
1289
|
* @param {*} [options] Override http request option.
|
|
1265
1290
|
* @throws {RequiredError}
|
|
1266
1291
|
*/
|
|
1267
|
-
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1292
|
+
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject> {
|
|
1268
1293
|
return localVarFp.listStatements(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1269
1294
|
},
|
|
1270
1295
|
};
|
|
@@ -1578,7 +1603,7 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
|
1578
1603
|
* @param {*} [options] Override http request option.
|
|
1579
1604
|
* @throws {RequiredError}
|
|
1580
1605
|
*/
|
|
1581
|
-
async listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1606
|
+
async listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject2>> {
|
|
1582
1607
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listFulfillments(project, pageToken, pageSize, statementId, options);
|
|
1583
1608
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1584
1609
|
const localVarOperationServerBasePath = operationServerMap['TransactionsApi.listFulfillments']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1596,7 +1621,7 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
|
1596
1621
|
* @param {*} [options] Override http request option.
|
|
1597
1622
|
* @throws {RequiredError}
|
|
1598
1623
|
*/
|
|
1599
|
-
async listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1624
|
+
async listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>> {
|
|
1600
1625
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(project, pageToken, pageSize, statementId, fulfillmentId, search, options);
|
|
1601
1626
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1602
1627
|
const localVarOperationServerBasePath = operationServerMap['TransactionsApi.listTransactions']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1629,7 +1654,7 @@ export const TransactionsApiFactory = function (configuration?: Configuration, b
|
|
|
1629
1654
|
* @param {*} [options] Override http request option.
|
|
1630
1655
|
* @throws {RequiredError}
|
|
1631
1656
|
*/
|
|
1632
|
-
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1657
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject2> {
|
|
1633
1658
|
return localVarFp.listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(axios, basePath));
|
|
1634
1659
|
},
|
|
1635
1660
|
/**
|
|
@@ -1639,7 +1664,7 @@ export const TransactionsApiFactory = function (configuration?: Configuration, b
|
|
|
1639
1664
|
* @param {*} [options] Override http request option.
|
|
1640
1665
|
* @throws {RequiredError}
|
|
1641
1666
|
*/
|
|
1642
|
-
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1667
|
+
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1> {
|
|
1643
1668
|
return localVarFp.listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1644
1669
|
},
|
|
1645
1670
|
};
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* Use this API to access the Global Fulfillment 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.6.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* Use this API to access the Global Fulfillment 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.6.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* Use this API to access the Global Fulfillment 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.
|
|
7
|
+
* The version of the OpenAPI document: 3.6.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfillment 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: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.6.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -205,57 +205,57 @@ export interface Image {
|
|
|
205
205
|
/**
|
|
206
206
|
*
|
|
207
207
|
* @export
|
|
208
|
-
* @interface
|
|
208
|
+
* @interface InlineObject
|
|
209
209
|
*/
|
|
210
|
-
export interface
|
|
210
|
+
export interface InlineObject {
|
|
211
211
|
/**
|
|
212
212
|
*
|
|
213
|
-
* @type {Array<
|
|
214
|
-
* @memberof
|
|
213
|
+
* @type {Array<Statement>}
|
|
214
|
+
* @memberof InlineObject
|
|
215
215
|
*/
|
|
216
|
-
'
|
|
216
|
+
'statements'?: Array<Statement>;
|
|
217
217
|
/**
|
|
218
218
|
*
|
|
219
219
|
* @type {number}
|
|
220
|
-
* @memberof
|
|
220
|
+
* @memberof InlineObject
|
|
221
221
|
*/
|
|
222
222
|
'nextPageToken'?: number | null;
|
|
223
223
|
}
|
|
224
224
|
/**
|
|
225
225
|
*
|
|
226
226
|
* @export
|
|
227
|
-
* @interface
|
|
227
|
+
* @interface InlineObject1
|
|
228
228
|
*/
|
|
229
|
-
export interface
|
|
229
|
+
export interface InlineObject1 {
|
|
230
230
|
/**
|
|
231
231
|
*
|
|
232
|
-
* @type {Array<
|
|
233
|
-
* @memberof
|
|
232
|
+
* @type {Array<Transaction>}
|
|
233
|
+
* @memberof InlineObject1
|
|
234
234
|
*/
|
|
235
|
-
'
|
|
235
|
+
'transactions'?: Array<Transaction>;
|
|
236
236
|
/**
|
|
237
237
|
*
|
|
238
238
|
* @type {number}
|
|
239
|
-
* @memberof
|
|
239
|
+
* @memberof InlineObject1
|
|
240
240
|
*/
|
|
241
241
|
'nextPageToken'?: number | null;
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
244
244
|
*
|
|
245
245
|
* @export
|
|
246
|
-
* @interface
|
|
246
|
+
* @interface InlineObject2
|
|
247
247
|
*/
|
|
248
|
-
export interface
|
|
248
|
+
export interface InlineObject2 {
|
|
249
249
|
/**
|
|
250
250
|
*
|
|
251
|
-
* @type {Array<
|
|
252
|
-
* @memberof
|
|
251
|
+
* @type {Array<Fulfillment>}
|
|
252
|
+
* @memberof InlineObject2
|
|
253
253
|
*/
|
|
254
|
-
'
|
|
254
|
+
'fulfillments'?: Array<Fulfillment>;
|
|
255
255
|
/**
|
|
256
256
|
*
|
|
257
257
|
* @type {number}
|
|
258
|
-
* @memberof
|
|
258
|
+
* @memberof InlineObject2
|
|
259
259
|
*/
|
|
260
260
|
'nextPageToken'?: number | null;
|
|
261
261
|
}
|
|
@@ -344,6 +344,12 @@ export interface Product {
|
|
|
344
344
|
* @memberof Product
|
|
345
345
|
*/
|
|
346
346
|
'variants': Array<ProductVariantsInner>;
|
|
347
|
+
/**
|
|
348
|
+
*
|
|
349
|
+
* @type {ProductBrand}
|
|
350
|
+
* @memberof Product
|
|
351
|
+
*/
|
|
352
|
+
'brand'?: ProductBrand;
|
|
347
353
|
}
|
|
348
354
|
/**
|
|
349
355
|
*
|
|
@@ -389,6 +395,25 @@ export interface ProductAttributeValuesInner {
|
|
|
389
395
|
*/
|
|
390
396
|
'value': string;
|
|
391
397
|
}
|
|
398
|
+
/**
|
|
399
|
+
*
|
|
400
|
+
* @export
|
|
401
|
+
* @interface ProductBrand
|
|
402
|
+
*/
|
|
403
|
+
export interface ProductBrand {
|
|
404
|
+
/**
|
|
405
|
+
* the name of the brand that manufactures/supplies the product
|
|
406
|
+
* @type {string}
|
|
407
|
+
* @memberof ProductBrand
|
|
408
|
+
*/
|
|
409
|
+
'name': string;
|
|
410
|
+
/**
|
|
411
|
+
* a URL to the brand\'s logo
|
|
412
|
+
* @type {string}
|
|
413
|
+
* @memberof ProductBrand
|
|
414
|
+
*/
|
|
415
|
+
'logo'?: string;
|
|
416
|
+
}
|
|
392
417
|
/**
|
|
393
418
|
*
|
|
394
419
|
* @export
|
|
@@ -983,7 +1008,7 @@ export declare const StatementsApiFp: (configuration?: Configuration) => {
|
|
|
983
1008
|
* @param {*} [options] Override http request option.
|
|
984
1009
|
* @throws {RequiredError}
|
|
985
1010
|
*/
|
|
986
|
-
listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1011
|
+
listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
|
|
987
1012
|
};
|
|
988
1013
|
/**
|
|
989
1014
|
* StatementsApi - factory interface
|
|
@@ -1005,7 +1030,7 @@ export declare const StatementsApiFactory: (configuration?: Configuration, baseP
|
|
|
1005
1030
|
* @param {*} [options] Override http request option.
|
|
1006
1031
|
* @throws {RequiredError}
|
|
1007
1032
|
*/
|
|
1008
|
-
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1033
|
+
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
|
|
1009
1034
|
};
|
|
1010
1035
|
/**
|
|
1011
1036
|
* Request parameters for getStatement operation in StatementsApi.
|
|
@@ -1081,7 +1106,7 @@ export declare class StatementsApi extends BaseAPI {
|
|
|
1081
1106
|
* @throws {RequiredError}
|
|
1082
1107
|
* @memberof StatementsApi
|
|
1083
1108
|
*/
|
|
1084
|
-
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1109
|
+
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
|
|
1085
1110
|
}
|
|
1086
1111
|
/**
|
|
1087
1112
|
* TransactionsApi - axios parameter creator
|
|
@@ -1146,7 +1171,7 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
|
1146
1171
|
* @param {*} [options] Override http request option.
|
|
1147
1172
|
* @throws {RequiredError}
|
|
1148
1173
|
*/
|
|
1149
|
-
listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1174
|
+
listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject2>>;
|
|
1150
1175
|
/**
|
|
1151
1176
|
* Lists all GFN transactions available to the project
|
|
1152
1177
|
* @summary List GFN transactions
|
|
@@ -1159,7 +1184,7 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
|
1159
1184
|
* @param {*} [options] Override http request option.
|
|
1160
1185
|
* @throws {RequiredError}
|
|
1161
1186
|
*/
|
|
1162
|
-
listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1187
|
+
listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>>;
|
|
1163
1188
|
};
|
|
1164
1189
|
/**
|
|
1165
1190
|
* TransactionsApi - factory interface
|
|
@@ -1181,7 +1206,7 @@ export declare const TransactionsApiFactory: (configuration?: Configuration, bas
|
|
|
1181
1206
|
* @param {*} [options] Override http request option.
|
|
1182
1207
|
* @throws {RequiredError}
|
|
1183
1208
|
*/
|
|
1184
|
-
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1209
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject2>;
|
|
1185
1210
|
/**
|
|
1186
1211
|
* Lists all GFN transactions available to the project
|
|
1187
1212
|
* @summary List GFN transactions
|
|
@@ -1189,7 +1214,7 @@ export declare const TransactionsApiFactory: (configuration?: Configuration, bas
|
|
|
1189
1214
|
* @param {*} [options] Override http request option.
|
|
1190
1215
|
* @throws {RequiredError}
|
|
1191
1216
|
*/
|
|
1192
|
-
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1217
|
+
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1>;
|
|
1193
1218
|
};
|
|
1194
1219
|
/**
|
|
1195
1220
|
* Request parameters for exportTransactions operation in TransactionsApi.
|
|
@@ -1308,7 +1333,7 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
1308
1333
|
* @throws {RequiredError}
|
|
1309
1334
|
* @memberof TransactionsApi
|
|
1310
1335
|
*/
|
|
1311
|
-
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1336
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject2, any>>;
|
|
1312
1337
|
/**
|
|
1313
1338
|
* Lists all GFN transactions available to the project
|
|
1314
1339
|
* @summary List GFN transactions
|
|
@@ -1317,7 +1342,7 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
1317
1342
|
* @throws {RequiredError}
|
|
1318
1343
|
* @memberof TransactionsApi
|
|
1319
1344
|
*/
|
|
1320
|
-
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1345
|
+
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject1, any>>;
|
|
1321
1346
|
}
|
|
1322
1347
|
/**
|
|
1323
1348
|
* VariantsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfillment 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: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.6.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfillment 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: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.6.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfillment 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: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.6.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfillment 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: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.6.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfillment 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: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.6.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global Fulfillment 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: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.6.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfillment 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: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.6.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|