@teemill/platform 0.61.0 → 0.62.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.61.0
1
+ ## @teemill/platform@0.62.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.61.0 --save
39
+ npm install @teemill/platform@0.62.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -171,6 +171,7 @@ Class | Method | HTTP request | Description
171
171
  - [OrderItem1](docs/OrderItem1.md)
172
172
  - [OrderItem1Price](docs/OrderItem1Price.md)
173
173
  - [OrderPaymentMethod](docs/OrderPaymentMethod.md)
174
+ - [OrderRefundsInner](docs/OrderRefundsInner.md)
174
175
  - [OrderStatus](docs/OrderStatus.md)
175
176
  - [OrderTracking](docs/OrderTracking.md)
176
177
  - [OrdersResponse](docs/OrdersResponse.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.61.0
7
+ * The version of the OpenAPI document: 0.62.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -54,9 +54,6 @@ export interface Address {
54
54
  */
55
55
  'state'?: string;
56
56
  }
57
- /**
58
- * At least one of amendments or forceShippingRefund must be provided.
59
- */
60
57
  export interface AmendOrderRequest {
61
58
  'amendments'?: Array<AmendOrderRequestAmendmentsInner>;
62
59
  /**
@@ -657,6 +654,7 @@ export interface Order {
657
654
  */
658
655
  'merchantReference'?: string | null;
659
656
  'fulfillments'?: Array<Fulfillment>;
657
+ 'refunds'?: Array<OrderRefundsInner>;
660
658
  'deliveryEstimates'?: DeliveryEstimates | null;
661
659
  'items': Array<OrderItem>;
662
660
  /**
@@ -786,6 +784,16 @@ export interface OrderItem1Price {
786
784
  export interface OrderPaymentMethod {
787
785
  'type': string | null;
788
786
  }
787
+ export interface OrderRefundsInner {
788
+ /**
789
+ * Unique object identifier
790
+ */
791
+ 'id'?: string;
792
+ /**
793
+ * A reference to the resource location
794
+ */
795
+ 'ref'?: string;
796
+ }
789
797
 
790
798
  export const OrderStatus = {
791
799
  New: 'new',
@@ -3558,11 +3566,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
3558
3566
  * @param {string} project Project unique identifier
3559
3567
  * @param {string} platformId The platform identifier
3560
3568
  * @param {string} orderId The order identifier
3561
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
3569
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
3562
3570
  * @param {*} [options] Override http request option.
3563
3571
  * @throws {RequiredError}
3564
3572
  */
3565
- amendOrder: async (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3573
+ amendOrder: async (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3566
3574
  // verify required parameter 'project' is not null or undefined
3567
3575
  assertParamExists('amendOrder', 'project', project)
3568
3576
  // verify required parameter 'platformId' is not null or undefined
@@ -4499,11 +4507,11 @@ export const OrdersApiFp = function(configuration?: Configuration) {
4499
4507
  * @param {string} project Project unique identifier
4500
4508
  * @param {string} platformId The platform identifier
4501
4509
  * @param {string} orderId The order identifier
4502
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
4510
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
4503
4511
  * @param {*} [options] Override http request option.
4504
4512
  * @throws {RequiredError}
4505
4513
  */
4506
- async amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {
4514
+ async amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {
4507
4515
  const localVarAxiosArgs = await localVarAxiosParamCreator.amendOrder(project, platformId, orderId, amendOrderRequest, options);
4508
4516
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4509
4517
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.amendOrder']?.[localVarOperationServerIndex]?.url;
@@ -4945,7 +4953,7 @@ export interface OrdersApiAmendOrderRequest {
4945
4953
  /**
4946
4954
  * AmendOrder schema
4947
4955
  */
4948
- readonly amendOrderRequest: AmendOrderRequest
4956
+ readonly amendOrderRequest: AmendOrderRequest | null
4949
4957
  }
4950
4958
 
4951
4959
  /**
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.61.0
7
+ * The version of the OpenAPI document: 0.62.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.61.0
7
+ * The version of the OpenAPI document: 0.62.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.61.0
6
+ * The version of the OpenAPI document: 0.62.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.61.0
5
+ * The version of the OpenAPI document: 0.62.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -44,9 +44,6 @@ export interface Address {
44
44
  */
45
45
  'state'?: string;
46
46
  }
47
- /**
48
- * At least one of amendments or forceShippingRefund must be provided.
49
- */
50
47
  export interface AmendOrderRequest {
51
48
  'amendments'?: Array<AmendOrderRequestAmendmentsInner>;
52
49
  /**
@@ -626,6 +623,7 @@ export interface Order {
626
623
  */
627
624
  'merchantReference'?: string | null;
628
625
  'fulfillments'?: Array<Fulfillment>;
626
+ 'refunds'?: Array<OrderRefundsInner>;
629
627
  'deliveryEstimates'?: DeliveryEstimates | null;
630
628
  'items': Array<OrderItem>;
631
629
  /**
@@ -753,6 +751,16 @@ export interface OrderItem1Price {
753
751
  export interface OrderPaymentMethod {
754
752
  'type': string | null;
755
753
  }
754
+ export interface OrderRefundsInner {
755
+ /**
756
+ * Unique object identifier
757
+ */
758
+ 'id'?: string;
759
+ /**
760
+ * A reference to the resource location
761
+ */
762
+ 'ref'?: string;
763
+ }
756
764
  export declare const OrderStatus: {
757
765
  readonly New: "new";
758
766
  readonly Paid: "paid";
@@ -2359,11 +2367,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
2359
2367
  * @param {string} project Project unique identifier
2360
2368
  * @param {string} platformId The platform identifier
2361
2369
  * @param {string} orderId The order identifier
2362
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
2370
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
2363
2371
  * @param {*} [options] Override http request option.
2364
2372
  * @throws {RequiredError}
2365
2373
  */
2366
- amendOrder: (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2374
+ amendOrder: (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2367
2375
  /**
2368
2376
  *
2369
2377
  * @summary Confirm order
@@ -2542,11 +2550,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
2542
2550
  * @param {string} project Project unique identifier
2543
2551
  * @param {string} platformId The platform identifier
2544
2552
  * @param {string} orderId The order identifier
2545
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
2553
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
2546
2554
  * @param {*} [options] Override http request option.
2547
2555
  * @throws {RequiredError}
2548
2556
  */
2549
- amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
2557
+ amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
2550
2558
  /**
2551
2559
  *
2552
2560
  * @summary Confirm order
@@ -2867,7 +2875,7 @@ export interface OrdersApiAmendOrderRequest {
2867
2875
  /**
2868
2876
  * AmendOrder schema
2869
2877
  */
2870
- readonly amendOrderRequest: AmendOrderRequest;
2878
+ readonly amendOrderRequest: AmendOrderRequest | null;
2871
2879
  }
2872
2880
  /**
2873
2881
  * 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.61.0
8
+ * The version of the OpenAPI document: 0.62.0
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.61.0
5
+ * The version of the OpenAPI document: 0.62.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.61.0
8
+ * The version of the OpenAPI document: 0.62.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.61.0
5
+ * The version of the OpenAPI document: 0.62.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.61.0
8
+ * The version of the OpenAPI document: 0.62.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.61.0
5
+ * The version of the OpenAPI document: 0.62.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.61.0
7
+ * The version of the OpenAPI document: 0.62.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.61.0
5
+ * The version of the OpenAPI document: 0.62.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -44,9 +44,6 @@ export interface Address {
44
44
  */
45
45
  'state'?: string;
46
46
  }
47
- /**
48
- * At least one of amendments or forceShippingRefund must be provided.
49
- */
50
47
  export interface AmendOrderRequest {
51
48
  'amendments'?: Array<AmendOrderRequestAmendmentsInner>;
52
49
  /**
@@ -626,6 +623,7 @@ export interface Order {
626
623
  */
627
624
  'merchantReference'?: string | null;
628
625
  'fulfillments'?: Array<Fulfillment>;
626
+ 'refunds'?: Array<OrderRefundsInner>;
629
627
  'deliveryEstimates'?: DeliveryEstimates | null;
630
628
  'items': Array<OrderItem>;
631
629
  /**
@@ -753,6 +751,16 @@ export interface OrderItem1Price {
753
751
  export interface OrderPaymentMethod {
754
752
  'type': string | null;
755
753
  }
754
+ export interface OrderRefundsInner {
755
+ /**
756
+ * Unique object identifier
757
+ */
758
+ 'id'?: string;
759
+ /**
760
+ * A reference to the resource location
761
+ */
762
+ 'ref'?: string;
763
+ }
756
764
  export declare const OrderStatus: {
757
765
  readonly New: "new";
758
766
  readonly Paid: "paid";
@@ -2359,11 +2367,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
2359
2367
  * @param {string} project Project unique identifier
2360
2368
  * @param {string} platformId The platform identifier
2361
2369
  * @param {string} orderId The order identifier
2362
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
2370
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
2363
2371
  * @param {*} [options] Override http request option.
2364
2372
  * @throws {RequiredError}
2365
2373
  */
2366
- amendOrder: (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2374
+ amendOrder: (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2367
2375
  /**
2368
2376
  *
2369
2377
  * @summary Confirm order
@@ -2542,11 +2550,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
2542
2550
  * @param {string} project Project unique identifier
2543
2551
  * @param {string} platformId The platform identifier
2544
2552
  * @param {string} orderId The order identifier
2545
- * @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
2553
+ * @param {AmendOrderRequest | null} amendOrderRequest AmendOrder schema
2546
2554
  * @param {*} [options] Override http request option.
2547
2555
  * @throws {RequiredError}
2548
2556
  */
2549
- amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
2557
+ amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
2550
2558
  /**
2551
2559
  *
2552
2560
  * @summary Confirm order
@@ -2867,7 +2875,7 @@ export interface OrdersApiAmendOrderRequest {
2867
2875
  /**
2868
2876
  * AmendOrder schema
2869
2877
  */
2870
- readonly amendOrderRequest: AmendOrderRequest;
2878
+ readonly amendOrderRequest: AmendOrderRequest | null;
2871
2879
  }
2872
2880
  /**
2873
2881
  * 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.61.0
7
+ * The version of the OpenAPI document: 0.62.0
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.61.0
5
+ * The version of the OpenAPI document: 0.62.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.61.0
7
+ * The version of the OpenAPI document: 0.62.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.61.0
5
+ * The version of the OpenAPI document: 0.62.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.61.0
7
+ * The version of the OpenAPI document: 0.62.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.61.0
5
+ * The version of the OpenAPI document: 0.62.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.61.0
6
+ * The version of the OpenAPI document: 0.62.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.61.0
5
+ * The version of the OpenAPI document: 0.62.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.61.0
7
+ * The version of the OpenAPI document: 0.62.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.61.0
5
+ * The version of the OpenAPI document: 0.62.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.61.0
8
+ * The version of the OpenAPI document: 0.62.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,6 +1,5 @@
1
1
  # AmendOrderRequest
2
2
 
3
- At least one of amendments or forceShippingRefund must be provided.
4
3
 
5
4
  ## Properties
6
5
 
package/docs/Order.md CHANGED
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
18
18
  **updatedAt** | **string** | ISO 8601 Timestamp | [optional] [default to undefined]
19
19
  **merchantReference** | **string** | A custom reference to the merchant\&#39;s order that will be displayed on the shipping label. | [optional] [default to undefined]
20
20
  **fulfillments** | [**Array&lt;Fulfillment&gt;**](Fulfillment.md) | | [optional] [readonly] [default to undefined]
21
+ **refunds** | [**Array&lt;OrderRefundsInner&gt;**](OrderRefundsInner.md) | | [optional] [default to undefined]
21
22
  **deliveryEstimates** | [**DeliveryEstimates**](DeliveryEstimates.md) | | [optional] [default to undefined]
22
23
  **items** | [**Array&lt;OrderItem&gt;**](OrderItem.md) | | [default to undefined]
23
24
  **totalPrice** | [**Price**](Price.md) | The total price of the order including tax and after discounts. | [optional] [default to undefined]
@@ -60,6 +61,7 @@ const instance: Order = {
60
61
  updatedAt,
61
62
  merchantReference,
62
63
  fulfillments,
64
+ refunds,
63
65
  deliveryEstimates,
64
66
  items,
65
67
  totalPrice,
@@ -0,0 +1,22 @@
1
+ # OrderRefundsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Unique object identifier | [optional] [default to undefined]
9
+ **ref** | **string** | A reference to the resource location | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { OrderRefundsInner } from '@teemill/platform';
15
+
16
+ const instance: OrderRefundsInner = {
17
+ id,
18
+ ref,
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.61.0
7
+ * The version of the OpenAPI document: 0.62.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.61.0",
3
+ "version": "0.62.0",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {