@teemill/orders 1.9.0 → 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 +2 -2
- package/api.ts +19 -6
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +11 -3
- package/dist/api.js +11 -6
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +11 -3
- package/dist/esm/api.js +11 -6
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/orders@1.
|
|
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.
|
|
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.
|
|
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).
|
|
@@ -932,10 +932,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
932
932
|
* @param {string} project What project it is
|
|
933
933
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
934
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
|
|
935
936
|
* @param {*} [options] Override http request option.
|
|
936
937
|
* @throws {RequiredError}
|
|
937
938
|
*/
|
|
938
|
-
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> => {
|
|
939
940
|
// verify required parameter 'project' is not null or undefined
|
|
940
941
|
assertParamExists('exportOrders', 'project', project)
|
|
941
942
|
// verify required parameter 'start' is not null or undefined
|
|
@@ -975,6 +976,10 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
975
976
|
end;
|
|
976
977
|
}
|
|
977
978
|
|
|
979
|
+
if (search !== undefined) {
|
|
980
|
+
localVarQueryParameter['search'] = search;
|
|
981
|
+
}
|
|
982
|
+
|
|
978
983
|
|
|
979
984
|
|
|
980
985
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1233,11 +1238,12 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
1233
1238
|
* @param {string} project What project it is
|
|
1234
1239
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1235
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
|
|
1236
1242
|
* @param {*} [options] Override http request option.
|
|
1237
1243
|
* @throws {RequiredError}
|
|
1238
1244
|
*/
|
|
1239
|
-
async exportOrders(project: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1240
|
-
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);
|
|
1241
1247
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1242
1248
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.exportOrders']?.[localVarOperationServerIndex]?.url;
|
|
1243
1249
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1339,7 +1345,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
1339
1345
|
* @throws {RequiredError}
|
|
1340
1346
|
*/
|
|
1341
1347
|
exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
1342
|
-
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));
|
|
1343
1349
|
},
|
|
1344
1350
|
/**
|
|
1345
1351
|
* Get an order by a given ID.
|
|
@@ -1491,6 +1497,13 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1491
1497
|
* @memberof OrdersApiExportOrders
|
|
1492
1498
|
*/
|
|
1493
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
|
|
1494
1507
|
}
|
|
1495
1508
|
|
|
1496
1509
|
/**
|
|
@@ -1657,7 +1670,7 @@ export class OrdersApi extends BaseAPI {
|
|
|
1657
1670
|
* @memberof OrdersApi
|
|
1658
1671
|
*/
|
|
1659
1672
|
public exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
1660
|
-
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));
|
|
1661
1674
|
}
|
|
1662
1675
|
|
|
1663
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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).
|
|
@@ -771,10 +771,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
771
771
|
* @param {string} project What project it is
|
|
772
772
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
773
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
|
|
774
775
|
* @param {*} [options] Override http request option.
|
|
775
776
|
* @throws {RequiredError}
|
|
776
777
|
*/
|
|
777
|
-
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>;
|
|
778
779
|
/**
|
|
779
780
|
* Get an order by a given ID.
|
|
780
781
|
* @summary Get order
|
|
@@ -852,10 +853,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
852
853
|
* @param {string} project What project it is
|
|
853
854
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
854
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
|
|
855
857
|
* @param {*} [options] Override http request option.
|
|
856
858
|
* @throws {RequiredError}
|
|
857
859
|
*/
|
|
858
|
-
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>>;
|
|
859
861
|
/**
|
|
860
862
|
* Get an order by a given ID.
|
|
861
863
|
* @summary Get order
|
|
@@ -1058,6 +1060,12 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1058
1060
|
* @memberof OrdersApiExportOrders
|
|
1059
1061
|
*/
|
|
1060
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;
|
|
1061
1069
|
}
|
|
1062
1070
|
/**
|
|
1063
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
|
+
* 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.
|
|
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
|
+
* 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.
|
|
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
|
+
* 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/configuration.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.
|
|
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/configuration.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
|
+
* 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.
|
|
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).
|
|
@@ -771,10 +771,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
771
771
|
* @param {string} project What project it is
|
|
772
772
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
773
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
|
|
774
775
|
* @param {*} [options] Override http request option.
|
|
775
776
|
* @throws {RequiredError}
|
|
776
777
|
*/
|
|
777
|
-
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>;
|
|
778
779
|
/**
|
|
779
780
|
* Get an order by a given ID.
|
|
780
781
|
* @summary Get order
|
|
@@ -852,10 +853,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
852
853
|
* @param {string} project What project it is
|
|
853
854
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
854
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
|
|
855
857
|
* @param {*} [options] Override http request option.
|
|
856
858
|
* @throws {RequiredError}
|
|
857
859
|
*/
|
|
858
|
-
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>>;
|
|
859
861
|
/**
|
|
860
862
|
* Get an order by a given ID.
|
|
861
863
|
* @summary Get order
|
|
@@ -1058,6 +1060,12 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1058
1060
|
* @memberof OrdersApiExportOrders
|
|
1059
1061
|
*/
|
|
1060
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;
|
|
1061
1069
|
}
|
|
1062
1070
|
/**
|
|
1063
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.
|
|
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.
|
package/dist/esm/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.
|
|
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.
|
|
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/esm/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.
|
|
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/common.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.
|
|
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.
|
|
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.
|
|
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/esm/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.
|
|
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.
|
|
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.
|
|
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
|
+
* 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.
|
|
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).
|