@teemill/orders 1.24.0 → 1.25.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 +11 -8
- package/api.ts +457 -146
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +444 -135
- package/dist/api.js +52 -32
- 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 +444 -135
- package/dist/esm/api.js +51 -31
- 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/docs/Address.md +9 -9
- package/docs/ApiError.md +3 -2
- package/docs/ConfirmOrderFulfillment.md +4 -3
- package/docs/ConfirmOrderFulfillmentWithShipment.md +3 -2
- package/docs/ConfirmOrderFulfillmentWithShippingMethod.md +3 -2
- package/docs/ConfirmOrderValidationError.md +2 -0
- package/docs/ContactInformation.md +2 -2
- package/docs/ContactInformation1.md +23 -0
- package/docs/CreateOrder.md +7 -7
- package/docs/CreateOrderItem.md +24 -0
- package/docs/CustomsInformation.md +4 -4
- package/docs/CustomsInformation1.md +5 -4
- package/docs/DeliveryEstimates.md +4 -3
- package/docs/Fulfiller.md +25 -0
- package/docs/FulfillerLocation.md +23 -0
- package/docs/Fulfillment.md +9 -8
- package/docs/FulfillmentItem.md +3 -3
- package/docs/Image.md +5 -5
- package/docs/Order.md +17 -16
- package/docs/OrderItem.md +10 -9
- package/docs/OrderTracking.md +4 -3
- package/docs/OrdersApi.md +31 -31
- package/docs/Origin.md +3 -2
- package/docs/PaymentAttempt.md +4 -5
- package/docs/PaymentMethod.md +2 -1
- package/docs/Price.md +3 -3
- package/docs/ProductUnavailableError.md +35 -0
- package/docs/RecipientCost.md +23 -0
- package/docs/Shipment.md +21 -0
- package/docs/ShippingMethod.md +8 -7
- package/docs/Status.md +1 -0
- package/docs/StockConflictError.md +34 -0
- package/docs/StockUnavailableError.md +35 -0
- package/index.ts +1 -1
- package/package.json +2 -2
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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.25.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.GetOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.Status = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.ConfirmOrderValidationErrorCodeEnum = void 0;
|
|
25
|
+
exports.GetOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.StockUnavailableErrorCodeEnum = exports.Status = exports.ProductUnavailableErrorAvailableQuantityEnum = exports.ProductUnavailableErrorCodeEnum = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.ConfirmOrderValidationErrorCodeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -49,6 +49,15 @@ exports.PaymentAttemptStatusEnum = {
|
|
|
49
49
|
Pending: 'pending',
|
|
50
50
|
Cancelled: 'cancelled'
|
|
51
51
|
};
|
|
52
|
+
exports.ProductUnavailableErrorCodeEnum = {
|
|
53
|
+
ProductUnavailable: 'PRODUCT_UNAVAILABLE'
|
|
54
|
+
};
|
|
55
|
+
exports.ProductUnavailableErrorAvailableQuantityEnum = {
|
|
56
|
+
NUMBER_0: 0
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* The lifecycle status of an order or fulfillment: - `new` — Order has been created but not yet confirmed or paid - `paid` — Payment has been received, awaiting fulfillment - `processing` — Order is being produced or packed - `complete` — Order has been shipped - `refunded` — Order has been refunded - `quote` — Order is a draft quote, not yet submitted - `moderation` — Order is held for review
|
|
60
|
+
*/
|
|
52
61
|
exports.Status = {
|
|
53
62
|
New: 'new',
|
|
54
63
|
Paid: 'paid',
|
|
@@ -58,6 +67,9 @@ exports.Status = {
|
|
|
58
67
|
Quote: 'quote',
|
|
59
68
|
Moderation: 'moderation'
|
|
60
69
|
};
|
|
70
|
+
exports.StockUnavailableErrorCodeEnum = {
|
|
71
|
+
StockUnavailable: 'STOCK_UNAVAILABLE'
|
|
72
|
+
};
|
|
61
73
|
/**
|
|
62
74
|
* OrdersApi - axios parameter creator
|
|
63
75
|
*/
|
|
@@ -66,7 +78,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
66
78
|
/**
|
|
67
79
|
* Cancels an order if it has not yet started processing.
|
|
68
80
|
* @summary Cancel order
|
|
69
|
-
* @param {string} project
|
|
81
|
+
* @param {string} project The project identifier to scope the request to.
|
|
70
82
|
* @param {string} orderId Unique identifier of an order
|
|
71
83
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
72
84
|
* @param {*} [options] Override http request option.
|
|
@@ -99,6 +111,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
99
111
|
if (fields !== undefined) {
|
|
100
112
|
localVarQueryParameter['fields'] = fields;
|
|
101
113
|
}
|
|
114
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
102
115
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
103
116
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104
117
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -110,9 +123,9 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
110
123
|
/**
|
|
111
124
|
* Confirms an order, and submits it as ready to take payment and begin processing.
|
|
112
125
|
* @summary Confirm order
|
|
113
|
-
* @param {string} project
|
|
126
|
+
* @param {string} project The project identifier to scope the request to.
|
|
114
127
|
* @param {string} orderId Unique identifier of an order
|
|
115
|
-
* @param {ConfirmOrderRequest} confirmOrderRequest
|
|
128
|
+
* @param {ConfirmOrderRequest} confirmOrderRequest Confirm an order by specifying shipping methods for each fulfillment. This submits the order for payment processing and production. Orders should be confirmed promptly after creation — the longer an order remains unconfirmed, the greater the chance that stock availability changes. If stock is no longer available at the time of confirmation, the request will fail and you will need to create a new order.
|
|
116
129
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
117
130
|
* @param {*} [options] Override http request option.
|
|
118
131
|
* @throws {RequiredError}
|
|
@@ -147,6 +160,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
147
160
|
localVarQueryParameter['fields'] = fields;
|
|
148
161
|
}
|
|
149
162
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
163
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
150
164
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
151
165
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
166
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -159,7 +173,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
159
173
|
/**
|
|
160
174
|
* Creates a new order for the provided variants. You can fetch details and references to the given project\'s variants from the Product Catalog API.
|
|
161
175
|
* @summary Create order
|
|
162
|
-
* @param {string} project
|
|
176
|
+
* @param {string} project The project identifier to scope the request to.
|
|
163
177
|
* @param {CreateOrder} createOrder Create Order schema
|
|
164
178
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
165
179
|
* @param {*} [options] Override http request option.
|
|
@@ -192,6 +206,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
192
206
|
localVarQueryParameter['fields'] = fields;
|
|
193
207
|
}
|
|
194
208
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
209
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
195
210
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
196
211
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
197
212
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -204,7 +219,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
204
219
|
/**
|
|
205
220
|
* Download an order invoice.
|
|
206
221
|
* @summary Download order invoice
|
|
207
|
-
* @param {string} project
|
|
222
|
+
* @param {string} project The project identifier to scope the request to.
|
|
208
223
|
* @param {string} orderId Unique identifier of an order
|
|
209
224
|
* @param {*} [options] Override http request option.
|
|
210
225
|
* @throws {RequiredError}
|
|
@@ -233,6 +248,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
233
248
|
if (project !== undefined) {
|
|
234
249
|
localVarQueryParameter['project'] = project;
|
|
235
250
|
}
|
|
251
|
+
localVarHeaderParameter['Accept'] = 'application/pdf,application/json';
|
|
236
252
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
237
253
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
238
254
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -244,9 +260,9 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
244
260
|
/**
|
|
245
261
|
* Export orders as a CSV file
|
|
246
262
|
* @summary Export orders
|
|
247
|
-
* @param {string} project
|
|
248
|
-
* @param {string} start Start of date range to filter by when orders were placed
|
|
249
|
-
* @param {string} [end] End of date range
|
|
263
|
+
* @param {string} project The project identifier to scope the request to.
|
|
264
|
+
* @param {string} start Start of the date range to filter by when orders were placed.
|
|
265
|
+
* @param {string} [end] End of date range filter. Which date field this applies to is controlled by the `dateFilterType` parameter.
|
|
250
266
|
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
251
267
|
* @param {*} [options] Override http request option.
|
|
252
268
|
* @throws {RequiredError}
|
|
@@ -287,6 +303,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
287
303
|
if (search !== undefined) {
|
|
288
304
|
localVarQueryParameter['search'] = search;
|
|
289
305
|
}
|
|
306
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
290
307
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
291
308
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
309
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -298,7 +315,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
298
315
|
/**
|
|
299
316
|
* Get an order by a given ID.
|
|
300
317
|
* @summary Get order
|
|
301
|
-
* @param {string} project
|
|
318
|
+
* @param {string} project The project identifier to scope the request to.
|
|
302
319
|
* @param {string} orderId Unique identifier of an order
|
|
303
320
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
304
321
|
* @param {*} [options] Override http request option.
|
|
@@ -331,6 +348,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
331
348
|
if (fields !== undefined) {
|
|
332
349
|
localVarQueryParameter['fields'] = fields;
|
|
333
350
|
}
|
|
351
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
334
352
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
335
353
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
336
354
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -342,15 +360,15 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
342
360
|
/**
|
|
343
361
|
* Lists all orders placed on this project, paginated into configurable chunks.
|
|
344
362
|
* @summary List orders
|
|
345
|
-
* @param {string} project
|
|
363
|
+
* @param {string} project The project identifier to scope the request to.
|
|
346
364
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
347
365
|
* @param {number} [pageToken] Page reference token
|
|
348
366
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
349
367
|
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
350
|
-
* @param {Array<string>} [ids]
|
|
351
|
-
* @param {Array<Status>} [statuses] Filter by
|
|
352
|
-
* @param {string} [start] Start of date range
|
|
353
|
-
* @param {string} [end] End of date range
|
|
368
|
+
* @param {Array<string>} [ids] Filter to specific order IDs. Only orders matching these IDs will be returned.
|
|
369
|
+
* @param {Array<Status>} [statuses] Filter by order status. Only orders matching one of the given statuses will be returned.
|
|
370
|
+
* @param {string} [start] Start of date range filter. Which date field this applies to is controlled by the `dateFilterType` parameter.
|
|
371
|
+
* @param {string} [end] End of date range filter. Which date field this applies to is controlled by the `dateFilterType` parameter.
|
|
354
372
|
* @param {GetOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
355
373
|
* @param {*} [options] Override http request option.
|
|
356
374
|
* @throws {RequiredError}
|
|
@@ -407,6 +425,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
407
425
|
if (dateFilterType !== undefined) {
|
|
408
426
|
localVarQueryParameter['dateFilterType'] = dateFilterType;
|
|
409
427
|
}
|
|
428
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
410
429
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
411
430
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
431
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -418,7 +437,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
418
437
|
/**
|
|
419
438
|
* Retries failed platform payment, so fulfillment can proceed.
|
|
420
439
|
* @summary Retry
|
|
421
|
-
* @param {string} project
|
|
440
|
+
* @param {string} project The project identifier to scope the request to.
|
|
422
441
|
* @param {string} orderId Unique identifier of an order
|
|
423
442
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
424
443
|
* @param {*} [options] Override http request option.
|
|
@@ -451,6 +470,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
451
470
|
if (fields !== undefined) {
|
|
452
471
|
localVarQueryParameter['fields'] = fields;
|
|
453
472
|
}
|
|
473
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
454
474
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
455
475
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
456
476
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -471,7 +491,7 @@ const OrdersApiFp = function (configuration) {
|
|
|
471
491
|
/**
|
|
472
492
|
* Cancels an order if it has not yet started processing.
|
|
473
493
|
* @summary Cancel order
|
|
474
|
-
* @param {string} project
|
|
494
|
+
* @param {string} project The project identifier to scope the request to.
|
|
475
495
|
* @param {string} orderId Unique identifier of an order
|
|
476
496
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
477
497
|
* @param {*} [options] Override http request option.
|
|
@@ -489,9 +509,9 @@ const OrdersApiFp = function (configuration) {
|
|
|
489
509
|
/**
|
|
490
510
|
* Confirms an order, and submits it as ready to take payment and begin processing.
|
|
491
511
|
* @summary Confirm order
|
|
492
|
-
* @param {string} project
|
|
512
|
+
* @param {string} project The project identifier to scope the request to.
|
|
493
513
|
* @param {string} orderId Unique identifier of an order
|
|
494
|
-
* @param {ConfirmOrderRequest} confirmOrderRequest
|
|
514
|
+
* @param {ConfirmOrderRequest} confirmOrderRequest Confirm an order by specifying shipping methods for each fulfillment. This submits the order for payment processing and production. Orders should be confirmed promptly after creation — the longer an order remains unconfirmed, the greater the chance that stock availability changes. If stock is no longer available at the time of confirmation, the request will fail and you will need to create a new order.
|
|
495
515
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
496
516
|
* @param {*} [options] Override http request option.
|
|
497
517
|
* @throws {RequiredError}
|
|
@@ -508,7 +528,7 @@ const OrdersApiFp = function (configuration) {
|
|
|
508
528
|
/**
|
|
509
529
|
* Creates a new order for the provided variants. You can fetch details and references to the given project\'s variants from the Product Catalog API.
|
|
510
530
|
* @summary Create order
|
|
511
|
-
* @param {string} project
|
|
531
|
+
* @param {string} project The project identifier to scope the request to.
|
|
512
532
|
* @param {CreateOrder} createOrder Create Order schema
|
|
513
533
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
514
534
|
* @param {*} [options] Override http request option.
|
|
@@ -526,7 +546,7 @@ const OrdersApiFp = function (configuration) {
|
|
|
526
546
|
/**
|
|
527
547
|
* Download an order invoice.
|
|
528
548
|
* @summary Download order invoice
|
|
529
|
-
* @param {string} project
|
|
549
|
+
* @param {string} project The project identifier to scope the request to.
|
|
530
550
|
* @param {string} orderId Unique identifier of an order
|
|
531
551
|
* @param {*} [options] Override http request option.
|
|
532
552
|
* @throws {RequiredError}
|
|
@@ -543,9 +563,9 @@ const OrdersApiFp = function (configuration) {
|
|
|
543
563
|
/**
|
|
544
564
|
* Export orders as a CSV file
|
|
545
565
|
* @summary Export orders
|
|
546
|
-
* @param {string} project
|
|
547
|
-
* @param {string} start Start of date range to filter by when orders were placed
|
|
548
|
-
* @param {string} [end] End of date range
|
|
566
|
+
* @param {string} project The project identifier to scope the request to.
|
|
567
|
+
* @param {string} start Start of the date range to filter by when orders were placed.
|
|
568
|
+
* @param {string} [end] End of date range filter. Which date field this applies to is controlled by the `dateFilterType` parameter.
|
|
549
569
|
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
550
570
|
* @param {*} [options] Override http request option.
|
|
551
571
|
* @throws {RequiredError}
|
|
@@ -562,7 +582,7 @@ const OrdersApiFp = function (configuration) {
|
|
|
562
582
|
/**
|
|
563
583
|
* Get an order by a given ID.
|
|
564
584
|
* @summary Get order
|
|
565
|
-
* @param {string} project
|
|
585
|
+
* @param {string} project The project identifier to scope the request to.
|
|
566
586
|
* @param {string} orderId Unique identifier of an order
|
|
567
587
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
568
588
|
* @param {*} [options] Override http request option.
|
|
@@ -580,15 +600,15 @@ const OrdersApiFp = function (configuration) {
|
|
|
580
600
|
/**
|
|
581
601
|
* Lists all orders placed on this project, paginated into configurable chunks.
|
|
582
602
|
* @summary List orders
|
|
583
|
-
* @param {string} project
|
|
603
|
+
* @param {string} project The project identifier to scope the request to.
|
|
584
604
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
585
605
|
* @param {number} [pageToken] Page reference token
|
|
586
606
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
587
607
|
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
588
|
-
* @param {Array<string>} [ids]
|
|
589
|
-
* @param {Array<Status>} [statuses] Filter by
|
|
590
|
-
* @param {string} [start] Start of date range
|
|
591
|
-
* @param {string} [end] End of date range
|
|
608
|
+
* @param {Array<string>} [ids] Filter to specific order IDs. Only orders matching these IDs will be returned.
|
|
609
|
+
* @param {Array<Status>} [statuses] Filter by order status. Only orders matching one of the given statuses will be returned.
|
|
610
|
+
* @param {string} [start] Start of date range filter. Which date field this applies to is controlled by the `dateFilterType` parameter.
|
|
611
|
+
* @param {string} [end] End of date range filter. Which date field this applies to is controlled by the `dateFilterType` parameter.
|
|
592
612
|
* @param {GetOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
593
613
|
* @param {*} [options] Override http request option.
|
|
594
614
|
* @throws {RequiredError}
|
|
@@ -605,7 +625,7 @@ const OrdersApiFp = function (configuration) {
|
|
|
605
625
|
/**
|
|
606
626
|
* Retries failed platform payment, so fulfillment can proceed.
|
|
607
627
|
* @summary Retry
|
|
608
|
-
* @param {string} project
|
|
628
|
+
* @param {string} project The project identifier to scope the request to.
|
|
609
629
|
* @param {string} orderId Unique identifier of an order
|
|
610
630
|
* @param {string} [fields] Specifies which fields to return, separated by commas
|
|
611
631
|
* @param {*} [options] Override http request option.
|
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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.25.0
|
|
6
6
|
*
|
|
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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.25.0
|
|
9
9
|
*
|
|
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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.25.0
|
|
6
6
|
*
|
|
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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.25.0
|
|
9
9
|
*
|
|
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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.25.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.25.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|