@teemill/gfn-catalog 2.1.0 → 2.2.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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/gfn-catalog@2.1.0
1
+ ## @teemill/gfn-catalog@2.2.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.1.0 --save
39
+ npm install @teemill/gfn-catalog@2.2.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.1.0
7
+ * The version of the OpenAPI document: 2.2.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -423,6 +423,24 @@ export interface Transaction {
423
423
  * @memberof Transaction
424
424
  */
425
425
  'createdAt': string;
426
+ /**
427
+ *
428
+ * @type {number}
429
+ * @memberof Transaction
430
+ */
431
+ 'fulfillmentId'?: number;
432
+ /**
433
+ *
434
+ * @type {number}
435
+ * @memberof Transaction
436
+ */
437
+ 'orderId'?: number;
438
+ /**
439
+ *
440
+ * @type {string}
441
+ * @memberof Transaction
442
+ */
443
+ 'description'?: string;
426
444
  }
427
445
 
428
446
  export const TransactionTypeEnum = {
@@ -1100,10 +1118,12 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config
1100
1118
  * @param {number} [pageToken] Page reference token
1101
1119
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1102
1120
  * @param {string} [statementId]
1121
+ * @param {string} [fulfillmentId]
1122
+ * @param {string} [search] Search by fulfillment id
1103
1123
  * @param {*} [options] Override http request option.
1104
1124
  * @throws {RequiredError}
1105
1125
  */
1106
- listTransactions: async (project: string, pageToken?: number, pageSize?: number, statementId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1126
+ listTransactions: async (project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1107
1127
  // verify required parameter 'project' is not null or undefined
1108
1128
  assertParamExists('listTransactions', 'project', project)
1109
1129
  const localVarPath = `/v1/gfn/transactions`;
@@ -1141,6 +1161,14 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config
1141
1161
  localVarQueryParameter['statementId'] = statementId;
1142
1162
  }
1143
1163
 
1164
+ if (fulfillmentId !== undefined) {
1165
+ localVarQueryParameter['fulfillmentId'] = fulfillmentId;
1166
+ }
1167
+
1168
+ if (search !== undefined) {
1169
+ localVarQueryParameter['search'] = search;
1170
+ }
1171
+
1144
1172
 
1145
1173
 
1146
1174
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1183,11 +1211,13 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
1183
1211
  * @param {number} [pageToken] Page reference token
1184
1212
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1185
1213
  * @param {string} [statementId]
1214
+ * @param {string} [fulfillmentId]
1215
+ * @param {string} [search] Search by fulfillment id
1186
1216
  * @param {*} [options] Override http request option.
1187
1217
  * @throws {RequiredError}
1188
1218
  */
1189
- async listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>> {
1190
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(project, pageToken, pageSize, statementId, options);
1219
+ async listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>> {
1220
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(project, pageToken, pageSize, statementId, fulfillmentId, search, options);
1191
1221
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1192
1222
  const localVarOperationServerBasePath = operationServerMap['TransactionsApi.listTransactions']?.[localVarOperationServerIndex]?.url;
1193
1223
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1220,7 +1250,7 @@ export const TransactionsApiFactory = function (configuration?: Configuration, b
1220
1250
  * @throws {RequiredError}
1221
1251
  */
1222
1252
  listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTransactions200Response> {
1223
- return localVarFp.listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(axios, basePath));
1253
+ return localVarFp.listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(axios, basePath));
1224
1254
  },
1225
1255
  };
1226
1256
  };
@@ -1279,6 +1309,20 @@ export interface TransactionsApiListTransactionsRequest {
1279
1309
  * @memberof TransactionsApiListTransactions
1280
1310
  */
1281
1311
  readonly statementId?: string
1312
+
1313
+ /**
1314
+ *
1315
+ * @type {string}
1316
+ * @memberof TransactionsApiListTransactions
1317
+ */
1318
+ readonly fulfillmentId?: string
1319
+
1320
+ /**
1321
+ * Search by fulfillment id
1322
+ * @type {string}
1323
+ * @memberof TransactionsApiListTransactions
1324
+ */
1325
+ readonly search?: string
1282
1326
  }
1283
1327
 
1284
1328
  /**
@@ -1309,7 +1353,7 @@ export class TransactionsApi extends BaseAPI {
1309
1353
  * @memberof TransactionsApi
1310
1354
  */
1311
1355
  public listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig) {
1312
- return TransactionsApiFp(this.configuration).listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
1356
+ return TransactionsApiFp(this.configuration).listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
1313
1357
  }
1314
1358
  }
1315
1359
 
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.1.0
7
+ * The version of the OpenAPI document: 2.2.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.1.0
7
+ * The version of the OpenAPI document: 2.2.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.1.0
7
+ * The version of the OpenAPI document: 2.2.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.1.0
5
+ * The version of the OpenAPI document: 2.2.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -412,6 +412,24 @@ export interface Transaction {
412
412
  * @memberof Transaction
413
413
  */
414
414
  'createdAt': string;
415
+ /**
416
+ *
417
+ * @type {number}
418
+ * @memberof Transaction
419
+ */
420
+ 'fulfillmentId'?: number;
421
+ /**
422
+ *
423
+ * @type {number}
424
+ * @memberof Transaction
425
+ */
426
+ 'orderId'?: number;
427
+ /**
428
+ *
429
+ * @type {string}
430
+ * @memberof Transaction
431
+ */
432
+ 'description'?: string;
415
433
  }
416
434
  export declare const TransactionTypeEnum: {
417
435
  readonly Blank: "blank";
@@ -837,10 +855,12 @@ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configur
837
855
  * @param {number} [pageToken] Page reference token
838
856
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
839
857
  * @param {string} [statementId]
858
+ * @param {string} [fulfillmentId]
859
+ * @param {string} [search] Search by fulfillment id
840
860
  * @param {*} [options] Override http request option.
841
861
  * @throws {RequiredError}
842
862
  */
843
- listTransactions: (project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
863
+ listTransactions: (project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
844
864
  };
845
865
  /**
846
866
  * TransactionsApi - functional programming interface
@@ -863,10 +883,12 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
863
883
  * @param {number} [pageToken] Page reference token
864
884
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
865
885
  * @param {string} [statementId]
886
+ * @param {string} [fulfillmentId]
887
+ * @param {string} [search] Search by fulfillment id
866
888
  * @param {*} [options] Override http request option.
867
889
  * @throws {RequiredError}
868
890
  */
869
- listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>>;
891
+ listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>>;
870
892
  };
871
893
  /**
872
894
  * TransactionsApi - factory interface
@@ -939,6 +961,18 @@ export interface TransactionsApiListTransactionsRequest {
939
961
  * @memberof TransactionsApiListTransactions
940
962
  */
941
963
  readonly statementId?: string;
964
+ /**
965
+ *
966
+ * @type {string}
967
+ * @memberof TransactionsApiListTransactions
968
+ */
969
+ readonly fulfillmentId?: string;
970
+ /**
971
+ * Search by fulfillment id
972
+ * @type {string}
973
+ * @memberof TransactionsApiListTransactions
974
+ */
975
+ readonly search?: string;
942
976
  }
943
977
  /**
944
978
  * TransactionsApi - object-oriented interface
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.1.0
8
+ * The version of the OpenAPI document: 2.2.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -428,10 +428,12 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
428
428
  * @param {number} [pageToken] Page reference token
429
429
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
430
430
  * @param {string} [statementId]
431
+ * @param {string} [fulfillmentId]
432
+ * @param {string} [search] Search by fulfillment id
431
433
  * @param {*} [options] Override http request option.
432
434
  * @throws {RequiredError}
433
435
  */
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 = {}) {
436
+ listTransactions: (project_1, pageToken_1, pageSize_1, statementId_1, fulfillmentId_1, search_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, statementId_1, fulfillmentId_1, search_1, ...args_1], void 0, function* (project, pageToken, pageSize, statementId, fulfillmentId, search, options = {}) {
435
437
  // verify required parameter 'project' is not null or undefined
436
438
  (0, common_1.assertParamExists)('listTransactions', 'project', project);
437
439
  const localVarPath = `/v1/gfn/transactions`;
@@ -461,6 +463,12 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
461
463
  if (statementId !== undefined) {
462
464
  localVarQueryParameter['statementId'] = statementId;
463
465
  }
466
+ if (fulfillmentId !== undefined) {
467
+ localVarQueryParameter['fulfillmentId'] = fulfillmentId;
468
+ }
469
+ if (search !== undefined) {
470
+ localVarQueryParameter['search'] = search;
471
+ }
464
472
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
465
473
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
466
474
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -503,13 +511,15 @@ const TransactionsApiFp = function (configuration) {
503
511
  * @param {number} [pageToken] Page reference token
504
512
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
505
513
  * @param {string} [statementId]
514
+ * @param {string} [fulfillmentId]
515
+ * @param {string} [search] Search by fulfillment id
506
516
  * @param {*} [options] Override http request option.
507
517
  * @throws {RequiredError}
508
518
  */
509
- listTransactions(project, pageToken, pageSize, statementId, options) {
519
+ listTransactions(project, pageToken, pageSize, statementId, fulfillmentId, search, options) {
510
520
  return __awaiter(this, void 0, void 0, function* () {
511
521
  var _a, _b, _c;
512
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(project, pageToken, pageSize, statementId, options);
522
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(project, pageToken, pageSize, statementId, fulfillmentId, search, options);
513
523
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
514
524
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TransactionsApi.listTransactions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
515
525
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -543,7 +553,7 @@ const TransactionsApiFactory = function (configuration, basePath, axios) {
543
553
  * @throws {RequiredError}
544
554
  */
545
555
  listTransactions(requestParameters, options) {
546
- return localVarFp.listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(axios, basePath));
556
+ return localVarFp.listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(axios, basePath));
547
557
  },
548
558
  };
549
559
  };
@@ -575,7 +585,7 @@ class TransactionsApi extends base_1.BaseAPI {
575
585
  * @memberof TransactionsApi
576
586
  */
577
587
  listTransactions(requestParameters, options) {
578
- return (0, exports.TransactionsApiFp)(this.configuration).listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
588
+ return (0, exports.TransactionsApiFp)(this.configuration).listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
579
589
  }
580
590
  }
581
591
  exports.TransactionsApi = TransactionsApi;
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.1.0
5
+ * The version of the OpenAPI document: 2.2.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.1.0
8
+ * The version of the OpenAPI document: 2.2.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.1.0
5
+ * The version of the OpenAPI document: 2.2.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.1.0
8
+ * The version of the OpenAPI document: 2.2.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.1.0
5
+ * The version of the OpenAPI document: 2.2.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.1.0
8
+ * The version of the OpenAPI document: 2.2.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.1.0
5
+ * The version of the OpenAPI document: 2.2.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -412,6 +412,24 @@ export interface Transaction {
412
412
  * @memberof Transaction
413
413
  */
414
414
  'createdAt': string;
415
+ /**
416
+ *
417
+ * @type {number}
418
+ * @memberof Transaction
419
+ */
420
+ 'fulfillmentId'?: number;
421
+ /**
422
+ *
423
+ * @type {number}
424
+ * @memberof Transaction
425
+ */
426
+ 'orderId'?: number;
427
+ /**
428
+ *
429
+ * @type {string}
430
+ * @memberof Transaction
431
+ */
432
+ 'description'?: string;
415
433
  }
416
434
  export declare const TransactionTypeEnum: {
417
435
  readonly Blank: "blank";
@@ -837,10 +855,12 @@ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configur
837
855
  * @param {number} [pageToken] Page reference token
838
856
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
839
857
  * @param {string} [statementId]
858
+ * @param {string} [fulfillmentId]
859
+ * @param {string} [search] Search by fulfillment id
840
860
  * @param {*} [options] Override http request option.
841
861
  * @throws {RequiredError}
842
862
  */
843
- listTransactions: (project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
863
+ listTransactions: (project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
844
864
  };
845
865
  /**
846
866
  * TransactionsApi - functional programming interface
@@ -863,10 +883,12 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
863
883
  * @param {number} [pageToken] Page reference token
864
884
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
865
885
  * @param {string} [statementId]
886
+ * @param {string} [fulfillmentId]
887
+ * @param {string} [search] Search by fulfillment id
866
888
  * @param {*} [options] Override http request option.
867
889
  * @throws {RequiredError}
868
890
  */
869
- listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>>;
891
+ listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>>;
870
892
  };
871
893
  /**
872
894
  * TransactionsApi - factory interface
@@ -939,6 +961,18 @@ export interface TransactionsApiListTransactionsRequest {
939
961
  * @memberof TransactionsApiListTransactions
940
962
  */
941
963
  readonly statementId?: string;
964
+ /**
965
+ *
966
+ * @type {string}
967
+ * @memberof TransactionsApiListTransactions
968
+ */
969
+ readonly fulfillmentId?: string;
970
+ /**
971
+ * Search by fulfillment id
972
+ * @type {string}
973
+ * @memberof TransactionsApiListTransactions
974
+ */
975
+ readonly search?: string;
942
976
  }
943
977
  /**
944
978
  * TransactionsApi - object-oriented interface
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.1.0
7
+ * The version of the OpenAPI document: 2.2.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -417,10 +417,12 @@ export const TransactionsApiAxiosParamCreator = function (configuration) {
417
417
  * @param {number} [pageToken] Page reference token
418
418
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
419
419
  * @param {string} [statementId]
420
+ * @param {string} [fulfillmentId]
421
+ * @param {string} [search] Search by fulfillment id
420
422
  * @param {*} [options] Override http request option.
421
423
  * @throws {RequiredError}
422
424
  */
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 = {}) {
425
+ listTransactions: (project_1, pageToken_1, pageSize_1, statementId_1, fulfillmentId_1, search_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, statementId_1, fulfillmentId_1, search_1, ...args_1], void 0, function* (project, pageToken, pageSize, statementId, fulfillmentId, search, options = {}) {
424
426
  // verify required parameter 'project' is not null or undefined
425
427
  assertParamExists('listTransactions', 'project', project);
426
428
  const localVarPath = `/v1/gfn/transactions`;
@@ -450,6 +452,12 @@ export const TransactionsApiAxiosParamCreator = function (configuration) {
450
452
  if (statementId !== undefined) {
451
453
  localVarQueryParameter['statementId'] = statementId;
452
454
  }
455
+ if (fulfillmentId !== undefined) {
456
+ localVarQueryParameter['fulfillmentId'] = fulfillmentId;
457
+ }
458
+ if (search !== undefined) {
459
+ localVarQueryParameter['search'] = search;
460
+ }
453
461
  setSearchParams(localVarUrlObj, localVarQueryParameter);
454
462
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
455
463
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -491,13 +499,15 @@ export const TransactionsApiFp = function (configuration) {
491
499
  * @param {number} [pageToken] Page reference token
492
500
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
493
501
  * @param {string} [statementId]
502
+ * @param {string} [fulfillmentId]
503
+ * @param {string} [search] Search by fulfillment id
494
504
  * @param {*} [options] Override http request option.
495
505
  * @throws {RequiredError}
496
506
  */
497
- listTransactions(project, pageToken, pageSize, statementId, options) {
507
+ listTransactions(project, pageToken, pageSize, statementId, fulfillmentId, search, options) {
498
508
  return __awaiter(this, void 0, void 0, function* () {
499
509
  var _a, _b, _c;
500
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(project, pageToken, pageSize, statementId, options);
510
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(project, pageToken, pageSize, statementId, fulfillmentId, search, options);
501
511
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
502
512
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TransactionsApi.listTransactions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
503
513
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -530,7 +540,7 @@ export const TransactionsApiFactory = function (configuration, basePath, axios)
530
540
  * @throws {RequiredError}
531
541
  */
532
542
  listTransactions(requestParameters, options) {
533
- return localVarFp.listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(axios, basePath));
543
+ return localVarFp.listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(axios, basePath));
534
544
  },
535
545
  };
536
546
  };
@@ -561,7 +571,7 @@ export class TransactionsApi extends BaseAPI {
561
571
  * @memberof TransactionsApi
562
572
  */
563
573
  listTransactions(requestParameters, options) {
564
- return TransactionsApiFp(this.configuration).listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
574
+ return TransactionsApiFp(this.configuration).listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
565
575
  }
566
576
  }
567
577
  /**
@@ -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.1.0
5
+ * The version of the OpenAPI document: 2.2.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.1.0
7
+ * The version of the OpenAPI document: 2.2.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.1.0
5
+ * The version of the OpenAPI document: 2.2.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.1.0
7
+ * The version of the OpenAPI document: 2.2.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.1.0
5
+ * The version of the OpenAPI document: 2.2.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.1.0
7
+ * The version of the OpenAPI document: 2.2.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.1.0
5
+ * The version of the OpenAPI document: 2.2.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.1.0
7
+ * The version of the OpenAPI document: 2.2.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.1.0
5
+ * The version of the OpenAPI document: 2.2.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.1.0
8
+ * The version of the OpenAPI document: 2.2.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.1.0
7
+ * The version of the OpenAPI document: 2.2.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.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "OpenAPI client for @teemill/gfn-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {