Skip to content

Commit ab9883d

Browse files
committed
feat: transaction improvements and test fixes
1 parent b1c3dcd commit ab9883d

File tree

829 files changed

+2105
-1625
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

829 files changed

+2105
-1625
lines changed

api/openapi.yaml

Lines changed: 179 additions & 19 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,10 @@ test {
175175
testLogging {
176176
showStandardStreams = true
177177
}
178-
178+
environment "access_token", "v2.public.eyJyb2xlIjoiYWRtaW4iLCJyb2xlcyI6WyJhZG1pbiJdLCJ1c2VySWQiOiIxMjA4NCIsInN1YiI6InllaG9yLnpodWtvdnNreWkrc2RrQHVuaXQuY28iLCJleHAiOiIyMDI2LTA4LTIxVDE0OjM3OjIxLjEzN1oiLCJqdGkiOiI1MDk4NjUiLCJvcmdJZCI6IjEyNiIsInNjb3BlIjoiYXBwbGljYXRpb25zIGFwcGxpY2F0aW9ucy13cml0ZSBjdXN0b21lcnMgY3VzdG9tZXJzLXdyaXRlIGN1c3RvbWVyLXRhZ3Mtd3JpdGUgY3VzdG9tZXItdG9rZW4td3JpdGUgYWNjb3VudHMgYWNjb3VudHMtd3JpdGUgYWNjb3VudC1ob2xkcyBhY2NvdW50LWhvbGRzLXdyaXRlIGNhcmRzIGNhcmRzLXdyaXRlIGNhcmRzLXNlbnNpdGl2ZSBjYXJkcy1zZW5zaXRpdmUtd3JpdGUgdHJhbnNhY3Rpb25zIHRyYW5zYWN0aW9ucy13cml0ZSBhdXRob3JpemF0aW9ucyBzdGF0ZW1lbnRzIHBheW1lbnRzIHBheW1lbnRzLXdyaXRlIHBheW1lbnRzLXdyaXRlLWNvdW50ZXJwYXJ0eSBwYXltZW50cy13cml0ZS1saW5rZWQtYWNjb3VudCBhY2gtcGF5bWVudHMtd3JpdGUgd2lyZS1wYXltZW50cy13cml0ZSByZXBheW1lbnRzIHJlcGF5bWVudHMtd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QYXJlbnRPcmciOmZhbHNlfQQf2-ekwd-2a-96TvISNvSQIySQdvfjMep2v38ORg3lzeOA2i7a43f2k42-AL7R1rGvl5xkLpNdjTFJmBQNdgQ"
179+
environment "test_plaid_counterparty_token", "processor-sandbox-d2574e08-37ef-4779-b578-987dbd2409bc"
180+
environment "wallet_terms", "Yehor's walletTerms"
181+
environment "token_tests_user_id", "12084"
179182
useJUnit()
180183
}
181184
// // Enable JUnit 5 (Gradle 4.6+).

src/main/java/unit/java/sdk/ApiClient.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.0
5+
* The version of the OpenAPI document: 0.2.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -168,7 +168,7 @@ public ApiClient() {
168168
this.mapper = createDefaultObjectMapper();
169169
updateBaseUri(getDefaultBaseUri());
170170
interceptor = (req) -> {
171-
req.setHeader("X-UNIT-SDK", "[email protected].0");
171+
req.setHeader("X-UNIT-SDK", "[email protected].1");
172172
};
173173
readTimeout = null;
174174
connectTimeout = null;
@@ -188,7 +188,7 @@ public ApiClient(HttpClient.Builder builder, ObjectMapper mapper, String baseUri
188188
this.mapper = mapper;
189189
updateBaseUri(baseUri != null ? baseUri : getDefaultBaseUri());
190190
interceptor = (req) -> {
191-
req.setHeader("X-UNIT-SDK", "[email protected].0");
191+
req.setHeader("X-UNIT-SDK", "[email protected].1");
192192
};
193193
readTimeout = null;
194194
connectTimeout = null;
@@ -343,7 +343,7 @@ public ApiClient setScheme(String scheme){
343343
*/
344344
public ApiClient setRequestInterceptor(Consumer<HttpRequest.Builder> interceptor) {
345345
this.interceptor = (req) -> {
346-
req.setHeader("X-UNIT-SDK", "[email protected].0");
346+
req.setHeader("X-UNIT-SDK", "[email protected].1");
347347
interceptor.accept(req);
348348
};
349349
return this;

src/main/java/unit/java/sdk/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.0
5+
* The version of the OpenAPI document: 0.2.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/unit/java/sdk/ApiResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.0
5+
* The version of the OpenAPI document: 0.2.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/unit/java/sdk/Configuration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.0
5+
* The version of the OpenAPI document: 0.2.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,7 +15,7 @@
1515

1616
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0")
1717
public class Configuration {
18-
public static final String VERSION = "0.2.0";
18+
public static final String VERSION = "0.2.1";
1919

2020
private static ApiClient defaultApiClient = new ApiClient();
2121

src/main/java/unit/java/sdk/JSON.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.0
5+
* The version of the OpenAPI document: 0.2.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/unit/java/sdk/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.0
5+
* The version of the OpenAPI document: 0.2.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/unit/java/sdk/RFC3339DateFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.0
5+
* The version of the OpenAPI document: 0.2.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/unit/java/sdk/ServerConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.0
5+
* The version of the OpenAPI document: 0.2.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)