@teemill/gfn-catalog 3.9.3 → 3.9.6

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/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * GFN Catalog
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.9.3
7
+ * The version of the OpenAPI document: 3.9.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,12 +29,12 @@ import { BASE_PATH, BaseAPI, operationServerMap } from './base';
29
29
  export const AttributeThumbnailTypeEnum = {
30
30
  Text: 'text',
31
31
  Color: 'color',
32
- Image: 'image'
32
+ Image: 'image',
33
33
  };
34
34
  export const TransactionTypeEnum = {
35
35
  Blank: 'blank',
36
36
  Application: 'application',
37
- Shipping: 'shipping'
37
+ Shipping: 'shipping',
38
38
  };
39
39
  /**
40
40
  * ProductsApi - axios parameter creator
@@ -45,7 +45,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
45
45
  * Gets a GFN product by the given ID.
46
46
  * @summary Get a GFN product
47
47
  * @param {string} project What project it is
48
- * @param {string} productId
48
+ * @param {string} productId The unique identifier of the GFN catalog product.
49
49
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
50
50
  * @param {*} [options] Override http request option.
51
51
  * @throws {RequiredError}
@@ -56,7 +56,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
56
56
  // verify required parameter 'productId' is not null or undefined
57
57
  assertParamExists('getProduct', 'productId', productId);
58
58
  const localVarPath = `/v1/gfn/catalog/products/{productId}`
59
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
59
+ .replace('{productId}', encodeURIComponent(String(productId)));
60
60
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
61
61
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62
62
  let baseOptions;
@@ -151,7 +151,7 @@ export const ProductsApiFp = function (configuration) {
151
151
  * Gets a GFN product by the given ID.
152
152
  * @summary Get a GFN product
153
153
  * @param {string} project What project it is
154
- * @param {string} productId
154
+ * @param {string} productId The unique identifier of the GFN catalog product.
155
155
  * @param {string} [fields] Filter response fields to only include a subset of the resource.
156
156
  * @param {*} [options] Override http request option.
157
157
  * @throws {RequiredError}
@@ -249,7 +249,7 @@ export const StatementsApiAxiosParamCreator = function (configuration) {
249
249
  * Gets a GFN statement by the given ID.
250
250
  * @summary Get a GFN statement
251
251
  * @param {string} project What project it is
252
- * @param {string} statementId
252
+ * @param {string} statementId The unique identifier of the GFN statement.
253
253
  * @param {*} [options] Override http request option.
254
254
  * @throws {RequiredError}
255
255
  */
@@ -259,7 +259,7 @@ export const StatementsApiAxiosParamCreator = function (configuration) {
259
259
  // verify required parameter 'statementId' is not null or undefined
260
260
  assertParamExists('getStatement', 'statementId', statementId);
261
261
  const localVarPath = `/v1/gfn/statements/{statementId}`
262
- .replace(`{${"statementId"}}`, encodeURIComponent(String(statementId)));
262
+ .replace('{statementId}', encodeURIComponent(String(statementId)));
263
263
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
264
264
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
265
265
  let baseOptions;
@@ -347,7 +347,7 @@ export const StatementsApiFp = function (configuration) {
347
347
  * Gets a GFN statement by the given ID.
348
348
  * @summary Get a GFN statement
349
349
  * @param {string} project What project it is
350
- * @param {string} statementId
350
+ * @param {string} statementId The unique identifier of the GFN statement.
351
351
  * @param {*} [options] Override http request option.
352
352
  * @throws {RequiredError}
353
353
  */
@@ -485,7 +485,7 @@ export const TransactionsApiAxiosParamCreator = function (configuration) {
485
485
  * Gets a GFN transaction by the given ID.
486
486
  * @summary Get a GFN transaction
487
487
  * @param {string} project What project it is
488
- * @param {string} transactionId
488
+ * @param {string} transactionId The unique identifier of the GFN transaction.
489
489
  * @param {*} [options] Override http request option.
490
490
  * @throws {RequiredError}
491
491
  */
@@ -495,7 +495,7 @@ export const TransactionsApiAxiosParamCreator = function (configuration) {
495
495
  // verify required parameter 'transactionId' is not null or undefined
496
496
  assertParamExists('getTransaction', 'transactionId', transactionId);
497
497
  const localVarPath = `/v1/gfn/transactions/{transactionId}`
498
- .replace(`{${"transactionId"}}`, encodeURIComponent(String(transactionId)));
498
+ .replace('{transactionId}', encodeURIComponent(String(transactionId)));
499
499
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
500
500
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
501
501
  let baseOptions;
@@ -528,7 +528,7 @@ export const TransactionsApiAxiosParamCreator = function (configuration) {
528
528
  * @param {string} project What project it is
529
529
  * @param {number} [pageToken] Page reference token
530
530
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
531
- * @param {string} [statementId]
531
+ * @param {string} [statementId] Filter fulfillments by statement ID.
532
532
  * @param {*} [options] Override http request option.
533
533
  * @throws {RequiredError}
534
534
  */
@@ -577,8 +577,8 @@ export const TransactionsApiAxiosParamCreator = function (configuration) {
577
577
  * @param {string} project What project it is
578
578
  * @param {number} [pageToken] Page reference token
579
579
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
580
- * @param {string} [statementId]
581
- * @param {string} [fulfillmentId]
580
+ * @param {string} [statementId] Filter transactions by statement ID.
581
+ * @param {string} [fulfillmentId] Filter transactions by fulfillment ID.
582
582
  * @param {string} [search] Search by fulfillment id
583
583
  * @param {*} [options] Override http request option.
584
584
  * @throws {RequiredError}
@@ -657,7 +657,7 @@ export const TransactionsApiFp = function (configuration) {
657
657
  * Gets a GFN transaction by the given ID.
658
658
  * @summary Get a GFN transaction
659
659
  * @param {string} project What project it is
660
- * @param {string} transactionId
660
+ * @param {string} transactionId The unique identifier of the GFN transaction.
661
661
  * @param {*} [options] Override http request option.
662
662
  * @throws {RequiredError}
663
663
  */
@@ -676,7 +676,7 @@ export const TransactionsApiFp = function (configuration) {
676
676
  * @param {string} project What project it is
677
677
  * @param {number} [pageToken] Page reference token
678
678
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
679
- * @param {string} [statementId]
679
+ * @param {string} [statementId] Filter fulfillments by statement ID.
680
680
  * @param {*} [options] Override http request option.
681
681
  * @throws {RequiredError}
682
682
  */
@@ -695,8 +695,8 @@ export const TransactionsApiFp = function (configuration) {
695
695
  * @param {string} project What project it is
696
696
  * @param {number} [pageToken] Page reference token
697
697
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
698
- * @param {string} [statementId]
699
- * @param {string} [fulfillmentId]
698
+ * @param {string} [statementId] Filter transactions by statement ID.
699
+ * @param {string} [fulfillmentId] Filter transactions by fulfillment ID.
700
700
  * @param {string} [search] Search by fulfillment id
701
701
  * @param {*} [options] Override http request option.
702
702
  * @throws {RequiredError}
@@ -825,7 +825,7 @@ export const VariantsApiAxiosParamCreator = function (configuration) {
825
825
  // verify required parameter 'variantId' is not null or undefined
826
826
  assertParamExists('getStock', 'variantId', variantId);
827
827
  const localVarPath = `/v1/gfn/catalog/stock/{variantId}`
828
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
828
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
829
829
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
830
830
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
831
831
  let baseOptions;
@@ -870,7 +870,7 @@ export const VariantsApiAxiosParamCreator = function (configuration) {
870
870
  // verify required parameter 'variantId' is not null or undefined
871
871
  assertParamExists('getVariant', 'variantId', variantId);
872
872
  const localVarPath = `/v1/gfn/catalog/variants/{variantId}`
873
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
873
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
874
874
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
875
875
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
876
876
  let baseOptions;
@@ -2,7 +2,7 @@
2
2
  * GFN Catalog
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.9.3
5
+ * The version of the OpenAPI document: 3.9.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * GFN Catalog
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.9.3
7
+ * The version of the OpenAPI document: 3.9.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * GFN Catalog
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.9.3
5
+ * The version of the OpenAPI document: 3.9.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * GFN Catalog
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.9.3
7
+ * The version of the OpenAPI document: 3.9.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * GFN Catalog
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.9.3
5
+ * The version of the OpenAPI document: 3.9.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * GFN Catalog
4
4
  * 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.
5
5
  *
6
- * The version of the OpenAPI document: 3.9.3
6
+ * The version of the OpenAPI document: 3.9.6
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,7 +34,7 @@ export class Configuration {
34
34
  * @return True if the given MIME is JSON, false otherwise.
35
35
  */
36
36
  isJsonMime(mime) {
37
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
38
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
37
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
38
+ return mime !== null && jsonMime.test(mime);
39
39
  }
40
40
  }
@@ -2,7 +2,7 @@
2
2
  * GFN Catalog
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.9.3
5
+ * The version of the OpenAPI document: 3.9.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * GFN Catalog
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.9.3
7
+ * The version of the OpenAPI document: 3.9.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * GFN Catalog
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.9.3
5
+ * The version of the OpenAPI document: 3.9.6
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * GFN Catalog
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.9.3
8
+ * The version of the OpenAPI document: 3.9.6
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/ApiError.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # ApiError
2
2
 
3
+ Represents an error returned by the API.
3
4
 
4
5
  ## Properties
5
6
 
6
7
  Name | Type | Description | Notes
7
8
  ------------ | ------------- | ------------- | -------------
8
- **code** | **string** | | [optional] [default to undefined]
9
- **message** | **string** | | [default to undefined]
9
+ **code** | **string** | A machine-readable error code identifying the type of error. | [optional] [default to undefined]
10
+ **message** | **string** | A human-readable message providing more details about the error. | [default to undefined]
10
11
 
11
12
  ## Example
12
13
 
@@ -1,12 +1,13 @@
1
1
  # ApiValidationError
2
2
 
3
+ Represents a validation error returned by the API, including field-level error details.
3
4
 
4
5
  ## Properties
5
6
 
6
7
  Name | Type | Description | Notes
7
8
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [default to undefined]
9
- **errors** | **{ [key: string]: Array<string>; }** | | [default to undefined]
9
+ **message** | **string** | A human-readable summary of the validation error. | [default to undefined]
10
+ **errors** | **{ [key: string]: Array<string>; }** | A map of field names to arrays of validation error messages. | [default to undefined]
10
11
 
11
12
  ## Example
12
13
 
@@ -1,14 +1,15 @@
1
1
  # Fulfillment
2
2
 
3
+ A GFN fulfillment summary showing the total cost of transactions.
3
4
 
4
5
  ## Properties
5
6
 
6
7
  Name | Type | Description | Notes
7
8
  ------------ | ------------- | ------------- | -------------
8
- **id** | **number** | | [default to undefined]
9
- **merchantRef** | **string** | | [default to undefined]
10
- **total** | **number** | | [default to undefined]
11
- **createdAt** | **string** | | [default to undefined]
9
+ **id** | **number** | The identifier of the fulfillment. | [default to undefined]
10
+ **merchantRef** | **string** | The merchant\'s reference for this fulfillment. | [default to undefined]
11
+ **total** | **number** | The total cost of all transactions for this fulfillment. | [default to undefined]
12
+ **createdAt** | **string** | The timestamp when the fulfillment was created. | [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
package/docs/Image.md CHANGED
@@ -1,18 +1,18 @@
1
1
  # Image
2
2
 
3
- Image description
3
+ An image associated with a product or variant.
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **id** | **string** | Unique object identifier | [optional] [default to undefined]
10
- **src** | **string** | | [default to undefined]
11
- **alt** | **string** | | [optional] [default to undefined]
9
+ **id** | **string** | The unique identifier of the image. | [optional] [default to undefined]
10
+ **src** | **string** | The URL of the image. | [default to undefined]
11
+ **alt** | **string** | Alternative text for the image. | [optional] [default to undefined]
12
12
  **variantIds** | **Array<string>** | List of variant Ids | [optional] [default to undefined]
13
- **sortOrder** | **number** | | [optional] [default to undefined]
14
- **createdAt** | **string** | | [optional] [default to undefined]
15
- **updatedAt** | **string** | | [optional] [default to undefined]
13
+ **sortOrder** | **number** | The display order of the image. | [optional] [default to undefined]
14
+ **createdAt** | **string** | The timestamp when the image was created. | [optional] [default to undefined]
15
+ **updatedAt** | **string** | The timestamp when the image was last updated. | [optional] [default to undefined]
16
16
 
17
17
  ## Example
18
18
 
package/docs/Location.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Location
2
2
 
3
+ A stock location showing the number of units available at a specific warehouse location.
3
4
 
4
5
  ## Properties
5
6
 
package/docs/Product.md CHANGED
@@ -1,18 +1,19 @@
1
1
  # Product
2
2
 
3
+ A warehouse product available in the Global Fulfillment Network catalog.
3
4
 
4
5
  ## Properties
5
6
 
6
7
  Name | Type | Description | Notes
7
8
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | Unique object identifier | [default to undefined]
9
- **ref** | **string** | A reference to the resource location | [optional] [default to undefined]
10
- **title** | **string** | | [default to undefined]
11
- **styleCode** | **string** | | [optional] [default to undefined]
12
- **material** | **string** | | [optional] [default to undefined]
13
- **description** | **string** | | [optional] [default to undefined]
14
- **specifications** | **string** | | [optional] [default to undefined]
15
- **attributes** | [**Array<ProductAttribute>**](ProductAttribute.md) | Attributes associated to a product such as Colour and Size. | [default to undefined]
9
+ **id** | **string** | The unique identifier of the product. | [default to undefined]
10
+ **ref** | **string** | A URI reference to this product resource. | [optional] [default to undefined]
11
+ **title** | **string** | The display title of the product. | [default to undefined]
12
+ **styleCode** | **string** | The style code identifying this product type. | [optional] [default to undefined]
13
+ **material** | **string** | The material composition of the product. | [optional] [default to undefined]
14
+ **description** | **string** | A description of the product. | [optional] [default to undefined]
15
+ **specifications** | **string** | Product specifications. | [optional] [default to undefined]
16
+ **attributes** | [**Array<ProductAttribute>**](ProductAttribute.md) | The available attributes (e.g. Colour, Size) for this product. | [default to undefined]
16
17
  **images** | [**Array<ProductImagesInner>**](ProductImagesInner.md) | Images attached to the product. For example, photos of models using/wearing the product. This property currently does not include images linked to specific variants. | [optional] [default to undefined]
17
18
  **variants** | [**Array<ProductVariantsInner>**](ProductVariantsInner.md) | Variants | [default to undefined]
18
19
  **brand** | [**ProductBrand**](ProductBrand.md) | | [optional] [default to undefined]
@@ -1,5 +1,6 @@
1
1
  # ProductBrand
2
2
 
3
+ The brand that manufactures or supplies this product.
3
4
 
4
5
  ## Properties
5
6
 
@@ -24,7 +24,7 @@ const configuration = new Configuration();
24
24
  const apiInstance = new ProductsApi(configuration);
25
25
 
26
26
  let project: string; //What project it is (default to undefined)
27
- let productId: string; // (default to undefined)
27
+ let productId: string; //The unique identifier of the GFN catalog product. (default to undefined)
28
28
  let fields: string; //Filter response fields to only include a subset of the resource. (optional) (default to undefined)
29
29
 
30
30
  const { status, data } = await apiInstance.getProduct(
@@ -39,7 +39,7 @@ const { status, data } = await apiInstance.getProduct(
39
39
  |Name | Type | Description | Notes|
40
40
  |------------- | ------------- | ------------- | -------------|
41
41
  | **project** | [**string**] | What project it is | defaults to undefined|
42
- | **productId** | [**string**] | | defaults to undefined|
42
+ | **productId** | [**string**] | The unique identifier of the GFN catalog product. | defaults to undefined|
43
43
  | **fields** | [**string**] | Filter response fields to only include a subset of the resource. | (optional) defaults to undefined|
44
44
 
45
45
 
package/docs/Statement.md CHANGED
@@ -1,18 +1,19 @@
1
1
  # Statement
2
2
 
3
+ A GFN billing statement summarising fulfillment costs over a period.
3
4
 
4
5
  ## Properties
5
6
 
6
7
  Name | Type | Description | Notes
7
8
  ------------ | ------------- | ------------- | -------------
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]
9
+ **id** | **string** | The unique identifier of the statement. | [default to undefined]
10
+ **ref** | **string** | A URI reference to this statement resource. | [default to undefined]
11
+ **total** | **number** | The total cost of all transactions in this statement. | [default to undefined]
12
+ **startDate** | **string** | The start date of the billing period. | [default to undefined]
13
+ **endDate** | **string** | The end date of the billing period. | [default to undefined]
14
+ **createdAt** | **string** | The timestamp when the statement was created. | [default to undefined]
15
+ **fulfillmentCount** | **number** | The number of fulfillments included in this statement. | [default to undefined]
16
+ **issuedAt** | **string** | The timestamp when the statement was issued. | [optional] [default to undefined]
16
17
 
17
18
  ## Example
18
19
 
@@ -24,7 +24,7 @@ const configuration = new Configuration();
24
24
  const apiInstance = new StatementsApi(configuration);
25
25
 
26
26
  let project: string; //What project it is (default to undefined)
27
- let statementId: string; // (default to undefined)
27
+ let statementId: string; //The unique identifier of the GFN statement. (default to undefined)
28
28
 
29
29
  const { status, data } = await apiInstance.getStatement(
30
30
  project,
@@ -37,7 +37,7 @@ const { status, data } = await apiInstance.getStatement(
37
37
  |Name | Type | Description | Notes|
38
38
  |------------- | ------------- | ------------- | -------------|
39
39
  | **project** | [**string**] | What project it is | defaults to undefined|
40
- | **statementId** | [**string**] | | defaults to undefined|
40
+ | **statementId** | [**string**] | The unique identifier of the GFN statement. | defaults to undefined|
41
41
 
42
42
 
43
43
  ### Return type
package/docs/Stock.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # Stock
2
2
 
3
+ Stock availability information including total level and per-location breakdown.
3
4
 
4
5
  ## Properties
5
6
 
6
7
  Name | Type | Description | Notes
7
8
  ------------ | ------------- | ------------- | -------------
8
9
  **level** | **number** | Current stock level | [optional] [default to undefined]
9
- **locations** | [**Array<Location>**](Location.md) | | [optional] [default to undefined]
10
+ **locations** | [**Array<Location>**](Location.md) | Stock levels broken down by warehouse location. | [optional] [default to undefined]
10
11
 
11
12
  ## Example
12
13
 
@@ -1,21 +1,22 @@
1
1
  # Transaction
2
2
 
3
+ A GFN transaction representing a cost incurred for a fulfillment (blank, application, or shipping).
3
4
 
4
5
  ## Properties
5
6
 
6
7
  Name | Type | Description | Notes
7
8
  ------------ | ------------- | ------------- | -------------
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
- **quantity** | **number** | | [default to undefined]
13
- **type** | **string** | | [optional] [default to undefined]
14
- **taxable** | **boolean** | | [optional] [default to undefined]
15
- **createdAt** | **string** | | [default to undefined]
16
- **fulfillmentId** | **number** | | [optional] [default to undefined]
17
- **orderId** | **number** | | [optional] [default to undefined]
18
- **description** | **string** | | [optional] [default to undefined]
9
+ **id** | **string** | The unique identifier of the transaction. | [default to undefined]
10
+ **ref** | **string** | A URI reference to this transaction resource. | [default to undefined]
11
+ **statement** | **string** | A reference to the statement this transaction belongs to. Null if not yet included in a statement. | [optional] [default to undefined]
12
+ **cost** | **number** | The cost of this transaction. | [optional] [default to undefined]
13
+ **quantity** | **number** | The number of units this transaction covers. | [default to undefined]
14
+ **type** | **string** | The type of transaction: \'blank\' for base product cost, \'application\' for design application cost, \'shipping\' for shipping cost. | [optional] [default to undefined]
15
+ **taxable** | **boolean** | Whether this transaction is subject to tax. | [optional] [default to undefined]
16
+ **createdAt** | **string** | The timestamp when the transaction was created. | [default to undefined]
17
+ **fulfillmentId** | **number** | The identifier of the fulfillment this transaction relates to. | [optional] [default to undefined]
18
+ **orderId** | **number** | The identifier of the order this transaction relates to. | [optional] [default to undefined]
19
+ **description** | **string** | A human-readable description of the transaction. | [optional] [default to undefined]
19
20
 
20
21
  ## Example
21
22
 
@@ -60,8 +60,8 @@ const { status, data } = await apiInstance.exportTransactions(
60
60
  ### HTTP response details
61
61
  | Status code | Description | Response headers |
62
62
  |-------------|-------------|------------------|
63
- |**200** | Returns the CSV export | - |
64
- |**202** | The export has been queued and will be available shortly | - |
63
+ |**200** | The dataset is small enough to return immediately. Returns the CSV export directly. | - |
64
+ |**202** | The dataset is too large to return immediately. The export has been queued and a notification will be sent when it is ready for download. | - |
65
65
  |**204** | Export contains no data | - |
66
66
  |**400** | Failed validation. | - |
67
67
  |**401** | Not authorised to access this resource. | - |
@@ -88,7 +88,7 @@ const configuration = new Configuration();
88
88
  const apiInstance = new TransactionsApi(configuration);
89
89
 
90
90
  let project: string; //What project it is (default to undefined)
91
- let transactionId: string; // (default to undefined)
91
+ let transactionId: string; //The unique identifier of the GFN transaction. (default to undefined)
92
92
 
93
93
  const { status, data } = await apiInstance.getTransaction(
94
94
  project,
@@ -101,7 +101,7 @@ const { status, data } = await apiInstance.getTransaction(
101
101
  |Name | Type | Description | Notes|
102
102
  |------------- | ------------- | ------------- | -------------|
103
103
  | **project** | [**string**] | What project it is | defaults to undefined|
104
- | **transactionId** | [**string**] | | defaults to undefined|
104
+ | **transactionId** | [**string**] | The unique identifier of the GFN transaction. | defaults to undefined|
105
105
 
106
106
 
107
107
  ### Return type
@@ -149,7 +149,7 @@ const apiInstance = new TransactionsApi(configuration);
149
149
  let project: string; //What project it is (default to undefined)
150
150
  let pageToken: number; //Page reference token (optional) (default to 1)
151
151
  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)
152
- let statementId: string; // (optional) (default to undefined)
152
+ let statementId: string; //Filter fulfillments by statement ID. (optional) (default to undefined)
153
153
 
154
154
  const { status, data } = await apiInstance.listFulfillments(
155
155
  project,
@@ -166,7 +166,7 @@ const { status, data } = await apiInstance.listFulfillments(
166
166
  | **project** | [**string**] | What project it is | defaults to undefined|
167
167
  | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
168
168
  | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
169
- | **statementId** | [**string**] | | (optional) defaults to undefined|
169
+ | **statementId** | [**string**] | Filter fulfillments by statement ID. | (optional) defaults to undefined|
170
170
 
171
171
 
172
172
  ### Return type
@@ -213,8 +213,8 @@ const apiInstance = new TransactionsApi(configuration);
213
213
  let project: string; //What project it is (default to undefined)
214
214
  let pageToken: number; //Page reference token (optional) (default to 1)
215
215
  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)
216
- let statementId: string; // (optional) (default to undefined)
217
- let fulfillmentId: string; // (optional) (default to undefined)
216
+ let statementId: string; //Filter transactions by statement ID. (optional) (default to undefined)
217
+ let fulfillmentId: string; //Filter transactions by fulfillment ID. (optional) (default to undefined)
218
218
  let search: string; //Search by fulfillment id (optional) (default to undefined)
219
219
 
220
220
  const { status, data } = await apiInstance.listTransactions(
@@ -234,8 +234,8 @@ const { status, data } = await apiInstance.listTransactions(
234
234
  | **project** | [**string**] | What project it is | defaults to undefined|
235
235
  | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
236
236
  | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
237
- | **statementId** | [**string**] | | (optional) defaults to undefined|
238
- | **fulfillmentId** | [**string**] | | (optional) defaults to undefined|
237
+ | **statementId** | [**string**] | Filter transactions by statement ID. | (optional) defaults to undefined|
238
+ | **fulfillmentId** | [**string**] | Filter transactions by fulfillment ID. | (optional) defaults to undefined|
239
239
  | **search** | [**string**] | Search by fulfillment id | (optional) defaults to undefined|
240
240
 
241
241
 
package/docs/Variant.md CHANGED
@@ -1,18 +1,19 @@
1
1
  # Variant
2
2
 
3
+ A specific colour/size combination of a GFN catalog product.
3
4
 
4
5
  ## Properties
5
6
 
6
7
  Name | Type | Description | Notes
7
8
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | Unique object identifier | [optional] [default to undefined]
9
- **ref** | **string** | A reference to the resource location | [optional] [default to undefined]
9
+ **id** | **string** | The unique identifier of the variant. | [optional] [default to undefined]
10
+ **ref** | **string** | A URI reference to this variant resource. | [optional] [default to undefined]
10
11
  **product** | [**VariantProduct**](VariantProduct.md) | | [optional] [default to undefined]
11
- **sku** | **string** | | [default to undefined]
12
- **attributes** | [**Array<Attribute>**](Attribute.md) | Attributes associated to a variant such as Colour and Size. An attribute can have thumbnail type of `text`, `color`, or `image`. Attribute tags are intended for grouping and filtering, e.g. by a group of colours. | [default to undefined]
12
+ **sku** | **string** | The stock keeping unit code for this variant. | [default to undefined]
13
+ **attributes** | [**Array<Attribute>**](Attribute.md) | The attributes (e.g. Colour, Size) that define this variant. | [default to undefined]
13
14
  **manufacturerOrigin** | [**VariantManufacturerOrigin**](VariantManufacturerOrigin.md) | | [optional] [default to undefined]
14
- **stock** | [**Stock**](Stock.md) | | [optional] [default to undefined]
15
- **images** | [**Array<Image>**](Image.md) | Images | [optional] [default to undefined]
15
+ **stock** | [**Stock**](Stock.md) | The stock levels for this variant. | [optional] [default to undefined]
16
+ **images** | [**Array<Image>**](Image.md) | Product images for this variant. | [optional] [default to undefined]
16
17
 
17
18
  ## Example
18
19
 
@@ -1,5 +1,6 @@
1
1
  # VariantProduct
2
2
 
3
+ A reference to the product this variant belongs to.
3
4
 
4
5
  ## Properties
5
6