@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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.17.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.17.0 --save
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.17.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
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.17.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).
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.17.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).
package/configuration.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.17.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).
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.17.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
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.17.0
8
+ * The version of the OpenAPI document: 0.18.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.17.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).
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.17.0
8
+ * The version of the OpenAPI document: 0.18.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.17.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).
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.17.0
8
+ * The version of the OpenAPI document: 0.18.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.17.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).
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.17.0
8
+ * The version of the OpenAPI document: 0.18.0
9
9
  *
10
10
  *
11
11
  * 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.17.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
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.17.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).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.17.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).
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.17.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).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.17.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).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.17.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).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.17.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).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.17.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).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.17.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).
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.17.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).
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.17.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).
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.17.0
8
+ * The version of the OpenAPI document: 0.18.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.17.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).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/platform",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {