Skip to content

chore: 🐝 Update SDK - Generate 0.13.1 #41

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
Apr 28, 2025
Merged
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
12 changes: 6 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 38254260-287a-40b6-9ac5-c2fcb654c9cc
management:
docChecksum: b5dc0244aa499b8adfc991da71055e1b
docVersion: 10.16.2
speakeasyVersion: 1.537.0
generationVersion: 2.588.0
releaseVersion: 0.13.0
configChecksum: d48bf19fcfafaec3f9160689e1a3b705
docChecksum: d8344cbf466dcd4f4f041d1b3cf57f83
docVersion: 10.16.4
speakeasyVersion: 1.540.0
generationVersion: 2.593.3
releaseVersion: 0.13.1
configChecksum: 90a356c8fc8d0af31cc860fde40a7f2f
repoURL: https://github.com/apideck-libraries/sdk-java.git
published: true
features:
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
java:
version: 0.13.0
version: 0.13.1
additionalDependencies: []
additionalPlugins: []
artifactID: unify
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.537.0
speakeasyVersion: 1.540.0
sources:
Apideck-OAS:
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:441e96cb7c893583bf576898c7e6362d69bb6696c90bca124195cc38b2eb83af
sourceBlobDigest: sha256:303c1acf7abc835f46d58b4a823c3bb3e537aae128b78352be572e712c7879f6
sourceRevisionDigest: sha256:9cc8ce639f2e9c19f6c2c7601a69786eb7f6da5b6e52241ea74596e7a203f58b
sourceBlobDigest: sha256:920cd0abb9aa343c591a899ed87ab62dacd719dd688374cc42f919f1ebab947c
tags:
- latest
- speakeasy-sdk-regen-1744725234
- 10.16.2
- speakeasy-sdk-regen-1745317277
- 10.16.4
targets:
apideck:
source: Apideck-OAS
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:441e96cb7c893583bf576898c7e6362d69bb6696c90bca124195cc38b2eb83af
sourceBlobDigest: sha256:303c1acf7abc835f46d58b4a823c3bb3e537aae128b78352be572e712c7879f6
sourceRevisionDigest: sha256:9cc8ce639f2e9c19f6c2c7601a69786eb7f6da5b6e52241ea74596e7a203f58b
sourceBlobDigest: sha256:920cd0abb9aa343c591a899ed87ab62dacd719dd688374cc42f919f1ebab947c
codeSamplesNamespace: apideck-oas-java-code-samples
codeSamplesRevisionDigest: sha256:0f3ed39c5fb5caef53b411a7d322012da8e6a3822d9c149fa3905eaecdd3d64a
codeSamplesRevisionDigest: sha256:533046f4b7c29144159f9c225a40c760cff7af3840ec9bd087f27e1d6dbba193
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -47,15 +47,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.apideck:unify:0.13.0'
implementation 'com.apideck:unify:0.13.1'
```

Maven:
```xml
<dependency>
<groupId>com.apideck</groupId>
<artifactId>unify</artifactId>
<version>0.13.0</version>
<version>0.13.1</version>
</dependency>
```

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

## 2025-04-28 00:13:06
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.540.0 (2.593.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.13.1] .
### Releases
- [Maven Central v0.13.1] https://central.sonatype.com/artifact/com.apideck/unify/0.13.1 - .
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -103,7 +103,7 @@ publishing {
// https://github.com/gradle/gradle/issues/18619
groupId = "com.apideck"
artifactId = "unify"
version = "0.13.0"
version = "0.13.1"

from components.java

1 change: 1 addition & 0 deletions docs/models/components/Note.md
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@
| `contactId` | *JsonNullable\<String>* | :heavy_minus_sign: | The contact that is related to the note. | 12345 |
| `companyId` | *JsonNullable\<String>* | :heavy_minus_sign: | The company that is related to the note. | 12345 |
| `opportunityId` | *JsonNullable\<String>* | :heavy_minus_sign: | The opportunity that is related to the note. | 12345 |
| `activityId` | *JsonNullable\<String>* | :heavy_minus_sign: | The activity that is related to the note. | 12345 |
| `leadId` | *JsonNullable\<String>* | :heavy_minus_sign: | The lead that is related to the note. | 12345 |
| `active` | *JsonNullable\<Boolean>* | :heavy_minus_sign: | Whether the Note is active or not. | true |
| `customMappings` | [JsonNullable\<CustomMappings>](../../models/components/CustomMappings.md) | :heavy_minus_sign: | When custom mappings are configured on the resource, the result is included here. | |
1 change: 1 addition & 0 deletions docs/models/components/NoteInput.md
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@
| `contactId` | *JsonNullable\<String>* | :heavy_minus_sign: | The contact that is related to the note. | 12345 |
| `companyId` | *JsonNullable\<String>* | :heavy_minus_sign: | The company that is related to the note. | 12345 |
| `opportunityId` | *JsonNullable\<String>* | :heavy_minus_sign: | The opportunity that is related to the note. | 12345 |
| `activityId` | *JsonNullable\<String>* | :heavy_minus_sign: | The activity that is related to the note. | 12345 |
| `leadId` | *JsonNullable\<String>* | :heavy_minus_sign: | The lead that is related to the note. | 12345 |
| `active` | *JsonNullable\<Boolean>* | :heavy_minus_sign: | Whether the Note is active or not. | true |
| `passThrough` | List\<[PassThroughBody](../../models/components/PassThroughBody.md)> | :heavy_minus_sign: | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | |
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
groupId=com.apideck
artifactId=unify
version=0.13.0
version=0.13.1
6 changes: 3 additions & 3 deletions src/main/java/com/apideck/unify/SDKConfiguration.java
Original file line number Diff line number Diff line change
@@ -31,9 +31,9 @@ public String resolvedServerUrl() {
}
public int serverIdx = 0;
private static final String LANGUAGE = "java";
public static final String OPENAPI_DOC_VERSION = "10.16.2";
public static final String SDK_VERSION = "0.13.0";
public static final String GEN_VERSION = "2.588.0";
public static final String OPENAPI_DOC_VERSION = "10.16.4";
public static final String SDK_VERSION = "0.13.1";
public static final String GEN_VERSION = "2.593.3";
private static final String BASE_PACKAGE = "com.apideck.unify";
public static final String USER_AGENT =
String.format("speakeasy-sdk/%s %s %s %s %s",
62 changes: 61 additions & 1 deletion src/main/java/com/apideck/unify/models/components/Note.java
Original file line number Diff line number Diff line change
@@ -69,6 +69,13 @@ public class Note {
@JsonProperty("opportunity_id")
private JsonNullable<String> opportunityId;

/**
* The activity that is related to the note.
*/
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("activity_id")
private JsonNullable<String> activityId;

/**
* The lead that is related to the note.
*/
@@ -134,6 +141,7 @@ public Note(
@JsonProperty("contact_id") JsonNullable<String> contactId,
@JsonProperty("company_id") JsonNullable<String> companyId,
@JsonProperty("opportunity_id") JsonNullable<String> opportunityId,
@JsonProperty("activity_id") JsonNullable<String> activityId,
@JsonProperty("lead_id") JsonNullable<String> leadId,
@JsonProperty("active") JsonNullable<Boolean> active,
@JsonProperty("custom_mappings") JsonNullable<? extends CustomMappings> customMappings,
@@ -149,6 +157,7 @@ public Note(
Utils.checkNotNull(contactId, "contactId");
Utils.checkNotNull(companyId, "companyId");
Utils.checkNotNull(opportunityId, "opportunityId");
Utils.checkNotNull(activityId, "activityId");
Utils.checkNotNull(leadId, "leadId");
Utils.checkNotNull(active, "active");
Utils.checkNotNull(customMappings, "customMappings");
@@ -164,6 +173,7 @@ public Note(
this.contactId = contactId;
this.companyId = companyId;
this.opportunityId = opportunityId;
this.activityId = activityId;
this.leadId = leadId;
this.active = active;
this.customMappings = customMappings;
@@ -175,7 +185,7 @@ public Note(
}

public Note() {
this(Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), Optional.empty());
this(Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), Optional.empty());
}

/**
@@ -234,6 +244,14 @@ public JsonNullable<String> opportunityId() {
return opportunityId;
}

/**
* The activity that is related to the note.
*/
@JsonIgnore
public JsonNullable<String> activityId() {
return activityId;
}

/**
* The lead that is related to the note.
*/
@@ -430,6 +448,24 @@ public Note withOpportunityId(JsonNullable<String> opportunityId) {
return this;
}

/**
* The activity that is related to the note.
*/
public Note withActivityId(String activityId) {
Utils.checkNotNull(activityId, "activityId");
this.activityId = JsonNullable.of(activityId);
return this;
}

/**
* The activity that is related to the note.
*/
public Note withActivityId(JsonNullable<String> activityId) {
Utils.checkNotNull(activityId, "activityId");
this.activityId = activityId;
return this;
}

/**
* The lead that is related to the note.
*/
@@ -592,6 +628,7 @@ public boolean equals(java.lang.Object o) {
Objects.deepEquals(this.contactId, other.contactId) &&
Objects.deepEquals(this.companyId, other.companyId) &&
Objects.deepEquals(this.opportunityId, other.opportunityId) &&
Objects.deepEquals(this.activityId, other.activityId) &&
Objects.deepEquals(this.leadId, other.leadId) &&
Objects.deepEquals(this.active, other.active) &&
Objects.deepEquals(this.customMappings, other.customMappings) &&
@@ -612,6 +649,7 @@ public int hashCode() {
contactId,
companyId,
opportunityId,
activityId,
leadId,
active,
customMappings,
@@ -632,6 +670,7 @@ public String toString() {
"contactId", contactId,
"companyId", companyId,
"opportunityId", opportunityId,
"activityId", activityId,
"leadId", leadId,
"active", active,
"customMappings", customMappings,
@@ -658,6 +697,8 @@ public final static class Builder {

private JsonNullable<String> opportunityId = JsonNullable.undefined();

private JsonNullable<String> activityId = JsonNullable.undefined();

private JsonNullable<String> leadId = JsonNullable.undefined();

private JsonNullable<Boolean> active = JsonNullable.undefined();
@@ -804,6 +845,24 @@ public Builder opportunityId(JsonNullable<String> opportunityId) {
return this;
}

/**
* The activity that is related to the note.
*/
public Builder activityId(String activityId) {
Utils.checkNotNull(activityId, "activityId");
this.activityId = JsonNullable.of(activityId);
return this;
}

/**
* The activity that is related to the note.
*/
public Builder activityId(JsonNullable<String> activityId) {
Utils.checkNotNull(activityId, "activityId");
this.activityId = activityId;
return this;
}

/**
* The lead that is related to the note.
*/
@@ -957,6 +1016,7 @@ public Note build() {
contactId,
companyId,
opportunityId,
activityId,
leadId,
active,
customMappings,
62 changes: 61 additions & 1 deletion src/main/java/com/apideck/unify/models/components/NoteInput.java
Original file line number Diff line number Diff line change
@@ -62,6 +62,13 @@ public class NoteInput {
@JsonProperty("opportunity_id")
private JsonNullable<String> opportunityId;

/**
* The activity that is related to the note.
*/
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("activity_id")
private JsonNullable<String> activityId;

/**
* The lead that is related to the note.
*/
@@ -91,6 +98,7 @@ public NoteInput(
@JsonProperty("contact_id") JsonNullable<String> contactId,
@JsonProperty("company_id") JsonNullable<String> companyId,
@JsonProperty("opportunity_id") JsonNullable<String> opportunityId,
@JsonProperty("activity_id") JsonNullable<String> activityId,
@JsonProperty("lead_id") JsonNullable<String> leadId,
@JsonProperty("active") JsonNullable<Boolean> active,
@JsonProperty("pass_through") Optional<? extends List<PassThroughBody>> passThrough) {
@@ -100,6 +108,7 @@ public NoteInput(
Utils.checkNotNull(contactId, "contactId");
Utils.checkNotNull(companyId, "companyId");
Utils.checkNotNull(opportunityId, "opportunityId");
Utils.checkNotNull(activityId, "activityId");
Utils.checkNotNull(leadId, "leadId");
Utils.checkNotNull(active, "active");
Utils.checkNotNull(passThrough, "passThrough");
@@ -109,13 +118,14 @@ public NoteInput(
this.contactId = contactId;
this.companyId = companyId;
this.opportunityId = opportunityId;
this.activityId = activityId;
this.leadId = leadId;
this.active = active;
this.passThrough = passThrough;
}

public NoteInput() {
this(JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), Optional.empty());
this(JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), Optional.empty());
}

/**
@@ -166,6 +176,14 @@ public JsonNullable<String> opportunityId() {
return opportunityId;
}

/**
* The activity that is related to the note.
*/
@JsonIgnore
public JsonNullable<String> activityId() {
return activityId;
}

/**
* The lead that is related to the note.
*/
@@ -303,6 +321,24 @@ public NoteInput withOpportunityId(JsonNullable<String> opportunityId) {
return this;
}

/**
* The activity that is related to the note.
*/
public NoteInput withActivityId(String activityId) {
Utils.checkNotNull(activityId, "activityId");
this.activityId = JsonNullable.of(activityId);
return this;
}

/**
* The activity that is related to the note.
*/
public NoteInput withActivityId(JsonNullable<String> activityId) {
Utils.checkNotNull(activityId, "activityId");
this.activityId = activityId;
return this;
}

/**
* The lead that is related to the note.
*/
@@ -374,6 +410,7 @@ public boolean equals(java.lang.Object o) {
Objects.deepEquals(this.contactId, other.contactId) &&
Objects.deepEquals(this.companyId, other.companyId) &&
Objects.deepEquals(this.opportunityId, other.opportunityId) &&
Objects.deepEquals(this.activityId, other.activityId) &&
Objects.deepEquals(this.leadId, other.leadId) &&
Objects.deepEquals(this.active, other.active) &&
Objects.deepEquals(this.passThrough, other.passThrough);
@@ -388,6 +425,7 @@ public int hashCode() {
contactId,
companyId,
opportunityId,
activityId,
leadId,
active,
passThrough);
@@ -402,6 +440,7 @@ public String toString() {
"contactId", contactId,
"companyId", companyId,
"opportunityId", opportunityId,
"activityId", activityId,
"leadId", leadId,
"active", active,
"passThrough", passThrough);
@@ -421,6 +460,8 @@ public final static class Builder {

private JsonNullable<String> opportunityId = JsonNullable.undefined();

private JsonNullable<String> activityId = JsonNullable.undefined();

private JsonNullable<String> leadId = JsonNullable.undefined();

private JsonNullable<Boolean> active = JsonNullable.undefined();
@@ -539,6 +580,24 @@ public Builder opportunityId(JsonNullable<String> opportunityId) {
return this;
}

/**
* The activity that is related to the note.
*/
public Builder activityId(String activityId) {
Utils.checkNotNull(activityId, "activityId");
this.activityId = JsonNullable.of(activityId);
return this;
}

/**
* The activity that is related to the note.
*/
public Builder activityId(JsonNullable<String> activityId) {
Utils.checkNotNull(activityId, "activityId");
this.activityId = activityId;
return this;
}

/**
* The lead that is related to the note.
*/
@@ -601,6 +660,7 @@ public NoteInput build() {
contactId,
companyId,
opportunityId,
activityId,
leadId,
active,
passThrough);