Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 56 additions & 40 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.31.10
version: 0.31.11
additionalDependencies: []
additionalPlugins: []
artifactID: unify
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.761.9
speakeasyVersion: 1.762.0
sources:
Apideck-OAS:
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:0a13bfd8dd214be2a1eb900f58d2137662875fc57ff002924d18083703687349
sourceBlobDigest: sha256:57267224b35a3b4d15da03db3a65b4c2535a827573b9c23e650ce6d1c35ea7b5
sourceRevisionDigest: sha256:1154e7d5351ccb31aebee32d619c6fa4e72ff2cd7ff4258ac38f6ce9b4f9091a
sourceBlobDigest: sha256:653c88543b86d3f0a0a8881de6cbb86e0219750a056a7dee1357a79192c69ec2
tags:
- latest
- 10.24.29
- 10.24.33
targets:
apideck:
source: Apideck-OAS
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:0a13bfd8dd214be2a1eb900f58d2137662875fc57ff002924d18083703687349
sourceBlobDigest: sha256:57267224b35a3b4d15da03db3a65b4c2535a827573b9c23e650ce6d1c35ea7b5
sourceRevisionDigest: sha256:1154e7d5351ccb31aebee32d619c6fa4e72ff2cd7ff4258ac38f6ce9b4f9091a
sourceBlobDigest: sha256:653c88543b86d3f0a0a8881de6cbb86e0219750a056a7dee1357a79192c69ec2
codeSamplesNamespace: apideck-oas-java-code-samples
codeSamplesRevisionDigest: sha256:a9f863479976146b5942dffeab0d695596909e85df008fe4826fd5b44adc8633
codeSamplesRevisionDigest: sha256:a08b969257a7806e8a1bb76b1882c9f517189ea74a40f52c712d5ed5da456110
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.apideck:unify:0.31.10'
implementation 'com.apideck:unify:0.31.11'
```

Maven:
```xml
<dependency>
<groupId>com.apideck</groupId>
<artifactId>unify</artifactId>
<version>0.31.10</version>
<version>0.31.11</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -838,4 +838,14 @@ Based on:
### Generated
- [java v0.31.10] .
### Releases
- [Maven Central v0.31.10] https://central.sonatype.com/artifact/com.apideck/unify/0.31.10 - .
- [Maven Central v0.31.10] https://central.sonatype.com/artifact/com.apideck/unify/0.31.10 - .

## 2026-05-10 00:33:31
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.762.0 (2.882.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.31.11] .
### Releases
- [Maven Central v0.31.11] https://central.sonatype.com/artifact/com.apideck/unify/0.31.11 - .
2 changes: 1 addition & 1 deletion docs/models/components/AccountingMethod.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AccountingMethod

The accounting method used for the report: cash or accrual.
The accounting basis used by the company for financial reports.

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/BalanceSheetFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
| `periodCount` | *Optional\<Long>* | :heavy_minus_sign: | The number of periods to include in the resource. | 3 |
| `periodType` | [Optional\<PeriodType>](../../models/components/PeriodType.md) | :heavy_minus_sign: | The type of period to include in the resource: month, quarter, year. | month |
| `locationId` | *Optional\<String>* | :heavy_minus_sign: | The ID of the location to include in the resource. | 123 |
| `accountingMethod` | [Optional\<AccountingMethod>](../../models/components/AccountingMethod.md) | :heavy_minus_sign: | The accounting method used for the report: cash or accrual. | accrual |
| `accountingMethod` | [Optional\<BalanceSheetFilterAccountingMethod>](../../models/components/BalanceSheetFilterAccountingMethod.md) | :heavy_minus_sign: | The accounting method used for the report: cash or accrual. | accrual |
22 changes: 22 additions & 0 deletions docs/models/components/BalanceSheetFilterAccountingMethod.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# BalanceSheetFilterAccountingMethod

The accounting method used for the report: cash or accrual.

## Example Usage

```java
import com.apideck.unify.models.components.BalanceSheetFilterAccountingMethod;

BalanceSheetFilterAccountingMethod value = BalanceSheetFilterAccountingMethod.CASH;

// Open enum: use .of() to create instances from custom string values
BalanceSheetFilterAccountingMethod custom = BalanceSheetFilterAccountingMethod.of("custom_value");
```


## Values

| Name | Value |
| --------- | --------- |
| `CASH` | cash |
| `ACCRUAL` | accrual |
1 change: 1 addition & 0 deletions docs/models/components/CompanyInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
| `customMappings` | Map\<String, *Object*> | :heavy_minus_sign: | When custom mappings are configured on the resource, the result is included here. | |
| `trackingCategoriesEnabled` | *Optional\<Boolean>* | :heavy_minus_sign: | Whether tracking categories are enabled for the company on transactions | |
| `trackingCategoriesMode` | [Optional\<TrackingCategoriesMode>](../../models/components/TrackingCategoriesMode.md) | :heavy_minus_sign: | The mode of tracking categories for the company on transactions | disabled |
| `accountingMethod` | [JsonNullable\<AccountingMethod>](../../models/components/AccountingMethod.md) | :heavy_minus_sign: | The accounting basis used by the company for financial reports. | accrual |
| `rowVersion` | *JsonNullable\<String>* | :heavy_minus_sign: | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | 1-12345 |
| `updatedBy` | *JsonNullable\<String>* | :heavy_minus_sign: | The user who last updated the object. | 12345 |
| `createdBy` | *JsonNullable\<String>* | :heavy_minus_sign: | The user who created the object. | 12345 |
Expand Down
17 changes: 9 additions & 8 deletions docs/models/components/ConnectionHealth.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ ConnectionHealth custom = ConnectionHealth.of("custom_value");

## Values

| Name | Value |
| ------------------ | ------------------ |
| `OK` | ok |
| `PENDING_REFRESH` | pending_refresh |
| `NEEDS_AUTH` | needs_auth |
| `NEEDS_CONSENT` | needs_consent |
| `REVOKED` | revoked |
| `MISSING_SETTINGS` | missing_settings |
| Name | Value |
| ---------------------- | ---------------------- |
| `OK` | ok |
| `PENDING_REFRESH` | pending_refresh |
| `NEEDS_AUTH` | needs_auth |
| `PENDING_CONFIRMATION` | pending_confirmation |
| `NEEDS_CONSENT` | needs_consent |
| `REVOKED` | revoked |
| `MISSING_SETTINGS` | missing_settings |
17 changes: 9 additions & 8 deletions docs/models/components/Health.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ Health custom = Health.of("custom_value");

## Values

| Name | Value |
| ------------------ | ------------------ |
| `REVOKED` | revoked |
| `MISSING_SETTINGS` | missing_settings |
| `NEEDS_CONSENT` | needs_consent |
| `NEEDS_AUTH` | needs_auth |
| `PENDING_REFRESH` | pending_refresh |
| `OK` | ok |
| Name | Value |
| ---------------------- | ---------------------- |
| `REVOKED` | revoked |
| `MISSING_SETTINGS` | missing_settings |
| `NEEDS_CONSENT` | needs_consent |
| `PENDING_CONFIRMATION` | pending_confirmation |
| `NEEDS_AUTH` | needs_auth |
| `PENDING_REFRESH` | pending_refresh |
| `OK` | ok |
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
groupId=com.apideck
artifactId=unify
version=0.31.10
version=0.31.11
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g
6 changes: 3 additions & 3 deletions src/main/java/com/apideck/unify/SDKConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
public class SDKConfiguration {

private static final String LANGUAGE = "java";
public static final String OPENAPI_DOC_VERSION = "10.24.29";
public static final String SDK_VERSION = "0.31.10";
public static final String GEN_VERSION = "2.881.4";
public static final String OPENAPI_DOC_VERSION = "10.24.33";
public static final String SDK_VERSION = "0.31.11";
public static final String GEN_VERSION = "2.882.0";
private static final String BASE_PACKAGE = "com.apideck.unify";
public static final String USER_AGENT =
String.format("speakeasy-sdk/%s %s %s %s %s",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* AccountingMethod
*
* <p>The accounting method used for the report: cash or accrual.
* <p>The accounting basis used by the company for financial reports.
*/
public class AccountingMethod {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class BalanceSheetFilter {
* The accounting method used for the report: cash or accrual.
*/
@SpeakeasyMetadata("queryParam:name=accounting_method")
private Optional<? extends AccountingMethod> accountingMethod;
private Optional<? extends BalanceSheetFilterAccountingMethod> accountingMethod;

@JsonCreator
public BalanceSheetFilter(
Expand All @@ -62,7 +62,7 @@ public BalanceSheetFilter(
Optional<Long> periodCount,
Optional<? extends PeriodType> periodType,
Optional<String> locationId,
Optional<? extends AccountingMethod> accountingMethod) {
Optional<? extends BalanceSheetFilterAccountingMethod> accountingMethod) {
Utils.checkNotNull(startDate, "startDate");
Utils.checkNotNull(endDate, "endDate");
Utils.checkNotNull(periodCount, "periodCount");
Expand Down Expand Up @@ -131,8 +131,8 @@ public Optional<String> locationId() {
*/
@SuppressWarnings("unchecked")
@JsonIgnore
public Optional<AccountingMethod> accountingMethod() {
return (Optional<AccountingMethod>) accountingMethod;
public Optional<BalanceSheetFilterAccountingMethod> accountingMethod() {
return (Optional<BalanceSheetFilterAccountingMethod>) accountingMethod;
}

public static Builder builder() {
Expand Down Expand Up @@ -244,7 +244,7 @@ public BalanceSheetFilter withLocationId(Optional<String> locationId) {
/**
* The accounting method used for the report: cash or accrual.
*/
public BalanceSheetFilter withAccountingMethod(AccountingMethod accountingMethod) {
public BalanceSheetFilter withAccountingMethod(BalanceSheetFilterAccountingMethod accountingMethod) {
Utils.checkNotNull(accountingMethod, "accountingMethod");
this.accountingMethod = Optional.ofNullable(accountingMethod);
return this;
Expand All @@ -254,7 +254,7 @@ public BalanceSheetFilter withAccountingMethod(AccountingMethod accountingMethod
/**
* The accounting method used for the report: cash or accrual.
*/
public BalanceSheetFilter withAccountingMethod(Optional<? extends AccountingMethod> accountingMethod) {
public BalanceSheetFilter withAccountingMethod(Optional<? extends BalanceSheetFilterAccountingMethod> accountingMethod) {
Utils.checkNotNull(accountingMethod, "accountingMethod");
this.accountingMethod = accountingMethod;
return this;
Expand Down Expand Up @@ -310,7 +310,7 @@ public final static class Builder {

private Optional<String> locationId = Optional.empty();

private Optional<? extends AccountingMethod> accountingMethod = Optional.empty();
private Optional<? extends BalanceSheetFilterAccountingMethod> accountingMethod = Optional.empty();

private Builder() {
// force use of static builder() method
Expand Down Expand Up @@ -421,7 +421,7 @@ public Builder locationId(Optional<String> locationId) {
/**
* The accounting method used for the report: cash or accrual.
*/
public Builder accountingMethod(AccountingMethod accountingMethod) {
public Builder accountingMethod(BalanceSheetFilterAccountingMethod accountingMethod) {
Utils.checkNotNull(accountingMethod, "accountingMethod");
this.accountingMethod = Optional.ofNullable(accountingMethod);
return this;
Expand All @@ -430,7 +430,7 @@ public Builder accountingMethod(AccountingMethod accountingMethod) {
/**
* The accounting method used for the report: cash or accrual.
*/
public Builder accountingMethod(Optional<? extends AccountingMethod> accountingMethod) {
public Builder accountingMethod(Optional<? extends BalanceSheetFilterAccountingMethod> accountingMethod) {
Utils.checkNotNull(accountingMethod, "accountingMethod");
this.accountingMethod = accountingMethod;
return this;
Expand Down
Loading