@teemill/platform 0.58.0 → 0.59.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.58.0
1
+ ## @teemill/platform@0.59.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.58.0 --save
39
+ npm install @teemill/platform@0.59.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.58.0
7
+ * The version of the OpenAPI document: 0.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -97,15 +97,22 @@ export interface AmendmentLog {
97
97
  */
98
98
  'id': string;
99
99
  /**
100
- * A reference to the order item that was amended.
100
+ * A reference to the order that was amended.
101
101
  */
102
- 'orderItemId': string;
102
+ 'orderId'?: string | null;
103
103
  /**
104
- * A reference to the top level order item that was amended, useful for finding the original item within a chain of exchanges, for example.
104
+ * A reference to the order item that was amended. Null for shipping_refund amendments.
105
105
  */
106
- 'originalOrderItemId': string;
106
+ 'orderItemId'?: string | null;
107
+ /**
108
+ * A reference to the top level order item that was amended, useful for finding the original item within a chain of exchanges, for example. Null for shipping_refund amendments.
109
+ */
110
+ 'originalOrderItemId'?: string | null;
107
111
  'amendmentType': AmendmentLogAmendmentTypeEnum;
108
- 'quantity': number;
112
+ /**
113
+ * The quantity of the item that was amended, if applicable to the amendment type.
114
+ */
115
+ 'quantity'?: number | null;
109
116
  /**
110
117
  * ISO 8601 Timestamp
111
118
  */
@@ -114,7 +121,8 @@ export interface AmendmentLog {
114
121
 
115
122
  export const AmendmentLogAmendmentTypeEnum = {
116
123
  Refund: 'refund',
117
- Exchange: 'exchange'
124
+ Exchange: 'exchange',
125
+ ShippingRefund: 'shipping_refund'
118
126
  } as const;
119
127
 
120
128
  export type AmendmentLogAmendmentTypeEnum = typeof AmendmentLogAmendmentTypeEnum[keyof typeof AmendmentLogAmendmentTypeEnum];
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.58.0
7
+ * The version of the OpenAPI document: 0.59.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.58.0
7
+ * The version of the OpenAPI document: 0.59.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.58.0
6
+ * The version of the OpenAPI document: 0.59.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.58.0
5
+ * The version of the OpenAPI document: 0.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -84,15 +84,22 @@ export interface AmendmentLog {
84
84
  */
85
85
  'id': string;
86
86
  /**
87
- * A reference to the order item that was amended.
87
+ * A reference to the order that was amended.
88
88
  */
89
- 'orderItemId': string;
89
+ 'orderId'?: string | null;
90
90
  /**
91
- * A reference to the top level order item that was amended, useful for finding the original item within a chain of exchanges, for example.
91
+ * A reference to the order item that was amended. Null for shipping_refund amendments.
92
92
  */
93
- 'originalOrderItemId': string;
93
+ 'orderItemId'?: string | null;
94
+ /**
95
+ * A reference to the top level order item that was amended, useful for finding the original item within a chain of exchanges, for example. Null for shipping_refund amendments.
96
+ */
97
+ 'originalOrderItemId'?: string | null;
94
98
  'amendmentType': AmendmentLogAmendmentTypeEnum;
95
- 'quantity': number;
99
+ /**
100
+ * The quantity of the item that was amended, if applicable to the amendment type.
101
+ */
102
+ 'quantity'?: number | null;
96
103
  /**
97
104
  * ISO 8601 Timestamp
98
105
  */
@@ -101,6 +108,7 @@ export interface AmendmentLog {
101
108
  export declare const AmendmentLogAmendmentTypeEnum: {
102
109
  readonly Refund: "refund";
103
110
  readonly Exchange: "exchange";
111
+ readonly ShippingRefund: "shipping_refund";
104
112
  };
105
113
  export type AmendmentLogAmendmentTypeEnum = typeof AmendmentLogAmendmentTypeEnum[keyof typeof AmendmentLogAmendmentTypeEnum];
106
114
  export interface ApiError {
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.58.0
8
+ * The version of the OpenAPI document: 0.59.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -36,7 +36,8 @@ exports.AmendOrderRequestAmendmentsInnerActionEnum = {
36
36
  };
37
37
  exports.AmendmentLogAmendmentTypeEnum = {
38
38
  Refund: 'refund',
39
- Exchange: 'exchange'
39
+ Exchange: 'exchange',
40
+ ShippingRefund: 'shipping_refund'
40
41
  };
41
42
  exports.ApplicationPlacementEnum = {
42
43
  Front: 'front',
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.58.0
5
+ * The version of the OpenAPI document: 0.59.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.58.0
8
+ * The version of the OpenAPI document: 0.59.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.58.0
5
+ * The version of the OpenAPI document: 0.59.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.58.0
8
+ * The version of the OpenAPI document: 0.59.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.58.0
5
+ * The version of the OpenAPI document: 0.59.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.58.0
7
+ * The version of the OpenAPI document: 0.59.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.58.0
5
+ * The version of the OpenAPI document: 0.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -84,15 +84,22 @@ export interface AmendmentLog {
84
84
  */
85
85
  'id': string;
86
86
  /**
87
- * A reference to the order item that was amended.
87
+ * A reference to the order that was amended.
88
88
  */
89
- 'orderItemId': string;
89
+ 'orderId'?: string | null;
90
90
  /**
91
- * A reference to the top level order item that was amended, useful for finding the original item within a chain of exchanges, for example.
91
+ * A reference to the order item that was amended. Null for shipping_refund amendments.
92
92
  */
93
- 'originalOrderItemId': string;
93
+ 'orderItemId'?: string | null;
94
+ /**
95
+ * A reference to the top level order item that was amended, useful for finding the original item within a chain of exchanges, for example. Null for shipping_refund amendments.
96
+ */
97
+ 'originalOrderItemId'?: string | null;
94
98
  'amendmentType': AmendmentLogAmendmentTypeEnum;
95
- 'quantity': number;
99
+ /**
100
+ * The quantity of the item that was amended, if applicable to the amendment type.
101
+ */
102
+ 'quantity'?: number | null;
96
103
  /**
97
104
  * ISO 8601 Timestamp
98
105
  */
@@ -101,6 +108,7 @@ export interface AmendmentLog {
101
108
  export declare const AmendmentLogAmendmentTypeEnum: {
102
109
  readonly Refund: "refund";
103
110
  readonly Exchange: "exchange";
111
+ readonly ShippingRefund: "shipping_refund";
104
112
  };
105
113
  export type AmendmentLogAmendmentTypeEnum = typeof AmendmentLogAmendmentTypeEnum[keyof typeof AmendmentLogAmendmentTypeEnum];
106
114
  export interface ApiError {
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.58.0
7
+ * The version of the OpenAPI document: 0.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,7 +32,8 @@ export const AmendOrderRequestAmendmentsInnerActionEnum = {
32
32
  };
33
33
  export const AmendmentLogAmendmentTypeEnum = {
34
34
  Refund: 'refund',
35
- Exchange: 'exchange'
35
+ Exchange: 'exchange',
36
+ ShippingRefund: 'shipping_refund'
36
37
  };
37
38
  export const ApplicationPlacementEnum = {
38
39
  Front: 'front',
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.58.0
5
+ * The version of the OpenAPI document: 0.59.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.58.0
7
+ * The version of the OpenAPI document: 0.59.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.58.0
5
+ * The version of the OpenAPI document: 0.59.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.58.0
7
+ * The version of the OpenAPI document: 0.59.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.58.0
5
+ * The version of the OpenAPI document: 0.59.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.58.0
6
+ * The version of the OpenAPI document: 0.59.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.58.0
5
+ * The version of the OpenAPI document: 0.59.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.58.0
7
+ * The version of the OpenAPI document: 0.59.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.58.0
5
+ * The version of the OpenAPI document: 0.59.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.58.0
8
+ * The version of the OpenAPI document: 0.59.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6,10 +6,11 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | Unique object identifier | [default to undefined]
9
- **orderItemId** | **string** | A reference to the order item that was amended. | [default to undefined]
10
- **originalOrderItemId** | **string** | A reference to the top level order item that was amended, useful for finding the original item within a chain of exchanges, for example. | [default to undefined]
9
+ **orderId** | **string** | A reference to the order that was amended. | [optional] [default to undefined]
10
+ **orderItemId** | **string** | A reference to the order item that was amended. Null for shipping_refund amendments. | [optional] [default to undefined]
11
+ **originalOrderItemId** | **string** | A reference to the top level order item that was amended, useful for finding the original item within a chain of exchanges, for example. Null for shipping_refund amendments. | [optional] [default to undefined]
11
12
  **amendmentType** | **string** | | [default to undefined]
12
- **quantity** | **number** | | [default to undefined]
13
+ **quantity** | **number** | The quantity of the item that was amended, if applicable to the amendment type. | [optional] [default to undefined]
13
14
  **createdAt** | **string** | ISO 8601 Timestamp | [default to undefined]
14
15
 
15
16
  ## Example
@@ -19,6 +20,7 @@ import { AmendmentLog } from '@teemill/platform';
19
20
 
20
21
  const instance: AmendmentLog = {
21
22
  id,
23
+ orderId,
22
24
  orderItemId,
23
25
  originalOrderItemId,
24
26
  amendmentType,
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.58.0
7
+ * The version of the OpenAPI document: 0.59.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.58.0",
3
+ "version": "0.59.0",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {