@teemill/platform 0.60.2 → 0.61.1

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.60.1
1
+ ## @teemill/platform@0.61.1
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.60.1 --save
39
+ npm install @teemill/platform@0.61.1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
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.60.1
7
+ * The version of the OpenAPI document: 0.61.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -55,7 +55,11 @@ export interface Address {
55
55
  'state'?: string;
56
56
  }
57
57
  export interface AmendOrderRequest {
58
- 'amendments': Array<AmendOrderRequestAmendmentsInner>;
58
+ 'amendments'?: Array<AmendOrderRequestAmendmentsInner>;
59
+ /**
60
+ * When true, forces a full shipping refund for the order. Shipping may be automatically refunded under certain conditions (e.g. when all items are refunded); this flag forces it regardless of remaining item count. Can be used alone for a shipping-only refund, or combined with item amendments.
61
+ */
62
+ 'forceShippingRefund'?: boolean;
59
63
  }
60
64
  export interface AmendOrderRequestAmendmentsInner {
61
65
  /**
@@ -707,6 +711,10 @@ export interface Order {
707
711
  'priorityLevel': PriorityLevel;
708
712
  'warnings'?: Array<string>;
709
713
  'additionalFiles'?: Array<OrderAdditionalFilesInner>;
714
+ /**
715
+ * Whether shipping has been refunded for this order, either manually via forceShippingRefund or automatically when all items are refunded.
716
+ */
717
+ 'shippingRefunded'?: boolean;
710
718
  }
711
719
 
712
720
 
@@ -3547,11 +3555,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
3547
3555
  * @param {string} project Project unique identifier
3548
3556
  * @param {string} platformId The platform identifier
3549
3557
  * @param {string} orderId The order identifier
3550
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
3558
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
3551
3559
  * @param {*} [options] Override http request option.
3552
3560
  * @throws {RequiredError}
3553
3561
  */
3554
- amendOrder: async (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3562
+ amendOrder: async (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3555
3563
  // verify required parameter 'project' is not null or undefined
3556
3564
  assertParamExists('amendOrder', 'project', project)
3557
3565
  // verify required parameter 'platformId' is not null or undefined
@@ -4488,11 +4496,11 @@ export const OrdersApiFp = function(configuration?: Configuration) {
4488
4496
  * @param {string} project Project unique identifier
4489
4497
  * @param {string} platformId The platform identifier
4490
4498
  * @param {string} orderId The order identifier
4491
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
4499
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
4492
4500
  * @param {*} [options] Override http request option.
4493
4501
  * @throws {RequiredError}
4494
4502
  */
4495
- async amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {
4503
+ async amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {
4496
4504
  const localVarAxiosArgs = await localVarAxiosParamCreator.amendOrder(project, platformId, orderId, amendOrderRequest, options);
4497
4505
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4498
4506
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.amendOrder']?.[localVarOperationServerIndex]?.url;
@@ -4934,7 +4942,7 @@ export interface OrdersApiAmendOrderRequest {
4934
4942
  /**
4935
4943
  * AmendOrder schema
4936
4944
  */
4937
- readonly amendOrderRequest: AmendOrderRequest
4945
+ readonly amendOrderRequest: AmendOrderRequest | null
4938
4946
  }
4939
4947
 
4940
4948
  /**
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.60.1
7
+ * The version of the OpenAPI document: 0.61.1
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.60.1
7
+ * The version of the OpenAPI document: 0.61.1
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.60.1
6
+ * The version of the OpenAPI document: 0.61.1
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.60.1
5
+ * The version of the OpenAPI document: 0.61.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -45,7 +45,11 @@ export interface Address {
45
45
  'state'?: string;
46
46
  }
47
47
  export interface AmendOrderRequest {
48
- 'amendments': Array<AmendOrderRequestAmendmentsInner>;
48
+ 'amendments'?: Array<AmendOrderRequestAmendmentsInner>;
49
+ /**
50
+ * When true, forces a full shipping refund for the order. Shipping may be automatically refunded under certain conditions (e.g. when all items are refunded); this flag forces it regardless of remaining item count. Can be used alone for a shipping-only refund, or combined with item amendments.
51
+ */
52
+ 'forceShippingRefund'?: boolean;
49
53
  }
50
54
  export interface AmendOrderRequestAmendmentsInner {
51
55
  /**
@@ -676,6 +680,10 @@ export interface Order {
676
680
  'priorityLevel': PriorityLevel;
677
681
  'warnings'?: Array<string>;
678
682
  'additionalFiles'?: Array<OrderAdditionalFilesInner>;
683
+ /**
684
+ * Whether shipping has been refunded for this order, either manually via forceShippingRefund or automatically when all items are refunded.
685
+ */
686
+ 'shippingRefunded'?: boolean;
679
687
  }
680
688
  export interface OrderAdditionalFilesInner {
681
689
  'src': string;
@@ -2348,11 +2356,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
2348
2356
  * @param {string} project Project unique identifier
2349
2357
  * @param {string} platformId The platform identifier
2350
2358
  * @param {string} orderId The order identifier
2351
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
2359
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
2352
2360
  * @param {*} [options] Override http request option.
2353
2361
  * @throws {RequiredError}
2354
2362
  */
2355
- amendOrder: (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2363
+ amendOrder: (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2356
2364
  /**
2357
2365
  *
2358
2366
  * @summary Confirm order
@@ -2531,11 +2539,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
2531
2539
  * @param {string} project Project unique identifier
2532
2540
  * @param {string} platformId The platform identifier
2533
2541
  * @param {string} orderId The order identifier
2534
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
2542
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
2535
2543
  * @param {*} [options] Override http request option.
2536
2544
  * @throws {RequiredError}
2537
2545
  */
2538
- amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
2546
+ amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
2539
2547
  /**
2540
2548
  *
2541
2549
  * @summary Confirm order
@@ -2856,7 +2864,7 @@ export interface OrdersApiAmendOrderRequest {
2856
2864
  /**
2857
2865
  * AmendOrder schema
2858
2866
  */
2859
- readonly amendOrderRequest: AmendOrderRequest;
2867
+ readonly amendOrderRequest: AmendOrderRequest | null;
2860
2868
  }
2861
2869
  /**
2862
2870
  * Request parameters for confirmOrder operation in OrdersApi.
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.60.1
8
+ * The version of the OpenAPI document: 0.61.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1798,7 +1798,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
1798
1798
  * @param {string} project Project unique identifier
1799
1799
  * @param {string} platformId The platform identifier
1800
1800
  * @param {string} orderId The order identifier
1801
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
1801
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
1802
1802
  * @param {*} [options] Override http request option.
1803
1803
  * @throws {RequiredError}
1804
1804
  */
@@ -2614,7 +2614,7 @@ const OrdersApiFp = function (configuration) {
2614
2614
  * @param {string} project Project unique identifier
2615
2615
  * @param {string} platformId The platform identifier
2616
2616
  * @param {string} orderId The order identifier
2617
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
2617
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
2618
2618
  * @param {*} [options] Override http request option.
2619
2619
  * @throws {RequiredError}
2620
2620
  */
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.60.1
5
+ * The version of the OpenAPI document: 0.61.1
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.60.1
8
+ * The version of the OpenAPI document: 0.61.1
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.60.1
5
+ * The version of the OpenAPI document: 0.61.1
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.60.1
8
+ * The version of the OpenAPI document: 0.61.1
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.60.1
5
+ * The version of the OpenAPI document: 0.61.1
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.60.1
7
+ * The version of the OpenAPI document: 0.61.1
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.60.1
5
+ * The version of the OpenAPI document: 0.61.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -45,7 +45,11 @@ export interface Address {
45
45
  'state'?: string;
46
46
  }
47
47
  export interface AmendOrderRequest {
48
- 'amendments': Array<AmendOrderRequestAmendmentsInner>;
48
+ 'amendments'?: Array<AmendOrderRequestAmendmentsInner>;
49
+ /**
50
+ * When true, forces a full shipping refund for the order. Shipping may be automatically refunded under certain conditions (e.g. when all items are refunded); this flag forces it regardless of remaining item count. Can be used alone for a shipping-only refund, or combined with item amendments.
51
+ */
52
+ 'forceShippingRefund'?: boolean;
49
53
  }
50
54
  export interface AmendOrderRequestAmendmentsInner {
51
55
  /**
@@ -676,6 +680,10 @@ export interface Order {
676
680
  'priorityLevel': PriorityLevel;
677
681
  'warnings'?: Array<string>;
678
682
  'additionalFiles'?: Array<OrderAdditionalFilesInner>;
683
+ /**
684
+ * Whether shipping has been refunded for this order, either manually via forceShippingRefund or automatically when all items are refunded.
685
+ */
686
+ 'shippingRefunded'?: boolean;
679
687
  }
680
688
  export interface OrderAdditionalFilesInner {
681
689
  'src': string;
@@ -2348,11 +2356,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
2348
2356
  * @param {string} project Project unique identifier
2349
2357
  * @param {string} platformId The platform identifier
2350
2358
  * @param {string} orderId The order identifier
2351
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
2359
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
2352
2360
  * @param {*} [options] Override http request option.
2353
2361
  * @throws {RequiredError}
2354
2362
  */
2355
- amendOrder: (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2363
+ amendOrder: (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2356
2364
  /**
2357
2365
  *
2358
2366
  * @summary Confirm order
@@ -2531,11 +2539,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
2531
2539
  * @param {string} project Project unique identifier
2532
2540
  * @param {string} platformId The platform identifier
2533
2541
  * @param {string} orderId The order identifier
2534
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
2542
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
2535
2543
  * @param {*} [options] Override http request option.
2536
2544
  * @throws {RequiredError}
2537
2545
  */
2538
- amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
2546
+ amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
2539
2547
  /**
2540
2548
  *
2541
2549
  * @summary Confirm order
@@ -2856,7 +2864,7 @@ export interface OrdersApiAmendOrderRequest {
2856
2864
  /**
2857
2865
  * AmendOrder schema
2858
2866
  */
2859
- readonly amendOrderRequest: AmendOrderRequest;
2867
+ readonly amendOrderRequest: AmendOrderRequest | null;
2860
2868
  }
2861
2869
  /**
2862
2870
  * Request parameters for confirmOrder operation in OrdersApi.
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.60.1
7
+ * The version of the OpenAPI document: 0.61.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1778,7 +1778,7 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
1778
1778
  * @param {string} project Project unique identifier
1779
1779
  * @param {string} platformId The platform identifier
1780
1780
  * @param {string} orderId The order identifier
1781
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
1781
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
1782
1782
  * @param {*} [options] Override http request option.
1783
1783
  * @throws {RequiredError}
1784
1784
  */
@@ -2593,7 +2593,7 @@ export const OrdersApiFp = function (configuration) {
2593
2593
  * @param {string} project Project unique identifier
2594
2594
  * @param {string} platformId The platform identifier
2595
2595
  * @param {string} orderId The order identifier
2596
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
2596
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
2597
2597
  * @param {*} [options] Override http request option.
2598
2598
  * @throws {RequiredError}
2599
2599
  */
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.60.1
5
+ * The version of the OpenAPI document: 0.61.1
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.60.1
7
+ * The version of the OpenAPI document: 0.61.1
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.60.1
5
+ * The version of the OpenAPI document: 0.61.1
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.60.1
7
+ * The version of the OpenAPI document: 0.61.1
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.60.1
5
+ * The version of the OpenAPI document: 0.61.1
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.60.1
6
+ * The version of the OpenAPI document: 0.61.1
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.60.1
5
+ * The version of the OpenAPI document: 0.61.1
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.60.1
7
+ * The version of the OpenAPI document: 0.61.1
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.60.1
5
+ * The version of the OpenAPI document: 0.61.1
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.60.1
8
+ * The version of the OpenAPI document: 0.61.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **amendments** | [**Array&lt;AmendOrderRequestAmendmentsInner&gt;**](AmendOrderRequestAmendmentsInner.md) | | [default to undefined]
8
+ **amendments** | [**Array&lt;AmendOrderRequestAmendmentsInner&gt;**](AmendOrderRequestAmendmentsInner.md) | | [optional] [default to undefined]
9
+ **forceShippingRefund** | **boolean** | When true, forces a full shipping refund for the order. Shipping may be automatically refunded under certain conditions (e.g. when all items are refunded); this flag forces it regardless of remaining item count. Can be used alone for a shipping-only refund, or combined with item amendments. | [optional] [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
@@ -14,6 +15,7 @@ import { AmendOrderRequest } from '@teemill/platform';
14
15
 
15
16
  const instance: AmendOrderRequest = {
16
17
  amendments,
18
+ forceShippingRefund,
17
19
  };
18
20
  ```
19
21
 
package/docs/Order.md CHANGED
@@ -39,6 +39,7 @@ Name | Type | Description | Notes
39
39
  **priorityLevel** | [**PriorityLevel**](PriorityLevel.md) | | [default to undefined]
40
40
  **warnings** | **Array&lt;string&gt;** | | [optional] [default to undefined]
41
41
  **additionalFiles** | [**Array&lt;OrderAdditionalFilesInner&gt;**](OrderAdditionalFilesInner.md) | | [optional] [default to undefined]
42
+ **shippingRefunded** | **boolean** | Whether shipping has been refunded for this order, either manually via forceShippingRefund or automatically when all items are refunded. | [optional] [readonly] [default to undefined]
42
43
 
43
44
  ## Example
44
45
 
@@ -80,6 +81,7 @@ const instance: Order = {
80
81
  priorityLevel,
81
82
  warnings,
82
83
  additionalFiles,
84
+ shippingRefunded,
83
85
  };
84
86
  ```
85
87
 
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.60.1
7
+ * The version of the OpenAPI document: 0.61.1
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.60.2",
3
+ "version": "0.61.1",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {