@teemill/gfn-catalog 3.9.4 → 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.
@@ -1 +1 @@
1
- 7.21.0
1
+ 7.22.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/gfn-catalog@3.9.4
1
+ ## @teemill/gfn-catalog@3.9.6
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.9.4 --save
39
+ npm install @teemill/gfn-catalog@3.9.6 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts 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.4
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).
@@ -498,7 +498,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
498
498
  // verify required parameter 'productId' is not null or undefined
499
499
  assertParamExists('getProduct', 'productId', productId)
500
500
  const localVarPath = `/v1/gfn/catalog/products/{productId}`
501
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
501
+ .replace('{productId}', encodeURIComponent(String(productId)));
502
502
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
503
503
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
504
504
  let baseOptions;
@@ -771,7 +771,7 @@ export const StatementsApiAxiosParamCreator = function (configuration?: Configur
771
771
  // verify required parameter 'statementId' is not null or undefined
772
772
  assertParamExists('getStatement', 'statementId', statementId)
773
773
  const localVarPath = `/v1/gfn/statements/{statementId}`
774
- .replace(`{${"statementId"}}`, encodeURIComponent(String(statementId)));
774
+ .replace('{statementId}', encodeURIComponent(String(statementId)));
775
775
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
776
776
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
777
777
  let baseOptions;
@@ -1072,7 +1072,7 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config
1072
1072
  // verify required parameter 'transactionId' is not null or undefined
1073
1073
  assertParamExists('getTransaction', 'transactionId', transactionId)
1074
1074
  const localVarPath = `/v1/gfn/transactions/{transactionId}`
1075
- .replace(`{${"transactionId"}}`, encodeURIComponent(String(transactionId)));
1075
+ .replace('{transactionId}', encodeURIComponent(String(transactionId)));
1076
1076
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1077
1077
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1078
1078
  let baseOptions;
@@ -1518,7 +1518,7 @@ export const VariantsApiAxiosParamCreator = function (configuration?: Configurat
1518
1518
  // verify required parameter 'variantId' is not null or undefined
1519
1519
  assertParamExists('getStock', 'variantId', variantId)
1520
1520
  const localVarPath = `/v1/gfn/catalog/stock/{variantId}`
1521
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
1521
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
1522
1522
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1523
1523
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1524
1524
  let baseOptions;
@@ -1571,7 +1571,7 @@ export const VariantsApiAxiosParamCreator = function (configuration?: Configurat
1571
1571
  // verify required parameter 'variantId' is not null or undefined
1572
1572
  assertParamExists('getVariant', 'variantId', variantId)
1573
1573
  const localVarPath = `/v1/gfn/catalog/variants/{variantId}`
1574
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
1574
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
1575
1575
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1576
1576
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1577
1577
  let baseOptions;
package/base.ts 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.4
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/common.ts 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.4
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/configuration.ts CHANGED
@@ -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.4
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).
@@ -115,7 +115,7 @@ export class Configuration {
115
115
  * @return True if the given MIME is JSON, false otherwise.
116
116
  */
117
117
  public isJsonMime(mime: string): boolean {
118
- const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
119
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
118
+ const jsonMime: RegExp = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
119
+ return mime !== null && jsonMime.test(mime);
120
120
  }
121
121
  }
package/dist/api.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.4
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/api.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.4
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).
@@ -59,7 +59,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
59
59
  // verify required parameter 'productId' is not null or undefined
60
60
  (0, common_1.assertParamExists)('getProduct', 'productId', productId);
61
61
  const localVarPath = `/v1/gfn/catalog/products/{productId}`
62
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
62
+ .replace('{productId}', encodeURIComponent(String(productId)));
63
63
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
64
64
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
65
65
  let baseOptions;
@@ -266,7 +266,7 @@ const StatementsApiAxiosParamCreator = function (configuration) {
266
266
  // verify required parameter 'statementId' is not null or undefined
267
267
  (0, common_1.assertParamExists)('getStatement', 'statementId', statementId);
268
268
  const localVarPath = `/v1/gfn/statements/{statementId}`
269
- .replace(`{${"statementId"}}`, encodeURIComponent(String(statementId)));
269
+ .replace('{statementId}', encodeURIComponent(String(statementId)));
270
270
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
271
271
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
272
272
  let baseOptions;
@@ -506,7 +506,7 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
506
506
  // verify required parameter 'transactionId' is not null or undefined
507
507
  (0, common_1.assertParamExists)('getTransaction', 'transactionId', transactionId);
508
508
  const localVarPath = `/v1/gfn/transactions/{transactionId}`
509
- .replace(`{${"transactionId"}}`, encodeURIComponent(String(transactionId)));
509
+ .replace('{transactionId}', encodeURIComponent(String(transactionId)));
510
510
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
511
511
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
512
512
  let baseOptions;
@@ -840,7 +840,7 @@ const VariantsApiAxiosParamCreator = function (configuration) {
840
840
  // verify required parameter 'variantId' is not null or undefined
841
841
  (0, common_1.assertParamExists)('getStock', 'variantId', variantId);
842
842
  const localVarPath = `/v1/gfn/catalog/stock/{variantId}`
843
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
843
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
844
844
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
845
845
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
846
846
  let baseOptions;
@@ -885,7 +885,7 @@ const VariantsApiAxiosParamCreator = function (configuration) {
885
885
  // verify required parameter 'variantId' is not null or undefined
886
886
  (0, common_1.assertParamExists)('getVariant', 'variantId', variantId);
887
887
  const localVarPath = `/v1/gfn/catalog/variants/{variantId}`
888
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
888
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
889
889
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
890
890
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
891
891
  let baseOptions;
package/dist/base.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.4
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/base.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.4
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/dist/common.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.4
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/common.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.4
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).
@@ -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.4
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.4
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).
@@ -37,8 +37,8 @@ class Configuration {
37
37
  * @return True if the given MIME is JSON, false otherwise.
38
38
  */
39
39
  isJsonMime(mime) {
40
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
41
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
40
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
41
+ return mime !== null && jsonMime.test(mime);
42
42
  }
43
43
  }
44
44
  exports.Configuration = Configuration;
package/dist/esm/api.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.4
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/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.4
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).
@@ -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;
@@ -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;
@@ -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;
@@ -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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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/index.ts 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.4
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/gfn-catalog",
3
- "version": "3.9.4",
3
+ "version": "3.9.6",
4
4
  "description": "OpenAPI client for @teemill/gfn-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "1.15.0"
27
+ "axios": "^1.16.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",