@teemill/platform 0.55.0 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.55.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.55.0 --save
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
- - [OrderItem1RecipientCost](docs/OrderItem1RecipientCost.md)
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.55.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';
@@ -405,7 +405,7 @@ export interface DataDeletionRequest {
405
405
  /**
406
406
  * Reference to the user resource
407
407
  */
408
- 'requestedBy': string;
408
+ 'requestedByRef': string;
409
409
  /**
410
410
  * ISO 8601 Timestamp
411
411
  */
@@ -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
- 'recipientCost'?: OrderItem1RecipientCost;
713
+ 'price'?: OrderItem1Price;
718
714
  }
719
- export interface OrderItem1RecipientCost {
715
+ export interface OrderItem1Price {
720
716
  'amount': string;
721
717
  'currencyCode': string;
722
718
  }
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.55.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).
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.55.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).
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.55.0
6
+ * The version of the OpenAPI document: 0.56.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.55.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).
@@ -380,7 +380,7 @@ export interface DataDeletionRequest {
380
380
  /**
381
381
  * Reference to the user resource
382
382
  */
383
- 'requestedBy': string;
383
+ 'requestedByRef': string;
384
384
  /**
385
385
  * ISO 8601 Timestamp
386
386
  */
@@ -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
- 'recipientCost'?: OrderItem1RecipientCost;
680
+ 'price'?: OrderItem1Price;
685
681
  }
686
- export interface OrderItem1RecipientCost {
682
+ export interface OrderItem1Price {
687
683
  'amount': string;
688
684
  'currencyCode': string;
689
685
  }
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.55.0
8
+ * The version of the OpenAPI document: 0.56.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.55.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).
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.55.0
8
+ * The version of the OpenAPI document: 0.56.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.55.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).
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.55.0
8
+ * The version of the OpenAPI document: 0.56.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.55.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).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.55.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).
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.55.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).
@@ -380,7 +380,7 @@ export interface DataDeletionRequest {
380
380
  /**
381
381
  * Reference to the user resource
382
382
  */
383
- 'requestedBy': string;
383
+ 'requestedByRef': string;
384
384
  /**
385
385
  * ISO 8601 Timestamp
386
386
  */
@@ -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
- 'recipientCost'?: OrderItem1RecipientCost;
680
+ 'price'?: OrderItem1Price;
685
681
  }
686
- export interface OrderItem1RecipientCost {
682
+ export interface OrderItem1Price {
687
683
  'amount': string;
688
684
  'currencyCode': string;
689
685
  }
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.55.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).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.55.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).
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.55.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).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.55.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).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.55.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).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.55.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).
@@ -3,7 +3,7 @@
3
3
  * Platform API
4
4
  * Manage Your podOS platform
5
5
  *
6
- * The version of the OpenAPI document: 0.55.0
6
+ * The version of the OpenAPI document: 0.56.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.55.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).
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.55.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).
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.55.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).
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.55.0
8
+ * The version of the OpenAPI document: 0.56.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **id** | **string** | Unique object identifier | [default to undefined]
10
10
  **customerRef** | **string** | Reference to the customer resource | [default to undefined]
11
- **requestedBy** | **string** | Reference to the user resource | [default to undefined]
11
+ **requestedByRef** | **string** | Reference to the user resource | [default to undefined]
12
12
  **requestedAt** | **string** | ISO 8601 Timestamp | [default to undefined]
13
13
 
14
14
  ## Example
@@ -19,7 +19,7 @@ import { DataDeletionRequest } from '@teemill/platform';
19
19
  const instance: DataDeletionRequest = {
20
20
  id,
21
21
  customerRef,
22
- requestedBy,
22
+ requestedByRef,
23
23
  requestedAt,
24
24
  };
25
25
  ```
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\&#39;s highly recommended if you have international orders as it aids customs issues. | [optional] [default to undefined]
20
19
  **amendmentLogs** | [**Array&lt;AmendmentLog&gt;**](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
  ```
@@ -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
- **recipientCost** | [**OrderItem1RecipientCost**](OrderItem1RecipientCost.md) | | [optional] [default to undefined]
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
- recipientCost,
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
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.55.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).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/platform",
3
- "version": "0.55.0",
3
+ "version": "0.56.0",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {