@teemill/platform 0.60.2 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.60.1
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.60.1 --save
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.60.1
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': Array<AmendOrderRequestAmendmentsInner>;
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
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.60.1
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).
package/common.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.60.1
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).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Platform API
4
4
  * Manage Your podOS platform
5
5
  *
6
- * The version of the OpenAPI document: 0.60.1
6
+ * The version of the OpenAPI document: 0.61.0
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
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.60.1
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': Array<AmendOrderRequestAmendmentsInner>;
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
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.60.1
8
+ * The version of the OpenAPI document: 0.61.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.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.60.1
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).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.60.1
8
+ * The version of the OpenAPI document: 0.61.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
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.60.1
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).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.60.1
8
+ * The version of the OpenAPI document: 0.61.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.60.1
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).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.60.1
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).
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.60.1
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': Array<AmendOrderRequestAmendmentsInner>;
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
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.60.1
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).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.60.1
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).
package/dist/esm/base.js 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.60.1
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).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.60.1
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).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.60.1
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).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.60.1
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).
@@ -3,7 +3,7 @@
3
3
  * Platform API
4
4
  * Manage Your podOS platform
5
5
  *
6
- * The version of the OpenAPI document: 0.60.1
6
+ * The version of the OpenAPI document: 0.61.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.60.1
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).
package/dist/esm/index.js 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.60.1
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).
package/dist/index.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.60.1
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).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.60.1
8
+ * The version of the OpenAPI document: 0.61.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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&lt;AmendOrderRequestAmendmentsInner&gt;**](AmendOrderRequestAmendmentsInner.md) | | [default to undefined]
9
+ **amendments** | [**Array&lt;AmendOrderRequestAmendmentsInner&gt;**](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&lt;string&gt;** | | [optional] [default to undefined]
41
41
  **additionalFiles** | [**Array&lt;OrderAdditionalFilesInner&gt;**](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
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.60.1
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).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/platform",
3
- "version": "0.60.2",
3
+ "version": "0.61.0",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {