@teemill/orders 1.9.0 → 1.11.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 +25 -6
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +17 -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 +17 -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.11.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.11.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.11.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -183,6 +183,12 @@ export interface ContactInformation {
|
|
|
183
183
|
* @interface DeliveryEstimates
|
|
184
184
|
*/
|
|
185
185
|
export interface DeliveryEstimates {
|
|
186
|
+
/**
|
|
187
|
+
* Whether this is a priority shipping method. Fulfillments with priority methods aim for same day dispatch when ordered before 1pm, and typically offer faster delivery times.
|
|
188
|
+
* @type {boolean}
|
|
189
|
+
* @memberof DeliveryEstimates
|
|
190
|
+
*/
|
|
191
|
+
'isPriority'?: boolean;
|
|
186
192
|
/**
|
|
187
193
|
* ISO 8601 Timestamp
|
|
188
194
|
* @type {string}
|
|
@@ -932,10 +938,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
932
938
|
* @param {string} project What project it is
|
|
933
939
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
934
940
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
941
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
935
942
|
* @param {*} [options] Override http request option.
|
|
936
943
|
* @throws {RequiredError}
|
|
937
944
|
*/
|
|
938
|
-
exportOrders: async (project: string, start: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
945
|
+
exportOrders: async (project: string, start: string, end?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
939
946
|
// verify required parameter 'project' is not null or undefined
|
|
940
947
|
assertParamExists('exportOrders', 'project', project)
|
|
941
948
|
// verify required parameter 'start' is not null or undefined
|
|
@@ -975,6 +982,10 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
975
982
|
end;
|
|
976
983
|
}
|
|
977
984
|
|
|
985
|
+
if (search !== undefined) {
|
|
986
|
+
localVarQueryParameter['search'] = search;
|
|
987
|
+
}
|
|
988
|
+
|
|
978
989
|
|
|
979
990
|
|
|
980
991
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1233,11 +1244,12 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
1233
1244
|
* @param {string} project What project it is
|
|
1234
1245
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
1235
1246
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1247
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1236
1248
|
* @param {*} [options] Override http request option.
|
|
1237
1249
|
* @throws {RequiredError}
|
|
1238
1250
|
*/
|
|
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);
|
|
1251
|
+
async exportOrders(project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1252
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, start, end, search, options);
|
|
1241
1253
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1242
1254
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.exportOrders']?.[localVarOperationServerIndex]?.url;
|
|
1243
1255
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1339,7 +1351,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
1339
1351
|
* @throws {RequiredError}
|
|
1340
1352
|
*/
|
|
1341
1353
|
exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
1342
|
-
return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
1354
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1343
1355
|
},
|
|
1344
1356
|
/**
|
|
1345
1357
|
* Get an order by a given ID.
|
|
@@ -1491,6 +1503,13 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1491
1503
|
* @memberof OrdersApiExportOrders
|
|
1492
1504
|
*/
|
|
1493
1505
|
readonly end?: string
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* Search term to filter based on order reference, customer name and email
|
|
1509
|
+
* @type {string}
|
|
1510
|
+
* @memberof OrdersApiExportOrders
|
|
1511
|
+
*/
|
|
1512
|
+
readonly search?: string
|
|
1494
1513
|
}
|
|
1495
1514
|
|
|
1496
1515
|
/**
|
|
@@ -1657,7 +1676,7 @@ export class OrdersApi extends BaseAPI {
|
|
|
1657
1676
|
* @memberof OrdersApi
|
|
1658
1677
|
*/
|
|
1659
1678
|
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));
|
|
1679
|
+
return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.start, requestParameters.end, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
1661
1680
|
}
|
|
1662
1681
|
|
|
1663
1682
|
/**
|
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.11.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.11.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.11.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.11.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -170,6 +170,12 @@ export interface ContactInformation {
|
|
|
170
170
|
* @interface DeliveryEstimates
|
|
171
171
|
*/
|
|
172
172
|
export interface DeliveryEstimates {
|
|
173
|
+
/**
|
|
174
|
+
* Whether this is a priority shipping method. Fulfillments with priority methods aim for same day dispatch when ordered before 1pm, and typically offer faster delivery times.
|
|
175
|
+
* @type {boolean}
|
|
176
|
+
* @memberof DeliveryEstimates
|
|
177
|
+
*/
|
|
178
|
+
'isPriority'?: boolean;
|
|
173
179
|
/**
|
|
174
180
|
* ISO 8601 Timestamp
|
|
175
181
|
* @type {string}
|
|
@@ -771,10 +777,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
771
777
|
* @param {string} project What project it is
|
|
772
778
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
773
779
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
780
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
774
781
|
* @param {*} [options] Override http request option.
|
|
775
782
|
* @throws {RequiredError}
|
|
776
783
|
*/
|
|
777
|
-
exportOrders: (project: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
784
|
+
exportOrders: (project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
778
785
|
/**
|
|
779
786
|
* Get an order by a given ID.
|
|
780
787
|
* @summary Get order
|
|
@@ -852,10 +859,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
852
859
|
* @param {string} project What project it is
|
|
853
860
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
854
861
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
862
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
855
863
|
* @param {*} [options] Override http request option.
|
|
856
864
|
* @throws {RequiredError}
|
|
857
865
|
*/
|
|
858
|
-
exportOrders(project: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
866
|
+
exportOrders(project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
859
867
|
/**
|
|
860
868
|
* Get an order by a given ID.
|
|
861
869
|
* @summary Get order
|
|
@@ -1058,6 +1066,12 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1058
1066
|
* @memberof OrdersApiExportOrders
|
|
1059
1067
|
*/
|
|
1060
1068
|
readonly end?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* Search term to filter based on order reference, customer name and email
|
|
1071
|
+
* @type {string}
|
|
1072
|
+
* @memberof OrdersApiExportOrders
|
|
1073
|
+
*/
|
|
1074
|
+
readonly search?: string;
|
|
1061
1075
|
}
|
|
1062
1076
|
/**
|
|
1063
1077
|
* 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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -170,6 +170,12 @@ export interface ContactInformation {
|
|
|
170
170
|
* @interface DeliveryEstimates
|
|
171
171
|
*/
|
|
172
172
|
export interface DeliveryEstimates {
|
|
173
|
+
/**
|
|
174
|
+
* Whether this is a priority shipping method. Fulfillments with priority methods aim for same day dispatch when ordered before 1pm, and typically offer faster delivery times.
|
|
175
|
+
* @type {boolean}
|
|
176
|
+
* @memberof DeliveryEstimates
|
|
177
|
+
*/
|
|
178
|
+
'isPriority'?: boolean;
|
|
173
179
|
/**
|
|
174
180
|
* ISO 8601 Timestamp
|
|
175
181
|
* @type {string}
|
|
@@ -771,10 +777,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
771
777
|
* @param {string} project What project it is
|
|
772
778
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
773
779
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
780
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
774
781
|
* @param {*} [options] Override http request option.
|
|
775
782
|
* @throws {RequiredError}
|
|
776
783
|
*/
|
|
777
|
-
exportOrders: (project: string, start: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
784
|
+
exportOrders: (project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
778
785
|
/**
|
|
779
786
|
* Get an order by a given ID.
|
|
780
787
|
* @summary Get order
|
|
@@ -852,10 +859,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
852
859
|
* @param {string} project What project it is
|
|
853
860
|
* @param {string} start Start of date range to filter by when orders were placed
|
|
854
861
|
* @param {string} [end] End of date range to filter by when orders were placed
|
|
862
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
855
863
|
* @param {*} [options] Override http request option.
|
|
856
864
|
* @throws {RequiredError}
|
|
857
865
|
*/
|
|
858
|
-
exportOrders(project: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
866
|
+
exportOrders(project: string, start: string, end?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
859
867
|
/**
|
|
860
868
|
* Get an order by a given ID.
|
|
861
869
|
* @summary Get order
|
|
@@ -1058,6 +1066,12 @@ export interface OrdersApiExportOrdersRequest {
|
|
|
1058
1066
|
* @memberof OrdersApiExportOrders
|
|
1059
1067
|
*/
|
|
1060
1068
|
readonly end?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* Search term to filter based on order reference, customer name and email
|
|
1071
|
+
* @type {string}
|
|
1072
|
+
* @memberof OrdersApiExportOrders
|
|
1073
|
+
*/
|
|
1074
|
+
readonly search?: string;
|
|
1061
1075
|
}
|
|
1062
1076
|
/**
|
|
1063
1077
|
* 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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|