Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
97e8950
chore: update SDK settings
stainless-app[bot] Aug 10, 2026
d91fb26
codegen metadata
stainless-app[bot] Aug 10, 2026
be65cb5
codegen metadata
stainless-app[bot] Aug 10, 2026
e8dd549
feat(api): api update
stainless-app[bot] Aug 11, 2026
cf7c412
feat(api): api update
stainless-app[bot] Aug 11, 2026
6467103
codegen metadata
stainless-app[bot] Aug 11, 2026
9692c72
codegen metadata
stainless-app[bot] Aug 11, 2026
097cfec
feat(api): api update
stainless-app[bot] Aug 11, 2026
565c2f3
fix(docs): link the javadoc badge so the version stays current after …
stainless-app[bot] Aug 14, 2026
5e3cf0f
feat(api): api update
stainless-app[bot] Aug 14, 2026
267117f
codegen metadata
stainless-app[bot] Aug 17, 2026
a9d330b
chore(internal): codegen related update
stainless-app[bot] Aug 18, 2026
13701dd
codegen metadata
stainless-app[bot] Aug 19, 2026
63b44c4
codegen metadata
stainless-app[bot] Aug 19, 2026
2299c46
feat(api): manual updates
stainless-app[bot] Aug 19, 2026
88a8d12
feat(api): api update
stainless-app[bot] Aug 20, 2026
cc0ce4d
feat(api): api update
stainless-app[bot] Aug 20, 2026
f2f6b70
feat(api): api update
stainless-app[bot] Aug 20, 2026
39f3081
codegen metadata
stainless-app[bot] Aug 26, 2026
fffcc05
codegen metadata
stainless-app[bot] Aug 26, 2026
9b256ab
codegen metadata
stainless-app[bot] Aug 26, 2026
331171f
feat(api): api update
stainless-app[bot] Aug 29, 2026
b71003b
feat(api): api update
stainless-app[bot] Aug 31, 2026
757a6e7
release: 0.1.0
stainless-app[bot] Aug 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 41 additions & 0 deletions .github/workflows/publish-sonatype.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This workflow is triggered when a GitHub release is created.
# It can also be run manually to re-publish to Sonatype in case it failed for some reason.
# You can run this workflow by navigating to https://www.github.com/zavudev/sdk-java/actions/workflows/publish-sonatype.yml
name: Publish Sonatype
on:
workflow_dispatch:

release:
types: [published]

jobs:
publish:
name: publish
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Java
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: temurin
java-version: |
8
21
cache: gradle

- name: Set up Gradle
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0

- name: Publish to Sonatype
run: |-
export -- GPG_SIGNING_KEY_ID
printenv -- GPG_SIGNING_KEY | gpg --batch --passphrase-fd 3 --import 3<<< "$GPG_SIGNING_PASSWORD"
GPG_SIGNING_KEY_ID="$(gpg --with-colons --list-keys | awk -F : -- '/^pub:/ { getline; print "0x" substr($10, length($10) - 7) }')"
./gradlew publish --no-configuration-cache
env:
SONATYPE_USERNAME: ${{ secrets.ZAVUDEV_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.ZAVUDEV_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }}
GPG_SIGNING_KEY: ${{ secrets.ZAVUDEV_SONATYPE_GPG_SIGNING_KEY || secrets.GPG_SIGNING_KEY }}
GPG_SIGNING_PASSWORD: ${{ secrets.ZAVUDEV_SONATYPE_GPG_SIGNING_PASSWORD || secrets.GPG_SIGNING_PASSWORD }}
24 changes: 24 additions & 0 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release Doctor
on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
if: github.repository == 'zavudev/sdk-java' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Check release environment
run: |
bash ./bin/check-release-environment
env:
SONATYPE_USERNAME: ${{ secrets.ZAVUDEV_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.ZAVUDEV_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }}
GPG_SIGNING_KEY: ${{ secrets.ZAVUDEV_SONATYPE_GPG_SIGNING_KEY || secrets.GPG_SIGNING_KEY }}
GPG_SIGNING_PASSWORD: ${{ secrets.ZAVUDEV_SONATYPE_GPG_SIGNING_PASSWORD || secrets.GPG_SIGNING_PASSWORD }}
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.1.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 138
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/zavu/zavudev-fa2ec1f359f9ed18ba4e00d8d1edb2a10a50c02b4efd9f20736cedbefb39cc47.yml
openapi_spec_hash: 6b119a3213e324f3826453deca57f10b
config_hash: d5d02dfde2ea057fdcf5b26e3a921f7a
configured_endpoints: 183
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/zavu/zavudev-fc96dae99e9649b4cfb99002b7dfee6480114b8dda4ff136541533c9c9069118.yml
openapi_spec_hash: 3c2c8da8c73cdd7e656b7f2c06cc01b4
config_hash: 261e1b852ca7f8364e4a283a3edd350a
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Changelog

## 0.1.0 (2026-08-31)

Full Changelog: [v0.0.1...v0.1.0](https://github.com/zavudev/sdk-java/compare/v0.0.1...v0.1.0)

### Features

* **api:** api update ([b71003b](https://github.com/zavudev/sdk-java/commit/b71003be390baf70bb60e2c5692d0c7a2789acab))
* **api:** api update ([331171f](https://github.com/zavudev/sdk-java/commit/331171f3c7fb8fba3c39663fadc8381283aa9de0))
* **api:** api update ([f2f6b70](https://github.com/zavudev/sdk-java/commit/f2f6b7012c693ffbea5e1050451393279033ba98))
* **api:** api update ([cc0ce4d](https://github.com/zavudev/sdk-java/commit/cc0ce4dadf0b72694a509e03591a5663aa2190e9))
* **api:** api update ([88a8d12](https://github.com/zavudev/sdk-java/commit/88a8d12250ab108356b560b5e529b3c43da5e451))
* **api:** api update ([5e3cf0f](https://github.com/zavudev/sdk-java/commit/5e3cf0f493d13c979c52a426e845d6713401601d))
* **api:** api update ([097cfec](https://github.com/zavudev/sdk-java/commit/097cfec6842059736cb8e46fa21cfcfb85485867))
* **api:** api update ([cf7c412](https://github.com/zavudev/sdk-java/commit/cf7c41255bc4ad349e9111c1abbde0b72a60539f))
* **api:** api update ([e8dd549](https://github.com/zavudev/sdk-java/commit/e8dd549d4143f5b52c9382e556e13df063a596cc))
* **api:** manual updates ([2299c46](https://github.com/zavudev/sdk-java/commit/2299c467566b3c253997cfdf40486c7215e24d02))


### Bug Fixes

* **docs:** link the javadoc badge so the version stays current after release ([565c2f3](https://github.com/zavudev/sdk-java/commit/565c2f36ad9cb5b2b66e0681938781d45c2f9cda))


### Chores

* configure new SDK language ([ddad6b8](https://github.com/zavudev/sdk-java/commit/ddad6b81b9625c9e4afa635d3768ac15095e2dd7))
* **internal:** codegen related update ([a9d330b](https://github.com/zavudev/sdk-java/commit/a9d330b32f9f8fafb135ea832219f65f119c69ec))
* update SDK settings ([97e8950](https://github.com/zavudev/sdk-java/commit/97e8950d08e11209793497c6b202276c53f0f763))
24 changes: 18 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Zavudev Java API Library

[![Maven Central](https://img.shields.io/maven-central/v/com.zavudev.api/zavudev-java)](https://central.sonatype.com/artifact/com.zavudev.api/zavudev-java/0.0.1)
[![javadoc](https://javadoc.io/badge2/com.zavudev.api/zavudev-java/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.zavudev.api/zavudev-java/0.0.1)
<!-- x-release-please-start-version -->

[![Maven Central](https://img.shields.io/maven-central/v/com.zavudev.api/zavudev-java)](https://central.sonatype.com/artifact/com.zavudev.api/zavudev-java/0.1.0)
[![javadoc](https://javadoc.io/badge2/com.zavudev.api/zavudev-java/javadoc.svg)](https://javadoc.io/doc/com.zavudev.api/zavudev-java/0.1.0)

<!-- x-release-please-end -->

The Zavudev Java SDK provides convenient access to the [Zavudev REST API](https://docs.zavu.dev) from applications written in Java.

Expand All @@ -16,14 +20,20 @@ Use the Zavudev MCP Server to enable AI assistants to interact with this API, al

> Note: You may need to set environment variables in your MCP client.

The REST API documentation can be found on [docs.zavu.dev](https://docs.zavu.dev). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.zavudev.api/zavudev-java/0.0.1).
<!-- x-release-please-start-version -->

The REST API documentation can be found on [docs.zavu.dev](https://docs.zavu.dev). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.zavudev.api/zavudev-java/0.1.0).

<!-- x-release-please-end -->

## Installation

<!-- x-release-please-start-version -->

### Gradle

```kotlin
implementation("com.zavudev.api:zavudev-java:0.0.1")
implementation("com.zavudev.api:zavudev-java:0.1.0")
```

### Maven
Expand All @@ -32,10 +42,12 @@ implementation("com.zavudev.api:zavudev-java:0.0.1")
<dependency>
<groupId>com.zavudev.api</groupId>
<artifactId>zavudev-java</artifactId>
<version>0.0.1</version>
<version>0.1.0</version>
</dependency>
```

<!-- x-release-please-end -->

## Requirements

This library requires Java 8 or later.
Expand Down Expand Up @@ -781,4 +793,4 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con

We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.

We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/zavudev-java/issues) with questions, bugs, or suggestions.
We are keen for your feedback; please open an [issue](https://www.github.com/zavudev/sdk-java/issues) with questions, bugs, or suggestions.
33 changes: 33 additions & 0 deletions bin/check-release-environment
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/usr/bin/env bash

errors=()

if [ -z "${SONATYPE_USERNAME}" ]; then
errors+=("The SONATYPE_USERNAME secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi

if [ -z "${SONATYPE_PASSWORD}" ]; then
errors+=("The SONATYPE_PASSWORD secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi

if [ -z "${GPG_SIGNING_KEY}" ]; then
errors+=("The GPG_SIGNING_KEY secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi

if [ -z "${GPG_SIGNING_PASSWORD}" ]; then
errors+=("The GPG_SIGNING_PASSWORD secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi

lenErrors=${#errors[@]}

if [[ lenErrors -gt 0 ]]; then
echo -e "Found the following errors in the release environment:\n"

for error in "${errors[@]}"; do
echo -e "- $error\n"
done

exit 1
fi

echo "The environment is ready to push releases!"
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {

allprojects {
group = "com.zavudev.api"
version = "0.0.1"
version = "0.1.0" // x-release-please-version
}

subprojects {
Expand Down
6 changes: 3 additions & 3 deletions buildSrc/src/main/kotlin/zavudev.publish.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ configure<PublishingExtension> {
}

scm {
connection.set("scm:git:git://github.com/stainless-sdks/zavudev-java.git")
developerConnection.set("scm:git:git://github.com/stainless-sdks/zavudev-java.git")
url.set("https://github.com/stainless-sdks/zavudev-java")
connection.set("scm:git:git://github.com/zavudev/sdk-java.git")
developerConnection.set("scm:git:git://github.com/zavudev/sdk-java.git")
url.set("https://github.com/zavudev/sdk-java")
}

versionMapping {
Expand Down
67 changes: 67 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"packages": {
".": {}
},
"$schema": "https://raw.githubusercontent.com/stainless-api/release-please/main/schemas/config.json",
"include-v-in-tag": true,
"include-component-in-tag": false,
"versioning": "prerelease",
"prerelease": true,
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": false,
"pull-request-header": "Automated Release PR",
"pull-request-title-pattern": "release: ${version}",
"changelog-sections": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "revert",
"section": "Reverts"
},
{
"type": "chore",
"section": "Chores"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "style",
"section": "Styles"
},
{
"type": "refactor",
"section": "Refactors"
},
{
"type": "test",
"section": "Tests",
"hidden": true
},
{
"type": "build",
"section": "Build System"
},
{
"type": "ci",
"section": "Continuous Integration",
"hidden": true
}
],
"release-type": "simple",
"extra-files": [
"README.md",
"build.gradle.kts"
]
}
1 change: 1 addition & 0 deletions zavudev-java-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ dependencies {
testImplementation("org.mockito:mockito-core:5.14.2")
testImplementation("org.mockito:mockito-junit-jupiter:5.14.2")
testImplementation("org.mockito.kotlin:mockito-kotlin:4.1.0")
testImplementation("org.slf4j:slf4j-nop:1.7.36")
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ package com.zavudev.api.client

import com.zavudev.api.core.ClientOptions
import com.zavudev.api.services.blocking.AddressService
import com.zavudev.api.services.blocking.AgentService
import com.zavudev.api.services.blocking.AgentTemplateService
import com.zavudev.api.services.blocking.BalanceService
import com.zavudev.api.services.blocking.BroadcastService
import com.zavudev.api.services.blocking.CallService
import com.zavudev.api.services.blocking.ContactService
import com.zavudev.api.services.blocking.ConversationService
import com.zavudev.api.services.blocking.EmailDomainService
import com.zavudev.api.services.blocking.FunctionService
import com.zavudev.api.services.blocking.IntrospectService
import com.zavudev.api.services.blocking.InvitationService
Expand Down Expand Up @@ -89,6 +94,16 @@ interface ZavudevClient {

fun functions(): FunctionService

fun conversations(): ConversationService

fun calls(): CallService

fun agentTemplates(): AgentTemplateService

fun emailDomains(): EmailDomainService

fun agents(): AgentService

/**
* Closes this client, relinquishing any underlying resources.
*
Expand Down Expand Up @@ -143,5 +158,15 @@ interface ZavudevClient {
fun me(): MeService.WithRawResponse

fun functions(): FunctionService.WithRawResponse

fun conversations(): ConversationService.WithRawResponse

fun calls(): CallService.WithRawResponse

fun agentTemplates(): AgentTemplateService.WithRawResponse

fun emailDomains(): EmailDomainService.WithRawResponse

fun agents(): AgentService.WithRawResponse
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ package com.zavudev.api.client

import com.zavudev.api.core.ClientOptions
import com.zavudev.api.services.async.AddressServiceAsync
import com.zavudev.api.services.async.AgentServiceAsync
import com.zavudev.api.services.async.AgentTemplateServiceAsync
import com.zavudev.api.services.async.BalanceServiceAsync
import com.zavudev.api.services.async.BroadcastServiceAsync
import com.zavudev.api.services.async.CallServiceAsync
import com.zavudev.api.services.async.ContactServiceAsync
import com.zavudev.api.services.async.ConversationServiceAsync
import com.zavudev.api.services.async.EmailDomainServiceAsync
import com.zavudev.api.services.async.FunctionServiceAsync
import com.zavudev.api.services.async.IntrospectServiceAsync
import com.zavudev.api.services.async.InvitationServiceAsync
Expand Down Expand Up @@ -89,6 +94,16 @@ interface ZavudevClientAsync {

fun functions(): FunctionServiceAsync

fun conversations(): ConversationServiceAsync

fun calls(): CallServiceAsync

fun agentTemplates(): AgentTemplateServiceAsync

fun emailDomains(): EmailDomainServiceAsync

fun agents(): AgentServiceAsync

/**
* Closes this client, relinquishing any underlying resources.
*
Expand Down Expand Up @@ -147,5 +162,15 @@ interface ZavudevClientAsync {
fun me(): MeServiceAsync.WithRawResponse

fun functions(): FunctionServiceAsync.WithRawResponse

fun conversations(): ConversationServiceAsync.WithRawResponse

fun calls(): CallServiceAsync.WithRawResponse

fun agentTemplates(): AgentTemplateServiceAsync.WithRawResponse

fun emailDomains(): EmailDomainServiceAsync.WithRawResponse

fun agents(): AgentServiceAsync.WithRawResponse
}
}
Loading
Loading