@teemill/gfn-catalog 3.9.4 → 3.9.7

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.23.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/gfn-catalog@3.9.4
1
+ ## @teemill/gfn-catalog@3.9.7
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.7 --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.7
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -326,7 +326,7 @@ export interface StockResponse {
326
326
  'nextPageToken'?: number | null;
327
327
  }
328
328
  /**
329
- * A GFN transaction representing a cost incurred for a fulfillment (blank, application, or shipping).
329
+ * A GFN transaction representing a charge or deduction on a GFN fulfillment statement line.
330
330
  */
331
331
  export interface Transaction {
332
332
  /**
@@ -342,7 +342,7 @@ export interface Transaction {
342
342
  */
343
343
  'statement'?: string | null;
344
344
  /**
345
- * The cost of this transaction.
345
+ * The unit amount for this transaction. Positive values are charges to the fulfiller; negative values are deductions (e.g. lead time SLA fees).
346
346
  */
347
347
  'cost'?: number;
348
348
  /**
@@ -350,7 +350,7 @@ export interface Transaction {
350
350
  */
351
351
  'quantity': number;
352
352
  /**
353
- * The type of transaction: \'blank\' for base product cost, \'application\' for design application cost, \'shipping\' for shipping cost.
353
+ * The type of transaction: \'blank\' for base product cost, \'fulfillment\' for pick and pack, \'application\' for design application cost, \'shipping\' for shipping cost, \'lead_time_fee\' for fulfillment lead time SLA deductions.
354
354
  */
355
355
  'type'?: TransactionTypeEnum;
356
356
  /**
@@ -377,8 +377,10 @@ export interface Transaction {
377
377
 
378
378
  export const TransactionTypeEnum = {
379
379
  Blank: 'blank',
380
+ Fulfillment: 'fulfillment',
380
381
  Application: 'application',
381
382
  Shipping: 'shipping',
383
+ LeadTimeFee: 'lead_time_fee',
382
384
  } as const;
383
385
 
384
386
  export type TransactionTypeEnum = typeof TransactionTypeEnum[keyof typeof TransactionTypeEnum];
@@ -498,7 +500,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
498
500
  // verify required parameter 'productId' is not null or undefined
499
501
  assertParamExists('getProduct', 'productId', productId)
500
502
  const localVarPath = `/v1/gfn/catalog/products/{productId}`
501
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
503
+ .replace('{productId}', encodeURIComponent(String(productId)));
502
504
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
503
505
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
504
506
  let baseOptions;
@@ -771,7 +773,7 @@ export const StatementsApiAxiosParamCreator = function (configuration?: Configur
771
773
  // verify required parameter 'statementId' is not null or undefined
772
774
  assertParamExists('getStatement', 'statementId', statementId)
773
775
  const localVarPath = `/v1/gfn/statements/{statementId}`
774
- .replace(`{${"statementId"}}`, encodeURIComponent(String(statementId)));
776
+ .replace('{statementId}', encodeURIComponent(String(statementId)));
775
777
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
776
778
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
777
779
  let baseOptions;
@@ -1072,7 +1074,7 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config
1072
1074
  // verify required parameter 'transactionId' is not null or undefined
1073
1075
  assertParamExists('getTransaction', 'transactionId', transactionId)
1074
1076
  const localVarPath = `/v1/gfn/transactions/{transactionId}`
1075
- .replace(`{${"transactionId"}}`, encodeURIComponent(String(transactionId)));
1077
+ .replace('{transactionId}', encodeURIComponent(String(transactionId)));
1076
1078
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1077
1079
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1078
1080
  let baseOptions;
@@ -1518,7 +1520,7 @@ export const VariantsApiAxiosParamCreator = function (configuration?: Configurat
1518
1520
  // verify required parameter 'variantId' is not null or undefined
1519
1521
  assertParamExists('getStock', 'variantId', variantId)
1520
1522
  const localVarPath = `/v1/gfn/catalog/stock/{variantId}`
1521
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
1523
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
1522
1524
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1523
1525
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1524
1526
  let baseOptions;
@@ -1571,7 +1573,7 @@ export const VariantsApiAxiosParamCreator = function (configuration?: Configurat
1571
1573
  // verify required parameter 'variantId' is not null or undefined
1572
1574
  assertParamExists('getVariant', 'variantId', variantId)
1573
1575
  const localVarPath = `/v1/gfn/catalog/variants/{variantId}`
1574
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
1576
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
1575
1577
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1576
1578
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1577
1579
  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.7
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.7
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -86,7 +86,7 @@ export const setOAuthToObject = async function (object: any, name: string, scope
86
86
  function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
87
87
  if (parameter == null) return;
88
88
  if (typeof parameter === "object") {
89
- if (Array.isArray(parameter)) {
89
+ if (Array.isArray(parameter) || parameter instanceof Set) {
90
90
  (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key !== '' ? `${key}[]` : key));
91
91
  }
92
92
  else {
@@ -112,7 +112,19 @@ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: an
112
112
  export const setSearchParams = function (url: URL, ...objects: any[]) {
113
113
  const searchParams = new URLSearchParams(url.search);
114
114
  setFlattenedQueryParams(searchParams, objects);
115
- url.search = decodeURIComponent(searchParams.toString());
115
+ url.search = searchParams.toString();
116
+ }
117
+
118
+ /**
119
+ * JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
120
+ * @export
121
+ */
122
+ export const replaceWithSerializableTypeIfNeeded = function (_key: string, value: unknown) {
123
+ if (value instanceof Set) {
124
+ return Array.from(value);
125
+ }
126
+
127
+ return value;
116
128
  }
117
129
 
118
130
  /**
@@ -125,7 +137,7 @@ export const serializeDataIfNeeded = function (value: any, requestOptions: any,
125
137
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
126
138
  : nonString;
127
139
  return needsSerialization
128
- ? JSON.stringify(value !== undefined ? value : {})
140
+ ? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)
129
141
  : (value || "");
130
142
  }
131
143
 
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.7
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.7
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -315,7 +315,7 @@ export interface StockResponse {
315
315
  'nextPageToken'?: number | null;
316
316
  }
317
317
  /**
318
- * A GFN transaction representing a cost incurred for a fulfillment (blank, application, or shipping).
318
+ * A GFN transaction representing a charge or deduction on a GFN fulfillment statement line.
319
319
  */
320
320
  export interface Transaction {
321
321
  /**
@@ -331,7 +331,7 @@ export interface Transaction {
331
331
  */
332
332
  'statement'?: string | null;
333
333
  /**
334
- * The cost of this transaction.
334
+ * The unit amount for this transaction. Positive values are charges to the fulfiller; negative values are deductions (e.g. lead time SLA fees).
335
335
  */
336
336
  'cost'?: number;
337
337
  /**
@@ -339,7 +339,7 @@ export interface Transaction {
339
339
  */
340
340
  'quantity': number;
341
341
  /**
342
- * The type of transaction: \'blank\' for base product cost, \'application\' for design application cost, \'shipping\' for shipping cost.
342
+ * The type of transaction: \'blank\' for base product cost, \'fulfillment\' for pick and pack, \'application\' for design application cost, \'shipping\' for shipping cost, \'lead_time_fee\' for fulfillment lead time SLA deductions.
343
343
  */
344
344
  'type'?: TransactionTypeEnum;
345
345
  /**
@@ -365,8 +365,10 @@ export interface Transaction {
365
365
  }
366
366
  export declare const TransactionTypeEnum: {
367
367
  readonly Blank: "blank";
368
+ readonly Fulfillment: "fulfillment";
368
369
  readonly Application: "application";
369
370
  readonly Shipping: "shipping";
371
+ readonly LeadTimeFee: "lead_time_fee";
370
372
  };
371
373
  export type TransactionTypeEnum = typeof TransactionTypeEnum[keyof typeof TransactionTypeEnum];
372
374
  /**
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.7
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -36,8 +36,10 @@ exports.AttributeThumbnailTypeEnum = {
36
36
  };
37
37
  exports.TransactionTypeEnum = {
38
38
  Blank: 'blank',
39
+ Fulfillment: 'fulfillment',
39
40
  Application: 'application',
40
41
  Shipping: 'shipping',
42
+ LeadTimeFee: 'lead_time_fee',
41
43
  };
42
44
  /**
43
45
  * ProductsApi - axios parameter creator
@@ -59,7 +61,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
59
61
  // verify required parameter 'productId' is not null or undefined
60
62
  (0, common_1.assertParamExists)('getProduct', 'productId', productId);
61
63
  const localVarPath = `/v1/gfn/catalog/products/{productId}`
62
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
64
+ .replace('{productId}', encodeURIComponent(String(productId)));
63
65
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
64
66
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
65
67
  let baseOptions;
@@ -266,7 +268,7 @@ const StatementsApiAxiosParamCreator = function (configuration) {
266
268
  // verify required parameter 'statementId' is not null or undefined
267
269
  (0, common_1.assertParamExists)('getStatement', 'statementId', statementId);
268
270
  const localVarPath = `/v1/gfn/statements/{statementId}`
269
- .replace(`{${"statementId"}}`, encodeURIComponent(String(statementId)));
271
+ .replace('{statementId}', encodeURIComponent(String(statementId)));
270
272
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
271
273
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
272
274
  let baseOptions;
@@ -506,7 +508,7 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
506
508
  // verify required parameter 'transactionId' is not null or undefined
507
509
  (0, common_1.assertParamExists)('getTransaction', 'transactionId', transactionId);
508
510
  const localVarPath = `/v1/gfn/transactions/{transactionId}`
509
- .replace(`{${"transactionId"}}`, encodeURIComponent(String(transactionId)));
511
+ .replace('{transactionId}', encodeURIComponent(String(transactionId)));
510
512
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
511
513
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
512
514
  let baseOptions;
@@ -840,7 +842,7 @@ const VariantsApiAxiosParamCreator = function (configuration) {
840
842
  // verify required parameter 'variantId' is not null or undefined
841
843
  (0, common_1.assertParamExists)('getStock', 'variantId', variantId);
842
844
  const localVarPath = `/v1/gfn/catalog/stock/{variantId}`
843
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
845
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
844
846
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
845
847
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
846
848
  let baseOptions;
@@ -885,7 +887,7 @@ const VariantsApiAxiosParamCreator = function (configuration) {
885
887
  // verify required parameter 'variantId' is not null or undefined
886
888
  (0, common_1.assertParamExists)('getVariant', 'variantId', variantId);
887
889
  const localVarPath = `/v1/gfn/catalog/variants/{variantId}`
888
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
890
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
889
891
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
890
892
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
891
893
  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.7
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.7
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.7
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -48,6 +48,11 @@ export declare const setOAuthToObject: (object: any, name: string, scopes: strin
48
48
  * @export
49
49
  */
50
50
  export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
+ /**
52
+ * JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
53
+ * @export
54
+ */
55
+ export declare const replaceWithSerializableTypeIfNeeded: (_key: string, value: unknown) => unknown;
51
56
  /**
52
57
  *
53
58
  * @export
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.7
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
25
+ exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
26
26
  const base_1 = require("./base");
27
27
  /**
28
28
  *
@@ -99,7 +99,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
99
99
  if (parameter == null)
100
100
  return;
101
101
  if (typeof parameter === "object") {
102
- if (Array.isArray(parameter)) {
102
+ if (Array.isArray(parameter) || parameter instanceof Set) {
103
103
  parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key !== '' ? `${key}[]` : key));
104
104
  }
105
105
  else {
@@ -122,9 +122,20 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
122
122
  const setSearchParams = function (url, ...objects) {
123
123
  const searchParams = new URLSearchParams(url.search);
124
124
  setFlattenedQueryParams(searchParams, objects);
125
- url.search = decodeURIComponent(searchParams.toString());
125
+ url.search = searchParams.toString();
126
126
  };
127
127
  exports.setSearchParams = setSearchParams;
128
+ /**
129
+ * JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
130
+ * @export
131
+ */
132
+ const replaceWithSerializableTypeIfNeeded = function (_key, value) {
133
+ if (value instanceof Set) {
134
+ return Array.from(value);
135
+ }
136
+ return value;
137
+ };
138
+ exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
128
139
  /**
129
140
  *
130
141
  * @export
@@ -135,7 +146,7 @@ const serializeDataIfNeeded = function (value, requestOptions, configuration) {
135
146
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
136
147
  : nonString;
137
148
  return needsSerialization
138
- ? JSON.stringify(value !== undefined ? value : {})
149
+ ? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
139
150
  : (value || "");
140
151
  };
141
152
  exports.serializeDataIfNeeded = serializeDataIfNeeded;
@@ -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.7
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.7
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.7
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -315,7 +315,7 @@ export interface StockResponse {
315
315
  'nextPageToken'?: number | null;
316
316
  }
317
317
  /**
318
- * A GFN transaction representing a cost incurred for a fulfillment (blank, application, or shipping).
318
+ * A GFN transaction representing a charge or deduction on a GFN fulfillment statement line.
319
319
  */
320
320
  export interface Transaction {
321
321
  /**
@@ -331,7 +331,7 @@ export interface Transaction {
331
331
  */
332
332
  'statement'?: string | null;
333
333
  /**
334
- * The cost of this transaction.
334
+ * The unit amount for this transaction. Positive values are charges to the fulfiller; negative values are deductions (e.g. lead time SLA fees).
335
335
  */
336
336
  'cost'?: number;
337
337
  /**
@@ -339,7 +339,7 @@ export interface Transaction {
339
339
  */
340
340
  'quantity': number;
341
341
  /**
342
- * The type of transaction: \'blank\' for base product cost, \'application\' for design application cost, \'shipping\' for shipping cost.
342
+ * The type of transaction: \'blank\' for base product cost, \'fulfillment\' for pick and pack, \'application\' for design application cost, \'shipping\' for shipping cost, \'lead_time_fee\' for fulfillment lead time SLA deductions.
343
343
  */
344
344
  'type'?: TransactionTypeEnum;
345
345
  /**
@@ -365,8 +365,10 @@ export interface Transaction {
365
365
  }
366
366
  export declare const TransactionTypeEnum: {
367
367
  readonly Blank: "blank";
368
+ readonly Fulfillment: "fulfillment";
368
369
  readonly Application: "application";
369
370
  readonly Shipping: "shipping";
371
+ readonly LeadTimeFee: "lead_time_fee";
370
372
  };
371
373
  export type TransactionTypeEnum = typeof TransactionTypeEnum[keyof typeof TransactionTypeEnum];
372
374
  /**
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.7
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -33,8 +33,10 @@ export const AttributeThumbnailTypeEnum = {
33
33
  };
34
34
  export const TransactionTypeEnum = {
35
35
  Blank: 'blank',
36
+ Fulfillment: 'fulfillment',
36
37
  Application: 'application',
37
38
  Shipping: 'shipping',
39
+ LeadTimeFee: 'lead_time_fee',
38
40
  };
39
41
  /**
40
42
  * ProductsApi - axios parameter creator
@@ -56,7 +58,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
56
58
  // verify required parameter 'productId' is not null or undefined
57
59
  assertParamExists('getProduct', 'productId', productId);
58
60
  const localVarPath = `/v1/gfn/catalog/products/{productId}`
59
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
61
+ .replace('{productId}', encodeURIComponent(String(productId)));
60
62
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
61
63
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62
64
  let baseOptions;
@@ -259,7 +261,7 @@ export const StatementsApiAxiosParamCreator = function (configuration) {
259
261
  // verify required parameter 'statementId' is not null or undefined
260
262
  assertParamExists('getStatement', 'statementId', statementId);
261
263
  const localVarPath = `/v1/gfn/statements/{statementId}`
262
- .replace(`{${"statementId"}}`, encodeURIComponent(String(statementId)));
264
+ .replace('{statementId}', encodeURIComponent(String(statementId)));
263
265
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
264
266
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
265
267
  let baseOptions;
@@ -495,7 +497,7 @@ export const TransactionsApiAxiosParamCreator = function (configuration) {
495
497
  // verify required parameter 'transactionId' is not null or undefined
496
498
  assertParamExists('getTransaction', 'transactionId', transactionId);
497
499
  const localVarPath = `/v1/gfn/transactions/{transactionId}`
498
- .replace(`{${"transactionId"}}`, encodeURIComponent(String(transactionId)));
500
+ .replace('{transactionId}', encodeURIComponent(String(transactionId)));
499
501
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
500
502
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
501
503
  let baseOptions;
@@ -825,7 +827,7 @@ export const VariantsApiAxiosParamCreator = function (configuration) {
825
827
  // verify required parameter 'variantId' is not null or undefined
826
828
  assertParamExists('getStock', 'variantId', variantId);
827
829
  const localVarPath = `/v1/gfn/catalog/stock/{variantId}`
828
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
830
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
829
831
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
830
832
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
831
833
  let baseOptions;
@@ -870,7 +872,7 @@ export const VariantsApiAxiosParamCreator = function (configuration) {
870
872
  // verify required parameter 'variantId' is not null or undefined
871
873
  assertParamExists('getVariant', 'variantId', variantId);
872
874
  const localVarPath = `/v1/gfn/catalog/variants/{variantId}`
873
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
875
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
874
876
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
875
877
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
876
878
  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.7
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.7
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.7
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -48,6 +48,11 @@ export declare const setOAuthToObject: (object: any, name: string, scopes: strin
48
48
  * @export
49
49
  */
50
50
  export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
+ /**
52
+ * JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
53
+ * @export
54
+ */
55
+ export declare const replaceWithSerializableTypeIfNeeded: (_key: string, value: unknown) => unknown;
51
56
  /**
52
57
  *
53
58
  * @export
@@ -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.7
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -91,7 +91,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
91
91
  if (parameter == null)
92
92
  return;
93
93
  if (typeof parameter === "object") {
94
- if (Array.isArray(parameter)) {
94
+ if (Array.isArray(parameter) || parameter instanceof Set) {
95
95
  parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key !== '' ? `${key}[]` : key));
96
96
  }
97
97
  else {
@@ -114,7 +114,17 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
114
114
  export const setSearchParams = function (url, ...objects) {
115
115
  const searchParams = new URLSearchParams(url.search);
116
116
  setFlattenedQueryParams(searchParams, objects);
117
- url.search = decodeURIComponent(searchParams.toString());
117
+ url.search = searchParams.toString();
118
+ };
119
+ /**
120
+ * JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
121
+ * @export
122
+ */
123
+ export const replaceWithSerializableTypeIfNeeded = function (_key, value) {
124
+ if (value instanceof Set) {
125
+ return Array.from(value);
126
+ }
127
+ return value;
118
128
  };
119
129
  /**
120
130
  *
@@ -126,7 +136,7 @@ export const serializeDataIfNeeded = function (value, requestOptions, configurat
126
136
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
127
137
  : nonString;
128
138
  return needsSerialization
129
- ? JSON.stringify(value !== undefined ? value : {})
139
+ ? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)
130
140
  : (value || "");
131
141
  };
132
142
  /**
@@ -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.7
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.7
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.7
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.7
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.7
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.7
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,6 +1,6 @@
1
1
  # Transaction
2
2
 
3
- A GFN transaction representing a cost incurred for a fulfillment (blank, application, or shipping).
3
+ A GFN transaction representing a charge or deduction on a GFN fulfillment statement line.
4
4
 
5
5
  ## Properties
6
6
 
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
9
9
  **id** | **string** | The unique identifier of the transaction. | [default to undefined]
10
10
  **ref** | **string** | A URI reference to this transaction resource. | [default to undefined]
11
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]
12
+ **cost** | **number** | The unit amount for this transaction. Positive values are charges to the fulfiller; negative values are deductions (e.g. lead time SLA fees). | [optional] [default to undefined]
13
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]
14
+ **type** | **string** | The type of transaction: \'blank\' for base product cost, \'fulfillment\' for pick and pack, \'application\' for design application cost, \'shipping\' for shipping cost, \'lead_time_fee\' for fulfillment lead time SLA deductions. | [optional] [default to undefined]
15
15
  **taxable** | **boolean** | Whether this transaction is subject to tax. | [optional] [default to undefined]
16
16
  **createdAt** | **string** | The timestamp when the transaction was created. | [default to undefined]
17
17
  **fulfillmentId** | **number** | The identifier of the fulfillment this transaction relates to. | [optional] [default to undefined]
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.7
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.7",
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",