@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
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ProductAttributeValuesInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**sortOrder** | **number** | Position of the attribute value when ordered | [default to undefined]
|
|
9
|
+
**value** | **string** | Value of the attribute | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ProductAttributeValuesInner } from '@teemill/gfn-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ProductAttributeValuesInner = {
|
|
17
|
+
sortOrder,
|
|
18
|
+
value,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ProductBrand
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | the name of the brand that manufactures/supplies the product | [default to undefined]
|
|
9
|
+
**logo** | **string** | a URL to the brand\'s logo | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ProductBrand } from '@teemill/gfn-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ProductBrand = {
|
|
17
|
+
name,
|
|
18
|
+
logo,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# ProductImagesInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**src** | **string** | | [default to undefined]
|
|
10
|
+
**alt** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**sortOrder** | **number** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProductImagesInner } from '@teemill/gfn-catalog';
|
|
17
|
+
|
|
18
|
+
const instance: ProductImagesInner = {
|
|
19
|
+
id,
|
|
20
|
+
src,
|
|
21
|
+
alt,
|
|
22
|
+
sortOrder,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ProductVariantsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**ref** | **string** | A reference to the resource location | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ProductVariantsInner } from '@teemill/gfn-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ProductVariantsInner = {
|
|
17
|
+
id,
|
|
18
|
+
ref,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# ProductsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.podos.io*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getProduct**](#getproduct) | **GET** /v1/gfn/catalog/products/{productId} | Get a GFN product|
|
|
8
|
+
|[**listProducts**](#listproducts) | **GET** /v1/gfn/catalog/products | List GFN products|
|
|
9
|
+
|
|
10
|
+
# **getProduct**
|
|
11
|
+
> Product getProduct()
|
|
12
|
+
|
|
13
|
+
Gets a GFN product by the given ID.
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
ProductsApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from '@teemill/gfn-catalog';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new ProductsApi(configuration);
|
|
25
|
+
|
|
26
|
+
let project: string; //What project it is (default to undefined)
|
|
27
|
+
let productId: string; // (default to undefined)
|
|
28
|
+
let fields: string; //Filter response fields to only include a subset of the resource. (optional) (default to undefined)
|
|
29
|
+
|
|
30
|
+
const { status, data } = await apiInstance.getProduct(
|
|
31
|
+
project,
|
|
32
|
+
productId,
|
|
33
|
+
fields
|
|
34
|
+
);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Parameters
|
|
38
|
+
|
|
39
|
+
|Name | Type | Description | Notes|
|
|
40
|
+
|------------- | ------------- | ------------- | -------------|
|
|
41
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
42
|
+
| **productId** | [**string**] | | defaults to undefined|
|
|
43
|
+
| **fields** | [**string**] | Filter response fields to only include a subset of the resource. | (optional) defaults to undefined|
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Return type
|
|
47
|
+
|
|
48
|
+
**Product**
|
|
49
|
+
|
|
50
|
+
### Authorization
|
|
51
|
+
|
|
52
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
53
|
+
|
|
54
|
+
### HTTP request headers
|
|
55
|
+
|
|
56
|
+
- **Content-Type**: Not defined
|
|
57
|
+
- **Accept**: application/json
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### HTTP response details
|
|
61
|
+
| Status code | Description | Response headers |
|
|
62
|
+
|-------------|-------------|------------------|
|
|
63
|
+
|**200** | Successfully retrieved a single GFN product | - |
|
|
64
|
+
|**400** | Failed validation. | - |
|
|
65
|
+
|**401** | Not authorised to access this resource. | - |
|
|
66
|
+
|**403** | Refuse to authorize. | - |
|
|
67
|
+
|**404** | Resource not found. | - |
|
|
68
|
+
|**500** | Unknown server error. | - |
|
|
69
|
+
|
|
70
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
71
|
+
|
|
72
|
+
# **listProducts**
|
|
73
|
+
> ProductsResponse listProducts()
|
|
74
|
+
|
|
75
|
+
Lists all GFN products available to the project. Can be filtered by style codes using the search parameter.
|
|
76
|
+
|
|
77
|
+
### Example
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
import {
|
|
81
|
+
ProductsApi,
|
|
82
|
+
Configuration
|
|
83
|
+
} from '@teemill/gfn-catalog';
|
|
84
|
+
|
|
85
|
+
const configuration = new Configuration();
|
|
86
|
+
const apiInstance = new ProductsApi(configuration);
|
|
87
|
+
|
|
88
|
+
let project: string; //What project it is (default to undefined)
|
|
89
|
+
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
90
|
+
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 50)
|
|
91
|
+
let fields: string; //Filter response fields to only include a subset of the resource. (optional) (default to undefined)
|
|
92
|
+
let search: string; //Search terms to filter based on. (optional) (default to undefined)
|
|
93
|
+
|
|
94
|
+
const { status, data } = await apiInstance.listProducts(
|
|
95
|
+
project,
|
|
96
|
+
pageToken,
|
|
97
|
+
pageSize,
|
|
98
|
+
fields,
|
|
99
|
+
search
|
|
100
|
+
);
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### Parameters
|
|
104
|
+
|
|
105
|
+
|Name | Type | Description | Notes|
|
|
106
|
+
|------------- | ------------- | ------------- | -------------|
|
|
107
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
108
|
+
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
109
|
+
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 50|
|
|
110
|
+
| **fields** | [**string**] | Filter response fields to only include a subset of the resource. | (optional) defaults to undefined|
|
|
111
|
+
| **search** | [**string**] | Search terms to filter based on. | (optional) defaults to undefined|
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### Return type
|
|
115
|
+
|
|
116
|
+
**ProductsResponse**
|
|
117
|
+
|
|
118
|
+
### Authorization
|
|
119
|
+
|
|
120
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
121
|
+
|
|
122
|
+
### HTTP request headers
|
|
123
|
+
|
|
124
|
+
- **Content-Type**: Not defined
|
|
125
|
+
- **Accept**: application/json
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### HTTP response details
|
|
129
|
+
| Status code | Description | Response headers |
|
|
130
|
+
|-------------|-------------|------------------|
|
|
131
|
+
|**200** | Successfully retrieved all GFN products. | - |
|
|
132
|
+
|**400** | Failed validation. | - |
|
|
133
|
+
|**401** | Not authorised to access this resource. | - |
|
|
134
|
+
|**403** | Refuse to authorize. | - |
|
|
135
|
+
|**500** | Unknown server error. | - |
|
|
136
|
+
|
|
137
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
138
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ProductsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**products** | [**Array<Product>**](Product.md) | | [optional] [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ProductsResponse } from '@teemill/gfn-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ProductsResponse = {
|
|
17
|
+
products,
|
|
18
|
+
nextPageToken,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Statement
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**ref** | **string** | A reference to the resource location | [default to undefined]
|
|
10
|
+
**total** | **number** | | [default to undefined]
|
|
11
|
+
**startDate** | **string** | | [default to undefined]
|
|
12
|
+
**endDate** | **string** | | [default to undefined]
|
|
13
|
+
**createdAt** | **string** | | [default to undefined]
|
|
14
|
+
**fulfillmentCount** | **number** | | [default to undefined]
|
|
15
|
+
**issuedAt** | **string** | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { Statement } from '@teemill/gfn-catalog';
|
|
21
|
+
|
|
22
|
+
const instance: Statement = {
|
|
23
|
+
id,
|
|
24
|
+
ref,
|
|
25
|
+
total,
|
|
26
|
+
startDate,
|
|
27
|
+
endDate,
|
|
28
|
+
createdAt,
|
|
29
|
+
fulfillmentCount,
|
|
30
|
+
issuedAt,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# StatementsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.podos.io*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getStatement**](#getstatement) | **GET** /v1/gfn/statements/{statementId} | Get a GFN statement|
|
|
8
|
+
|[**listStatements**](#liststatements) | **GET** /v1/gfn/statements | List GFN statements|
|
|
9
|
+
|
|
10
|
+
# **getStatement**
|
|
11
|
+
> Statement getStatement()
|
|
12
|
+
|
|
13
|
+
Gets a GFN statement by the given ID.
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
StatementsApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from '@teemill/gfn-catalog';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new StatementsApi(configuration);
|
|
25
|
+
|
|
26
|
+
let project: string; //What project it is (default to undefined)
|
|
27
|
+
let statementId: string; // (default to undefined)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.getStatement(
|
|
30
|
+
project,
|
|
31
|
+
statementId
|
|
32
|
+
);
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Parameters
|
|
36
|
+
|
|
37
|
+
|Name | Type | Description | Notes|
|
|
38
|
+
|------------- | ------------- | ------------- | -------------|
|
|
39
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
40
|
+
| **statementId** | [**string**] | | defaults to undefined|
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Return type
|
|
44
|
+
|
|
45
|
+
**Statement**
|
|
46
|
+
|
|
47
|
+
### Authorization
|
|
48
|
+
|
|
49
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
50
|
+
|
|
51
|
+
### HTTP request headers
|
|
52
|
+
|
|
53
|
+
- **Content-Type**: Not defined
|
|
54
|
+
- **Accept**: application/json
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### HTTP response details
|
|
58
|
+
| Status code | Description | Response headers |
|
|
59
|
+
|-------------|-------------|------------------|
|
|
60
|
+
|**200** | Successfully retrieved a GFN statement. | - |
|
|
61
|
+
|**400** | Failed validation. | - |
|
|
62
|
+
|**401** | Not authorised to access this resource. | - |
|
|
63
|
+
|**403** | Refuse to authorize. | - |
|
|
64
|
+
|**404** | Resource not found. | - |
|
|
65
|
+
|**500** | Unknown server error. | - |
|
|
66
|
+
|
|
67
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
68
|
+
|
|
69
|
+
# **listStatements**
|
|
70
|
+
> InlineObject listStatements()
|
|
71
|
+
|
|
72
|
+
Lists GFN statements available to the project
|
|
73
|
+
|
|
74
|
+
### Example
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import {
|
|
78
|
+
StatementsApi,
|
|
79
|
+
Configuration
|
|
80
|
+
} from '@teemill/gfn-catalog';
|
|
81
|
+
|
|
82
|
+
const configuration = new Configuration();
|
|
83
|
+
const apiInstance = new StatementsApi(configuration);
|
|
84
|
+
|
|
85
|
+
let project: string; //What project it is (default to undefined)
|
|
86
|
+
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
87
|
+
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
88
|
+
let search: string; //Search term used to filter results by (optional) (default to undefined)
|
|
89
|
+
|
|
90
|
+
const { status, data } = await apiInstance.listStatements(
|
|
91
|
+
project,
|
|
92
|
+
pageToken,
|
|
93
|
+
pageSize,
|
|
94
|
+
search
|
|
95
|
+
);
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Parameters
|
|
99
|
+
|
|
100
|
+
|Name | Type | Description | Notes|
|
|
101
|
+
|------------- | ------------- | ------------- | -------------|
|
|
102
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
103
|
+
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
104
|
+
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
105
|
+
| **search** | [**string**] | Search term used to filter results by | (optional) defaults to undefined|
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### Return type
|
|
109
|
+
|
|
110
|
+
**InlineObject**
|
|
111
|
+
|
|
112
|
+
### Authorization
|
|
113
|
+
|
|
114
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
115
|
+
|
|
116
|
+
### HTTP request headers
|
|
117
|
+
|
|
118
|
+
- **Content-Type**: Not defined
|
|
119
|
+
- **Accept**: application/json
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### HTTP response details
|
|
123
|
+
| Status code | Description | Response headers |
|
|
124
|
+
|-------------|-------------|------------------|
|
|
125
|
+
|**200** | Successfully retrieved GFN statements. | - |
|
|
126
|
+
|**400** | Failed validation. | - |
|
|
127
|
+
|**401** | Not authorised to access this resource. | - |
|
|
128
|
+
|**403** | Refuse to authorize. | - |
|
|
129
|
+
|**500** | Unknown server error. | - |
|
|
130
|
+
|
|
131
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
132
|
+
|
package/docs/Stock.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Stock
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**level** | **number** | Current stock level | [optional] [default to undefined]
|
|
9
|
+
**locations** | [**Array<Location>**](Location.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Stock } from '@teemill/gfn-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: Stock = {
|
|
17
|
+
level,
|
|
18
|
+
locations,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# StockResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**variants** | [**Array<VariantStock>**](VariantStock.md) | | [optional] [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { StockResponse } from '@teemill/gfn-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: StockResponse = {
|
|
17
|
+
variants,
|
|
18
|
+
nextPageToken,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Transaction
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**ref** | **string** | A reference to the resource location | [default to undefined]
|
|
10
|
+
**statement** | **string** | A reference to the resource location | [optional] [default to undefined]
|
|
11
|
+
**cost** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**taxable** | **boolean** | | [optional] [default to undefined]
|
|
14
|
+
**createdAt** | **string** | | [default to undefined]
|
|
15
|
+
**fulfillmentId** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**orderId** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { Transaction } from '@teemill/gfn-catalog';
|
|
23
|
+
|
|
24
|
+
const instance: Transaction = {
|
|
25
|
+
id,
|
|
26
|
+
ref,
|
|
27
|
+
statement,
|
|
28
|
+
cost,
|
|
29
|
+
type,
|
|
30
|
+
taxable,
|
|
31
|
+
createdAt,
|
|
32
|
+
fulfillmentId,
|
|
33
|
+
orderId,
|
|
34
|
+
description,
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|