@teemill/gfn-catalog 2.0.2 → 2.1.0

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.6.0
1
+ 7.7.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/gfn-catalog@2.0.2
1
+ ## @teemill/gfn-catalog@2.1.0
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@2.0.2 --save
39
+ npm install @teemill/gfn-catalog@2.1.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * GFN Catalog API
5
5
  * Use this API to access the Global Fulfilment 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: 2.0.2
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -298,7 +298,7 @@ export interface ProductsResponse {
298
298
  * @type {number}
299
299
  * @memberof ProductsResponse
300
300
  */
301
- 'nextPageToken'?: number;
301
+ 'nextPageToken'?: number | null;
302
302
  }
303
303
  /**
304
304
  *
@@ -342,6 +342,12 @@ export interface Statement {
342
342
  * @memberof Statement
343
343
  */
344
344
  'createdAt': string;
345
+ /**
346
+ *
347
+ * @type {number}
348
+ * @memberof Statement
349
+ */
350
+ 'fulfillmentCount': number;
345
351
  }
346
352
  /**
347
353
  *
@@ -373,7 +379,7 @@ export interface StockResponse {
373
379
  * @type {number}
374
380
  * @memberof StockResponse
375
381
  */
376
- 'nextPageToken'?: number;
382
+ 'nextPageToken'?: number | null;
377
383
  }
378
384
  /**
379
385
  *
@@ -398,51 +404,35 @@ export interface Transaction {
398
404
  * @type {string}
399
405
  * @memberof Transaction
400
406
  */
401
- 'statement'?: string;
402
- /**
403
- *
404
- * @type {TransactionOrder}
405
- * @memberof Transaction
406
- */
407
- 'order': TransactionOrder;
408
- /**
409
- *
410
- * @type {TransactionOrder}
411
- * @memberof Transaction
412
- */
413
- 'fulfillment'?: TransactionOrder;
407
+ 'statement'?: string | null;
414
408
  /**
415
409
  *
416
410
  * @type {number}
417
411
  * @memberof Transaction
418
412
  */
419
- 'total': number;
413
+ 'cost'?: number;
420
414
  /**
421
415
  *
422
416
  * @type {string}
423
417
  * @memberof Transaction
424
418
  */
425
- 'issuedAt': string;
426
- }
427
- /**
428
- *
429
- * @export
430
- * @interface TransactionOrder
431
- */
432
- export interface TransactionOrder {
433
- /**
434
- * A reference to the resource location
435
- * @type {string}
436
- * @memberof TransactionOrder
437
- */
438
- 'ref': string;
419
+ 'type'?: TransactionTypeEnum;
439
420
  /**
440
- * A reference to the resource location
421
+ *
441
422
  * @type {string}
442
- * @memberof TransactionOrder
423
+ * @memberof Transaction
443
424
  */
444
- 'project': string;
425
+ 'createdAt': string;
445
426
  }
427
+
428
+ export const TransactionTypeEnum = {
429
+ Blank: 'blank',
430
+ Application: 'application',
431
+ Shipping: 'shipping'
432
+ } as const;
433
+
434
+ export type TransactionTypeEnum = typeof TransactionTypeEnum[keyof typeof TransactionTypeEnum];
435
+
446
436
  /**
447
437
  *
448
438
  * @export
@@ -584,7 +574,7 @@ export interface VariantsResponse {
584
574
  * @type {number}
585
575
  * @memberof VariantsResponse
586
576
  */
587
- 'nextPageToken'?: number;
577
+ 'nextPageToken'?: number | null;
588
578
  }
589
579
 
590
580
  /**
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * GFN Catalog API
5
5
  * Use this API to access the Global Fulfilment 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: 2.0.2
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * GFN Catalog API
5
5
  * Use this API to access the Global Fulfilment 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: 2.0.2
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * GFN Catalog API
5
5
  * Use this API to access the Global Fulfilment 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: 2.0.2
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * GFN Catalog API
3
3
  * Use this API to access the Global Fulfilment 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: 2.0.2
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -287,7 +287,7 @@ export interface ProductsResponse {
287
287
  * @type {number}
288
288
  * @memberof ProductsResponse
289
289
  */
290
- 'nextPageToken'?: number;
290
+ 'nextPageToken'?: number | null;
291
291
  }
292
292
  /**
293
293
  *
@@ -331,6 +331,12 @@ export interface Statement {
331
331
  * @memberof Statement
332
332
  */
333
333
  'createdAt': string;
334
+ /**
335
+ *
336
+ * @type {number}
337
+ * @memberof Statement
338
+ */
339
+ 'fulfillmentCount': number;
334
340
  }
335
341
  /**
336
342
  *
@@ -362,7 +368,7 @@ export interface StockResponse {
362
368
  * @type {number}
363
369
  * @memberof StockResponse
364
370
  */
365
- 'nextPageToken'?: number;
371
+ 'nextPageToken'?: number | null;
366
372
  }
367
373
  /**
368
374
  *
@@ -387,51 +393,32 @@ export interface Transaction {
387
393
  * @type {string}
388
394
  * @memberof Transaction
389
395
  */
390
- 'statement'?: string;
391
- /**
392
- *
393
- * @type {TransactionOrder}
394
- * @memberof Transaction
395
- */
396
- 'order': TransactionOrder;
397
- /**
398
- *
399
- * @type {TransactionOrder}
400
- * @memberof Transaction
401
- */
402
- 'fulfillment'?: TransactionOrder;
396
+ 'statement'?: string | null;
403
397
  /**
404
398
  *
405
399
  * @type {number}
406
400
  * @memberof Transaction
407
401
  */
408
- 'total': number;
402
+ 'cost'?: number;
409
403
  /**
410
404
  *
411
405
  * @type {string}
412
406
  * @memberof Transaction
413
407
  */
414
- 'issuedAt': string;
415
- }
416
- /**
417
- *
418
- * @export
419
- * @interface TransactionOrder
420
- */
421
- export interface TransactionOrder {
422
- /**
423
- * A reference to the resource location
424
- * @type {string}
425
- * @memberof TransactionOrder
426
- */
427
- 'ref': string;
408
+ 'type'?: TransactionTypeEnum;
428
409
  /**
429
- * A reference to the resource location
410
+ *
430
411
  * @type {string}
431
- * @memberof TransactionOrder
412
+ * @memberof Transaction
432
413
  */
433
- 'project': string;
414
+ 'createdAt': string;
434
415
  }
416
+ export declare const TransactionTypeEnum: {
417
+ readonly Blank: "blank";
418
+ readonly Application: "application";
419
+ readonly Shipping: "shipping";
420
+ };
421
+ export type TransactionTypeEnum = typeof TransactionTypeEnum[keyof typeof TransactionTypeEnum];
435
422
  /**
436
423
  *
437
424
  * @export
@@ -573,7 +560,7 @@ export interface VariantsResponse {
573
560
  * @type {number}
574
561
  * @memberof VariantsResponse
575
562
  */
576
- 'nextPageToken'?: number;
563
+ 'nextPageToken'?: number | null;
577
564
  }
578
565
  /**
579
566
  * ProductsApi - axios parameter creator
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * GFN Catalog API
6
6
  * Use this API to access the Global Fulfilment 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: 2.0.2
8
+ * The version of the OpenAPI document: 2.1.0
9
9
  * Contact: hello@teemill.com
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.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.TransactionsApi = exports.TransactionsApiFactory = exports.TransactionsApiFp = exports.TransactionsApiAxiosParamCreator = exports.StatementsApi = exports.StatementsApiFactory = exports.StatementsApiFp = exports.StatementsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.AttributeThumbnailTypeEnum = void 0;
25
+ exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.TransactionsApi = exports.TransactionsApiFactory = exports.TransactionsApiFp = exports.TransactionsApiAxiosParamCreator = exports.StatementsApi = exports.StatementsApiFactory = exports.StatementsApiFp = exports.StatementsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.TransactionTypeEnum = exports.AttributeThumbnailTypeEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -34,6 +34,11 @@ exports.AttributeThumbnailTypeEnum = {
34
34
  Color: 'color',
35
35
  Image: 'image'
36
36
  };
37
+ exports.TransactionTypeEnum = {
38
+ Blank: 'blank',
39
+ Application: 'application',
40
+ Shipping: 'shipping'
41
+ };
37
42
  /**
38
43
  * ProductsApi - axios parameter creator
39
44
  * @export
@@ -221,7 +226,7 @@ const StatementsApiAxiosParamCreator = function (configuration) {
221
226
  * @param {*} [options] Override http request option.
222
227
  * @throws {RequiredError}
223
228
  */
224
- listStatements: (project_2, pageToken_1, pageSize_1, search_1, ...args_2) => __awaiter(this, [project_2, pageToken_1, pageSize_1, search_1, ...args_2], void 0, function* (project, pageToken, pageSize, search, options = {}) {
229
+ listStatements: (project_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, options = {}) {
225
230
  // verify required parameter 'project' is not null or undefined
226
231
  (0, common_1.assertParamExists)('listStatements', 'project', project);
227
232
  const localVarPath = `/v1/gfn/statements`;
@@ -426,7 +431,7 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
426
431
  * @param {*} [options] Override http request option.
427
432
  * @throws {RequiredError}
428
433
  */
429
- listTransactions: (project_2, pageToken_1, pageSize_1, statementId_1, ...args_2) => __awaiter(this, [project_2, pageToken_1, pageSize_1, statementId_1, ...args_2], void 0, function* (project, pageToken, pageSize, statementId, options = {}) {
434
+ listTransactions: (project_1, pageToken_1, pageSize_1, statementId_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, statementId_1, ...args_1], void 0, function* (project, pageToken, pageSize, statementId, options = {}) {
430
435
  // verify required parameter 'project' is not null or undefined
431
436
  (0, common_1.assertParamExists)('listTransactions', 'project', project);
432
437
  const localVarPath = `/v1/gfn/transactions`;
@@ -633,7 +638,7 @@ const VariantsApiAxiosParamCreator = function (configuration) {
633
638
  * @param {*} [options] Override http request option.
634
639
  * @throws {RequiredError}
635
640
  */
636
- getVariant: (project_2, variantId_2, fields_1, ...args_2) => __awaiter(this, [project_2, variantId_2, fields_1, ...args_2], void 0, function* (project, variantId, fields, options = {}) {
641
+ getVariant: (project_1, variantId_1, fields_1, ...args_1) => __awaiter(this, [project_1, variantId_1, fields_1, ...args_1], void 0, function* (project, variantId, fields, options = {}) {
637
642
  // verify required parameter 'project' is not null or undefined
638
643
  (0, common_1.assertParamExists)('getVariant', 'project', project);
639
644
  // verify required parameter 'variantId' is not null or undefined
@@ -679,7 +684,7 @@ const VariantsApiAxiosParamCreator = function (configuration) {
679
684
  * @param {*} [options] Override http request option.
680
685
  * @throws {RequiredError}
681
686
  */
682
- listStock: (project_3, fulfillmentProjects_2, pageToken_1, pageSize_1, search_1, ...args_3) => __awaiter(this, [project_3, fulfillmentProjects_2, pageToken_1, pageSize_1, search_1, ...args_3], void 0, function* (project, fulfillmentProjects, pageToken, pageSize, search, options = {}) {
687
+ listStock: (project_1, fulfillmentProjects_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, fulfillmentProjects_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, fulfillmentProjects, pageToken, pageSize, search, options = {}) {
683
688
  // verify required parameter 'project' is not null or undefined
684
689
  (0, common_1.assertParamExists)('listStock', 'project', project);
685
690
  const localVarPath = `/v1/gfn/catalog/stock`;
@@ -731,7 +736,7 @@ const VariantsApiAxiosParamCreator = function (configuration) {
731
736
  * @param {*} [options] Override http request option.
732
737
  * @throws {RequiredError}
733
738
  */
734
- listVariants: (project_4, pageToken_2, pageSize_2, fields_2, search_2, ...args_4) => __awaiter(this, [project_4, pageToken_2, pageSize_2, fields_2, search_2, ...args_4], void 0, function* (project, pageToken, pageSize, fields, search, options = {}) {
739
+ listVariants: (project_1, pageToken_1, pageSize_1, fields_1, search_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, fields_1, search_1, ...args_1], void 0, function* (project, pageToken, pageSize, fields, search, options = {}) {
735
740
  // verify required parameter 'project' is not null or undefined
736
741
  (0, common_1.assertParamExists)('listVariants', 'project', project);
737
742
  const localVarPath = `/v1/gfn/catalog/variants`;
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * GFN Catalog API
3
3
  * Use this API to access the Global Fulfilment 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: 2.0.2
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * GFN Catalog API
6
6
  * Use this API to access the Global Fulfilment 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: 2.0.2
8
+ * The version of the OpenAPI document: 2.1.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * GFN Catalog API
3
3
  * Use this API to access the Global Fulfilment 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: 2.0.2
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * GFN Catalog API
6
6
  * Use this API to access the Global Fulfilment 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: 2.0.2
8
+ * The version of the OpenAPI document: 2.1.0
9
9
  * Contact: hello@teemill.com
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 API
3
3
  * Use this API to access the Global Fulfilment 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: 2.0.2
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * GFN Catalog API
6
6
  * Use this API to access the Global Fulfilment 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: 2.0.2
8
+ * The version of the OpenAPI document: 2.1.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * GFN Catalog API
3
3
  * Use this API to access the Global Fulfilment 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: 2.0.2
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -287,7 +287,7 @@ export interface ProductsResponse {
287
287
  * @type {number}
288
288
  * @memberof ProductsResponse
289
289
  */
290
- 'nextPageToken'?: number;
290
+ 'nextPageToken'?: number | null;
291
291
  }
292
292
  /**
293
293
  *
@@ -331,6 +331,12 @@ export interface Statement {
331
331
  * @memberof Statement
332
332
  */
333
333
  'createdAt': string;
334
+ /**
335
+ *
336
+ * @type {number}
337
+ * @memberof Statement
338
+ */
339
+ 'fulfillmentCount': number;
334
340
  }
335
341
  /**
336
342
  *
@@ -362,7 +368,7 @@ export interface StockResponse {
362
368
  * @type {number}
363
369
  * @memberof StockResponse
364
370
  */
365
- 'nextPageToken'?: number;
371
+ 'nextPageToken'?: number | null;
366
372
  }
367
373
  /**
368
374
  *
@@ -387,51 +393,32 @@ export interface Transaction {
387
393
  * @type {string}
388
394
  * @memberof Transaction
389
395
  */
390
- 'statement'?: string;
391
- /**
392
- *
393
- * @type {TransactionOrder}
394
- * @memberof Transaction
395
- */
396
- 'order': TransactionOrder;
397
- /**
398
- *
399
- * @type {TransactionOrder}
400
- * @memberof Transaction
401
- */
402
- 'fulfillment'?: TransactionOrder;
396
+ 'statement'?: string | null;
403
397
  /**
404
398
  *
405
399
  * @type {number}
406
400
  * @memberof Transaction
407
401
  */
408
- 'total': number;
402
+ 'cost'?: number;
409
403
  /**
410
404
  *
411
405
  * @type {string}
412
406
  * @memberof Transaction
413
407
  */
414
- 'issuedAt': string;
415
- }
416
- /**
417
- *
418
- * @export
419
- * @interface TransactionOrder
420
- */
421
- export interface TransactionOrder {
422
- /**
423
- * A reference to the resource location
424
- * @type {string}
425
- * @memberof TransactionOrder
426
- */
427
- 'ref': string;
408
+ 'type'?: TransactionTypeEnum;
428
409
  /**
429
- * A reference to the resource location
410
+ *
430
411
  * @type {string}
431
- * @memberof TransactionOrder
412
+ * @memberof Transaction
432
413
  */
433
- 'project': string;
414
+ 'createdAt': string;
434
415
  }
416
+ export declare const TransactionTypeEnum: {
417
+ readonly Blank: "blank";
418
+ readonly Application: "application";
419
+ readonly Shipping: "shipping";
420
+ };
421
+ export type TransactionTypeEnum = typeof TransactionTypeEnum[keyof typeof TransactionTypeEnum];
435
422
  /**
436
423
  *
437
424
  * @export
@@ -573,7 +560,7 @@ export interface VariantsResponse {
573
560
  * @type {number}
574
561
  * @memberof VariantsResponse
575
562
  */
576
- 'nextPageToken'?: number;
563
+ 'nextPageToken'?: number | null;
577
564
  }
578
565
  /**
579
566
  * ProductsApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * GFN Catalog API
5
5
  * Use this API to access the Global Fulfilment 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: 2.0.2
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,6 +31,11 @@ export const AttributeThumbnailTypeEnum = {
31
31
  Color: 'color',
32
32
  Image: 'image'
33
33
  };
34
+ export const TransactionTypeEnum = {
35
+ Blank: 'blank',
36
+ Application: 'application',
37
+ Shipping: 'shipping'
38
+ };
34
39
  /**
35
40
  * ProductsApi - axios parameter creator
36
41
  * @export
@@ -214,7 +219,7 @@ export const StatementsApiAxiosParamCreator = function (configuration) {
214
219
  * @param {*} [options] Override http request option.
215
220
  * @throws {RequiredError}
216
221
  */
217
- listStatements: (project_2, pageToken_1, pageSize_1, search_1, ...args_2) => __awaiter(this, [project_2, pageToken_1, pageSize_1, search_1, ...args_2], void 0, function* (project, pageToken, pageSize, search, options = {}) {
222
+ listStatements: (project_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, options = {}) {
218
223
  // verify required parameter 'project' is not null or undefined
219
224
  assertParamExists('listStatements', 'project', project);
220
225
  const localVarPath = `/v1/gfn/statements`;
@@ -415,7 +420,7 @@ export const TransactionsApiAxiosParamCreator = function (configuration) {
415
420
  * @param {*} [options] Override http request option.
416
421
  * @throws {RequiredError}
417
422
  */
418
- listTransactions: (project_2, pageToken_1, pageSize_1, statementId_1, ...args_2) => __awaiter(this, [project_2, pageToken_1, pageSize_1, statementId_1, ...args_2], void 0, function* (project, pageToken, pageSize, statementId, options = {}) {
423
+ listTransactions: (project_1, pageToken_1, pageSize_1, statementId_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, statementId_1, ...args_1], void 0, function* (project, pageToken, pageSize, statementId, options = {}) {
419
424
  // verify required parameter 'project' is not null or undefined
420
425
  assertParamExists('listTransactions', 'project', project);
421
426
  const localVarPath = `/v1/gfn/transactions`;
@@ -618,7 +623,7 @@ export const VariantsApiAxiosParamCreator = function (configuration) {
618
623
  * @param {*} [options] Override http request option.
619
624
  * @throws {RequiredError}
620
625
  */
621
- getVariant: (project_2, variantId_2, fields_1, ...args_2) => __awaiter(this, [project_2, variantId_2, fields_1, ...args_2], void 0, function* (project, variantId, fields, options = {}) {
626
+ getVariant: (project_1, variantId_1, fields_1, ...args_1) => __awaiter(this, [project_1, variantId_1, fields_1, ...args_1], void 0, function* (project, variantId, fields, options = {}) {
622
627
  // verify required parameter 'project' is not null or undefined
623
628
  assertParamExists('getVariant', 'project', project);
624
629
  // verify required parameter 'variantId' is not null or undefined
@@ -664,7 +669,7 @@ export const VariantsApiAxiosParamCreator = function (configuration) {
664
669
  * @param {*} [options] Override http request option.
665
670
  * @throws {RequiredError}
666
671
  */
667
- listStock: (project_3, fulfillmentProjects_2, pageToken_1, pageSize_1, search_1, ...args_3) => __awaiter(this, [project_3, fulfillmentProjects_2, pageToken_1, pageSize_1, search_1, ...args_3], void 0, function* (project, fulfillmentProjects, pageToken, pageSize, search, options = {}) {
672
+ listStock: (project_1, fulfillmentProjects_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, fulfillmentProjects_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, fulfillmentProjects, pageToken, pageSize, search, options = {}) {
668
673
  // verify required parameter 'project' is not null or undefined
669
674
  assertParamExists('listStock', 'project', project);
670
675
  const localVarPath = `/v1/gfn/catalog/stock`;
@@ -716,7 +721,7 @@ export const VariantsApiAxiosParamCreator = function (configuration) {
716
721
  * @param {*} [options] Override http request option.
717
722
  * @throws {RequiredError}
718
723
  */
719
- listVariants: (project_4, pageToken_2, pageSize_2, fields_2, search_2, ...args_4) => __awaiter(this, [project_4, pageToken_2, pageSize_2, fields_2, search_2, ...args_4], void 0, function* (project, pageToken, pageSize, fields, search, options = {}) {
724
+ listVariants: (project_1, pageToken_1, pageSize_1, fields_1, search_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, fields_1, search_1, ...args_1], void 0, function* (project, pageToken, pageSize, fields, search, options = {}) {
720
725
  // verify required parameter 'project' is not null or undefined
721
726
  assertParamExists('listVariants', 'project', project);
722
727
  const localVarPath = `/v1/gfn/catalog/variants`;
@@ -2,7 +2,7 @@
2
2
  * GFN Catalog API
3
3
  * Use this API to access the Global Fulfilment 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: 2.0.2
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: hello@teemill.com
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 API
5
5
  * Use this API to access the Global Fulfilment 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: 2.0.2
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: hello@teemill.com
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 API
3
3
  * Use this API to access the Global Fulfilment 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: 2.0.2
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: hello@teemill.com
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 API
5
5
  * Use this API to access the Global Fulfilment 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: 2.0.2
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: hello@teemill.com
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 API
3
3
  * Use this API to access the Global Fulfilment 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: 2.0.2
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: hello@teemill.com
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 API
5
5
  * Use this API to access the Global Fulfilment 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: 2.0.2
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: hello@teemill.com
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 API
3
3
  * Use this API to access the Global Fulfilment 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: 2.0.2
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: hello@teemill.com
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 API
5
5
  * Use this API to access the Global Fulfilment 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: 2.0.2
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: hello@teemill.com
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 API
3
3
  * Use this API to access the Global Fulfilment 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: 2.0.2
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: hello@teemill.com
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 API
6
6
  * Use this API to access the Global Fulfilment 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: 2.0.2
8
+ * The version of the OpenAPI document: 2.1.0
9
9
  * Contact: hello@teemill.com
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 API
5
5
  * Use this API to access the Global Fulfilment 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: 2.0.2
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: hello@teemill.com
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": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "description": "OpenAPI client for @teemill/gfn-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {