Skip to content

chore: 🐝 Update SDK - Generate SDK 1.0.0-beta.8 #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 4, 2025
Merged
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
167 changes: 162 additions & 5 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 @@ -18,7 +18,7 @@ generation:
oAuth2PasswordEnabled: false
sdkHooksConfigAccess: true
java:
version: 1.0.0-beta.7
version: 1.0.0-beta.8
additionalDependencies:
- testImplementation:org.junit.jupiter:junit-jupiter:5.10.0
- implementation:com.auth0:java-jwt:4.5.0
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.555.0
speakeasyVersion: 1.555.2
sources:
Gr4vy:
sourceNamespace: openapi
Expand All @@ -9,11 +9,11 @@ sources:
- 1.0.0
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:8504a2ac7ffb0ee763800e6d50dafe18ff7b67e9093f798523270b6e8c7f5d62
sourceBlobDigest: sha256:b6ef58a6f8dda9b5163a34af28ce4ebe3a4f079dff0f0d734a2da9f714742a24
sourceRevisionDigest: sha256:8ee4f196bee9bb7ac2297c1865f961c5394e4118a0e74feec1bb9f9137b99504
sourceBlobDigest: sha256:bbf37bd476f9d17978dbed983ca325a3bc61bd1703c9888c7fbbc9a35abe1414
tags:
- latest
- speakeasy-sdk-regen-1748963300
- speakeasy-sdk-regen-1749027924
- 1.0.0
targets:
gr-4-vy:
Expand All @@ -26,10 +26,10 @@ targets:
java:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:8504a2ac7ffb0ee763800e6d50dafe18ff7b67e9093f798523270b6e8c7f5d62
sourceBlobDigest: sha256:b6ef58a6f8dda9b5163a34af28ce4ebe3a4f079dff0f0d734a2da9f714742a24
sourceRevisionDigest: sha256:8ee4f196bee9bb7ac2297c1865f961c5394e4118a0e74feec1bb9f9137b99504
sourceBlobDigest: sha256:bbf37bd476f9d17978dbed983ca325a3bc61bd1703c9888c7fbbc9a35abe1414
codeSamplesNamespace: openapi-java-code-samples
codeSamplesRevisionDigest: sha256:f9b9fa5877c77975eac6f4a5fc55a28455053aa9752ccc1b79b0f0c284908ec9
codeSamplesRevisionDigest: sha256:dd03b1de57b4f1255a4a7ce668d92adf247960f509c5dadc47198860a7eecc75
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.gr4vy:sdk:1.0.0-beta.7'
implementation 'com.gr4vy:sdk:1.0.0-beta.8'
```

Maven:
```xml
<dependency>
<groupId>com.gr4vy</groupId>
<artifactId>sdk</artifactId>
<version>1.0.0-beta.7</version>
<version>1.0.0-beta.8</version>
</dependency>
```

Expand Down Expand Up @@ -331,6 +331,13 @@ try {
* [get](docs/sdks/merchantaccounts/README.md#get) - Get a merchant account
* [update](docs/sdks/merchantaccounts/README.md#update) - Update a merchant account

### [paymentLinks()](docs/sdks/paymentlinks/README.md)

* [create](docs/sdks/paymentlinks/README.md#create) - Add a payment link
* [list](docs/sdks/paymentlinks/README.md#list) - List all payment links
* [expire](docs/sdks/paymentlinks/README.md#expire) - Expire a payment link
* [get](docs/sdks/paymentlinks/README.md#get) - Get payment link

### [paymentMethods()](docs/sdks/paymentmethods/README.md)

* [list](docs/sdks/paymentmethods/README.md#list) - List all payment methods
Expand Down Expand Up @@ -450,10 +457,14 @@ public class Application {
public static void main(String[] args) throws Exception {

Gr4vy sdk = Gr4vy.builder()
.merchantAccountId("default")
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
.build();

ListBuyersRequest req = ListBuyersRequest.builder()
.cursor("ZXhhbXBsZTE")
.search("John")
.externalIdentifier("buyer-12345")
.build();

sdk.buyers().list()
Expand Down Expand Up @@ -490,10 +501,14 @@ public class Application {
public static void main(String[] args) throws Exception {

Gr4vy sdk = Gr4vy.builder()
.merchantAccountId("default")
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
.build();

ListBuyersRequest req = ListBuyersRequest.builder()
.cursor("ZXhhbXBsZTE")
.search("John")
.externalIdentifier("buyer-12345")
.build();

sdk.buyers().list()
Expand Down Expand Up @@ -544,10 +559,14 @@ public class Application {
.retryConnectError(false)
.build())
.build())
.merchantAccountId("default")
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
.build();

ListBuyersRequest req = ListBuyersRequest.builder()
.cursor("ZXhhbXBsZTE")
.search("John")
.externalIdentifier("buyer-12345")
.build();

sdk.buyers().list()
Expand Down Expand Up @@ -602,6 +621,7 @@ public class Application {
public static void main(String[] args) throws Exception {

Gr4vy sdk = Gr4vy.builder()
.merchantAccountId("default")
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
.build();

Expand Down Expand Up @@ -658,6 +678,7 @@ public class Application {
Gr4vy sdk = Gr4vy.builder()
.server(Gr4vy.AvailableServers.SANDBOX)
.id("<id>")
.merchantAccountId("default")
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
.build();

Expand Down Expand Up @@ -695,6 +716,7 @@ public class Application {

Gr4vy sdk = Gr4vy.builder()
.serverURL("https://api.example.gr4vy.app")
.merchantAccountId("default")
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
.build();

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,14 @@ Based on:
### Generated
- [java v1.0.0-beta.7] .
### Releases
- [Maven Central v1.0.0-beta.7] https://central.sonatype.com/artifact/com.gr4vy/sdk/1.0.0-beta.7 - .
- [Maven Central v1.0.0-beta.7] https://central.sonatype.com/artifact/com.gr4vy/sdk/1.0.0-beta.7 - .

## 2025-06-04 09:05:07
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.555.2 (2.620.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v1.0.0-beta.8] .
### Releases
- [Maven Central v1.0.0-beta.8] https://central.sonatype.com/artifact/com.gr4vy/sdk/1.0.0-beta.8 - .
1 change: 1 addition & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class Application {
public static void main(String[] args) throws Exception {

Gr4vy sdk = Gr4vy.builder()
.merchantAccountId("default")
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
.build();

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ publishing {
// https://github.com/gradle/gradle/issues/18619
groupId = "com.gr4vy"
artifactId = "sdk"
version = "1.0.0-beta.7"
version = "1.0.0-beta.8"

from components.java

Expand Down
11 changes: 11 additions & 0 deletions docs/models/components/CollectionPaymentLink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# CollectionPaymentLink


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `items` | List\<[PaymentLink](../../models/components/PaymentLink.md)> | :heavy_check_mark: | A list of items returned for this request. | |
| `limit` | *Optional\<Long>* | :heavy_minus_sign: | The number of items for this page. | 20 |
| `nextCursor` | *JsonNullable\<String>* | :heavy_minus_sign: | The cursor pointing at the next page of items. | ZXhhbXBsZTE |
| `previousCursor` | *JsonNullable\<String>* | :heavy_minus_sign: | The cursor pointing at the previous page of items. | Xkjss7asS |
12 changes: 12 additions & 0 deletions docs/models/components/Locale.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Locale


## Values

| Name | Value |
| ------- | ------- |
| `EN` | en |
| `EN_GB` | en-GB |
| `PT` | pt |
| `PT_BR` | pt-BR |
| `ES` | es |
Loading