@teemill/orders 1.29.2 → 1.30.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/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +8 -8
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +3 -3
- package/dist/api.d.ts +1 -1
- package/dist/api.js +8 -8
- 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 +3 -3
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +8 -8
- 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 +3 -3
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.22.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/orders@1.
|
|
1
|
+
## @teemill/orders@1.30.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.30.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
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.30.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1022,7 +1022,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1022
1022
|
// verify required parameter 'orderId' is not null or undefined
|
|
1023
1023
|
assertParamExists('cancelOrder', 'orderId', orderId)
|
|
1024
1024
|
const localVarPath = `/v1/orders/{orderId}`
|
|
1025
|
-
.replace(
|
|
1025
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
1026
1026
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1027
1027
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1028
1028
|
let baseOptions;
|
|
@@ -1078,7 +1078,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1078
1078
|
// verify required parameter 'confirmOrderRequest' is not null or undefined
|
|
1079
1079
|
assertParamExists('confirmOrder', 'confirmOrderRequest', confirmOrderRequest)
|
|
1080
1080
|
const localVarPath = `/v1/orders/{orderId}/confirm`
|
|
1081
|
-
.replace(
|
|
1081
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
1082
1082
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1083
1083
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1084
1084
|
let baseOptions;
|
|
@@ -1186,7 +1186,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1186
1186
|
// verify required parameter 'orderId' is not null or undefined
|
|
1187
1187
|
assertParamExists('downloadInvoice', 'orderId', orderId)
|
|
1188
1188
|
const localVarPath = `/v1/orders/{orderId}/invoice`
|
|
1189
|
-
.replace(
|
|
1189
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
1190
1190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1191
1191
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1192
1192
|
let baseOptions;
|
|
@@ -1305,7 +1305,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1305
1305
|
// verify required parameter 'orderId' is not null or undefined
|
|
1306
1306
|
assertParamExists('getOrder', 'orderId', orderId)
|
|
1307
1307
|
const localVarPath = `/v1/orders/{orderId}`
|
|
1308
|
-
.replace(
|
|
1308
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
1309
1309
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1310
1310
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1311
1311
|
let baseOptions;
|
|
@@ -1357,7 +1357,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1357
1357
|
// verify required parameter 'importId' is not null or undefined
|
|
1358
1358
|
assertParamExists('getOrderImport', 'importId', importId)
|
|
1359
1359
|
const localVarPath = `/v1/orders/imports/{importId}`
|
|
1360
|
-
.replace(
|
|
1360
|
+
.replace('{importId}', encodeURIComponent(String(importId)));
|
|
1361
1361
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1362
1362
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1363
1363
|
let baseOptions;
|
|
@@ -1554,7 +1554,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1554
1554
|
// verify required parameter 'importId' is not null or undefined
|
|
1555
1555
|
assertParamExists('listOrderImportGroups', 'importId', importId)
|
|
1556
1556
|
const localVarPath = `/v1/orders/imports/{importId}/groups`
|
|
1557
|
-
.replace(
|
|
1557
|
+
.replace('{importId}', encodeURIComponent(String(importId)));
|
|
1558
1558
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1559
1559
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1560
1560
|
let baseOptions;
|
|
@@ -1665,7 +1665,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1665
1665
|
// verify required parameter 'orderId' is not null or undefined
|
|
1666
1666
|
assertParamExists('retryPlatformPayment', 'orderId', orderId)
|
|
1667
1667
|
const localVarPath = `/v1/orders/{orderId}/retryPlatformPayment`
|
|
1668
|
-
.replace(
|
|
1668
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
1669
1669
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1670
1670
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1671
1671
|
let baseOptions;
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
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.30.0
|
|
8
8
|
*
|
|
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
|
|
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.30.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Orders
|
|
4
4
|
* 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.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 1.
|
|
6
|
+
* The version of the OpenAPI document: 1.30.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -115,7 +115,7 @@ export class Configuration {
|
|
|
115
115
|
* @return True if the given MIME is JSON, false otherwise.
|
|
116
116
|
*/
|
|
117
117
|
public isJsonMime(mime: string): boolean {
|
|
118
|
-
const jsonMime: RegExp =
|
|
119
|
-
return mime !== null &&
|
|
118
|
+
const jsonMime: RegExp = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
119
|
+
return mime !== null && jsonMime.test(mime);
|
|
120
120
|
}
|
|
121
121
|
}
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
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.30.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Orders
|
|
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.30.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -131,7 +131,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
131
131
|
// verify required parameter 'orderId' is not null or undefined
|
|
132
132
|
(0, common_1.assertParamExists)('cancelOrder', 'orderId', orderId);
|
|
133
133
|
const localVarPath = `/v1/orders/{orderId}`
|
|
134
|
-
.replace(
|
|
134
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
135
135
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
136
136
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
137
137
|
let baseOptions;
|
|
@@ -179,7 +179,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
179
179
|
// verify required parameter 'confirmOrderRequest' is not null or undefined
|
|
180
180
|
(0, common_1.assertParamExists)('confirmOrder', 'confirmOrderRequest', confirmOrderRequest);
|
|
181
181
|
const localVarPath = `/v1/orders/{orderId}/confirm`
|
|
182
|
-
.replace(
|
|
182
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
183
183
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
184
184
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
185
185
|
let baseOptions;
|
|
@@ -271,7 +271,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
271
271
|
// verify required parameter 'orderId' is not null or undefined
|
|
272
272
|
(0, common_1.assertParamExists)('downloadInvoice', 'orderId', orderId);
|
|
273
273
|
const localVarPath = `/v1/orders/{orderId}/invoice`
|
|
274
|
-
.replace(
|
|
274
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
275
275
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
276
276
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
277
277
|
let baseOptions;
|
|
@@ -372,7 +372,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
372
372
|
// verify required parameter 'orderId' is not null or undefined
|
|
373
373
|
(0, common_1.assertParamExists)('getOrder', 'orderId', orderId);
|
|
374
374
|
const localVarPath = `/v1/orders/{orderId}`
|
|
375
|
-
.replace(
|
|
375
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
376
376
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
377
377
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
378
378
|
let baseOptions;
|
|
@@ -416,7 +416,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
416
416
|
// verify required parameter 'importId' is not null or undefined
|
|
417
417
|
(0, common_1.assertParamExists)('getOrderImport', 'importId', importId);
|
|
418
418
|
const localVarPath = `/v1/orders/imports/{importId}`
|
|
419
|
-
.replace(
|
|
419
|
+
.replace('{importId}', encodeURIComponent(String(importId)));
|
|
420
420
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
421
421
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
422
422
|
let baseOptions;
|
|
@@ -582,7 +582,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
582
582
|
// verify required parameter 'importId' is not null or undefined
|
|
583
583
|
(0, common_1.assertParamExists)('listOrderImportGroups', 'importId', importId);
|
|
584
584
|
const localVarPath = `/v1/orders/imports/{importId}/groups`
|
|
585
|
-
.replace(
|
|
585
|
+
.replace('{importId}', encodeURIComponent(String(importId)));
|
|
586
586
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
587
587
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
588
588
|
let baseOptions;
|
|
@@ -675,7 +675,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
675
675
|
// verify required parameter 'orderId' is not null or undefined
|
|
676
676
|
(0, common_1.assertParamExists)('retryPlatformPayment', 'orderId', orderId);
|
|
677
677
|
const localVarPath = `/v1/orders/{orderId}/retryPlatformPayment`
|
|
678
|
-
.replace(
|
|
678
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
679
679
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
680
680
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
681
681
|
let baseOptions;
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
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.30.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
|
|
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.30.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
|
|
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.30.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
|
|
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.30.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
|
|
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.30.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
|
|
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.30.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -37,8 +37,8 @@ class Configuration {
|
|
|
37
37
|
* @return True if the given MIME is JSON, false otherwise.
|
|
38
38
|
*/
|
|
39
39
|
isJsonMime(mime) {
|
|
40
|
-
const jsonMime =
|
|
41
|
-
return mime !== null &&
|
|
40
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
41
|
+
return mime !== null && jsonMime.test(mime);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.Configuration = Configuration;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
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.30.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
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.30.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -128,7 +128,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
// verify required parameter 'orderId' is not null or undefined
|
|
129
129
|
assertParamExists('cancelOrder', 'orderId', orderId);
|
|
130
130
|
const localVarPath = `/v1/orders/{orderId}`
|
|
131
|
-
.replace(
|
|
131
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
132
132
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
133
133
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
134
134
|
let baseOptions;
|
|
@@ -176,7 +176,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
176
176
|
// verify required parameter 'confirmOrderRequest' is not null or undefined
|
|
177
177
|
assertParamExists('confirmOrder', 'confirmOrderRequest', confirmOrderRequest);
|
|
178
178
|
const localVarPath = `/v1/orders/{orderId}/confirm`
|
|
179
|
-
.replace(
|
|
179
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
180
180
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
181
181
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
182
182
|
let baseOptions;
|
|
@@ -268,7 +268,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
268
268
|
// verify required parameter 'orderId' is not null or undefined
|
|
269
269
|
assertParamExists('downloadInvoice', 'orderId', orderId);
|
|
270
270
|
const localVarPath = `/v1/orders/{orderId}/invoice`
|
|
271
|
-
.replace(
|
|
271
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
272
272
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
273
273
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
274
274
|
let baseOptions;
|
|
@@ -369,7 +369,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
369
369
|
// verify required parameter 'orderId' is not null or undefined
|
|
370
370
|
assertParamExists('getOrder', 'orderId', orderId);
|
|
371
371
|
const localVarPath = `/v1/orders/{orderId}`
|
|
372
|
-
.replace(
|
|
372
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
373
373
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
374
374
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
375
375
|
let baseOptions;
|
|
@@ -413,7 +413,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
413
413
|
// verify required parameter 'importId' is not null or undefined
|
|
414
414
|
assertParamExists('getOrderImport', 'importId', importId);
|
|
415
415
|
const localVarPath = `/v1/orders/imports/{importId}`
|
|
416
|
-
.replace(
|
|
416
|
+
.replace('{importId}', encodeURIComponent(String(importId)));
|
|
417
417
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
418
418
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
419
419
|
let baseOptions;
|
|
@@ -579,7 +579,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
579
579
|
// verify required parameter 'importId' is not null or undefined
|
|
580
580
|
assertParamExists('listOrderImportGroups', 'importId', importId);
|
|
581
581
|
const localVarPath = `/v1/orders/imports/{importId}/groups`
|
|
582
|
-
.replace(
|
|
582
|
+
.replace('{importId}', encodeURIComponent(String(importId)));
|
|
583
583
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
584
584
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
585
585
|
let baseOptions;
|
|
@@ -672,7 +672,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
672
672
|
// verify required parameter 'orderId' is not null or undefined
|
|
673
673
|
assertParamExists('retryPlatformPayment', 'orderId', orderId);
|
|
674
674
|
const localVarPath = `/v1/orders/{orderId}/retryPlatformPayment`
|
|
675
|
-
.replace(
|
|
675
|
+
.replace('{orderId}', encodeURIComponent(String(orderId)));
|
|
676
676
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
677
677
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
678
678
|
let baseOptions;
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
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.30.0
|
|
6
6
|
*
|
|
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
|
|
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.30.0
|
|
8
8
|
*
|
|
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
|
|
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.30.0
|
|
6
6
|
*
|
|
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
|
|
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.30.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
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.30.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Orders
|
|
4
4
|
* 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.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 1.
|
|
6
|
+
* The version of the OpenAPI document: 1.30.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,7 +34,7 @@ export class Configuration {
|
|
|
34
34
|
* @return True if the given MIME is JSON, false otherwise.
|
|
35
35
|
*/
|
|
36
36
|
isJsonMime(mime) {
|
|
37
|
-
const jsonMime =
|
|
38
|
-
return mime !== null &&
|
|
37
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
38
|
+
return mime !== null && jsonMime.test(mime);
|
|
39
39
|
}
|
|
40
40
|
}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
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.30.0
|
|
6
6
|
*
|
|
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
|
|
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.30.0
|
|
8
8
|
*
|
|
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
|
|
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.30.0
|
|
6
6
|
*
|
|
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
|
|
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.30.0
|
|
9
9
|
*
|
|
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
|
|
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.30.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|