@teemill/platform 0.61.1 → 0.62.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 +3 -2
- package/api.ts +12 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +12 -1
- 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 +12 -1
- 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/Order.md +2 -0
- package/docs/OrderRefundsInner.md +22 -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.62.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.62.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -171,6 +171,7 @@ Class | Method | HTTP request | Description
|
|
|
171
171
|
- [OrderItem1](docs/OrderItem1.md)
|
|
172
172
|
- [OrderItem1Price](docs/OrderItem1Price.md)
|
|
173
173
|
- [OrderPaymentMethod](docs/OrderPaymentMethod.md)
|
|
174
|
+
- [OrderRefundsInner](docs/OrderRefundsInner.md)
|
|
174
175
|
- [OrderStatus](docs/OrderStatus.md)
|
|
175
176
|
- [OrderTracking](docs/OrderTracking.md)
|
|
176
177
|
- [OrdersResponse](docs/OrdersResponse.md)
|
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.62.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -654,6 +654,7 @@ export interface Order {
|
|
|
654
654
|
*/
|
|
655
655
|
'merchantReference'?: string | null;
|
|
656
656
|
'fulfillments'?: Array<Fulfillment>;
|
|
657
|
+
'refunds'?: Array<OrderRefundsInner>;
|
|
657
658
|
'deliveryEstimates'?: DeliveryEstimates | null;
|
|
658
659
|
'items': Array<OrderItem>;
|
|
659
660
|
/**
|
|
@@ -783,6 +784,16 @@ export interface OrderItem1Price {
|
|
|
783
784
|
export interface OrderPaymentMethod {
|
|
784
785
|
'type': string | null;
|
|
785
786
|
}
|
|
787
|
+
export interface OrderRefundsInner {
|
|
788
|
+
/**
|
|
789
|
+
* Unique object identifier
|
|
790
|
+
*/
|
|
791
|
+
'id'?: string;
|
|
792
|
+
/**
|
|
793
|
+
* A reference to the resource location
|
|
794
|
+
*/
|
|
795
|
+
'ref'?: string;
|
|
796
|
+
}
|
|
786
797
|
|
|
787
798
|
export const OrderStatus = {
|
|
788
799
|
New: 'new',
|
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.62.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -623,6 +623,7 @@ export interface Order {
|
|
|
623
623
|
*/
|
|
624
624
|
'merchantReference'?: string | null;
|
|
625
625
|
'fulfillments'?: Array<Fulfillment>;
|
|
626
|
+
'refunds'?: Array<OrderRefundsInner>;
|
|
626
627
|
'deliveryEstimates'?: DeliveryEstimates | null;
|
|
627
628
|
'items': Array<OrderItem>;
|
|
628
629
|
/**
|
|
@@ -750,6 +751,16 @@ export interface OrderItem1Price {
|
|
|
750
751
|
export interface OrderPaymentMethod {
|
|
751
752
|
'type': string | null;
|
|
752
753
|
}
|
|
754
|
+
export interface OrderRefundsInner {
|
|
755
|
+
/**
|
|
756
|
+
* Unique object identifier
|
|
757
|
+
*/
|
|
758
|
+
'id'?: string;
|
|
759
|
+
/**
|
|
760
|
+
* A reference to the resource location
|
|
761
|
+
*/
|
|
762
|
+
'ref'?: string;
|
|
763
|
+
}
|
|
753
764
|
export declare const OrderStatus: {
|
|
754
765
|
readonly New: "new";
|
|
755
766
|
readonly Paid: "paid";
|
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.62.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -623,6 +623,7 @@ export interface Order {
|
|
|
623
623
|
*/
|
|
624
624
|
'merchantReference'?: string | null;
|
|
625
625
|
'fulfillments'?: Array<Fulfillment>;
|
|
626
|
+
'refunds'?: Array<OrderRefundsInner>;
|
|
626
627
|
'deliveryEstimates'?: DeliveryEstimates | null;
|
|
627
628
|
'items': Array<OrderItem>;
|
|
628
629
|
/**
|
|
@@ -750,6 +751,16 @@ export interface OrderItem1Price {
|
|
|
750
751
|
export interface OrderPaymentMethod {
|
|
751
752
|
'type': string | null;
|
|
752
753
|
}
|
|
754
|
+
export interface OrderRefundsInner {
|
|
755
|
+
/**
|
|
756
|
+
* Unique object identifier
|
|
757
|
+
*/
|
|
758
|
+
'id'?: string;
|
|
759
|
+
/**
|
|
760
|
+
* A reference to the resource location
|
|
761
|
+
*/
|
|
762
|
+
'ref'?: string;
|
|
763
|
+
}
|
|
753
764
|
export declare const OrderStatus: {
|
|
754
765
|
readonly New: "new";
|
|
755
766
|
readonly Paid: "paid";
|
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
package/docs/Order.md
CHANGED
|
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**updatedAt** | **string** | ISO 8601 Timestamp | [optional] [default to undefined]
|
|
19
19
|
**merchantReference** | **string** | A custom reference to the merchant\'s order that will be displayed on the shipping label. | [optional] [default to undefined]
|
|
20
20
|
**fulfillments** | [**Array<Fulfillment>**](Fulfillment.md) | | [optional] [readonly] [default to undefined]
|
|
21
|
+
**refunds** | [**Array<OrderRefundsInner>**](OrderRefundsInner.md) | | [optional] [default to undefined]
|
|
21
22
|
**deliveryEstimates** | [**DeliveryEstimates**](DeliveryEstimates.md) | | [optional] [default to undefined]
|
|
22
23
|
**items** | [**Array<OrderItem>**](OrderItem.md) | | [default to undefined]
|
|
23
24
|
**totalPrice** | [**Price**](Price.md) | The total price of the order including tax and after discounts. | [optional] [default to undefined]
|
|
@@ -60,6 +61,7 @@ const instance: Order = {
|
|
|
60
61
|
updatedAt,
|
|
61
62
|
merchantReference,
|
|
62
63
|
fulfillments,
|
|
64
|
+
refunds,
|
|
63
65
|
deliveryEstimates,
|
|
64
66
|
items,
|
|
65
67
|
totalPrice,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OrderRefundsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**ref** | **string** | A reference to the resource location | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { OrderRefundsInner } from '@teemill/platform';
|
|
15
|
+
|
|
16
|
+
const instance: OrderRefundsInner = {
|
|
17
|
+
id,
|
|
18
|
+
ref,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/index.ts
CHANGED