@teemill/orders 1.8.2 → 1.10.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/orders@1.8.2
1
+ ## @teemill/orders@1.10.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/orders@1.8.2 --save
39
+ npm install @teemill/orders@1.10.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
6
6
  *
7
- * The version of the OpenAPI document: 1.8.2
7
+ * The version of the OpenAPI document: 1.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -272,6 +272,12 @@ export interface Fulfillment {
272
272
  * @interface FulfillmentFulfiller
273
273
  */
274
274
  export interface FulfillmentFulfiller {
275
+ /**
276
+ * Unique object identifier
277
+ * @type {string}
278
+ * @memberof FulfillmentFulfiller
279
+ */
280
+ 'id'?: string;
275
281
  /**
276
282
  *
277
283
  * @type {FulfillmentFulfillerLocation}
@@ -926,10 +932,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
926
932
  * @param {string} project What project it is
927
933
  * @param {string} start Start of date range to filter by when orders were placed
928
934
  * @param {string} [end] End of date range to filter by when orders were placed
935
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
929
936
  * @param {*} [options] Override http request option.
930
937
  * @throws {RequiredError}
931
938
  */
932
- exportOrders: async (project: string, start: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
939
+ exportOrders: async (project: string, start: string, end?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
933
940
  // verify required parameter 'project' is not null or undefined
934
941
  assertParamExists('exportOrders', 'project', project)
935
942
  // verify required parameter 'start' is not null or undefined
@@ -969,6 +976,10 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
969
976
  end;
970
977
  }
971
978
 
979
+ if (search !== undefined) {
980
+ localVarQueryParameter['search'] = search;
981
+ }
982
+
972
983
 
973
984
 
974
985
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1227,11 +1238,12 @@ export const OrdersApiFp = function(configuration?: Configuration) {
1227
1238
  * @param {string} project What project it is
1228
1239
  * @param {string} start Start of date range to filter by when orders were placed
1229
1240
  * @param {string} [end] End of date range to filter by when orders were placed
1241
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
1230
1242
  * @param {*} [options] Override http request option.
1231
1243
  * @throws {RequiredError}
1232
1244
  */
1233
- async exportOrders(project: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
1234
- const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, start, end, options);
1245
+ async exportOrders(project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
1246
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, start, end, search, options);
1235
1247
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1236
1248
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.exportOrders']?.[localVarOperationServerIndex]?.url;
1237
1249
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1333,7 +1345,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
1333
1345
  * @throws {RequiredError}
1334
1346
  */
1335
1347
  exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
1336
- return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
1348
+ return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
1337
1349
  },
1338
1350
  /**
1339
1351
  * Get an order by a given ID.
@@ -1485,6 +1497,13 @@ export interface OrdersApiExportOrdersRequest {
1485
1497
  * @memberof OrdersApiExportOrders
1486
1498
  */
1487
1499
  readonly end?: string
1500
+
1501
+ /**
1502
+ * Search term to filter based on order reference, customer name and email
1503
+ * @type {string}
1504
+ * @memberof OrdersApiExportOrders
1505
+ */
1506
+ readonly search?: string
1488
1507
  }
1489
1508
 
1490
1509
  /**
@@ -1651,7 +1670,7 @@ export class OrdersApi extends BaseAPI {
1651
1670
  * @memberof OrdersApi
1652
1671
  */
1653
1672
  public exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig) {
1654
- return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
1673
+ return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
1655
1674
  }
1656
1675
 
1657
1676
  /**
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
6
6
  *
7
- * The version of the OpenAPI document: 1.8.2
7
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
6
6
  *
7
- * The version of the OpenAPI document: 1.8.2
7
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
6
6
  *
7
- * The version of the OpenAPI document: 1.8.2
7
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
4
4
  *
5
- * The version of the OpenAPI document: 1.8.2
5
+ * The version of the OpenAPI document: 1.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -257,6 +257,12 @@ export interface Fulfillment {
257
257
  * @interface FulfillmentFulfiller
258
258
  */
259
259
  export interface FulfillmentFulfiller {
260
+ /**
261
+ * Unique object identifier
262
+ * @type {string}
263
+ * @memberof FulfillmentFulfiller
264
+ */
265
+ 'id'?: string;
260
266
  /**
261
267
  *
262
268
  * @type {FulfillmentFulfillerLocation}
@@ -765,10 +771,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
765
771
  * @param {string} project What project it is
766
772
  * @param {string} start Start of date range to filter by when orders were placed
767
773
  * @param {string} [end] End of date range to filter by when orders were placed
774
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
768
775
  * @param {*} [options] Override http request option.
769
776
  * @throws {RequiredError}
770
777
  */
771
- exportOrders: (project: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
778
+ exportOrders: (project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
772
779
  /**
773
780
  * Get an order by a given ID.
774
781
  * @summary Get order
@@ -846,10 +853,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
846
853
  * @param {string} project What project it is
847
854
  * @param {string} start Start of date range to filter by when orders were placed
848
855
  * @param {string} [end] End of date range to filter by when orders were placed
856
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
849
857
  * @param {*} [options] Override http request option.
850
858
  * @throws {RequiredError}
851
859
  */
852
- exportOrders(project: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
860
+ exportOrders(project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
853
861
  /**
854
862
  * Get an order by a given ID.
855
863
  * @summary Get order
@@ -1052,6 +1060,12 @@ export interface OrdersApiExportOrdersRequest {
1052
1060
  * @memberof OrdersApiExportOrders
1053
1061
  */
1054
1062
  readonly end?: string;
1063
+ /**
1064
+ * Search term to filter based on order reference, customer name and email
1065
+ * @type {string}
1066
+ * @memberof OrdersApiExportOrders
1067
+ */
1068
+ readonly search?: string;
1055
1069
  }
1056
1070
  /**
1057
1071
  * Request parameters for getOrder operation in OrdersApi.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Orders API
6
6
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
7
7
  *
8
- * The version of the OpenAPI document: 1.8.2
8
+ * The version of the OpenAPI document: 1.10.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -198,10 +198,11 @@ const OrdersApiAxiosParamCreator = function (configuration) {
198
198
  * @param {string} project What project it is
199
199
  * @param {string} start Start of date range to filter by when orders were placed
200
200
  * @param {string} [end] End of date range to filter by when orders were placed
201
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
201
202
  * @param {*} [options] Override http request option.
202
203
  * @throws {RequiredError}
203
204
  */
204
- exportOrders: (project_1, start_1, end_1, ...args_1) => __awaiter(this, [project_1, start_1, end_1, ...args_1], void 0, function* (project, start, end, options = {}) {
205
+ exportOrders: (project_1, start_1, end_1, search_1, ...args_1) => __awaiter(this, [project_1, start_1, end_1, search_1, ...args_1], void 0, function* (project, start, end, search, options = {}) {
205
206
  // verify required parameter 'project' is not null or undefined
206
207
  (0, common_1.assertParamExists)('exportOrders', 'project', project);
207
208
  // verify required parameter 'start' is not null or undefined
@@ -234,6 +235,9 @@ const OrdersApiAxiosParamCreator = function (configuration) {
234
235
  end.toISOString() :
235
236
  end;
236
237
  }
238
+ if (search !== undefined) {
239
+ localVarQueryParameter['search'] = search;
240
+ }
237
241
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
238
242
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
239
243
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -465,13 +469,14 @@ const OrdersApiFp = function (configuration) {
465
469
  * @param {string} project What project it is
466
470
  * @param {string} start Start of date range to filter by when orders were placed
467
471
  * @param {string} [end] End of date range to filter by when orders were placed
472
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
468
473
  * @param {*} [options] Override http request option.
469
474
  * @throws {RequiredError}
470
475
  */
471
- exportOrders(project, start, end, options) {
476
+ exportOrders(project, start, end, search, options) {
472
477
  return __awaiter(this, void 0, void 0, function* () {
473
478
  var _a, _b, _c;
474
- const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, start, end, options);
479
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, start, end, search, options);
475
480
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
476
481
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.exportOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
477
482
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -583,7 +588,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
583
588
  * @throws {RequiredError}
584
589
  */
585
590
  exportOrders(requestParameters, options) {
586
- return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
591
+ return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
587
592
  },
588
593
  /**
589
594
  * Get an order by a given ID.
@@ -667,7 +672,7 @@ class OrdersApi extends base_1.BaseAPI {
667
672
  * @memberof OrdersApi
668
673
  */
669
674
  exportOrders(requestParameters, options) {
670
- return (0, exports.OrdersApiFp)(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
675
+ return (0, exports.OrdersApiFp)(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
671
676
  }
672
677
  /**
673
678
  * Get an order by a given ID.
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
4
4
  *
5
- * The version of the OpenAPI document: 1.8.2
5
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
6
6
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
7
7
  *
8
- * The version of the OpenAPI document: 1.8.2
8
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
4
4
  *
5
- * The version of the OpenAPI document: 1.8.2
5
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
6
6
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
7
7
  *
8
- * The version of the OpenAPI document: 1.8.2
8
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
4
4
  *
5
- * The version of the OpenAPI document: 1.8.2
5
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
6
6
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
7
7
  *
8
- * The version of the OpenAPI document: 1.8.2
8
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
4
4
  *
5
- * The version of the OpenAPI document: 1.8.2
5
+ * The version of the OpenAPI document: 1.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -257,6 +257,12 @@ export interface Fulfillment {
257
257
  * @interface FulfillmentFulfiller
258
258
  */
259
259
  export interface FulfillmentFulfiller {
260
+ /**
261
+ * Unique object identifier
262
+ * @type {string}
263
+ * @memberof FulfillmentFulfiller
264
+ */
265
+ 'id'?: string;
260
266
  /**
261
267
  *
262
268
  * @type {FulfillmentFulfillerLocation}
@@ -765,10 +771,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
765
771
  * @param {string} project What project it is
766
772
  * @param {string} start Start of date range to filter by when orders were placed
767
773
  * @param {string} [end] End of date range to filter by when orders were placed
774
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
768
775
  * @param {*} [options] Override http request option.
769
776
  * @throws {RequiredError}
770
777
  */
771
- exportOrders: (project: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
778
+ exportOrders: (project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
772
779
  /**
773
780
  * Get an order by a given ID.
774
781
  * @summary Get order
@@ -846,10 +853,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
846
853
  * @param {string} project What project it is
847
854
  * @param {string} start Start of date range to filter by when orders were placed
848
855
  * @param {string} [end] End of date range to filter by when orders were placed
856
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
849
857
  * @param {*} [options] Override http request option.
850
858
  * @throws {RequiredError}
851
859
  */
852
- exportOrders(project: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
860
+ exportOrders(project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
853
861
  /**
854
862
  * Get an order by a given ID.
855
863
  * @summary Get order
@@ -1052,6 +1060,12 @@ export interface OrdersApiExportOrdersRequest {
1052
1060
  * @memberof OrdersApiExportOrders
1053
1061
  */
1054
1062
  readonly end?: string;
1063
+ /**
1064
+ * Search term to filter based on order reference, customer name and email
1065
+ * @type {string}
1066
+ * @memberof OrdersApiExportOrders
1067
+ */
1068
+ readonly search?: string;
1055
1069
  }
1056
1070
  /**
1057
1071
  * Request parameters for getOrder operation in OrdersApi.
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Orders API
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
6
6
  *
7
- * The version of the OpenAPI document: 1.8.2
7
+ * The version of the OpenAPI document: 1.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -195,10 +195,11 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
195
195
  * @param {string} project What project it is
196
196
  * @param {string} start Start of date range to filter by when orders were placed
197
197
  * @param {string} [end] End of date range to filter by when orders were placed
198
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
198
199
  * @param {*} [options] Override http request option.
199
200
  * @throws {RequiredError}
200
201
  */
201
- exportOrders: (project_1, start_1, end_1, ...args_1) => __awaiter(this, [project_1, start_1, end_1, ...args_1], void 0, function* (project, start, end, options = {}) {
202
+ exportOrders: (project_1, start_1, end_1, search_1, ...args_1) => __awaiter(this, [project_1, start_1, end_1, search_1, ...args_1], void 0, function* (project, start, end, search, options = {}) {
202
203
  // verify required parameter 'project' is not null or undefined
203
204
  assertParamExists('exportOrders', 'project', project);
204
205
  // verify required parameter 'start' is not null or undefined
@@ -231,6 +232,9 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
231
232
  end.toISOString() :
232
233
  end;
233
234
  }
235
+ if (search !== undefined) {
236
+ localVarQueryParameter['search'] = search;
237
+ }
234
238
  setSearchParams(localVarUrlObj, localVarQueryParameter);
235
239
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
236
240
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -461,13 +465,14 @@ export const OrdersApiFp = function (configuration) {
461
465
  * @param {string} project What project it is
462
466
  * @param {string} start Start of date range to filter by when orders were placed
463
467
  * @param {string} [end] End of date range to filter by when orders were placed
468
+ * @param {string} [search] Search term to filter based on order reference, customer name and email
464
469
  * @param {*} [options] Override http request option.
465
470
  * @throws {RequiredError}
466
471
  */
467
- exportOrders(project, start, end, options) {
472
+ exportOrders(project, start, end, search, options) {
468
473
  return __awaiter(this, void 0, void 0, function* () {
469
474
  var _a, _b, _c;
470
- const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, start, end, options);
475
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportOrders(project, start, end, search, options);
471
476
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
472
477
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrdersApi.exportOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
473
478
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -578,7 +583,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
578
583
  * @throws {RequiredError}
579
584
  */
580
585
  exportOrders(requestParameters, options) {
581
- return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
586
+ return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
582
587
  },
583
588
  /**
584
589
  * Get an order by a given ID.
@@ -661,7 +666,7 @@ export class OrdersApi extends BaseAPI {
661
666
  * @memberof OrdersApi
662
667
  */
663
668
  exportOrders(requestParameters, options) {
664
- return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
669
+ return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
665
670
  }
666
671
  /**
667
672
  * Get an order by a given ID.
@@ -2,7 +2,7 @@
2
2
  * Orders API
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
4
4
  *
5
- * The version of the OpenAPI document: 1.8.2
5
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
6
6
  *
7
- * The version of the OpenAPI document: 1.8.2
7
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
4
4
  *
5
- * The version of the OpenAPI document: 1.8.2
5
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
6
6
  *
7
- * The version of the OpenAPI document: 1.8.2
7
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
4
4
  *
5
- * The version of the OpenAPI document: 1.8.2
5
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
6
6
  *
7
- * The version of the OpenAPI document: 1.8.2
7
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
4
4
  *
5
- * The version of the OpenAPI document: 1.8.2
5
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
6
6
  *
7
- * The version of the OpenAPI document: 1.8.2
7
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
3
3
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
4
4
  *
5
- * The version of the OpenAPI document: 1.8.2
5
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
6
6
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
7
7
  *
8
- * The version of the OpenAPI document: 1.8.2
8
+ * The version of the OpenAPI document: 1.10.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
  * Orders API
5
5
  * Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API. For full documentation on functionality and account auth settings go to [teemill.com](https://teemill.com/api-docs/orders)
6
6
  *
7
- * The version of the OpenAPI document: 1.8.2
7
+ * The version of the OpenAPI document: 1.10.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/orders",
3
- "version": "1.8.2",
3
+ "version": "1.10.0",
4
4
  "description": "OpenAPI client for @teemill/orders",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {