@teemill/platform 0.60.1 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +13 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +13 -2
- package/dist/api.js +1 -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 +13 -2
- package/dist/esm/api.js +1 -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/AmendOrderRequest.md +4 -1
- package/docs/Order.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/platform@0.
|
|
1
|
+
## @teemill/platform@0.61.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/platform@0.
|
|
39
|
+
npm install @teemill/platform@0.61.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.61.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -54,8 +54,15 @@ export interface Address {
|
|
|
54
54
|
*/
|
|
55
55
|
'state'?: string;
|
|
56
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* At least one of amendments or forceShippingRefund must be provided.
|
|
59
|
+
*/
|
|
57
60
|
export interface AmendOrderRequest {
|
|
58
|
-
'amendments'
|
|
61
|
+
'amendments'?: Array<AmendOrderRequestAmendmentsInner>;
|
|
62
|
+
/**
|
|
63
|
+
* When true, forces a full shipping refund for the order. Shipping may be automatically refunded under certain conditions (e.g. when all items are refunded); this flag forces it regardless of remaining item count. Can be used alone for a shipping-only refund, or combined with item amendments.
|
|
64
|
+
*/
|
|
65
|
+
'forceShippingRefund'?: boolean;
|
|
59
66
|
}
|
|
60
67
|
export interface AmendOrderRequestAmendmentsInner {
|
|
61
68
|
/**
|
|
@@ -707,6 +714,10 @@ export interface Order {
|
|
|
707
714
|
'priorityLevel': PriorityLevel;
|
|
708
715
|
'warnings'?: Array<string>;
|
|
709
716
|
'additionalFiles'?: Array<OrderAdditionalFilesInner>;
|
|
717
|
+
/**
|
|
718
|
+
* Whether shipping has been refunded for this order, either manually via forceShippingRefund or automatically when all items are refunded.
|
|
719
|
+
*/
|
|
720
|
+
'shippingRefunded'?: boolean;
|
|
710
721
|
}
|
|
711
722
|
|
|
712
723
|
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.61.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -44,8 +44,15 @@ export interface Address {
|
|
|
44
44
|
*/
|
|
45
45
|
'state'?: string;
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* At least one of amendments or forceShippingRefund must be provided.
|
|
49
|
+
*/
|
|
47
50
|
export interface AmendOrderRequest {
|
|
48
|
-
'amendments'
|
|
51
|
+
'amendments'?: Array<AmendOrderRequestAmendmentsInner>;
|
|
52
|
+
/**
|
|
53
|
+
* When true, forces a full shipping refund for the order. Shipping may be automatically refunded under certain conditions (e.g. when all items are refunded); this flag forces it regardless of remaining item count. Can be used alone for a shipping-only refund, or combined with item amendments.
|
|
54
|
+
*/
|
|
55
|
+
'forceShippingRefund'?: boolean;
|
|
49
56
|
}
|
|
50
57
|
export interface AmendOrderRequestAmendmentsInner {
|
|
51
58
|
/**
|
|
@@ -676,6 +683,10 @@ export interface Order {
|
|
|
676
683
|
'priorityLevel': PriorityLevel;
|
|
677
684
|
'warnings'?: Array<string>;
|
|
678
685
|
'additionalFiles'?: Array<OrderAdditionalFilesInner>;
|
|
686
|
+
/**
|
|
687
|
+
* Whether shipping has been refunded for this order, either manually via forceShippingRefund or automatically when all items are refunded.
|
|
688
|
+
*/
|
|
689
|
+
'shippingRefunded'?: boolean;
|
|
679
690
|
}
|
|
680
691
|
export interface OrderAdditionalFilesInner {
|
|
681
692
|
'src': string;
|
package/dist/api.js
CHANGED
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.61.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -44,8 +44,15 @@ export interface Address {
|
|
|
44
44
|
*/
|
|
45
45
|
'state'?: string;
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* At least one of amendments or forceShippingRefund must be provided.
|
|
49
|
+
*/
|
|
47
50
|
export interface AmendOrderRequest {
|
|
48
|
-
'amendments'
|
|
51
|
+
'amendments'?: Array<AmendOrderRequestAmendmentsInner>;
|
|
52
|
+
/**
|
|
53
|
+
* When true, forces a full shipping refund for the order. Shipping may be automatically refunded under certain conditions (e.g. when all items are refunded); this flag forces it regardless of remaining item count. Can be used alone for a shipping-only refund, or combined with item amendments.
|
|
54
|
+
*/
|
|
55
|
+
'forceShippingRefund'?: boolean;
|
|
49
56
|
}
|
|
50
57
|
export interface AmendOrderRequestAmendmentsInner {
|
|
51
58
|
/**
|
|
@@ -676,6 +683,10 @@ export interface Order {
|
|
|
676
683
|
'priorityLevel': PriorityLevel;
|
|
677
684
|
'warnings'?: Array<string>;
|
|
678
685
|
'additionalFiles'?: Array<OrderAdditionalFilesInner>;
|
|
686
|
+
/**
|
|
687
|
+
* Whether shipping has been refunded for this order, either manually via forceShippingRefund or automatically when all items are refunded.
|
|
688
|
+
*/
|
|
689
|
+
'shippingRefunded'?: boolean;
|
|
679
690
|
}
|
|
680
691
|
export interface OrderAdditionalFilesInner {
|
|
681
692
|
'src': string;
|
package/dist/esm/api.js
CHANGED
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
# AmendOrderRequest
|
|
2
2
|
|
|
3
|
+
At least one of amendments or forceShippingRefund must be provided.
|
|
3
4
|
|
|
4
5
|
## Properties
|
|
5
6
|
|
|
6
7
|
Name | Type | Description | Notes
|
|
7
8
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**amendments** | [**Array<AmendOrderRequestAmendmentsInner>**](AmendOrderRequestAmendmentsInner.md) | | [default to undefined]
|
|
9
|
+
**amendments** | [**Array<AmendOrderRequestAmendmentsInner>**](AmendOrderRequestAmendmentsInner.md) | | [optional] [default to undefined]
|
|
10
|
+
**forceShippingRefund** | **boolean** | When true, forces a full shipping refund for the order. Shipping may be automatically refunded under certain conditions (e.g. when all items are refunded); this flag forces it regardless of remaining item count. Can be used alone for a shipping-only refund, or combined with item amendments. | [optional] [default to undefined]
|
|
9
11
|
|
|
10
12
|
## Example
|
|
11
13
|
|
|
@@ -14,6 +16,7 @@ import { AmendOrderRequest } from '@teemill/platform';
|
|
|
14
16
|
|
|
15
17
|
const instance: AmendOrderRequest = {
|
|
16
18
|
amendments,
|
|
19
|
+
forceShippingRefund,
|
|
17
20
|
};
|
|
18
21
|
```
|
|
19
22
|
|
package/docs/Order.md
CHANGED
|
@@ -39,6 +39,7 @@ Name | Type | Description | Notes
|
|
|
39
39
|
**priorityLevel** | [**PriorityLevel**](PriorityLevel.md) | | [default to undefined]
|
|
40
40
|
**warnings** | **Array<string>** | | [optional] [default to undefined]
|
|
41
41
|
**additionalFiles** | [**Array<OrderAdditionalFilesInner>**](OrderAdditionalFilesInner.md) | | [optional] [default to undefined]
|
|
42
|
+
**shippingRefunded** | **boolean** | Whether shipping has been refunded for this order, either manually via forceShippingRefund or automatically when all items are refunded. | [optional] [readonly] [default to undefined]
|
|
42
43
|
|
|
43
44
|
## Example
|
|
44
45
|
|
|
@@ -80,6 +81,7 @@ const instance: Order = {
|
|
|
80
81
|
priorityLevel,
|
|
81
82
|
warnings,
|
|
82
83
|
additionalFiles,
|
|
84
|
+
shippingRefunded,
|
|
83
85
|
};
|
|
84
86
|
```
|
|
85
87
|
|
package/index.ts
CHANGED