Skip to content

Commit

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

chore: 🐝 Update SDK - Generate 0.2.1
  • Loading branch information
Amzani authored Dec 6, 2024
2 parents 3e8891c + bf02a23 commit 2766fee
Show file tree
Hide file tree
Showing 127 changed files with 4,734 additions and 524 deletions.
27 changes: 20 additions & 7 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: 04f7a68234ccb558106e0c6d7e7c1310
docVersion: 10.8.1
speakeasyVersion: 1.448.2
generationVersion: 2.467.4
releaseVersion: 0.2.0
configChecksum: 5148c05515254dec73989d62808c51d0
docChecksum: 5a3c61710af05ae5c21380b118217322
docVersion: 10.8.3
speakeasyVersion: 1.453.0
generationVersion: 2.472.1
releaseVersion: 0.2.1
configChecksum: 4e73142ddfe8fc47bfca21de3f416bd0
repoURL: https://github.com/apideck-libraries/sdk-java.git
published: true
features:
Expand Down Expand Up @@ -342,6 +342,7 @@ generatedFiles:
- docs/models/components/ExpenseInput.md
- docs/models/components/ExpenseLineItem.md
- docs/models/components/ExpenseLineItemInput.md
- docs/models/components/ExpensePaymentType.md
- docs/models/components/ExpenseType.md
- docs/models/components/Expenses.md
- docs/models/components/ExtendPaths.md
Expand Down Expand Up @@ -489,10 +490,13 @@ generatedFiles:
- docs/models/components/Invoice.md
- docs/models/components/InvoiceInput.md
- docs/models/components/InvoiceItem.md
- docs/models/components/InvoiceItemFilter.md
- docs/models/components/InvoiceItemFilterInvoiceItemType.md
- docs/models/components/InvoiceItemInput.md
- docs/models/components/InvoiceItemPurchaseDetails.md
- docs/models/components/InvoiceItemSalesDetails.md
- docs/models/components/InvoiceItemType.md
- docs/models/components/InvoiceItemTypeType.md
- docs/models/components/InvoiceItemsFilter.md
- docs/models/components/InvoiceLineItem.md
- docs/models/components/InvoiceLineItemInput.md
Expand Down Expand Up @@ -524,6 +528,7 @@ generatedFiles:
- docs/models/components/LeavingReason.md
- docs/models/components/LedgerAccount.md
- docs/models/components/LedgerAccountInput.md
- docs/models/components/LedgerAccountSubsidiaries.md
- docs/models/components/LedgerAccountType.md
- docs/models/components/LedgerAccountsFilter.md
- docs/models/components/LedgerAccountsSort.md
Expand Down Expand Up @@ -680,6 +685,7 @@ generatedFiles:
- docs/models/components/TrackingCategory.md
- docs/models/components/TrackingCategoryInput.md
- docs/models/components/TrackingCategoryStatus.md
- docs/models/components/TrackingCategorySubsidiaries.md
- docs/models/components/TrackingItem.md
- docs/models/components/Type.md
- docs/models/components/UnexpectedErrorResponse.md
Expand Down Expand Up @@ -1770,6 +1776,7 @@ generatedFiles:
- src/main/java/com/apideck/unify/models/components/ExpenseInput.java
- src/main/java/com/apideck/unify/models/components/ExpenseLineItem.java
- src/main/java/com/apideck/unify/models/components/ExpenseLineItemInput.java
- src/main/java/com/apideck/unify/models/components/ExpensePaymentType.java
- src/main/java/com/apideck/unify/models/components/ExpenseType.java
- src/main/java/com/apideck/unify/models/components/Expenses.java
- src/main/java/com/apideck/unify/models/components/ExtendPaths.java
Expand Down Expand Up @@ -1917,10 +1924,13 @@ generatedFiles:
- src/main/java/com/apideck/unify/models/components/Invoice.java
- src/main/java/com/apideck/unify/models/components/InvoiceInput.java
- src/main/java/com/apideck/unify/models/components/InvoiceItem.java
- src/main/java/com/apideck/unify/models/components/InvoiceItemFilter.java
- src/main/java/com/apideck/unify/models/components/InvoiceItemFilterInvoiceItemType.java
- src/main/java/com/apideck/unify/models/components/InvoiceItemInput.java
- src/main/java/com/apideck/unify/models/components/InvoiceItemPurchaseDetails.java
- src/main/java/com/apideck/unify/models/components/InvoiceItemSalesDetails.java
- src/main/java/com/apideck/unify/models/components/InvoiceItemType.java
- src/main/java/com/apideck/unify/models/components/InvoiceItemTypeType.java
- src/main/java/com/apideck/unify/models/components/InvoiceItemsFilter.java
- src/main/java/com/apideck/unify/models/components/InvoiceLineItem.java
- src/main/java/com/apideck/unify/models/components/InvoiceLineItemInput.java
Expand Down Expand Up @@ -1952,6 +1962,7 @@ generatedFiles:
- src/main/java/com/apideck/unify/models/components/LeavingReason.java
- src/main/java/com/apideck/unify/models/components/LedgerAccount.java
- src/main/java/com/apideck/unify/models/components/LedgerAccountInput.java
- src/main/java/com/apideck/unify/models/components/LedgerAccountSubsidiaries.java
- src/main/java/com/apideck/unify/models/components/LedgerAccountType.java
- src/main/java/com/apideck/unify/models/components/LedgerAccountsFilter.java
- src/main/java/com/apideck/unify/models/components/LedgerAccountsSort.java
Expand Down Expand Up @@ -2108,6 +2119,7 @@ generatedFiles:
- src/main/java/com/apideck/unify/models/components/TrackingCategory.java
- src/main/java/com/apideck/unify/models/components/TrackingCategoryInput.java
- src/main/java/com/apideck/unify/models/components/TrackingCategoryStatus.java
- src/main/java/com/apideck/unify/models/components/TrackingCategorySubsidiaries.java
- src/main/java/com/apideck/unify/models/components/TrackingItem.java
- src/main/java/com/apideck/unify/models/components/Type.java
- src/main/java/com/apideck/unify/models/components/UnexpectedErrorResponse.java
Expand Down Expand Up @@ -3544,7 +3556,7 @@ examples:
"":
parameters:
query:
filter: {"name": "Widgets Large"}
filter: {"name": "Widgets Large", "type": "service"}
pass_through: {"search": "San Francisco"}
fields: "id,updated_at"
header:
Expand Down Expand Up @@ -3598,6 +3610,7 @@ examples:
id: "<id>"
query:
fields: "id,updated_at"
filter: {"type": "service"}
header:
x-apideck-consumer-id: "test-consumer"
x-apideck-app-id: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
Expand Down
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.2.0
version: 0.2.1
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.448.2
speakeasyVersion: 1.453.0
sources:
Apideck-OAS:
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:1e1b719c947797d2ebd7eb8a136e4b5b84c0cb970573c669775d129e30aee462
sourceBlobDigest: sha256:c3ee1e7fee0a43d2700c1bad102e747820d3e74509b9ab3f5d080b9018935ce7
sourceRevisionDigest: sha256:4b42cc2692645107aaed0b22196e1bf56f693986fa2cd111cee143058e0b1c5c
sourceBlobDigest: sha256:c78223a6f6e3fb5b1d9f0d663d8bd72bf35ecc3ed8435dd81561c45569a9f642
tags:
- latest
- speakeasy-sdk-regen-1732728787
- 10.8.1
- speakeasy-sdk-regen-1732839128
- 10.8.3
targets:
apideck:
source: Apideck-OAS
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:1e1b719c947797d2ebd7eb8a136e4b5b84c0cb970573c669775d129e30aee462
sourceBlobDigest: sha256:c3ee1e7fee0a43d2700c1bad102e747820d3e74509b9ab3f5d080b9018935ce7
sourceRevisionDigest: sha256:4b42cc2692645107aaed0b22196e1bf56f693986fa2cd111cee143058e0b1c5c
sourceBlobDigest: sha256:c78223a6f6e3fb5b1d9f0d663d8bd72bf35ecc3ed8435dd81561c45569a9f642
codeSamplesNamespace: apideck-oas-java-code-samples
codeSamplesRevisionDigest: sha256:23160f6425f725df00a7231938dcfee0cad2195ec06c1d7a621c4b8afffeab55
codeSamplesRevisionDigest: sha256:04af63c41e9832c0b840490e3cef0683106b1bf1b2999599f5bfbc2d81ccd818
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.apideck:unify:0.2.0'
implementation 'com.apideck:unify:0.2.1'
```

Maven:
```xml
<dependency>
<groupId>com.apideck</groupId>
<artifactId>unify</artifactId>
<version>0.2.0</version>
<version>0.2.1</version>
</dependency>
```

Expand Down Expand Up @@ -98,7 +98,7 @@ public class Application {
public static void main(String[] args) throws BadRequestResponse, UnauthorizedResponse, PaymentRequiredResponse, NotFoundResponse, UnprocessableResponse, Exception {

Apideck sdk = Apideck.builder()
.apiKey("<YOUR_API_KEY_HERE>")
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
.consumerId("test-consumer")
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
.build();
Expand Down Expand Up @@ -681,7 +681,7 @@ public class Application {
public static void main(String[] args) throws BadRequestResponse, UnauthorizedResponse, PaymentRequiredResponse, NotFoundResponse, UnprocessableResponse, Exception {

Apideck sdk = Apideck.builder()
.apiKey("<YOUR_API_KEY_HERE>")
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
.consumerId("test-consumer")
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
.build();
Expand Down Expand Up @@ -755,7 +755,7 @@ public class Application {
.retryConnectError(false)
.build())
.build())
.apiKey("<YOUR_API_KEY_HERE>")
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
.consumerId("test-consumer")
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
.build();
Expand Down Expand Up @@ -824,7 +824,7 @@ public class Application {
public static void main(String[] args) throws BadRequestResponse, UnauthorizedResponse, PaymentRequiredResponse, NotFoundResponse, UnprocessableResponse, Exception {

Apideck sdk = Apideck.builder()
.apiKey("<YOUR_API_KEY_HERE>")
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
.consumerId("test-consumer")
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
.build();
Expand Down Expand Up @@ -882,7 +882,7 @@ public class Application {

Apideck sdk = Apideck.builder()
.serverURL("https://unify.apideck.com")
.apiKey("<YOUR_API_KEY_HERE>")
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
.consumerId("test-consumer")
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
.build();
Expand Down Expand Up @@ -938,7 +938,7 @@ public class Application {
public static void main(String[] args) throws BadRequestResponse, UnauthorizedResponse, PaymentRequiredResponse, NotFoundResponse, UnprocessableResponse, Exception {

Apideck sdk = Apideck.builder()
.apiKey("<YOUR_API_KEY_HERE>")
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
.consumerId("test-consumer")
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
.build();
Expand All @@ -953,6 +953,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(),
ExtendPaths.builder()
.path("$.nested.property")
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
Expand Down Expand Up @@ -982,9 +986,9 @@ public class Application {

This SDK supports the following security scheme globally:

| Name | Type | Scheme |
| -------- | ------ | ------- |
| `apiKey` | apiKey | API key |
| Name | Type | Scheme |
| -------- | ---- | ----------- |
| `apiKey` | http | HTTP Bearer |

To authenticate with the API the `apiKey` parameter must be set when initializing the SDK client instance. For example:
```java
Expand All @@ -1007,7 +1011,7 @@ public class Application {
public static void main(String[] args) throws BadRequestResponse, UnauthorizedResponse, PaymentRequiredResponse, NotFoundResponse, UnprocessableResponse, Exception {

Apideck sdk = Apideck.builder()
.apiKey("<YOUR_API_KEY_HERE>")
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
.consumerId("test-consumer")
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
.build();
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,14 @@ Based on:
### Generated
- [java v0.2.0] .
### Releases
- [Maven Central v0.2.0] https://central.sonatype.com/artifact/com.apideck/unify/0.2.0 - .
- [Maven Central v0.2.0] https://central.sonatype.com/artifact/com.apideck/unify/0.2.0 - .

## 2024-12-06 16:21:42
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.453.0 (2.472.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.2.1] .
### Releases
- [Maven Central v0.2.1] https://central.sonatype.com/artifact/com.apideck/unify/0.2.1 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Application {
public static void main(String[] args) throws BadRequestResponse, UnauthorizedResponse, PaymentRequiredResponse, NotFoundResponse, UnprocessableResponse, Exception {

Apideck sdk = Apideck.builder()
.apiKey("<YOUR_API_KEY_HERE>")
.apiKey("<YOUR_BEARER_TOKEN_HERE>")
.consumerId("test-consumer")
.appId("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
.build();
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.2.0"
version = "0.2.1"

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

from components.java

Expand Down
1 change: 1 addition & 0 deletions docs/models/components/Expense.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
| `supplierId` | *Optional\<String>* | :heavy_minus_sign: | The ID of the supplier this entity is linked to. | 12345 |
| `companyId` | *JsonNullable\<String>* | :heavy_minus_sign: | The company or subsidiary id the transaction belongs to | 12345 |
| `departmentId` | *Optional\<String>* | :heavy_minus_sign: | The ID of the department this expense is linked to. | 12345 |
| `paymentType` | [JsonNullable\<ExpensePaymentType>](../../models/components/ExpensePaymentType.md) | :heavy_minus_sign: | The type of payment for the expense. | cash |
| `currency` | [JsonNullable\<Currency>](../../models/components/Currency.md) | :heavy_minus_sign: | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). | USD |
| `currencyRate` | *JsonNullable\<Double>* | :heavy_minus_sign: | Currency Exchange Rate at the time entity was recorded/generated. | 0.69 |
| `type` | [JsonNullable\<ExpenseType>](../../models/components/ExpenseType.md) | :heavy_minus_sign: | The type of expense. | expense |
Expand Down
Loading

0 comments on commit 2766fee

Please sign in to comment.