Skip to content

Commit 34adc19

Browse files
authored
Merge pull request #50 from apideck-libraries/speakeasy-sdk-regen-1751018991
chore: 🐝 Update SDK - Generate 0.17.0
2 parents f64b057 + c75c333 commit 34adc19

File tree

2,870 files changed

+55168
-147238
lines changed

Some content is hidden

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

2,870 files changed

+55168
-147238
lines changed

.speakeasy/gen.lock

Lines changed: 33 additions & 909 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ generation:
2121
generateNewTests: false
2222
skipResponseBodyAssertions: false
2323
java:
24-
version: 0.16.0
24+
version: 0.17.0
2525
additionalDependencies: []
2626
additionalPlugins: []
2727
artifactID: unify
@@ -44,10 +44,12 @@ java:
4444
shared: models/components
4545
webhooks: models/webhooks
4646
inputModelSuffix: input
47+
languageVersion: 11
4748
license:
4849
name: Apache 2.0
4950
url: https://www.apache.org/licenses/LICENSE-2.0.html
5051
maxMethodParams: 4
52+
nullFriendlyParameters: false
5153
outputModelSuffix: output
5254
projectName: Apideck
5355
templateVersion: v2

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.570.1
1+
speakeasyVersion: 1.580.0
22
sources:
33
Apideck-OAS:
44
sourceNamespace: apideck-oas
5-
sourceRevisionDigest: sha256:5366e26abe22052f1c62cf28022652257de5d6ee8012492a17e6d93d8f544897
6-
sourceBlobDigest: sha256:81651792afd1e134bbeb982e71cd4b435c32ef3a517799b0e0243c6434163311
5+
sourceRevisionDigest: sha256:4e5ea980efa2d844788144660b93b76802a197d99468a03154daa316091eefdd
6+
sourceBlobDigest: sha256:275db019e800ca2644dd66201d8dc33648dcf5a2bd807a3b52c6c78675f8be2e
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1750931286
10-
- 10.18.0
9+
- speakeasy-sdk-regen-1751018991
10+
- 10.18.1
1111
targets:
1212
apideck:
1313
source: Apideck-OAS
1414
sourceNamespace: apideck-oas
15-
sourceRevisionDigest: sha256:5366e26abe22052f1c62cf28022652257de5d6ee8012492a17e6d93d8f544897
16-
sourceBlobDigest: sha256:81651792afd1e134bbeb982e71cd4b435c32ef3a517799b0e0243c6434163311
15+
sourceRevisionDigest: sha256:4e5ea980efa2d844788144660b93b76802a197d99468a03154daa316091eefdd
16+
sourceBlobDigest: sha256:275db019e800ca2644dd66201d8dc33648dcf5a2bd807a3b52c6c78675f8be2e
1717
codeSamplesNamespace: apideck-oas-java-code-samples
18-
codeSamplesRevisionDigest: sha256:9c7b9603bdc508122c5624afc41a2870b244ad3933a8563089b16ea16bc3f3ce
18+
codeSamplesRevisionDigest: sha256:b1525a6d983818787567be56dcb71c183ae6d93dc0d4717ac12ccdaa2ac4456d
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ The samples below show how a published SDK artifact is used:
4747

4848
Gradle:
4949
```groovy
50-
implementation 'com.apideck:unify:0.16.0'
50+
implementation 'com.apideck:unify:0.17.0'
5151
```
5252

5353
Maven:
5454
```xml
5555
<dependency>
5656
<groupId>com.apideck</groupId>
5757
<artifactId>unify</artifactId>
58-
<version>0.16.0</version>
58+
<version>0.17.0</version>
5959
</dependency>
6060
```
6161

@@ -76,10 +76,10 @@ gradlew.bat publishToMavenLocal -Pskip.signing
7676
### Logging
7777
A logging framework/facade has not yet been adopted but is under consideration.
7878

79-
For request and response logging (especially json bodies), call `enableHTTPDebugLogging()` on the SDK builder like so:
79+
For request and response logging (especially json bodies), call `enableHTTPDebugLogging(boolean)` on the SDK builder like so:
8080
```java
8181
SDK.builder()
82-
.enableHTTPDebugLogging()
82+
.enableHTTPDebugLogging(true)
8383
.build();
8484
```
8585
Example output:
@@ -124,7 +124,7 @@ public class Application {
124124
Apideck sdk = Apideck.builder()
125125
.consumerId("test-consumer")
126126
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
127-
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
127+
.apiKey(System.getenv().getOrDefault("API_KEY", ""))
128128
.build();
129129

130130
AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
@@ -751,7 +751,7 @@ public class Application {
751751
Apideck sdk = Apideck.builder()
752752
.consumerId("test-consumer")
753753
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
754-
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
754+
.apiKey(System.getenv().getOrDefault("API_KEY", ""))
755755
.build();
756756

757757
AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
@@ -819,7 +819,7 @@ public class Application {
819819
Apideck sdk = Apideck.builder()
820820
.consumerId("test-consumer")
821821
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
822-
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
822+
.apiKey(System.getenv().getOrDefault("API_KEY", ""))
823823
.build();
824824

825825
AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
@@ -889,7 +889,7 @@ public class Application {
889889
.build())
890890
.consumerId("test-consumer")
891891
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
892-
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
892+
.apiKey(System.getenv().getOrDefault("API_KEY", ""))
893893
.build();
894894

895895
AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
@@ -954,7 +954,7 @@ public class Application {
954954
Apideck sdk = Apideck.builder()
955955
.consumerId("test-consumer")
956956
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
957-
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
957+
.apiKey(System.getenv().getOrDefault("API_KEY", ""))
958958
.build();
959959

960960
AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
@@ -1008,7 +1008,7 @@ public class Application {
10081008
.serverURL("https://unify.apideck.com")
10091009
.consumerId("test-consumer")
10101010
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
1011-
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
1011+
.apiKey(System.getenv().getOrDefault("API_KEY", ""))
10121012
.build();
10131013

10141014
AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
@@ -1057,7 +1057,7 @@ public class Application {
10571057
Apideck sdk = Apideck.builder()
10581058
.consumerId("test-consumer")
10591059
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
1060-
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
1060+
.apiKey(System.getenv().getOrDefault("API_KEY", ""))
10611061
.build();
10621062

10631063
AccountingAttachmentsUploadRequest req = AccountingAttachmentsUploadRequest.builder()
@@ -1109,7 +1109,7 @@ public class Application {
11091109
public static void main(String[] args) throws BadRequestResponse, UnauthorizedResponse, PaymentRequiredResponse, NotFoundResponse, UnprocessableResponse, Exception {
11101110

11111111
Apideck sdk = Apideck.builder()
1112-
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
1112+
.apiKey(System.getenv().getOrDefault("API_KEY", ""))
11131113
.consumerId("test-consumer")
11141114
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
11151115
.build();

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,4 +348,14 @@ Based on:
348348
### Generated
349349
- [java v0.16.0] .
350350
### Releases
351-
- [Maven Central v0.16.0] https://central.sonatype.com/artifact/com.apideck/unify/0.16.0 - .
351+
- [Maven Central v0.16.0] https://central.sonatype.com/artifact/com.apideck/unify/0.16.0 - .
352+
353+
## 2025-07-09 00:13:35
354+
### Changes
355+
Based on:
356+
- OpenAPI Doc
357+
- Speakeasy CLI 1.580.0 (2.654.2) https://github.com/speakeasy-api/speakeasy
358+
### Generated
359+
- [java v0.17.0] .
360+
### Releases
361+
- [Maven Central v0.17.0] https://central.sonatype.com/artifact/com.apideck/unify/0.17.0 - .

USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class Application {
1717
Apideck sdk = Apideck.builder()
1818
.consumerId("test-consumer")
1919
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
20-
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
20+
.apiKey(System.getenv().getOrDefault("API_KEY", ""))
2121
.build();
2222

2323
AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()

build.gradle

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ repositories {
2727
}
2828

2929
java {
30-
sourceCompatibility = JavaVersion.VERSION_11
31-
targetCompatibility = JavaVersion.VERSION_11
3230
withSourcesJar()
3331
withJavadocJar()
3432
}
@@ -65,6 +63,10 @@ tasks.withType(Javadoc) {
6563
options.addStringOption('Xdoclint:none', '-quiet')
6664
}
6765

66+
tasks.withType(JavaCompile).configureEach {
67+
options.release = 11
68+
}
69+
6870
sourcesJar {
6971
archiveBaseName = "${artifactId}"
7072
}
@@ -103,11 +105,15 @@ publishing {
103105
// https://github.com/gradle/gradle/issues/18619
104106
groupId = "com.apideck"
105107
artifactId = "unify"
106-
version = "0.16.0"
108+
version = "0.17.0"
107109

108110
from components.java
109111

110112
pom {
113+
properties = [
114+
'maven.compiler.source': '11',
115+
'maven.compiler.target': '11',
116+
]
111117
name = 'Apideck Java SDK'
112118
description = 'SDK enabling Java developers to easily integrate with the Apideck API.'
113119
url = 'https://github.com/apideck-libraries/sdk-java'
@@ -158,4 +164,4 @@ dependencies {
158164
implementation 'com.jayway.jsonpath:json-path:2.9.0'
159165
}
160166

161-
apply from: 'build-extras.gradle'
167+
apply from: 'build-extras.gradle'

docs/models/components/BankAccount.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
| `bsbNumber` | *JsonNullable\<String>* | :heavy_minus_sign: | A BSB is a 6 digit numeric code used for identifying the branch of an Australian or New Zealand bank or financial institution. | 062-001 |
1616
| `branchIdentifier` | *JsonNullable\<String>* | :heavy_minus_sign: | A branch identifier is a unique identifier for a branch of a bank or financial institution. | 001 |
1717
| `bankCode` | *JsonNullable\<String>* | :heavy_minus_sign: | A bank code is a code assigned by a central bank, a bank supervisory body or a Bankers Association in a country to all its licensed member banks or financial institutions. | BNH |
18-
| `currency` | [JsonNullable\<Currency>](../../models/components/Currency.md) | :heavy_minus_sign: | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). | USD |
18+
| `currency` | [JsonNullable\<Currency>](../../models/components/Currency.md) | :heavy_minus_sign: | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). | USD |
19+
| `country` | *JsonNullable\<String>* | :heavy_minus_sign: | Country code according to ISO 3166-1 alpha-2. | US |

0 commit comments

Comments
 (0)