@teemill/platform 0.55.1 → 0.56.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 -3
- package/api.ts +4 -8
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +3 -7
- 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 +3 -7
- 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/OrderItem.md +0 -2
- package/docs/OrderItem1.md +2 -2
- package/docs/OrderItem1Price.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.56.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.56.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -168,7 +168,7 @@ Class | Method | HTTP request | Description
|
|
|
168
168
|
- [Order](docs/Order.md)
|
|
169
169
|
- [OrderItem](docs/OrderItem.md)
|
|
170
170
|
- [OrderItem1](docs/OrderItem1.md)
|
|
171
|
-
- [
|
|
171
|
+
- [OrderItem1Price](docs/OrderItem1Price.md)
|
|
172
172
|
- [OrderPaymentMethod](docs/OrderPaymentMethod.md)
|
|
173
173
|
- [OrderStatus](docs/OrderStatus.md)
|
|
174
174
|
- [OrderTracking](docs/OrderTracking.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.56.0
|
|
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';
|
|
@@ -702,10 +702,6 @@ export interface OrderItem {
|
|
|
702
702
|
'taxPrice'?: Price;
|
|
703
703
|
'subtotalPrice'?: Price;
|
|
704
704
|
'discountPrice'?: Price;
|
|
705
|
-
/**
|
|
706
|
-
* The price you charged the recipient for each item. It\'s highly recommended if you have international orders as it aids customs issues.
|
|
707
|
-
*/
|
|
708
|
-
'recipientCost'?: Price;
|
|
709
705
|
'amendmentLogs'?: Array<AmendmentLog>;
|
|
710
706
|
}
|
|
711
707
|
export interface OrderItem1 {
|
|
@@ -714,9 +710,9 @@ export interface OrderItem1 {
|
|
|
714
710
|
*/
|
|
715
711
|
'variantRef': string;
|
|
716
712
|
'quantity': number;
|
|
717
|
-
'
|
|
713
|
+
'price'?: OrderItem1Price;
|
|
718
714
|
}
|
|
719
|
-
export interface
|
|
715
|
+
export interface OrderItem1Price {
|
|
720
716
|
'amount': string;
|
|
721
717
|
'currencyCode': string;
|
|
722
718
|
}
|
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.56.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -669,10 +669,6 @@ export interface OrderItem {
|
|
|
669
669
|
'taxPrice'?: Price;
|
|
670
670
|
'subtotalPrice'?: Price;
|
|
671
671
|
'discountPrice'?: Price;
|
|
672
|
-
/**
|
|
673
|
-
* The price you charged the recipient for each item. It\'s highly recommended if you have international orders as it aids customs issues.
|
|
674
|
-
*/
|
|
675
|
-
'recipientCost'?: Price;
|
|
676
672
|
'amendmentLogs'?: Array<AmendmentLog>;
|
|
677
673
|
}
|
|
678
674
|
export interface OrderItem1 {
|
|
@@ -681,9 +677,9 @@ export interface OrderItem1 {
|
|
|
681
677
|
*/
|
|
682
678
|
'variantRef': string;
|
|
683
679
|
'quantity': number;
|
|
684
|
-
'
|
|
680
|
+
'price'?: OrderItem1Price;
|
|
685
681
|
}
|
|
686
|
-
export interface
|
|
682
|
+
export interface OrderItem1Price {
|
|
687
683
|
'amount': string;
|
|
688
684
|
'currencyCode': string;
|
|
689
685
|
}
|
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.56.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -669,10 +669,6 @@ export interface OrderItem {
|
|
|
669
669
|
'taxPrice'?: Price;
|
|
670
670
|
'subtotalPrice'?: Price;
|
|
671
671
|
'discountPrice'?: Price;
|
|
672
|
-
/**
|
|
673
|
-
* The price you charged the recipient for each item. It\'s highly recommended if you have international orders as it aids customs issues.
|
|
674
|
-
*/
|
|
675
|
-
'recipientCost'?: Price;
|
|
676
672
|
'amendmentLogs'?: Array<AmendmentLog>;
|
|
677
673
|
}
|
|
678
674
|
export interface OrderItem1 {
|
|
@@ -681,9 +677,9 @@ export interface OrderItem1 {
|
|
|
681
677
|
*/
|
|
682
678
|
'variantRef': string;
|
|
683
679
|
'quantity': number;
|
|
684
|
-
'
|
|
680
|
+
'price'?: OrderItem1Price;
|
|
685
681
|
}
|
|
686
|
-
export interface
|
|
682
|
+
export interface OrderItem1Price {
|
|
687
683
|
'amount': string;
|
|
688
684
|
'currencyCode': string;
|
|
689
685
|
}
|
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/OrderItem.md
CHANGED
|
@@ -16,7 +16,6 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**taxPrice** | [**Price**](Price.md) | This is an estimate until the order has been confirmed | [optional] [readonly] [default to undefined]
|
|
17
17
|
**subtotalPrice** | [**Price**](Price.md) | | [optional] [readonly] [default to undefined]
|
|
18
18
|
**discountPrice** | [**Price**](Price.md) | | [optional] [readonly] [default to undefined]
|
|
19
|
-
**recipientCost** | [**Price**](Price.md) | The price you charged the recipient for each item. It\'s highly recommended if you have international orders as it aids customs issues. | [optional] [default to undefined]
|
|
20
19
|
**amendmentLogs** | [**Array<AmendmentLog>**](AmendmentLog.md) | | [optional] [default to undefined]
|
|
21
20
|
|
|
22
21
|
## Example
|
|
@@ -36,7 +35,6 @@ const instance: OrderItem = {
|
|
|
36
35
|
taxPrice,
|
|
37
36
|
subtotalPrice,
|
|
38
37
|
discountPrice,
|
|
39
|
-
recipientCost,
|
|
40
38
|
amendmentLogs,
|
|
41
39
|
};
|
|
42
40
|
```
|
package/docs/OrderItem1.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**variantRef** | **string** | A reference to the variant being ordered | [default to undefined]
|
|
9
9
|
**quantity** | **number** | | [default to undefined]
|
|
10
|
-
**
|
|
10
|
+
**price** | [**OrderItem1Price**](OrderItem1Price.md) | | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -17,7 +17,7 @@ import { OrderItem1 } from '@teemill/platform';
|
|
|
17
17
|
const instance: OrderItem1 = {
|
|
18
18
|
variantRef,
|
|
19
19
|
quantity,
|
|
20
|
-
|
|
20
|
+
price,
|
|
21
21
|
};
|
|
22
22
|
```
|
|
23
23
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OrderItem1Price
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**amount** | **string** | | [default to undefined]
|
|
9
|
+
**currencyCode** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { OrderItem1Price } from '@teemill/platform';
|
|
15
|
+
|
|
16
|
+
const instance: OrderItem1Price = {
|
|
17
|
+
amount,
|
|
18
|
+
currencyCode,
|
|
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