@teemill/platform 0.17.0 → 0.18.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 +26 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +26 -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 +26 -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/Coupon.md +22 -0
- 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.18.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.18.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -77,6 +77,7 @@ Class | Method | HTTP request | Description
|
|
|
77
77
|
- [ApiError](docs/ApiError.md)
|
|
78
78
|
- [AuthorizeStripe200Response](docs/AuthorizeStripe200Response.md)
|
|
79
79
|
- [ContactInformation](docs/ContactInformation.md)
|
|
80
|
+
- [Coupon](docs/Coupon.md)
|
|
80
81
|
- [Customer](docs/Customer.md)
|
|
81
82
|
- [CustomersResponse](docs/CustomersResponse.md)
|
|
82
83
|
- [DeliveryEstimates](docs/DeliveryEstimates.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.18.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -129,6 +129,25 @@ export interface ContactInformation {
|
|
|
129
129
|
*/
|
|
130
130
|
'phone'?: string | null;
|
|
131
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @export
|
|
135
|
+
* @interface Coupon
|
|
136
|
+
*/
|
|
137
|
+
export interface Coupon {
|
|
138
|
+
/**
|
|
139
|
+
* Unique object identifier
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof Coupon
|
|
142
|
+
*/
|
|
143
|
+
'id': string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof Coupon
|
|
148
|
+
*/
|
|
149
|
+
'code': string;
|
|
150
|
+
}
|
|
132
151
|
/**
|
|
133
152
|
* The customer that has placed an order on your platform
|
|
134
153
|
* @export
|
|
@@ -521,6 +540,12 @@ export interface Order {
|
|
|
521
540
|
* @memberof Order
|
|
522
541
|
*/
|
|
523
542
|
'discountPrice'?: Price;
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @type {Coupon}
|
|
546
|
+
* @memberof Order
|
|
547
|
+
*/
|
|
548
|
+
'coupon'?: Coupon | null;
|
|
524
549
|
/**
|
|
525
550
|
*
|
|
526
551
|
* @type {Price}
|
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.18.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -119,6 +119,25 @@ export interface ContactInformation {
|
|
|
119
119
|
*/
|
|
120
120
|
'phone'?: string | null;
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @export
|
|
125
|
+
* @interface Coupon
|
|
126
|
+
*/
|
|
127
|
+
export interface Coupon {
|
|
128
|
+
/**
|
|
129
|
+
* Unique object identifier
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof Coupon
|
|
132
|
+
*/
|
|
133
|
+
'id': string;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof Coupon
|
|
138
|
+
*/
|
|
139
|
+
'code': string;
|
|
140
|
+
}
|
|
122
141
|
/**
|
|
123
142
|
* The customer that has placed an order on your platform
|
|
124
143
|
* @export
|
|
@@ -509,6 +528,12 @@ export interface Order {
|
|
|
509
528
|
* @memberof Order
|
|
510
529
|
*/
|
|
511
530
|
'discountPrice'?: Price;
|
|
531
|
+
/**
|
|
532
|
+
*
|
|
533
|
+
* @type {Coupon}
|
|
534
|
+
* @memberof Order
|
|
535
|
+
*/
|
|
536
|
+
'coupon'?: Coupon | null;
|
|
512
537
|
/**
|
|
513
538
|
*
|
|
514
539
|
* @type {Price}
|
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.18.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -119,6 +119,25 @@ export interface ContactInformation {
|
|
|
119
119
|
*/
|
|
120
120
|
'phone'?: string | null;
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @export
|
|
125
|
+
* @interface Coupon
|
|
126
|
+
*/
|
|
127
|
+
export interface Coupon {
|
|
128
|
+
/**
|
|
129
|
+
* Unique object identifier
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof Coupon
|
|
132
|
+
*/
|
|
133
|
+
'id': string;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof Coupon
|
|
138
|
+
*/
|
|
139
|
+
'code': string;
|
|
140
|
+
}
|
|
122
141
|
/**
|
|
123
142
|
* The customer that has placed an order on your platform
|
|
124
143
|
* @export
|
|
@@ -509,6 +528,12 @@ export interface Order {
|
|
|
509
528
|
* @memberof Order
|
|
510
529
|
*/
|
|
511
530
|
'discountPrice'?: Price;
|
|
531
|
+
/**
|
|
532
|
+
*
|
|
533
|
+
* @type {Coupon}
|
|
534
|
+
* @memberof Order
|
|
535
|
+
*/
|
|
536
|
+
'coupon'?: Coupon | null;
|
|
512
537
|
/**
|
|
513
538
|
*
|
|
514
539
|
* @type {Price}
|
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/Coupon.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Coupon
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**code** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Coupon } from '@teemill/platform';
|
|
15
|
+
|
|
16
|
+
const instance: Coupon = {
|
|
17
|
+
id,
|
|
18
|
+
code,
|
|
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/docs/Order.md
CHANGED
|
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|
|
19
19
|
**taxPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
20
20
|
**subtotalPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
21
21
|
**discountPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
22
|
+
**coupon** | [**Coupon**](Coupon.md) | | [optional] [default to undefined]
|
|
22
23
|
**shippingPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
23
24
|
**origin** | [**Origin**](Origin.md) | | [optional] [default to undefined]
|
|
24
25
|
**statusHistory** | [**Array<StatusHistoryItem>**](StatusHistoryItem.md) | | [optional] [default to undefined]
|
|
@@ -45,6 +46,7 @@ const instance: Order = {
|
|
|
45
46
|
taxPrice,
|
|
46
47
|
subtotalPrice,
|
|
47
48
|
discountPrice,
|
|
49
|
+
coupon,
|
|
48
50
|
shippingPrice,
|
|
49
51
|
origin,
|
|
50
52
|
statusHistory,
|
package/index.ts
CHANGED