diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 49a9d95..036fbbc 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 38254260-287a-40b6-9ac5-c2fcb654c9cc management: - docChecksum: 51366c2bf91c8d98986aa75c233a1b1b + docChecksum: 4cc508f41720526d29572ebc1e96a691 docVersion: 10.8.1 - speakeasyVersion: 1.443.0 - generationVersion: 2.461.4 - releaseVersion: 0.1.12 - configChecksum: 5c06e236933190a83c97710265ecd9e6 + speakeasyVersion: 1.448.0 + generationVersion: 2.466.0 + releaseVersion: 0.2.0 + configChecksum: 5148c05515254dec73989d62808c51d0 repoURL: https://github.com/apideck-libraries/sdk-java.git published: true features: @@ -14,7 +14,7 @@ features: acceptHeaders: 2.81.2 additionalDependencies: 0.1.0 constsAndDefaults: 0.1.1 - core: 3.32.1 + core: 3.32.2 deprecations: 2.81.1 downloadStreams: 0.1.1 flattening: 2.81.1 @@ -30,7 +30,6 @@ features: nullables: 0.1.0 retries: 0.1.1 sdkHooks: 0.1.0 - tests: 0.1.0 typeOverrides: 2.81.1 unions: 0.0.6 generatedFiles: @@ -11549,3 +11548,4 @@ examples: application/json: {"status_code": 422, "error": "Unprocessable Entity", "type_name": "InvalidStateError", "message": "Invalid State", "detail": "Unprocessable request, please verify your request headers and body.", "ref": "https://developers.apideck.com/errors#invalidstateerror"} default: application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": "Missing Header: x-apideck-consumer-id", "ref": "https://developers.apideck.com/errors#unauthorizederror"} +generatedTests: {} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 870865b..141a465 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: true java: - version: 0.1.12 + version: 0.2.0 additionalDependencies: [] additionalPlugins: [] artifactID: unify diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index acee6b8..661e163 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,20 +1,21 @@ -speakeasyVersion: 1.443.0 +speakeasyVersion: 1.448.0 sources: Apideck-OAS: sourceNamespace: apideck-oas - sourceRevisionDigest: sha256:13f8e8b9a943c9ea0285af8c8c0c4c3ab2ada32d0e2230115a52338e13e5aa31 - sourceBlobDigest: sha256:287e6fe6d2552ff30ece81b95facf5086a495e96c2e83b174a942be60c3e3643 + sourceRevisionDigest: sha256:9d06e2df700c7217482e363ad30bd2d57f0eca6e446cbe52bca95a2de14d3ca7 + sourceBlobDigest: sha256:8da24190fa6311a311bf1e0fb5ce0512fa0a50c8d51deb010a7a03743f07f4f8 tags: - latest - - speakeasy-sdk-regen-1732234351 + - speakeasy-sdk-regen-1732579929 + - 10.8.1 targets: apideck: source: Apideck-OAS sourceNamespace: apideck-oas - sourceRevisionDigest: sha256:13f8e8b9a943c9ea0285af8c8c0c4c3ab2ada32d0e2230115a52338e13e5aa31 - sourceBlobDigest: sha256:287e6fe6d2552ff30ece81b95facf5086a495e96c2e83b174a942be60c3e3643 - codeSamplesNamespace: apideck-oas-code-samples - codeSamplesRevisionDigest: sha256:2e3692895938cda246ef6b8efacf58e5894906e14e577d829cd359f4b2afdf42 + sourceRevisionDigest: sha256:9d06e2df700c7217482e363ad30bd2d57f0eca6e446cbe52bca95a2de14d3ca7 + sourceBlobDigest: sha256:8da24190fa6311a311bf1e0fb5ce0512fa0a50c8d51deb010a7a03743f07f4f8 + codeSamplesNamespace: apideck-oas-java-code-samples + codeSamplesRevisionDigest: sha256:7a78698b674a7fb443125db0796d0acd3aa3bdbf7ff96032fb8e47d645986548 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest @@ -36,5 +37,5 @@ workflow: gpgPassPhrase: $java_gpg_passphrase codeSamples: registry: - location: registry.speakeasyapi.dev/apideck-k2o/apideck/apideck-oas-code-samples + location: registry.speakeasyapi.dev/apideck-k2o/apideck/apideck-oas-java-code-samples blocking: false diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index 3181da6..bbde057 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -18,5 +18,5 @@ targets: gpgPassPhrase: $java_gpg_passphrase codeSamples: registry: - location: registry.speakeasyapi.dev/apideck-k2o/apideck/apideck-oas-code-samples + location: registry.speakeasyapi.dev/apideck-k2o/apideck/apideck-oas-java-code-samples blocking: false diff --git a/README.md b/README.md index d2880a1..91bf49f 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.apideck:unify:0.1.12' +implementation 'com.apideck:unify:0.2.0' ``` Maven: @@ -49,7 +49,7 @@ Maven: com.apideck unify - 0.1.12 + 0.2.0 ``` diff --git a/RELEASES.md b/RELEASES.md index fd15bf0..add8724 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -18,4 +18,14 @@ Based on: ### Generated - [java v0.1.12] . ### Releases -- [Maven Central v0.1.12] https://central.sonatype.com/artifact/com.apideck/unify/0.1.12 - . \ No newline at end of file +- [Maven Central v0.1.12] https://central.sonatype.com/artifact/com.apideck/unify/0.1.12 - . + +## 2024-11-27 00:12:09 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.448.0 (2.466.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v0.2.0] . +### Releases +- [Maven Central v0.2.0] https://central.sonatype.com/artifact/com.apideck/unify/0.2.0 - . \ No newline at end of file diff --git a/build.gradle b/build.gradle index 30c02d4..5ab17c9 100644 --- a/build.gradle +++ b/build.gradle @@ -63,7 +63,7 @@ tasks.withType(Javadoc) { } group = "com.apideck" -version = "0.1.12" +version = "0.2.0" sourcesJar { archiveBaseName = "unify" @@ -101,7 +101,7 @@ publishing { maven(MavenPublication) { groupId = 'com.apideck' artifactId = 'unify' - version = '0.1.12' + version = '0.2.0' from components.java diff --git a/docs/models/components/Reports.md b/docs/models/components/Reports.md index 58534e5..6c39ee8 100644 --- a/docs/models/components/Reports.md +++ b/docs/models/components/Reports.md @@ -3,20 +3,20 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | A unique identifier for an object. | 12345 | -| `reportName` | *Optional\* | :heavy_minus_sign: | The name of the report | BalanceSheet | -| `startDate` | *Optional\* | :heavy_minus_sign: | The start date of the report | 2017-01-01 | -| `endDate` | *String* | :heavy_check_mark: | The start date of the report | 2017-01-31 | -| `currency` | [JsonNullable\](../../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 | -| `assets` | [BalanceSheetAssetsAccount](../../models/components/BalanceSheetAssetsAccount.md) | :heavy_check_mark: | A balance sheet assets account represents the financial position of a company at a specific point in time. | {
"account_id": "1",
"code": "1000",
"name": "Assets",
"amount": 50000,
"items": [
{
"account_id": "101",
"code": "1100",
"name": "Current Assets",
"amount": 20000,
"items": [
{
"account_id": "1011",
"code": "1101",
"name": "Cash and Cash Equivalents",
"amount": 10000
},
{
"account_id": "1012",
"code": "1102",
"name": "Accounts Receivable",
"amount": 5000
},
{
"account_id": "1013",
"code": "1103",
"name": "Inventory",
"amount": 3000
},
{
"account_id": "1014",
"code": "1104",
"name": "Prepaid Expenses",
"amount": 2000
}
]
},
{
"account_id": "102",
"code": "1200",
"name": "Non-Current Assets",
"amount": 30000,
"items": [
{
"account_id": "1021",
"code": "1201",
"name": "Property, Plant, and Equipment (PPE)",
"amount": 25000
},
{
"account_id": "1022",
"code": "1202",
"name": "Intangible Assets",
"amount": 5000,
"items": [
{
"account_id": "10221",
"code": "1203",
"name": "Goodwill",
"amount": 3000
},
{
"account_id": "10222",
"code": "1204",
"name": "Patents",
"amount": 2000
}
]
}
]
}
]
} | -| `liabilities` | [BalanceSheetLiabilitiesAccount](../../models/components/BalanceSheetLiabilitiesAccount.md) | :heavy_check_mark: | A balance sheet liabilities account represents the financial position of a company at a specific point in time. | {
"account_id": "2",
"code": "2000",
"name": "Liabilities",
"amount": 30000,
"items": [
{
"account_id": "201",
"code": "2100",
"name": "Current Liabilities",
"amount": 10000,
"items": [
{
"account_id": "2011",
"code": "2101",
"name": "Accounts Payable",
"amount": 4000
},
{
"account_id": "2012",
"code": "2102",
"name": "Short-Term Debt",
"amount": 2000
},
{
"account_id": "2013",
"code": "2103",
"name": "Accrued Expenses",
"amount": 1000
},
{
"account_id": "2014",
"code": "2104",
"name": "Current Portion of Long-Term Debt",
"amount": 3000
}
]
},
{
"account_id": "202",
"code": "2200",
"name": "Non-Current Liabilities",
"amount": 20000,
"items": [
{
"account_id": "2021",
"code": "2201",
"name": "Long-Term Debt",
"amount": 15000
},
{
"account_id": "2022",
"code": "2202",
"name": "Deferred Tax Liabilities",
"amount": 3000
},
{
"account_id": "2023",
"code": "2203",
"name": "Pension Liabilities",
"amount": 2000
}
]
}
]
} | -| `equity` | [BalanceSheetEquityAccount](../../models/components/BalanceSheetEquityAccount.md) | :heavy_check_mark: | A balance sheet equity account represents the financial position of a company at a specific point in time. | {
"account_id": "3",
"code": "3000",
"name": "Equity",
"amount": 20000,
"items": [
{
"account_id": "301",
"code": "3100",
"name": "Common Stock",
"amount": 5000
},
{
"account_id": "302",
"code": "3200",
"name": "Retained Earnings",
"amount": 10000
},
{
"account_id": "303",
"code": "3300",
"name": "Additional Paid-In Capital",
"amount": 3000
},
{
"account_id": "304",
"code": "3400",
"name": "Treasury Stock",
"amount": -1000
},
{
"account_id": "305",
"code": "3500",
"name": "Other Comprehensive Income",
"amount": 3000
}
]
} | -| `netAssets` | *Optional\* | :heavy_minus_sign: | The net assets of the balance sheet | 1000 | -| `customMappings` | [JsonNullable\](../../models/components/CustomMappings.md) | :heavy_minus_sign: | When custom mappings are configured on the resource, the result is included here. | | -| `updatedBy` | *JsonNullable\* | :heavy_minus_sign: | The user who last updated the object. | 12345 | -| `createdBy` | *JsonNullable\* | :heavy_minus_sign: | The user who created the object. | 12345 | -| `updatedAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date and time when the object was last updated. | 2020-09-30T07:43:32.000Z | -| `createdAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date and time when the object was created. | 2020-09-30T07:43:32.000Z | -| `uncategorizedItems` | [Optional\](../../models/components/BalanceSheetUncategorizedItemsAccount.md) | :heavy_minus_sign: | A balance sheet uncategorized items account represents the financial position of a company at a specific point in time. | {
"account_id": "3",
"code": "3000",
"name": "Uncategorized Items",
"amount": 1000,
"items": [
{
"account_id": "301",
"code": "3100",
"name": "not linked account",
"amount": 1000
}
]
} | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | A unique identifier for an object. | 12345 | +| `reportName` | *Optional\* | :heavy_minus_sign: | The name of the report | BalanceSheet | +| `startDate` | *Optional\* | :heavy_minus_sign: | The start date of the report | 2017-01-01 | +| `endDate` | *String* | :heavy_check_mark: | The start date of the report | 2017-01-31 | +| `currency` | [JsonNullable\](../../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 | +| `assets` | [BalanceSheetAssetsAccount](../../models/components/BalanceSheetAssetsAccount.md) | :heavy_check_mark: | A balance sheet assets account represents the financial position of a company at a specific point in time. | {
"account_id": "1",
"code": "1000",
"name": "Assets",
"value": 50000,
"items": [
{
"account_id": "101",
"code": "1100",
"name": "Current Assets",
"value": 20000,
"items": [
{
"account_id": "1011",
"code": "1101",
"name": "Cash and Cash Equivalents",
"value": 10000
},
{
"account_id": "1012",
"code": "1102",
"name": "Accounts Receivable",
"value": 5000
},
{
"account_id": "1013",
"code": "1103",
"name": "Inventory",
"value": 3000
},
{
"account_id": "1014",
"code": "1104",
"name": "Prepaid Expenses",
"value": 2000
}
]
},
{
"account_id": "102",
"code": "1200",
"name": "Non-Current Assets",
"value": 30000,
"items": [
{
"account_id": "1021",
"code": "1201",
"name": "Property, Plant, and Equipment (PPE)",
"value": 25000
},
{
"account_id": "1022",
"code": "1202",
"name": "Intangible Assets",
"value": 5000,
"items": [
{
"account_id": "10221",
"code": "1203",
"name": "Goodwill",
"value": 3000
},
{
"account_id": "10222",
"code": "1204",
"name": "Patents",
"value": 2000
}
]
}
]
}
]
} | +| `liabilities` | [BalanceSheetLiabilitiesAccount](../../models/components/BalanceSheetLiabilitiesAccount.md) | :heavy_check_mark: | A balance sheet liabilities account represents the financial position of a company at a specific point in time. | {
"account_id": "2",
"code": "2000",
"name": "Liabilities",
"value": 30000,
"items": [
{
"account_id": "201",
"code": "2100",
"name": "Current Liabilities",
"value": 10000,
"items": [
{
"account_id": "2011",
"code": "2101",
"name": "Accounts Payable",
"value": 4000
},
{
"account_id": "2012",
"code": "2102",
"name": "Short-Term Debt",
"value": 2000
},
{
"account_id": "2013",
"code": "2103",
"name": "Accrued Expenses",
"value": 1000
},
{
"account_id": "2014",
"code": "2104",
"name": "Current Portion of Long-Term Debt",
"value": 3000
}
]
},
{
"account_id": "202",
"code": "2200",
"name": "Non-Current Liabilities",
"value": 20000,
"items": [
{
"account_id": "2021",
"code": "2201",
"name": "Long-Term Debt",
"value": 15000
},
{
"account_id": "2022",
"code": "2202",
"name": "Deferred Tax Liabilities",
"value": 3000
},
{
"account_id": "2023",
"code": "2203",
"name": "Pension Liabilities",
"value": 2000
}
]
}
]
} | +| `equity` | [BalanceSheetEquityAccount](../../models/components/BalanceSheetEquityAccount.md) | :heavy_check_mark: | A balance sheet equity account represents the financial position of a company at a specific point in time. | {
"account_id": "3",
"code": "3000",
"name": "Equity",
"value": 20000,
"items": [
{
"account_id": "301",
"code": "3100",
"name": "Common Stock",
"value": 5000
},
{
"account_id": "302",
"code": "3200",
"name": "Retained Earnings",
"value": 10000
},
{
"account_id": "303",
"code": "3300",
"name": "Additional Paid-In Capital",
"value": 3000
},
{
"account_id": "304",
"code": "3400",
"name": "Treasury Stock",
"value": -1000
},
{
"account_id": "305",
"code": "3500",
"name": "Other Comprehensive Income",
"value": 3000
}
]
} | +| `netAssets` | *Optional\* | :heavy_minus_sign: | The net assets of the balance sheet | 1000 | +| `customMappings` | [JsonNullable\](../../models/components/CustomMappings.md) | :heavy_minus_sign: | When custom mappings are configured on the resource, the result is included here. | | +| `updatedBy` | *JsonNullable\* | :heavy_minus_sign: | The user who last updated the object. | 12345 | +| `createdBy` | *JsonNullable\* | :heavy_minus_sign: | The user who created the object. | 12345 | +| `updatedAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date and time when the object was last updated. | 2020-09-30T07:43:32.000Z | +| `createdAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date and time when the object was created. | 2020-09-30T07:43:32.000Z | +| `uncategorizedItems` | [Optional\](../../models/components/BalanceSheetUncategorizedItemsAccount.md) | :heavy_minus_sign: | A balance sheet uncategorized items account represents the financial position of a company at a specific point in time. | {
"account_id": "3",
"code": "3000",
"name": "Uncategorized Items",
"value": 1000,
"items": [
{
"account_id": "301",
"code": "3100",
"name": "not linked account",
"value": 1000
}
]
} | \ No newline at end of file diff --git a/docs/sdks/accounting/README.md b/docs/sdks/accounting/README.md index 41b269c..c103b95 100644 --- a/docs/sdks/accounting/README.md +++ b/docs/sdks/accounting/README.md @@ -1,2 +1,6 @@ # Accounting -(*accounting()*) \ No newline at end of file +(*accounting()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/activities/README.md b/docs/sdks/activities/README.md index 745d3f4..6cd4ab7 100644 --- a/docs/sdks/activities/README.md +++ b/docs/sdks/activities/README.md @@ -49,11 +49,7 @@ public class Application { CrmActivitiesAllRequest req = CrmActivitiesAllRequest.builder() .serviceId("salesforce") .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) diff --git a/docs/sdks/apideck/README.md b/docs/sdks/apideck/README.md index 545d010..c18f311 100644 --- a/docs/sdks/apideck/README.md +++ b/docs/sdks/apideck/README.md @@ -5,4 +5,6 @@ Apideck: The Apideck OpenAPI Spec: SDK Optimized Apideck Developer Docs - \ No newline at end of file + + +### Available Operations diff --git a/docs/sdks/apideckleads/README.md b/docs/sdks/apideckleads/README.md index 7fb2aa6..bd6ae8b 100644 --- a/docs/sdks/apideckleads/README.md +++ b/docs/sdks/apideckleads/README.md @@ -47,7 +47,6 @@ public class Application { LeadLeadsAllRequest req = LeadLeadsAllRequest.builder() .serviceId("salesforce") .filter(LeadsFilter.builder() - .name("Elon Musk") .firstName("Elon") .lastName("Musk") .email("elon@tesla.com") diff --git a/docs/sdks/ats/README.md b/docs/sdks/ats/README.md index 60877c6..b4b5447 100644 --- a/docs/sdks/ats/README.md +++ b/docs/sdks/ats/README.md @@ -1,2 +1,6 @@ # Ats -(*ats()*) \ No newline at end of file +(*ats()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/collectiontickets/README.md b/docs/sdks/collectiontickets/README.md index 1f8d4bb..4295abf 100644 --- a/docs/sdks/collectiontickets/README.md +++ b/docs/sdks/collectiontickets/README.md @@ -33,7 +33,6 @@ import com.apideck.unify.models.errors.UnprocessableResponse; import com.apideck.unify.models.operations.IssueTrackingCollectionTicketsAllRequest; import com.apideck.unify.models.operations.IssueTrackingCollectionTicketsAllResponse; import java.lang.Exception; -import java.time.OffsetDateTime; import java.util.List; import java.util.Map; @@ -57,8 +56,6 @@ public class Application { .filter(IssuesFilter.builder() .status(List.of( "open")) - .since(OffsetDateTime.parse("2020-09-30T07:43:32.000Z")) - .assigneeId("2332bd9c2eaaa5dcfa14721c") .build()) .passThrough(Map.ofEntries( Map.entry("search", "San Francisco"))) diff --git a/docs/sdks/connections/README.md b/docs/sdks/connections/README.md index e2a8db4..65aad59 100644 --- a/docs/sdks/connections/README.md +++ b/docs/sdks/connections/README.md @@ -343,7 +343,6 @@ import com.apideck.unify.models.errors.UnprocessableResponse; import com.apideck.unify.models.operations.VaultConnectionsImportRequest; import com.apideck.unify.models.operations.VaultConnectionsImportResponse; import java.lang.Exception; -import java.time.OffsetDateTime; import java.util.Map; public class Application { @@ -363,8 +362,6 @@ public class Application { .credentials(Credentials.builder() .refreshToken("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.cThIIoDvwdueQB468K5xDc5633seEFoqwxjF_xSJyQQ") .accessToken("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c") - .issuedAt(OffsetDateTime.parse("2020-01-01T00:00:00Z")) - .expiresIn(3600L) .build()) .settings(ConnectionImportDataSettings.builder() .build()) diff --git a/docs/sdks/connector/README.md b/docs/sdks/connector/README.md index 8723093..05ca4eb 100644 --- a/docs/sdks/connector/README.md +++ b/docs/sdks/connector/README.md @@ -1,2 +1,6 @@ # Connector -(*connector()*) \ No newline at end of file +(*connector()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/contacts/README.md b/docs/sdks/contacts/README.md index da00039..d500be2 100644 --- a/docs/sdks/contacts/README.md +++ b/docs/sdks/contacts/README.md @@ -48,11 +48,9 @@ public class Application { CrmContactsAllRequest req = CrmContactsAllRequest.builder() .serviceId("salesforce") .filter(ContactsFilter.builder() - .name("Elon Musk") .firstName("Elon") .lastName("Musk") .email("elon@tesla.com") - .phoneNumber("111-111-1111") .companyId("12345") .ownerId("12345") .build()) @@ -315,11 +313,9 @@ public class Application { .serviceId("salesforce") .fields("id,updated_at") .filter(ContactsFilter.builder() - .name("Elon Musk") .firstName("Elon") .lastName("Musk") .email("elon@tesla.com") - .phoneNumber("111-111-1111") .companyId("12345") .ownerId("12345") .build()) diff --git a/docs/sdks/crm/README.md b/docs/sdks/crm/README.md index 98c5187..5002569 100644 --- a/docs/sdks/crm/README.md +++ b/docs/sdks/crm/README.md @@ -1,2 +1,6 @@ # Crm -(*crm()*) \ No newline at end of file +(*crm()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/ecommerce/README.md b/docs/sdks/ecommerce/README.md index 4487ee0..38b5935 100644 --- a/docs/sdks/ecommerce/README.md +++ b/docs/sdks/ecommerce/README.md @@ -1,2 +1,6 @@ # Ecommerce -(*ecommerce()*) \ No newline at end of file +(*ecommerce()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/employees/README.md b/docs/sdks/employees/README.md index 7ebcbcd..47f3d80 100644 --- a/docs/sdks/employees/README.md +++ b/docs/sdks/employees/README.md @@ -128,7 +128,6 @@ import com.apideck.unify.models.components.Gender; import com.apideck.unify.models.components.LeavingReason; import com.apideck.unify.models.components.Manager; import com.apideck.unify.models.components.PassThroughBody; -import com.apideck.unify.models.components.PaymentFrequency; import com.apideck.unify.models.components.PaymentUnit; import com.apideck.unify.models.components.PersonInput; import com.apideck.unify.models.components.PhoneNumber; @@ -269,10 +268,8 @@ public class Application { EmployeeCompensationInput.builder() .rate(50d) .paymentUnit(PaymentUnit.HOUR) - .currency(Currency.USD) .flsaStatus(FlsaStatus.NONEXEMPT) .effectiveDate("2021-06-11") - .paymentFrequency(PaymentFrequency.MONTHLY) .build())) .worksRemote(true) .addresses(List.of( @@ -504,7 +501,6 @@ import com.apideck.unify.models.components.Gender; import com.apideck.unify.models.components.LeavingReason; import com.apideck.unify.models.components.Manager; import com.apideck.unify.models.components.PassThroughBody; -import com.apideck.unify.models.components.PaymentFrequency; import com.apideck.unify.models.components.PaymentUnit; import com.apideck.unify.models.components.PersonInput; import com.apideck.unify.models.components.PhoneNumber; @@ -647,10 +643,8 @@ public class Application { EmployeeCompensationInput.builder() .rate(50d) .paymentUnit(PaymentUnit.HOUR) - .currency(Currency.USD) .flsaStatus(FlsaStatus.NONEXEMPT) .effectiveDate("2021-06-11") - .paymentFrequency(PaymentFrequency.MONTHLY) .build())) .worksRemote(true) .addresses(List.of( diff --git a/docs/sdks/files/README.md b/docs/sdks/files/README.md index 6330bfb..de93105 100644 --- a/docs/sdks/files/README.md +++ b/docs/sdks/files/README.md @@ -105,10 +105,8 @@ Search Files package hello.world; import com.apideck.unify.Apideck; -import com.apideck.unify.models.components.ExtendPaths; import com.apideck.unify.models.components.FilesFilter; import com.apideck.unify.models.components.FilesSearch; -import com.apideck.unify.models.components.PassThroughBody; import com.apideck.unify.models.errors.BadRequestResponse; import com.apideck.unify.models.errors.NotFoundResponse; import com.apideck.unify.models.errors.PaymentRequiredResponse; @@ -117,7 +115,6 @@ import com.apideck.unify.models.errors.UnprocessableResponse; import com.apideck.unify.models.operations.FileStorageFilesSearchRequest; import com.apideck.unify.models.operations.FileStorageFilesSearchResponse; import java.lang.Exception; -import java.util.List; import java.util.Map; public class Application { @@ -133,16 +130,6 @@ public class Application { FileStorageFilesSearchRequest req = FileStorageFilesSearchRequest.builder() .filesSearch(FilesSearch.builder() .query("logo jpg") - .driveId("1234") - .passThrough(List.of( - PassThroughBody.builder() - .serviceId("") - .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())) .build()) .serviceId("salesforce") .passThrough(Map.ofEntries( diff --git a/docs/sdks/filestorage/README.md b/docs/sdks/filestorage/README.md index 00c9c9d..824c6da 100644 --- a/docs/sdks/filestorage/README.md +++ b/docs/sdks/filestorage/README.md @@ -1,2 +1,6 @@ # FileStorage -(*fileStorage()*) \ No newline at end of file +(*fileStorage()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/hris/README.md b/docs/sdks/hris/README.md index 1afa741..7244463 100644 --- a/docs/sdks/hris/README.md +++ b/docs/sdks/hris/README.md @@ -1,2 +1,6 @@ # Hris -(*hris()*) \ No newline at end of file +(*hris()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/issuetracking/README.md b/docs/sdks/issuetracking/README.md index 72fd001..f203c49 100644 --- a/docs/sdks/issuetracking/README.md +++ b/docs/sdks/issuetracking/README.md @@ -1,2 +1,6 @@ # IssueTracking -(*issueTracking()*) \ No newline at end of file +(*issueTracking()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/items/README.md b/docs/sdks/items/README.md index 0df88c6..2593e59 100644 --- a/docs/sdks/items/README.md +++ b/docs/sdks/items/README.md @@ -165,8 +165,6 @@ public class Application { .pricingType(ItemPricingType.FIXED) .priceAmount(10d) .priceCurrency(Currency.USD) - .stockable(false) - .presentAtAllLocations(false) .build())) .modifierGroups(List.of( ItemModifierGroups.builder() @@ -375,8 +373,6 @@ public class Application { .pricingType(ItemPricingType.FIXED) .priceAmount(10d) .priceCurrency(Currency.USD) - .stockable(false) - .presentAtAllLocations(false) .build())) .modifierGroups(List.of( ItemModifierGroups.builder() diff --git a/docs/sdks/lead/README.md b/docs/sdks/lead/README.md index 14e1b6c..b6744b6 100644 --- a/docs/sdks/lead/README.md +++ b/docs/sdks/lead/README.md @@ -1,2 +1,6 @@ # Lead -(*lead()*) \ No newline at end of file +(*lead()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/leads/README.md b/docs/sdks/leads/README.md index 0e13b0c..fe40443 100644 --- a/docs/sdks/leads/README.md +++ b/docs/sdks/leads/README.md @@ -48,7 +48,6 @@ public class Application { CrmLeadsAllRequest req = CrmLeadsAllRequest.builder() .serviceId("salesforce") .filter(LeadsFilter.builder() - .name("Elon Musk") .firstName("Elon") .lastName("Musk") .email("elon@tesla.com") diff --git a/docs/sdks/opportunities/README.md b/docs/sdks/opportunities/README.md index afe0de1..46d25a1 100644 --- a/docs/sdks/opportunities/README.md +++ b/docs/sdks/opportunities/README.md @@ -48,13 +48,8 @@ public class Application { CrmOpportunitiesAllRequest req = CrmOpportunitiesAllRequest.builder() .serviceId("salesforce") .filter(OpportunitiesFilter.builder() - .title("Tesla deal") .status("Completed") .monetaryAmount(75000d) - .winProbability(50d) - .companyId("1234") - .ownerId("1234") - .primaryContactId("1234") .build()) .sort(OpportunitiesSort.builder() .by(OpportunitiesSortBy.CREATED_AT) diff --git a/docs/sdks/pos/README.md b/docs/sdks/pos/README.md index 86f0323..35f9928 100644 --- a/docs/sdks/pos/README.md +++ b/docs/sdks/pos/README.md @@ -1,2 +1,6 @@ # Pos -(*pos()*) \ No newline at end of file +(*pos()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/sms/README.md b/docs/sdks/sms/README.md index 4c7ca58..1abc206 100644 --- a/docs/sdks/sms/README.md +++ b/docs/sdks/sms/README.md @@ -1,2 +1,6 @@ # Sms -(*sms()*) \ No newline at end of file +(*sms()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/vault/README.md b/docs/sdks/vault/README.md index 3804cfb..1293f18 100644 --- a/docs/sdks/vault/README.md +++ b/docs/sdks/vault/README.md @@ -1,2 +1,6 @@ # Vault -(*vault()*) \ No newline at end of file +(*vault()*) + +## Overview + +### Available Operations diff --git a/docs/sdks/webhook/README.md b/docs/sdks/webhook/README.md index 1dc8c99..609a033 100644 --- a/docs/sdks/webhook/README.md +++ b/docs/sdks/webhook/README.md @@ -1,2 +1,6 @@ # Webhook -(*webhook()*) \ No newline at end of file +(*webhook()*) + +## Overview + +### Available Operations diff --git a/src/main/java/com/apideck/unify/SDKConfiguration.java b/src/main/java/com/apideck/unify/SDKConfiguration.java index bd5087e..146d10b 100644 --- a/src/main/java/com/apideck/unify/SDKConfiguration.java +++ b/src/main/java/com/apideck/unify/SDKConfiguration.java @@ -27,8 +27,8 @@ public Optional securitySource() { public int serverIdx = 0; private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "10.8.1"; - public static final String SDK_VERSION = "0.1.12"; - public static final String GEN_VERSION = "2.461.4"; + public static final String SDK_VERSION = "0.2.0"; + public static final String GEN_VERSION = "2.466.0"; private static final String BASE_PACKAGE = "com.apideck.unify"; public static final String USER_AGENT = String.format("speakeasy-sdk/%s %s %s %s %s",