diff --git a/README.md b/README.md index c507dc154ee..152dfb77c0e 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,8 @@ This code is automatically generated by the [OpenAPI Generator](https://openapi- ## Versions -- API version: 0.11.7282 -- SDK version: 2.0.1325 +- API version: 0.11.7284 +- SDK version: 2.0.1326 ## Requirements @@ -47,7 +47,7 @@ Add this dependency to your pom.xml com.finbourne lusid-sdk - 2.0.1325 + 2.0.1326 ``` @@ -61,7 +61,7 @@ Add this dependency to your build.gradle } dependencies { - implementation "com.finbourne:lusid-sdk:2.0.1325" + implementation "com.finbourne:lusid-sdk:2.0.1326" } ``` diff --git a/sdk/api/openapi.yaml b/sdk/api/openapi.yaml index e4f20141db1..62951669c1f 100644 --- a/sdk/api/openapi.yaml +++ b/sdk/api/openapi.yaml @@ -382,7 +382,7 @@ info: | 939|Blocked by a Network Zone| | termsOfService: https://www.finbourne.com/legal/terms-conditions title: LUSID API - version: 0.11.7282 + version: 0.11.7284 x-logo: url: https://www.lusid.com/app/assets/logo_white.png backgroundColor: '#415464' @@ -47510,7 +47510,7 @@ paths: name: usePreviewTransactionsForPricing required: false schema: - default: false + default: true type: boolean style: form x-nullable: true diff --git a/sdk/docs/OrderManagementApi.md b/sdk/docs/OrderManagementApi.md index 4fc576eed2c..95575ed0cc2 100644 --- a/sdk/docs/OrderManagementApi.md +++ b/sdk/docs/OrderManagementApi.md @@ -68,7 +68,7 @@ public class OrderManagementApiExample { BookTransactionsRequest bookTransactionsRequest = new BookTransactionsRequest(); // BookTransactionsRequest | The allocations to create transactions for Boolean applyFeesAndCommission = true; // Boolean | Whether to apply fees and commissions to transactions (default: true) Boolean markOrdersAndAllocationsAsBooked = false; // Boolean | Whether to mark allocations and fully-booked orders with state Booked - Boolean usePreviewTransactionsForPricing = false; // Boolean | Whether to use calculators for the transaction type to work out pricing fields on the booked transactions + Boolean usePreviewTransactionsForPricing = true; // Boolean | Whether to use calculators for the transaction type to work out pricing fields on the booked transactions try { // uncomment the below to set overrides at the request level // BookTransactionsResponse result = apiInstance.bookTransactions(bookTransactionsRequest, applyFeesAndCommission, markOrdersAndAllocationsAsBooked, usePreviewTransactionsForPricing).execute(opts); @@ -93,7 +93,7 @@ public class OrderManagementApiExample { | **bookTransactionsRequest** | [**BookTransactionsRequest**](BookTransactionsRequest.md)| The allocations to create transactions for | | | **applyFeesAndCommission** | **Boolean**| Whether to apply fees and commissions to transactions (default: true) | [optional] [default to true] | | **markOrdersAndAllocationsAsBooked** | **Boolean**| Whether to mark allocations and fully-booked orders with state Booked | [optional] [default to false] | -| **usePreviewTransactionsForPricing** | **Boolean**| Whether to use calculators for the transaction type to work out pricing fields on the booked transactions | [optional] [default to false] | +| **usePreviewTransactionsForPricing** | **Boolean**| Whether to use calculators for the transaction type to work out pricing fields on the booked transactions | [optional] [default to true] | ### Return type diff --git a/sdk/pom.xml b/sdk/pom.xml index b2db45804bb..ce050db144b 100644 --- a/sdk/pom.xml +++ b/sdk/pom.xml @@ -5,7 +5,7 @@ lusid-sdk jar lusid-sdk - 2.0.1325 + 2.0.1326 https://github.com/finbourne/lusid-sdk-java lusid diff --git a/sdk/src/main/java/com/finbourne/lusid/ApiClient.java b/sdk/src/main/java/com/finbourne/lusid/ApiClient.java index 24c0ad740c2..7fddcab76f1 100644 --- a/sdk/src/main/java/com/finbourne/lusid/ApiClient.java +++ b/sdk/src/main/java/com/finbourne/lusid/ApiClient.java @@ -212,7 +212,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/2.0.1325/java"); + setUserAgent("OpenAPI-Generator/2.0.1326/java"); authentications = new HashMap(); } diff --git a/sdk/src/main/java/com/finbourne/lusid/Configuration.java b/sdk/src/main/java/com/finbourne/lusid/Configuration.java index 2bd37558705..836493d866e 100644 --- a/sdk/src/main/java/com/finbourne/lusid/Configuration.java +++ b/sdk/src/main/java/com/finbourne/lusid/Configuration.java @@ -12,7 +12,7 @@ @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class Configuration { - public static final String VERSION = "2.0.1325"; + public static final String VERSION = "2.0.1326"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/sdk/src/main/java/com/finbourne/lusid/api/OrderManagementApi.java b/sdk/src/main/java/com/finbourne/lusid/api/OrderManagementApi.java index 135bf97c966..7c270a4c395 100644 --- a/sdk/src/main/java/com/finbourne/lusid/api/OrderManagementApi.java +++ b/sdk/src/main/java/com/finbourne/lusid/api/OrderManagementApi.java @@ -229,7 +229,7 @@ public APIbookTransactionsRequest markOrdersAndAllocationsAsBooked(Boolean markO /** * Set usePreviewTransactionsForPricing - * @param usePreviewTransactionsForPricing Whether to use calculators for the transaction type to work out pricing fields on the booked transactions (optional, default to false) + * @param usePreviewTransactionsForPricing Whether to use calculators for the transaction type to work out pricing fields on the booked transactions (optional, default to true) * @return APIbookTransactionsRequest */ public APIbookTransactionsRequest usePreviewTransactionsForPricing(Boolean usePreviewTransactionsForPricing) {