Skip to content

Commit

Permalink
Merge pull request #21 from apideck-libraries/speakeasy-sdk-regen-173…
Browse files Browse the repository at this point in the history
…7099256

chore: 🐝 Update SDK - Generate 0.6.0
  • Loading branch information
Amzani authored Jan 21, 2025
2 parents 71a55fb + 03577f4 commit e39e410
Show file tree
Hide file tree
Showing 142 changed files with 6,171 additions and 3,235 deletions.
4,015 changes: 1,429 additions & 2,586 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 @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
java:
version: 0.5.4
version: 0.6.0
additionalDependencies: []
additionalPlugins: []
artifactID: unify
Expand Down
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.468.5
speakeasyVersion: 1.469.11
sources:
Apideck-OAS:
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:eccdc29c8a37accc8d9cecb22bfc5abaf2e5b5c6382f2f0c752b22a1516efed6
sourceBlobDigest: sha256:e49054352f142b1d04915c13e5da0a7ab0a031c52609cf3b00a1a7c46cbc6970
sourceRevisionDigest: sha256:d027299cfc1de21be829c6acbdcd864302008f57b544e30be1aa02a4ce6a5275
sourceBlobDigest: sha256:ebfccb50c6a46288e3e9f63e7b625c7159d42bf841eb324d785c7fdfbb82ba04
tags:
- latest
- speakeasy-sdk-regen-1736865340
- 10.9.1
- speakeasy-sdk-regen-1737099256
- 10.10.0
targets:
apideck:
source: Apideck-OAS
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:eccdc29c8a37accc8d9cecb22bfc5abaf2e5b5c6382f2f0c752b22a1516efed6
sourceBlobDigest: sha256:e49054352f142b1d04915c13e5da0a7ab0a031c52609cf3b00a1a7c46cbc6970
sourceRevisionDigest: sha256:d027299cfc1de21be829c6acbdcd864302008f57b544e30be1aa02a4ce6a5275
sourceBlobDigest: sha256:ebfccb50c6a46288e3e9f63e7b625c7159d42bf841eb324d785c7fdfbb82ba04
codeSamplesNamespace: apideck-oas-java-code-samples
codeSamplesRevisionDigest: sha256:8f3ebb46d452f82ce2d9841f8e300f1dce5f7b57c98a912addd7372c8fd17b5b
codeSamplesRevisionDigest: sha256:9d667e13537a708cf9dc4df2b750803fdca2c107bd2569f2a1dea43f0f1330b1
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.apideck:unify:0.5.4'
implementation 'com.apideck:unify:0.6.0'
```

Maven:
```xml
<dependency>
<groupId>com.apideck</groupId>
<artifactId>unify</artifactId>
<version>0.5.4</version>
<version>0.6.0</version>
</dependency>
```

Expand Down Expand Up @@ -104,7 +104,9 @@ public class Application {
.build();

AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
.raw(false)
.serviceId("salesforce")
.limit(20L)
.filter(TaxRatesFilter.builder()
.assets(true)
.equity(true)
Expand Down Expand Up @@ -685,7 +687,9 @@ public class Application {
.build();

AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
.raw(false)
.serviceId("salesforce")
.limit(20L)
.filter(TaxRatesFilter.builder()
.assets(true)
.equity(true)
Expand Down Expand Up @@ -744,7 +748,9 @@ public class Application {
.build();

AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
.raw(false)
.serviceId("salesforce")
.limit(20L)
.filter(TaxRatesFilter.builder()
.assets(true)
.equity(true)
Expand Down Expand Up @@ -817,7 +823,9 @@ public class Application {
.build();

AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
.raw(false)
.serviceId("salesforce")
.limit(20L)
.filter(TaxRatesFilter.builder()
.assets(true)
.equity(true)
Expand Down Expand Up @@ -885,7 +893,9 @@ public class Application {
.build();

AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
.raw(false)
.serviceId("salesforce")
.limit(20L)
.filter(TaxRatesFilter.builder()
.assets(true)
.equity(true)
Expand Down Expand Up @@ -942,7 +952,9 @@ public class Application {
.build();

AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
.raw(false)
.serviceId("salesforce")
.limit(20L)
.filter(TaxRatesFilter.builder()
.assets(true)
.equity(true)
Expand Down Expand Up @@ -1004,6 +1016,18 @@ public class Application {
.size(1810673L)
.driveId("1234")
.passThrough(List.of(
PassThroughBody.builder()
.serviceId("<id>")
.extendPaths(List.of(
ExtendPaths.builder()
.path("$.nested.property")
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
.build(),
ExtendPaths.builder()
.path("$.nested.property")
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
.build()))
.build(),
PassThroughBody.builder()
.serviceId("<id>")
.extendPaths(List.of(
Expand All @@ -1017,6 +1041,7 @@ public class Application {
.build()))
.build()))
.build())
.raw(false)
.serviceId("salesforce")
.build();

Expand Down Expand Up @@ -1070,7 +1095,9 @@ public class Application {
.build();

AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
.raw(false)
.serviceId("salesforce")
.limit(20L)
.filter(TaxRatesFilter.builder()
.assets(true)
.equity(true)
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,14 @@ Based on:
### Generated
- [java v0.5.4] .
### Releases
- [Maven Central v0.5.4] https://central.sonatype.com/artifact/com.apideck/unify/0.5.4 - .
- [Maven Central v0.5.4] https://central.sonatype.com/artifact/com.apideck/unify/0.5.4 - .

## 2025-01-21 00:11:01
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.469.11 (2.493.32) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.6.0] .
### Releases
- [Maven Central v0.6.0] https://central.sonatype.com/artifact/com.apideck/unify/0.6.0 - .
2 changes: 2 additions & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ public class Application {
.build();

AccountingTaxRatesAllRequest req = AccountingTaxRatesAllRequest.builder()
.raw(false)
.serviceId("salesforce")
.limit(20L)
.filter(TaxRatesFilter.builder()
.assets(true)
.equity(true)
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ tasks.withType(Javadoc) {
}

group = "com.apideck"
version = "0.5.4"
version = "0.6.0"

sourcesJar {
archiveBaseName = "unify"
Expand Down Expand Up @@ -101,7 +101,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.apideck'
artifactId = 'unify'
version = '0.5.4'
version = '0.6.0'

from components.java

Expand Down
68 changes: 61 additions & 7 deletions docs/sdks/activities/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@ public class Application {
.build();

CrmActivitiesAllRequest req = CrmActivitiesAllRequest.builder()
.raw(false)
.serviceId("salesforce")
.limit(20L)
.filter(ActivitiesFilter.builder()
.companyId("1234")
.ownerId("1234")
.contactId("1234")
.updatedSince(OffsetDateTime.parse("2020-09-30T07:43:32.000Z"))
.type("Task")
.build())
.sort(ActivitiesSort.builder()
.by(ActivitiesSortBy.CREATED_AT)
Expand Down Expand Up @@ -111,6 +109,9 @@ import com.apideck.unify.models.components.ActivityInput;
import com.apideck.unify.models.components.ActivityType;
import com.apideck.unify.models.components.Address;
import com.apideck.unify.models.components.CustomField;
import com.apideck.unify.models.components.ExtendPaths;
import com.apideck.unify.models.components.Four;
import com.apideck.unify.models.components.PassThroughBody;
import com.apideck.unify.models.components.ShowAs;
import com.apideck.unify.models.components.Type;
import com.apideck.unify.models.components.Value;
Expand All @@ -123,6 +124,7 @@ import com.apideck.unify.models.operations.CrmActivitiesAddRequest;
import com.apideck.unify.models.operations.CrmActivitiesAddResponse;
import java.lang.Exception;
import java.util.List;
import java.util.Map;

public class Application {

Expand Down Expand Up @@ -203,6 +205,13 @@ public class Application {
.videoConferenceUrl("https://us02web.zoom.us/j/88120759396")
.videoConferenceId("zoom:88120759396")
.customFields(List.of(
CustomField.builder()
.id("2389328923893298")
.name("employee_level")
.description("Employee Level")
.value(Value.of(Four.builder()
.build()))
.build(),
CustomField.builder()
.id("2389328923893298")
.name("employee_level")
Expand All @@ -222,8 +231,24 @@ public class Application {
.status(ActivityAttendeeStatus.ACCEPTED)
.build()))
.passThrough(List.of(
))
PassThroughBody.builder()
.serviceId("<id>")
.extendPaths(List.of(
ExtendPaths.builder()
.path("$.nested.property")
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
.build(),
ExtendPaths.builder()
.path("$.nested.property")
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
.build(),
ExtendPaths.builder()
.path("$.nested.property")
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
.build()))
.build()))
.build())
.raw(false)
.serviceId("salesforce")
.build();

Expand Down Expand Up @@ -291,6 +316,7 @@ public class Application {
CrmActivitiesOneRequest req = CrmActivitiesOneRequest.builder()
.id("<id>")
.serviceId("salesforce")
.raw(false)
.fields("id,updated_at")
.build();

Expand Down Expand Up @@ -343,8 +369,10 @@ import com.apideck.unify.models.components.ActivityType;
import com.apideck.unify.models.components.Address;
import com.apideck.unify.models.components.CustomField;
import com.apideck.unify.models.components.ExtendPaths;
import com.apideck.unify.models.components.Four;
import com.apideck.unify.models.components.PassThroughBody;
import com.apideck.unify.models.components.ShowAs;
import com.apideck.unify.models.components.Six;
import com.apideck.unify.models.components.Type;
import com.apideck.unify.models.components.Value;
import com.apideck.unify.models.errors.BadRequestResponse;
Expand Down Expand Up @@ -442,6 +470,8 @@ public class Application {
.id("2389328923893298")
.name("employee_level")
.description("Employee Level")
.value(Value.of(Four.builder()
.build()))
.build(),
CustomField.builder()
.id("2389328923893298")
Expand All @@ -453,9 +483,24 @@ public class Application {
.id("2389328923893298")
.name("employee_level")
.description("Employee Level")
.value(Value.of(true))
.value(Value.of6(List.of(
Six.builder()
.build(),
Six.builder()
.build())))
.build()))
.attendees(List.of(
ActivityAttendeeInput.builder()
.name("Elon Musk")
.firstName("Elon")
.middleName("D.")
.lastName("Musk")
.prefix("Mr.")
.suffix("PhD")
.emailAddress("elon@musk.com")
.isOrganizer(true)
.status(ActivityAttendeeStatus.ACCEPTED)
.build(),
ActivityAttendeeInput.builder()
.name("Elon Musk")
.firstName("Elon")
Expand All @@ -471,7 +516,10 @@ public class Application {
PassThroughBody.builder()
.serviceId("<id>")
.extendPaths(List.of(
))
ExtendPaths.builder()
.path("$.nested.property")
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
.build()))
.build(),
PassThroughBody.builder()
.serviceId("<id>")
Expand All @@ -492,13 +540,18 @@ public class Application {
PassThroughBody.builder()
.serviceId("<id>")
.extendPaths(List.of(
ExtendPaths.builder()
.path("$.nested.property")
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
.build(),
ExtendPaths.builder()
.path("$.nested.property")
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
.build()))
.build()))
.build())
.serviceId("salesforce")
.raw(false)
.build();

CrmActivitiesUpdateResponse res = sdk.crm().activities().update()
Expand Down Expand Up @@ -565,6 +618,7 @@ public class Application {
CrmActivitiesDeleteRequest req = CrmActivitiesDeleteRequest.builder()
.id("<id>")
.serviceId("salesforce")
.raw(false)
.build();

CrmActivitiesDeleteResponse res = sdk.crm().activities().delete()
Expand Down
1 change: 1 addition & 0 deletions docs/sdks/ageddebtors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class Application {
.build();

AccountingAgedDebtorsOneRequest req = AccountingAgedDebtorsOneRequest.builder()
.raw(false)
.serviceId("salesforce")
.filter(AgedReportFilter.builder()
.customerId("123abc")
Expand Down
Loading

0 comments on commit e39e410

Please sign in to comment.