Skip to content

Commit d959e1f

Browse files
authored
Merge pull request #39 from apideck-libraries/speakeasy-sdk-regen-1744101388
chore: 🐝 Update SDK - Generate 0.12.0
2 parents af8a6d7 + 6d90b1c commit d959e1f

91 files changed

Lines changed: 2248 additions & 1083 deletions

File tree

Some content is hidden

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

.speakeasy/gen.lock

Lines changed: 34 additions & 32 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: true
1717
java:
18-
version: 0.11.0
18+
version: 0.12.0
1919
additionalDependencies: []
2020
additionalPlugins: []
2121
artifactID: unify

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.529.1
1+
speakeasyVersion: 1.531.3
22
sources:
33
Apideck-OAS:
44
sourceNamespace: apideck-oas
5-
sourceRevisionDigest: sha256:241cc5b89739fda8892ea9cff482c3de98ce79fdb2d5a8f86fa6e91bec06b1b5
6-
sourceBlobDigest: sha256:129f9bc0d8b29efd7db3b87ac4fe87de06d8bc3060a12340799861913382fe05
5+
sourceRevisionDigest: sha256:9a88ad9c69526bc503228c030d431471914fd0e4bd1098eac1a0d15038a20836
6+
sourceBlobDigest: sha256:f9c5f9f9bcd74daced54528fe07e4457ed5260d78d8dcd991035592dac57bb90
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1743420870
10-
- 10.14.1
9+
- speakeasy-sdk-regen-1744101388
10+
- 10.15.2
1111
targets:
1212
apideck:
1313
source: Apideck-OAS
1414
sourceNamespace: apideck-oas
15-
sourceRevisionDigest: sha256:241cc5b89739fda8892ea9cff482c3de98ce79fdb2d5a8f86fa6e91bec06b1b5
16-
sourceBlobDigest: sha256:129f9bc0d8b29efd7db3b87ac4fe87de06d8bc3060a12340799861913382fe05
15+
sourceRevisionDigest: sha256:9a88ad9c69526bc503228c030d431471914fd0e4bd1098eac1a0d15038a20836
16+
sourceBlobDigest: sha256:f9c5f9f9bcd74daced54528fe07e4457ed5260d78d8dcd991035592dac57bb90
1717
codeSamplesNamespace: apideck-oas-java-code-samples
18-
codeSamplesRevisionDigest: sha256:5ef1d9fa7b5c1af8533153853ab64131802edf2f6024746b7c7f7bd242324ec0
18+
codeSamplesRevisionDigest: sha256:308162c705baf8101d29fa23455bee51e8ab1fd35993683baadcfe98c1b8ce86
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 25 additions & 2 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.11.0'
50+
implementation 'com.apideck:unify:0.12.0'
5151
```
5252

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

@@ -72,6 +72,29 @@ On Windows:
7272
```bash
7373
gradlew.bat publishToMavenLocal -Pskip.signing
7474
```
75+
76+
### Logging
77+
A logging framework/facade has not yet been adopted but is under consideration.
78+
79+
For request and response logging (especially json bodies) use:
80+
```java
81+
SpeakeasyHTTPClient.setDebugLogging(true); // experimental API only (may change without warning)
82+
```
83+
Example output:
84+
```
85+
Sending request: http://localhost:35123/bearer#global GET
86+
Request headers: {Accept=[application/json], Authorization=[******], Client-Level-Header=[added by client], Idempotency-Key=[some-key], x-speakeasy-user-agent=[speakeasy-sdk/java 0.0.1 internal 0.1.0 org.openapis.openapi]}
87+
Received response: (GET http://localhost:35123/bearer#global) 200
88+
Response headers: {access-control-allow-credentials=[true], access-control-allow-origin=[*], connection=[keep-alive], content-length=[50], content-type=[application/json], date=[Wed, 09 Apr 2025 01:43:29 GMT], server=[gunicorn/19.9.0]}
89+
Response body:
90+
{
91+
"authenticated": true,
92+
"token": "global"
93+
}
94+
```
95+
WARNING: This should only used for temporary debugging purposes. Leaving this option on in a production system could expose credentials/secrets in logs. <i>Authorization</i> headers are redacted by default and there is the ability to specify redacted header names via `SpeakeasyHTTPClient.setRedactedHeaders`.
96+
97+
Another option is to set the System property `-Djdk.httpclient.HttpClient.log=all`. However, this second option does not log bodies.
7598
<!-- End SDK Installation [installation] -->
7699

77100
<!-- Start SDK Example Usage [usage] -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,14 @@ Based on:
238238
### Generated
239239
- [java v0.11.0] .
240240
### Releases
241-
- [Maven Central v0.11.0] https://central.sonatype.com/artifact/com.apideck/unify/0.11.0 - .
241+
- [Maven Central v0.11.0] https://central.sonatype.com/artifact/com.apideck/unify/0.11.0 - .
242+
243+
## 2025-04-11 14:35:22
244+
### Changes
245+
Based on:
246+
- OpenAPI Doc
247+
- Speakeasy CLI 1.531.3 (2.570.3) https://github.com/speakeasy-api/speakeasy
248+
### Generated
249+
- [java v0.12.0] .
250+
### Releases
251+
- [Maven Central v0.12.0] https://central.sonatype.com/artifact/com.apideck/unify/0.12.0 - .

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ publishing {
103103
// https://github.com/gradle/gradle/issues/18619
104104
groupId = "com.apideck"
105105
artifactId = "unify"
106-
version = "0.11.0"
106+
version = "0.12.0"
107107

108108
from components.java
109109

docs/models/components/Invoice.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
| `shippingAddress` | [Optional\<Address>](../../models/components/Address.md) | :heavy_minus_sign: | N/A | |
3838
| `templateId` | *JsonNullable\<String>* | :heavy_minus_sign: | Optional invoice template | 123456 |
3939
| `sourceDocumentUrl` | *JsonNullable\<String>* | :heavy_minus_sign: | URL link to a source document - shown as 'Go to [appName]' in the downstream app. Currently only supported for Xero. | https://www.invoicesolution.com/invoice/123456 |
40+
| `paymentAllocations` | List\<[PaymentAllocations](../../models/components/PaymentAllocations.md)> | :heavy_minus_sign: | IDs of payments made on the invoice | |
4041
| `paymentMethod` | *JsonNullable\<String>* | :heavy_minus_sign: | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | cash |
4142
| `channel` | *JsonNullable\<String>* | :heavy_minus_sign: | The channel through which the transaction is processed. | email |
4243
| `language` | *JsonNullable\<String>* | :heavy_minus_sign: | language code according to ISO 639-1. For the United States - EN | EN |

docs/models/components/InvoiceInput.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
| `shippingAddress` | [Optional\<Address>](../../models/components/Address.md) | :heavy_minus_sign: | N/A | |
3636
| `templateId` | *JsonNullable\<String>* | :heavy_minus_sign: | Optional invoice template | 123456 |
3737
| `sourceDocumentUrl` | *JsonNullable\<String>* | :heavy_minus_sign: | URL link to a source document - shown as 'Go to [appName]' in the downstream app. Currently only supported for Xero. | https://www.invoicesolution.com/invoice/123456 |
38+
| `paymentAllocations` | List\<[PaymentAllocations](../../models/components/PaymentAllocations.md)> | :heavy_minus_sign: | IDs of payments made on the invoice | |
3839
| `paymentMethod` | *JsonNullable\<String>* | :heavy_minus_sign: | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | cash |
3940
| `channel` | *JsonNullable\<String>* | :heavy_minus_sign: | The channel through which the transaction is processed. | email |
4041
| `language` | *JsonNullable\<String>* | :heavy_minus_sign: | language code according to ISO 639-1. For the United States - EN | EN |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# PaymentAllocations
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
8+
| `id` | *Optional\<String>* | :heavy_minus_sign: | ID of the payment | 123456 |
9+
| `allocatedAmount` | *JsonNullable\<Double>* | :heavy_minus_sign: | Amount of the payment allocated to the invoice | 1000 |
10+
| `date` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date of the payment | 2020-09-30T07:43:32.000Z |

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
groupId=com.apideck
22
artifactId=unify
3-
version=0.11.0
3+
version=0.12.0

0 commit comments

Comments
 (0)