@teemill/orders 1.23.1 → 1.24.1
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 +14 -12
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +5 -1
- package/dist/api.js +9 -1
- 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 +5 -1
- package/dist/esm/api.js +9 -1
- 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/Fulfillment.md +2 -0
- package/index.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/orders@1.
|
|
1
|
+
## @teemill/orders@1.24.1
|
|
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.24.1 --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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,7 +18,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
18
18
|
import globalAxios from 'axios';
|
|
19
19
|
// Some imports not used depending on template conditions
|
|
20
20
|
// @ts-ignore
|
|
21
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from './common';
|
|
22
22
|
import type { RequestArgs } from './base';
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
@@ -226,6 +226,10 @@ export interface Fulfillment {
|
|
|
226
226
|
* Weight of the package being shipped in grams
|
|
227
227
|
*/
|
|
228
228
|
'packageWeight'?: number;
|
|
229
|
+
/**
|
|
230
|
+
* A reference to the resource location
|
|
231
|
+
*/
|
|
232
|
+
'platformRef'?: string;
|
|
229
233
|
}
|
|
230
234
|
|
|
231
235
|
|
|
@@ -516,8 +520,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
516
520
|
localVarQueryParameter['fields'] = fields;
|
|
517
521
|
}
|
|
518
522
|
|
|
523
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
519
524
|
|
|
520
|
-
|
|
521
525
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
522
526
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
523
527
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -572,9 +576,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
572
576
|
localVarQueryParameter['fields'] = fields;
|
|
573
577
|
}
|
|
574
578
|
|
|
575
|
-
|
|
576
|
-
|
|
577
579
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
580
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
578
581
|
|
|
579
582
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
580
583
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -627,9 +630,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
627
630
|
localVarQueryParameter['fields'] = fields;
|
|
628
631
|
}
|
|
629
632
|
|
|
630
|
-
|
|
631
|
-
|
|
632
633
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
634
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
633
635
|
|
|
634
636
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
635
637
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -678,8 +680,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
678
680
|
localVarQueryParameter['project'] = project;
|
|
679
681
|
}
|
|
680
682
|
|
|
683
|
+
localVarHeaderParameter['Accept'] = 'application/pdf,application/json';
|
|
681
684
|
|
|
682
|
-
|
|
683
685
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
684
686
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
685
687
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -743,8 +745,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
743
745
|
localVarQueryParameter['search'] = search;
|
|
744
746
|
}
|
|
745
747
|
|
|
748
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
746
749
|
|
|
747
|
-
|
|
748
750
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
749
751
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
750
752
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -796,8 +798,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
796
798
|
localVarQueryParameter['fields'] = fields;
|
|
797
799
|
}
|
|
798
800
|
|
|
801
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
799
802
|
|
|
800
|
-
|
|
801
803
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
802
804
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
803
805
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -889,8 +891,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
889
891
|
localVarQueryParameter['dateFilterType'] = dateFilterType;
|
|
890
892
|
}
|
|
891
893
|
|
|
894
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
892
895
|
|
|
893
|
-
|
|
894
896
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
895
897
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
896
898
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -942,8 +944,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
942
944
|
localVarQueryParameter['fields'] = fields;
|
|
943
945
|
}
|
|
944
946
|
|
|
947
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
945
948
|
|
|
946
|
-
|
|
947
949
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
948
950
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
949
951
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.1
|
|
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 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.24.1
|
|
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 API
|
|
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.24.1
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.24.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -209,6 +209,10 @@ export interface Fulfillment {
|
|
|
209
209
|
* Weight of the package being shipped in grams
|
|
210
210
|
*/
|
|
211
211
|
'packageWeight'?: number;
|
|
212
|
+
/**
|
|
213
|
+
* A reference to the resource location
|
|
214
|
+
*/
|
|
215
|
+
'platformRef'?: string;
|
|
212
216
|
}
|
|
213
217
|
/**
|
|
214
218
|
* The fulfiller that will be processing this order.
|
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.24.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -99,6 +99,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
99
99
|
if (fields !== undefined) {
|
|
100
100
|
localVarQueryParameter['fields'] = fields;
|
|
101
101
|
}
|
|
102
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
102
103
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
103
104
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104
105
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -147,6 +148,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
147
148
|
localVarQueryParameter['fields'] = fields;
|
|
148
149
|
}
|
|
149
150
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
151
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
150
152
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
151
153
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
154
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -192,6 +194,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
192
194
|
localVarQueryParameter['fields'] = fields;
|
|
193
195
|
}
|
|
194
196
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
197
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
195
198
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
196
199
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
197
200
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -233,6 +236,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
233
236
|
if (project !== undefined) {
|
|
234
237
|
localVarQueryParameter['project'] = project;
|
|
235
238
|
}
|
|
239
|
+
localVarHeaderParameter['Accept'] = 'application/pdf,application/json';
|
|
236
240
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
237
241
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
238
242
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -287,6 +291,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
287
291
|
if (search !== undefined) {
|
|
288
292
|
localVarQueryParameter['search'] = search;
|
|
289
293
|
}
|
|
294
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
290
295
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
291
296
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
297
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -331,6 +336,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
331
336
|
if (fields !== undefined) {
|
|
332
337
|
localVarQueryParameter['fields'] = fields;
|
|
333
338
|
}
|
|
339
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
334
340
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
335
341
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
336
342
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -407,6 +413,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
407
413
|
if (dateFilterType !== undefined) {
|
|
408
414
|
localVarQueryParameter['dateFilterType'] = dateFilterType;
|
|
409
415
|
}
|
|
416
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
410
417
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
411
418
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
419
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -451,6 +458,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
451
458
|
if (fields !== undefined) {
|
|
452
459
|
localVarQueryParameter['fields'] = fields;
|
|
453
460
|
}
|
|
461
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
454
462
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
455
463
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
456
464
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
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.24.1
|
|
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.24.1
|
|
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.24.1
|
|
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.24.1
|
|
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.24.1
|
|
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.24.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.24.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -209,6 +209,10 @@ export interface Fulfillment {
|
|
|
209
209
|
* Weight of the package being shipped in grams
|
|
210
210
|
*/
|
|
211
211
|
'packageWeight'?: number;
|
|
212
|
+
/**
|
|
213
|
+
* A reference to the resource location
|
|
214
|
+
*/
|
|
215
|
+
'platformRef'?: string;
|
|
212
216
|
}
|
|
213
217
|
/**
|
|
214
218
|
* The fulfiller that will be processing this order.
|
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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -96,6 +96,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
96
96
|
if (fields !== undefined) {
|
|
97
97
|
localVarQueryParameter['fields'] = fields;
|
|
98
98
|
}
|
|
99
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
99
100
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
100
101
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
101
102
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -144,6 +145,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
144
145
|
localVarQueryParameter['fields'] = fields;
|
|
145
146
|
}
|
|
146
147
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
148
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147
149
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
148
150
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
149
151
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -189,6 +191,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
189
191
|
localVarQueryParameter['fields'] = fields;
|
|
190
192
|
}
|
|
191
193
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
194
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
192
195
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
193
196
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
194
197
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -230,6 +233,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
230
233
|
if (project !== undefined) {
|
|
231
234
|
localVarQueryParameter['project'] = project;
|
|
232
235
|
}
|
|
236
|
+
localVarHeaderParameter['Accept'] = 'application/pdf,application/json';
|
|
233
237
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
234
238
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
239
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -284,6 +288,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
284
288
|
if (search !== undefined) {
|
|
285
289
|
localVarQueryParameter['search'] = search;
|
|
286
290
|
}
|
|
291
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
287
292
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
288
293
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
289
294
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -328,6 +333,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
328
333
|
if (fields !== undefined) {
|
|
329
334
|
localVarQueryParameter['fields'] = fields;
|
|
330
335
|
}
|
|
336
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
331
337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
332
338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
333
339
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -404,6 +410,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
404
410
|
if (dateFilterType !== undefined) {
|
|
405
411
|
localVarQueryParameter['dateFilterType'] = dateFilterType;
|
|
406
412
|
}
|
|
413
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
407
414
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
408
415
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
409
416
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -448,6 +455,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
448
455
|
if (fields !== undefined) {
|
|
449
456
|
localVarQueryParameter['fields'] = fields;
|
|
450
457
|
}
|
|
458
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
451
459
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
452
460
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
453
461
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.24.1
|
|
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 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.24.1
|
|
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 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.24.1
|
|
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 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.24.1
|
|
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 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.24.1
|
|
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 API
|
|
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.24.1
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.24.1
|
|
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 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.24.1
|
|
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 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.24.1
|
|
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 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.24.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/Fulfillment.md
CHANGED
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**shippingMethod** | [**ShippingMethod**](ShippingMethod.md) | Shipping method currently set | [optional] [default to undefined]
|
|
14
14
|
**availableShippingMethods** | [**Array<ShippingMethod>**](ShippingMethod.md) | Shipping methods available for this fulfillment. One of these should be used to confirm the fulfillment. | [optional] [default to undefined]
|
|
15
15
|
**packageWeight** | **number** | Weight of the package being shipped in grams | [optional] [default to undefined]
|
|
16
|
+
**platformRef** | **string** | A reference to the resource location | [optional] [default to undefined]
|
|
16
17
|
|
|
17
18
|
## Example
|
|
18
19
|
|
|
@@ -28,6 +29,7 @@ const instance: Fulfillment = {
|
|
|
28
29
|
shippingMethod,
|
|
29
30
|
availableShippingMethods,
|
|
30
31
|
packageWeight,
|
|
32
|
+
platformRef,
|
|
31
33
|
};
|
|
32
34
|
```
|
|
33
35
|
|
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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.24.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teemill/orders",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.1",
|
|
4
4
|
"description": "OpenAPI client for @teemill/orders",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepare": "npm run build"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"axios": "1.
|
|
27
|
+
"axios": "1.13.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "12.11.5 - 12.20.42",
|