Skip to content

Commit ac00ea7

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.26.0 (#72)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.651.0 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent ece1266 commit ac00ea7

20 files changed

Lines changed: 99 additions & 103 deletions

.speakeasy/gen.lock

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 38254260-287a-40b6-9ac5-c2fcb654c9cc
33
management:
4-
docChecksum: 57b4bbe6a7692f54a6b642d0741788e2
5-
docVersion: 10.21.11
6-
speakeasyVersion: 1.650.0
7-
generationVersion: 2.743.2
8-
releaseVersion: 0.25.0
9-
configChecksum: 7be488eacb323108aa6306b268fa9155
4+
docChecksum: 37075682a3ec50b147e5d33dd5c7eeb9
5+
docVersion: 10.21.12
6+
speakeasyVersion: 1.651.0
7+
generationVersion: 2.745.2
8+
releaseVersion: 0.26.0
9+
configChecksum: 6c535fd3b5eecd15180e6251e31f31d3
1010
repoURL: https://github.com/apideck-libraries/sdk-java.git
1111
published: true
1212
features:
@@ -34,7 +34,7 @@ features:
3434
retries: 0.1.1
3535
sdkHooks: 1.1.0
3636
typeOverrides: 2.81.1
37-
unions: 0.0.6
37+
unions: 0.1.0
3838
uploadStreams: 0.1.0
3939
generatedFiles:
4040
- .gitattributes
@@ -20063,4 +20063,3 @@ examples:
2006320063
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": "Missing Header: x-apideck-consumer-id", "ref": "https://developers.apideck.com/errors#unauthorizederror"}
2006420064
examplesVersion: 1.0.2
2006520065
generatedTests: {}
20066-
releaseNotes: "## Java SDK Changes Detected:\n* `apideck.accounting.expenses.list()`: `response.data.[]` **Changed** **Breaking** :warning:\n* `apideck.accounting.expenses.update()`: \n * `request.expense` **Changed** **Breaking** :warning:\n* `apideck.accounting.expenses.get()`: `response.data` **Changed** **Breaking** :warning:\n* `apideck.accounting.expenses.create()`: \n * `request.expense` **Changed** **Breaking** :warning:\n* `apideck.accounting.creditNotes.create()`: \n * `request.creditNote` **Changed**\n* `apideck.accounting.journalEntries.update()`: \n * `request.journalEntry.lineItems.[]` **Changed**\n* `apideck.accounting.invoiceItems.create()`: \n * `request.invoiceItem` **Changed**\n* `apideck.accounting.invoiceItems.update()`: \n * `request.invoiceItem` **Changed**\n* `apideck.accounting.bills.create()`: \n * `request.bill.lineItems.[]` **Changed**\n* `apideck.accounting.creditNotes.update()`: \n * `request.creditNote` **Changed**\n* `apideck.accounting.customers.create()`: \n * `request.customer` **Changed**\n* `apideck.accounting.customers.update()`: \n * `request.customer` **Changed**\n* `apideck.accounting.suppliers.create()`: \n * `request.supplier` **Changed**\n* `apideck.accounting.suppliers.update()`: \n * `request.supplier` **Changed**\n* `apideck.accounting.payments.create()`: \n * `request.payment.account.name` **Added**\n* `apideck.accounting.payments.update()`: \n * `request.payment.account.name` **Added**\n* `apideck.accounting.journalEntries.create()`: \n * `request.journalEntry.lineItems.[]` **Changed**\n* `apideck.accounting.ledgerAccounts.update()`: \n * `request.ledgerAccount.taxRate.code` **Added**\n* `apideck.accounting.purchaseOrders.create()`: \n * `request.purchaseOrder.lineItems.[]` **Changed**\n* `apideck.accounting.purchaseOrders.update()`: \n * `request.purchaseOrder.lineItems.[]` **Changed**\n* `apideck.accounting.bankAccounts.create()`: \n * `request.accountingBankAccount.ledgerAccount.name` **Added**\n* `apideck.accounting.bankAccounts.update()`: \n * `request.accountingBankAccount.ledgerAccount.name` **Added**\n* `apideck.accounting.billPayments.create()`: \n * `request.billPayment.account.name` **Added**\n* `apideck.accounting.billPayments.update()`: \n * `request.billPayment.account.name` **Added**\n* `apideck.accounting.ledgerAccounts.create()`: \n * `request.ledgerAccount.taxRate.code` **Added**\n* `apideck.accounting.invoices.update()`: \n * `request.invoice.lineItems.[]` **Changed**\n* `apideck.accounting.invoices.create()`: \n * `request.invoice.lineItems.[]` **Changed**\n* `apideck.accounting.bills.update()`: \n * `request.bill.lineItems.[]` **Changed**\n* `apideck.accounting.quotes.create()`: \n * `request.quote.lineItems.[]` **Changed**\n* `apideck.accounting.quotes.update()`: \n * `request.quote.lineItems.[]` **Changed**\n* `apideck.accounting.projects.create()`: \n * `request.project.taxRate.code` **Added**\n* `apideck.accounting.projects.update()`: \n * `request.project.taxRate.code` **Added**\n"

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: false
2626
skipResponseBodyAssertions: false
2727
java:
28-
version: 0.25.0
28+
version: 0.26.0
2929
additionalDependencies: []
3030
additionalPlugins: []
3131
artifactID: unify
@@ -39,6 +39,7 @@ java:
3939
enableCustomCodeRegions: false
4040
enableStreamingUploads: false
4141
flattenGlobalSecurity: true
42+
generateOptionalUnionAccessors: false
4243
generateSpringBootStarter: true
4344
githubURL: github.com/apideck-libraries/sdk-java
4445
groupID: com.apideck

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.650.0
1+
speakeasyVersion: 1.651.0
22
sources:
33
Apideck-OAS:
44
sourceNamespace: apideck-oas
5-
sourceRevisionDigest: sha256:b31dca0e2abcc3e920ba36075604c6c51728ca7c98ff9376c34a8f0df0e3e61a
6-
sourceBlobDigest: sha256:430e9bfae78eb3fc88153280a823c2949f707f61de86c3167b498d6e738156e2
5+
sourceRevisionDigest: sha256:b39824351a1f49a40ef382ed58c815f739ec76004a439643b61592390e43d6b8
6+
sourceBlobDigest: sha256:c74c632e12d40ab996dcefd8b7ff49341c85e5e0ad24fe3a78fbdd6268f6bb54
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1762445118
10-
- 10.21.11
9+
- speakeasy-sdk-regen-1762767174
10+
- 10.21.12
1111
targets:
1212
apideck:
1313
source: Apideck-OAS
1414
sourceNamespace: apideck-oas
15-
sourceRevisionDigest: sha256:b31dca0e2abcc3e920ba36075604c6c51728ca7c98ff9376c34a8f0df0e3e61a
16-
sourceBlobDigest: sha256:430e9bfae78eb3fc88153280a823c2949f707f61de86c3167b498d6e738156e2
15+
sourceRevisionDigest: sha256:b39824351a1f49a40ef382ed58c815f739ec76004a439643b61592390e43d6b8
16+
sourceBlobDigest: sha256:c74c632e12d40ab996dcefd8b7ff49341c85e5e0ad24fe3a78fbdd6268f6bb54
1717
codeSamplesNamespace: apideck-oas-java-code-samples
18-
codeSamplesRevisionDigest: sha256:527cf84116c88a02c5a6a69368183d06e9ad2f4cce8f3d4f2431098d0a8d3506
18+
codeSamplesRevisionDigest: sha256:87d1440906760ecaa45da3429cd1d7335d152a1eb888f36b9f28c6edc311b793
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

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

5151
Gradle:
5252
```groovy
53-
implementation 'com.apideck:unify:0.25.0'
53+
implementation 'com.apideck:unify:0.26.0'
5454
```
5555

5656
Maven:
5757
```xml
5858
<dependency>
5959
<groupId>com.apideck</groupId>
6060
<artifactId>unify</artifactId>
61-
<version>0.25.0</version>
61+
<version>0.26.0</version>
6262
</dependency>
6363
```
6464

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,4 +538,14 @@ Based on:
538538
### Generated
539539
- [java v0.25.0] .
540540
### Releases
541-
- [Maven Central v0.25.0] https://central.sonatype.com/artifact/com.apideck/unify/0.25.0 - .
541+
- [Maven Central v0.25.0] https://central.sonatype.com/artifact/com.apideck/unify/0.25.0 - .
542+
543+
## 2025-11-10 09:32:30
544+
### Changes
545+
Based on:
546+
- OpenAPI Doc
547+
- Speakeasy CLI 1.651.0 (2.745.2) https://github.com/speakeasy-api/speakeasy
548+
### Generated
549+
- [java v0.26.0] .
550+
### Releases
551+
- [Maven Central v0.26.0] https://central.sonatype.com/artifact/com.apideck/unify/0.26.0 - .

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
groupId=com.apideck
22
artifactId=unify
3-
version=0.25.0
3+
version=0.26.0
44
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g

src/main/java/com/apideck/unify/SDKConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
public class SDKConfiguration {
2121

2222
private static final String LANGUAGE = "java";
23-
public static final String OPENAPI_DOC_VERSION = "10.21.11";
24-
public static final String SDK_VERSION = "0.25.0";
25-
public static final String GEN_VERSION = "2.743.2";
23+
public static final String OPENAPI_DOC_VERSION = "10.21.12";
24+
public static final String SDK_VERSION = "0.26.0";
25+
public static final String GEN_VERSION = "2.745.2";
2626
private static final String BASE_PACKAGE = "com.apideck.unify";
2727
public static final String USER_AGENT =
2828
String.format("speakeasy-sdk/%s %s %s %s %s",

src/main/java/com/apideck/unify/models/components/ConnectionValue.java

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,35 +23,32 @@
2323
public class ConnectionValue {
2424

2525
@JsonValue
26-
private TypedObject value;
26+
private final TypedObject value;
2727

2828
private ConnectionValue(TypedObject value) {
2929
this.value = value;
3030
}
3131

3232
public static ConnectionValue of(String value) {
3333
Utils.checkNotNull(value, "value");
34-
return new ConnectionValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<String>(){}));
34+
return new ConnectionValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>(){}));
3535
}
3636

3737
public static ConnectionValue of(long value) {
38-
Utils.checkNotNull(value, "value");
39-
return new ConnectionValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<java.lang.Long>(){}));
38+
return new ConnectionValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>(){}));
4039
}
4140

4241
public static ConnectionValue of(double value) {
43-
Utils.checkNotNull(value, "value");
44-
return new ConnectionValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<java.lang.Double>(){}));
42+
return new ConnectionValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>(){}));
4543
}
4644

4745
public static ConnectionValue of(boolean value) {
48-
Utils.checkNotNull(value, "value");
49-
return new ConnectionValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<java.lang.Boolean>(){}));
46+
return new ConnectionValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>(){}));
5047
}
5148

5249
public static ConnectionValue of(List<ConnectionValue5> value) {
5350
Utils.checkNotNull(value, "value");
54-
return new ConnectionValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<List<ConnectionValue5>>(){}));
51+
return new ConnectionValue(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>(){}));
5552
}
5653

5754
/**
@@ -77,7 +74,7 @@ public static ConnectionValue of(List<ConnectionValue5> value) {
7774
**/
7875
public java.lang.Object value() {
7976
return value.value();
80-
}
77+
}
8178

8279
@Override
8380
public boolean equals(java.lang.Object o) {

src/main/java/com/apideck/unify/models/components/ConnectionValue5.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,23 @@
2121
public class ConnectionValue5 {
2222

2323
@JsonValue
24-
private TypedObject value;
24+
private final TypedObject value;
2525

2626
private ConnectionValue5(TypedObject value) {
2727
this.value = value;
2828
}
2929

3030
public static ConnectionValue5 of(String value) {
3131
Utils.checkNotNull(value, "value");
32-
return new ConnectionValue5(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<String>(){}));
32+
return new ConnectionValue5(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>(){}));
3333
}
3434

3535
public static ConnectionValue5 of(long value) {
36-
Utils.checkNotNull(value, "value");
37-
return new ConnectionValue5(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<java.lang.Long>(){}));
36+
return new ConnectionValue5(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>(){}));
3837
}
3938

4039
public static ConnectionValue5 of(double value) {
41-
Utils.checkNotNull(value, "value");
42-
return new ConnectionValue5(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<java.lang.Double>(){}));
40+
return new ConnectionValue5(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>(){}));
4341
}
4442

4543
/**
@@ -63,7 +61,7 @@ public static ConnectionValue5 of(double value) {
6361
**/
6462
public java.lang.Object value() {
6563
return value.value();
66-
}
64+
}
6765

6866
@Override
6967
public boolean equals(java.lang.Object o) {

src/main/java/com/apideck/unify/models/components/DataScopesResources.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@
2525
public class DataScopesResources {
2626

2727
@JsonValue
28-
private TypedObject value;
28+
private final TypedObject value;
2929

3030
private DataScopesResources(TypedObject value) {
3131
this.value = value;
3232
}
3333

3434
public static DataScopesResources of(Map<String, Map<String, DataScopesResources1>> value) {
3535
Utils.checkNotNull(value, "value");
36-
return new DataScopesResources(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<Map<String, Map<String, DataScopesResources1>>>(){}));
36+
return new DataScopesResources(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>(){}));
3737
}
3838

3939
public static DataScopesResources of(DataScopesResources2 value) {
4040
Utils.checkNotNull(value, "value");
41-
return new DataScopesResources(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<DataScopesResources2>(){}));
41+
return new DataScopesResources(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference<>(){}));
4242
}
4343

4444
/**
@@ -61,7 +61,7 @@ public static DataScopesResources of(DataScopesResources2 value) {
6161
**/
6262
public java.lang.Object value() {
6363
return value.value();
64-
}
64+
}
6565

6666
@Override
6767
public boolean equals(java.lang.Object o) {

0 commit comments

Comments
 (0)