From 142a1bce117905826ff0b5cd0337068445515cb2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 30 Apr 2025 00:20:31 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.540.1 --- .gitignore | 1 + .speakeasy/gen.lock | 134 ++- .speakeasy/workflow.lock | 14 +- README.md | 4 +- RELEASES.md | 12 +- build.gradle | 2 +- docs/models/shared/BulkLoad.md | 2 +- ...reateDeclarativeSourceDefinitionRequest.md | 3 +- docs/models/shared/Linear.md | 8 + docs/models/shared/OAuthActorNames.md | 1 + docs/models/shared/SharepointEnterprise.md | 8 + .../shared/SharepointEnterpriseCredentials.md | 9 + docs/models/shared/SourceHubspot.md | 1 + docs/models/shared/SourceLinear.md | 9 + docs/models/shared/SourceMongodbV2.md | 1 + .../shared/SourceSharepointEnterprise.md | 18 + .../SourceSharepointEnterpriseAuthType.md | 8 + ...EnterpriseAuthenticateViaMicrosoftOAuth.md | 15 + ...ourceSharepointEnterpriseAuthentication.md | 4 + ...SourceSharepointEnterpriseAutogenerated.md | 8 + .../SourceSharepointEnterpriseAvroFormat.md | 9 + .../SourceSharepointEnterpriseCSVFormat.md | 21 + ...SharepointEnterpriseCSVHeaderDefinition.md | 4 + .../SourceSharepointEnterpriseCopyRawFiles.md | 11 + ...ourceSharepointEnterpriseDeliveryMethod.md | 2 + .../SourceSharepointEnterpriseDeliveryType.md | 8 + .../SourceSharepointEnterpriseExcelFormat.md | 8 + ...arepointEnterpriseFileBasedStreamConfig.md | 15 + .../SourceSharepointEnterpriseFiletype.md | 8 + .../SourceSharepointEnterpriseFormat.md | 4 + .../SourceSharepointEnterpriseFromCSV.md | 8 + ...harepointEnterpriseHeaderDefinitionType.md | 8 + .../SourceSharepointEnterpriseJsonlFormat.md | 8 + .../shared/SourceSharepointEnterpriseLocal.md | 10 + .../shared/SourceSharepointEnterpriseMode.md | 8 + ...SourceSharepointEnterpriseParquetFormat.md | 9 + ...urceSharepointEnterpriseParsingStrategy.md | 13 + .../SourceSharepointEnterpriseProcessing.md | 4 + ...epointEnterpriseReplicatePermissionsACL.md | 11 + ...rceSharepointEnterpriseReplicateRecords.md | 10 + ...urceSharepointEnterpriseSchemasAuthType.md | 8 + ...rpriseSchemasDeliveryMethodDeliveryType.md | 8 + ...SharepointEnterpriseSchemasDeliveryType.md | 8 + ...urceSharepointEnterpriseSchemasFiletype.md | 8 + ...ntEnterpriseSchemasHeaderDefinitionType.md | 8 + ...repointEnterpriseSchemasStreamsFiletype.md | 8 + ...tEnterpriseSchemasStreamsFormatFiletype.md | 8 + ...riseSchemasStreamsFormatFormat6Filetype.md | 8 + ...priseSchemasStreamsFormatFormatFiletype.md | 8 + ...priseSchemasStreamsHeaderDefinitionType.md | 8 + .../SourceSharepointEnterpriseSearchScope.md | 12 + ...pointEnterpriseServiceKeyAuthentication.md | 15 + ...harepointEnterpriseSharepointEnterprise.md | 8 + ...intEnterpriseUnstructuredDocumentFormat.md | 13 + .../SourceSharepointEnterpriseUserProvided.md | 9 + ...rceSharepointEnterpriseValidationPolicy.md | 12 + docs/models/shared/StreamConfiguration.md | 1 + docs/sdks/sources/README.md | 9 +- gen.yaml | 3 +- gradle.properties | 2 +- .../com/airbyte/api/SDKConfiguration.java | 4 +- ...ateDeclarativeSourceDefinitionRequest.java | 62 +- .../com/airbyte/api/models/shared/Linear.java | 34 + .../api/models/shared/OAuthActorNames.java | 1 + .../shared/OAuthCredentialsConfiguration.java | 17 +- .../models/shared/SharepointEnterprise.java | 108 ++ .../SharepointEnterpriseCredentials.java | 184 ++++ .../models/shared/SourceConfiguration.java | 620 ++++++------ .../api/models/shared/SourceHubspot.java | 72 +- .../api/models/shared/SourceLinear.java | 106 ++ .../api/models/shared/SourceMongodbV2.java | 71 +- .../shared/SourceSharepointEnterprise.java | 488 +++++++++ .../SourceSharepointEnterpriseAuthType.java | 34 + ...terpriseAuthenticateViaMicrosoftOAuth.java | 279 ++++++ ...rceSharepointEnterpriseAuthentication.java | 100 ++ ...urceSharepointEnterpriseAutogenerated.java | 85 ++ .../SourceSharepointEnterpriseAvroFormat.java | 157 +++ .../SourceSharepointEnterpriseCSVFormat.java | 946 ++++++++++++++++++ ...arepointEnterpriseCSVHeaderDefinition.java | 107 ++ ...ourceSharepointEnterpriseCopyRawFiles.java | 162 +++ ...rceSharepointEnterpriseDeliveryMethod.java | 102 ++ ...ourceSharepointEnterpriseDeliveryType.java | 34 + ...SourceSharepointEnterpriseExcelFormat.java | 85 ++ ...epointEnterpriseFileBasedStreamConfig.java | 543 ++++++++++ .../SourceSharepointEnterpriseFiletype.java | 34 + .../SourceSharepointEnterpriseFormat.java | 128 +++ .../SourceSharepointEnterpriseFromCSV.java | 85 ++ ...repointEnterpriseHeaderDefinitionType.java | 34 + ...SourceSharepointEnterpriseJsonlFormat.java | 85 ++ .../SourceSharepointEnterpriseLocal.java | 90 ++ .../SourceSharepointEnterpriseMode.java | 34 + ...urceSharepointEnterpriseParquetFormat.java | 157 +++ ...ceSharepointEnterpriseParsingStrategy.java | 42 + .../SourceSharepointEnterpriseProcessing.java | 93 ++ ...ointEnterpriseReplicatePermissionsACL.java | 162 +++ ...eSharepointEnterpriseReplicateRecords.java | 90 ++ ...ceSharepointEnterpriseSchemasAuthType.java | 34 + ...riseSchemasDeliveryMethodDeliveryType.java | 34 + ...arepointEnterpriseSchemasDeliveryType.java | 34 + ...ceSharepointEnterpriseSchemasFiletype.java | 34 + ...EnterpriseSchemasHeaderDefinitionType.java | 34 + ...pointEnterpriseSchemasStreamsFiletype.java | 34 + ...nterpriseSchemasStreamsFormatFiletype.java | 34 + ...seSchemasStreamsFormatFormat6Filetype.java | 34 + ...iseSchemasStreamsFormatFormatFiletype.java | 34 + ...iseSchemasStreamsHeaderDefinitionType.java | 34 + ...SourceSharepointEnterpriseSearchScope.java | 41 + ...intEnterpriseServiceKeyAuthentication.java | 253 +++++ ...repointEnterpriseSharepointEnterprise.java | 34 + ...tEnterpriseUnstructuredDocumentFormat.java | 293 ++++++ ...ourceSharepointEnterpriseUserProvided.java | 125 +++ ...eSharepointEnterpriseValidationPolicy.java | 41 + .../models/shared/StreamConfiguration.java | 63 +- 113 files changed, 6870 insertions(+), 360 deletions(-) create mode 100644 docs/models/shared/Linear.md create mode 100644 docs/models/shared/SharepointEnterprise.md create mode 100644 docs/models/shared/SharepointEnterpriseCredentials.md create mode 100644 docs/models/shared/SourceLinear.md create mode 100644 docs/models/shared/SourceSharepointEnterprise.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseAuthType.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseAuthentication.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseAutogenerated.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseAvroFormat.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseCSVFormat.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseCSVHeaderDefinition.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseCopyRawFiles.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseDeliveryMethod.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseDeliveryType.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseExcelFormat.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseFileBasedStreamConfig.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseFiletype.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseFormat.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseFromCSV.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseHeaderDefinitionType.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseJsonlFormat.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseLocal.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseMode.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseParquetFormat.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseParsingStrategy.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseProcessing.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseReplicatePermissionsACL.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseReplicateRecords.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSchemasAuthType.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSchemasDeliveryType.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSchemasFiletype.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSchemasHeaderDefinitionType.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFiletype.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFiletype.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSearchScope.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseServiceKeyAuthentication.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseSharepointEnterprise.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseUnstructuredDocumentFormat.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseUserProvided.md create mode 100644 docs/models/shared/SourceSharepointEnterpriseValidationPolicy.md create mode 100644 src/main/java/com/airbyte/api/models/shared/Linear.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SharepointEnterprise.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SharepointEnterpriseCredentials.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceLinear.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterprise.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthentication.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAutogenerated.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAvroFormat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCSVFormat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCSVHeaderDefinition.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCopyRawFiles.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseDeliveryMethod.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseDeliveryType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseExcelFormat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFileBasedStreamConfig.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFiletype.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFormat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFromCSV.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseHeaderDefinitionType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseJsonlFormat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseLocal.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseMode.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseParquetFormat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseParsingStrategy.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseProcessing.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseReplicatePermissionsACL.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseReplicateRecords.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasDeliveryType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasFiletype.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasHeaderDefinitionType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFiletype.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFiletype.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSearchScope.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseServiceKeyAuthentication.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSharepointEnterprise.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseUnstructuredDocumentFormat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseUserProvided.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseValidationPolicy.java diff --git a/.gitignore b/.gitignore index 972e3cad5..35a1cc58d 100755 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.speakeasy/temp/ .speakeasy/reports # Ignore IDE-specific configs .project diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index c048079c8..9b2cc30ca 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 5b16d152-46cd-4f0b-94e9-018ca2cfe7cd management: - docChecksum: 741a3c4053bac32f3919044d62f43ab1 + docChecksum: d28dca01b9f909cf9e314f5a34a04491 docVersion: 1.0.0 - speakeasyVersion: 1.533.0 - generationVersion: 2.578.0 - releaseVersion: 2.0.0 - configChecksum: 68f3368e9c861b65eee7945bae875219 + speakeasyVersion: 1.540.1 + generationVersion: 2.593.4 + releaseVersion: 2.0.1 + configChecksum: f8383cac2b78c7ed16d2061fc306793b repoURL: https://github.com/airbytehq/airbyte-api-java-sdk.git repoSubDirectory: . published: true @@ -1060,6 +1060,7 @@ generatedFiles: - docs/models/shared/LeverHiring.md - docs/models/shared/LeverHiringCredentials.md - docs/models/shared/LightspeedRetail.md + - docs/models/shared/Linear.md - docs/models/shared/LinkedinAds.md - docs/models/shared/LinkedinAdsCredentials.md - docs/models/shared/LinkedinPages.md @@ -1391,6 +1392,8 @@ generatedFiles: - docs/models/shared/SftpBulk.md - docs/models/shared/SftpJson.md - docs/models/shared/ShareTypeUsedForMostPopularSharedStream.md + - docs/models/shared/SharepointEnterprise.md + - docs/models/shared/SharepointEnterpriseCredentials.md - docs/models/shared/Sharetribe.md - docs/models/shared/Shippo.md - docs/models/shared/Shipstation.md @@ -2083,6 +2086,7 @@ generatedFiles: - docs/models/shared/SourceLeverHiringLeverHiring.md - docs/models/shared/SourceLeverHiringSchemasAuthType.md - docs/models/shared/SourceLightspeedRetail.md + - docs/models/shared/SourceLinear.md - docs/models/shared/SourceLinkedinAds.md - docs/models/shared/SourceLinkedinAdsAccessToken.md - docs/models/shared/SourceLinkedinAdsAuthMethod.md @@ -2604,6 +2608,47 @@ generatedFiles: - docs/models/shared/SourceSftpPasswordAuthentication.md - docs/models/shared/SourceSftpSSHKeyAuthentication.md - docs/models/shared/SourceSftpSchemasAuthMethod.md + - docs/models/shared/SourceSharepointEnterprise.md + - docs/models/shared/SourceSharepointEnterpriseAuthType.md + - docs/models/shared/SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth.md + - docs/models/shared/SourceSharepointEnterpriseAuthentication.md + - docs/models/shared/SourceSharepointEnterpriseAutogenerated.md + - docs/models/shared/SourceSharepointEnterpriseAvroFormat.md + - docs/models/shared/SourceSharepointEnterpriseCSVFormat.md + - docs/models/shared/SourceSharepointEnterpriseCSVHeaderDefinition.md + - docs/models/shared/SourceSharepointEnterpriseCopyRawFiles.md + - docs/models/shared/SourceSharepointEnterpriseDeliveryMethod.md + - docs/models/shared/SourceSharepointEnterpriseDeliveryType.md + - docs/models/shared/SourceSharepointEnterpriseExcelFormat.md + - docs/models/shared/SourceSharepointEnterpriseFileBasedStreamConfig.md + - docs/models/shared/SourceSharepointEnterpriseFiletype.md + - docs/models/shared/SourceSharepointEnterpriseFormat.md + - docs/models/shared/SourceSharepointEnterpriseFromCSV.md + - docs/models/shared/SourceSharepointEnterpriseHeaderDefinitionType.md + - docs/models/shared/SourceSharepointEnterpriseJsonlFormat.md + - docs/models/shared/SourceSharepointEnterpriseLocal.md + - docs/models/shared/SourceSharepointEnterpriseMode.md + - docs/models/shared/SourceSharepointEnterpriseParquetFormat.md + - docs/models/shared/SourceSharepointEnterpriseParsingStrategy.md + - docs/models/shared/SourceSharepointEnterpriseProcessing.md + - docs/models/shared/SourceSharepointEnterpriseReplicatePermissionsACL.md + - docs/models/shared/SourceSharepointEnterpriseReplicateRecords.md + - docs/models/shared/SourceSharepointEnterpriseSchemasAuthType.md + - docs/models/shared/SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.md + - docs/models/shared/SourceSharepointEnterpriseSchemasDeliveryType.md + - docs/models/shared/SourceSharepointEnterpriseSchemasFiletype.md + - docs/models/shared/SourceSharepointEnterpriseSchemasHeaderDefinitionType.md + - docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFiletype.md + - docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFiletype.md + - docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.md + - docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.md + - docs/models/shared/SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.md + - docs/models/shared/SourceSharepointEnterpriseSearchScope.md + - docs/models/shared/SourceSharepointEnterpriseServiceKeyAuthentication.md + - docs/models/shared/SourceSharepointEnterpriseSharepointEnterprise.md + - docs/models/shared/SourceSharepointEnterpriseUnstructuredDocumentFormat.md + - docs/models/shared/SourceSharepointEnterpriseUserProvided.md + - docs/models/shared/SourceSharepointEnterpriseValidationPolicy.md - docs/models/shared/SourceSharetribe.md - docs/models/shared/SourceShippo.md - docs/models/shared/SourceShipstation.md @@ -4142,6 +4187,7 @@ generatedFiles: - src/main/java/com/airbyte/api/models/shared/LeverHiring.java - src/main/java/com/airbyte/api/models/shared/LeverHiringCredentials.java - src/main/java/com/airbyte/api/models/shared/LightspeedRetail.java + - src/main/java/com/airbyte/api/models/shared/Linear.java - src/main/java/com/airbyte/api/models/shared/LinkedinAds.java - src/main/java/com/airbyte/api/models/shared/LinkedinAdsCredentials.java - src/main/java/com/airbyte/api/models/shared/LinkedinPages.java @@ -4473,6 +4519,8 @@ generatedFiles: - src/main/java/com/airbyte/api/models/shared/SftpBulk.java - src/main/java/com/airbyte/api/models/shared/SftpJson.java - src/main/java/com/airbyte/api/models/shared/ShareTypeUsedForMostPopularSharedStream.java + - src/main/java/com/airbyte/api/models/shared/SharepointEnterprise.java + - src/main/java/com/airbyte/api/models/shared/SharepointEnterpriseCredentials.java - src/main/java/com/airbyte/api/models/shared/Sharetribe.java - src/main/java/com/airbyte/api/models/shared/Shippo.java - src/main/java/com/airbyte/api/models/shared/Shipstation.java @@ -5165,6 +5213,7 @@ generatedFiles: - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringLeverHiring.java - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringSchemasAuthType.java - src/main/java/com/airbyte/api/models/shared/SourceLightspeedRetail.java + - src/main/java/com/airbyte/api/models/shared/SourceLinear.java - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAds.java - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAccessToken.java - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthMethod.java @@ -5686,6 +5735,47 @@ generatedFiles: - src/main/java/com/airbyte/api/models/shared/SourceSftpPasswordAuthentication.java - src/main/java/com/airbyte/api/models/shared/SourceSftpSSHKeyAuthentication.java - src/main/java/com/airbyte/api/models/shared/SourceSftpSchemasAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterprise.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAutogenerated.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAvroFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCSVFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCSVHeaderDefinition.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCopyRawFiles.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseDeliveryMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseDeliveryType.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseExcelFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFileBasedStreamConfig.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFromCSV.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseJsonlFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseLocal.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseMode.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseParquetFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseParsingStrategy.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseProcessing.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseReplicatePermissionsACL.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseReplicateRecords.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasDeliveryType.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSearchScope.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseServiceKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSharepointEnterprise.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseUnstructuredDocumentFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseUserProvided.java + - src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseValidationPolicy.java - src/main/java/com/airbyte/api/models/shared/SourceSharetribe.java - src/main/java/com/airbyte/api/models/shared/SourceShippo.java - src/main/java/com/airbyte/api/models/shared/SourceShipstation.java @@ -6207,10 +6297,10 @@ examples: application/json: {"configuration": {"database": "", "disable_type_dedupe": false, "host": "grizzled-planula.com", "port": 3306, "ssl": true, "username": "Lempi78"}, "createdAt": 971525, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "postgres", "name": "Analytics Team Postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} Destination Creation Response Example: requestBody: - application/json: {"configuration": {"credential": {"credential_type": "HMAC_KEY", "hmac_key_access_id": "1234567890abcdefghij1234", "hmac_key_secret": "1234567890abcdefghij1234567890ABCDEFGHIJ"}, "format": {"format_type": "JSONL"}, "gcs_bucket_name": "airbyte_sync", "gcs_bucket_path": "data_sync/test", "gcs_bucket_region": "us"}, "name": "", "workspaceId": "3c34f9e3-9028-4cb0-a3a5-9b4797bfc7d8"} + application/json: {"configuration": {"embedding": {"openai_key": ""}, "indexing": {"additional_headers": [{"header_key": "X-OpenAI-Api-Key", "value": "my-openai-api-key"}], "auth": {}, "batch_size": 128, "default_vectorizer": "none", "host": "https://my-cluster.weaviate.network", "tenant_id": "", "text_field": "text"}, "omit_raw_text": false, "processing": {"chunk_overlap": 0, "chunk_size": 240595, "metadata_fields": ["user.name"], "text_fields": ["text"]}}, "name": "", "workspaceId": "3c34f9e3-9028-4cb0-a3a5-9b4797bfc7d8"} responses: "200": - application/json: {"configuration": {"credential": {"credential_type": "HMAC_KEY", "hmac_key_access_id": "1234567890abcdefghij1234", "hmac_key_secret": "1234567890abcdefghij1234567890ABCDEFGHIJ"}, "format": {"flattening": "No flattening", "format_type": "CSV"}, "gcs_bucket_name": "airbyte_sync", "gcs_bucket_path": "data_sync/test", "gcs_bucket_region": "us"}, "createdAt": 144728, "definitionId": "", "destinationId": "af0c3c67-aa61-419f-8922-95b0bf840e86", "destinationType": "", "name": "", "workspaceId": ""} + application/json: {"configuration": {"test_destination": {"num_messages": 568414, "test_destination_type": "FAILING"}}, "createdAt": 144728, "definitionId": "", "destinationId": "af0c3c67-aa61-419f-8922-95b0bf840e86", "destinationType": "", "name": "", "workspaceId": ""} deleteDestination: speakeasy-default-delete-destination: parameters: @@ -6250,10 +6340,10 @@ examples: path: destinationId: "" requestBody: - application/json: {"configuration": {"database": "", "host": "flickering-platter.biz", "port": 5432, "schema": "public", "ssl": false, "username": "Cleora_Fisher"}} + application/json: {"configuration": {"database": "", "disable_type_dedupe": false, "host": "wretched-duster.net", "port": 3306, "ssl": true, "username": "Eleanore.Weber"}} responses: "200": - application/json: {"configuration": {"corpus_name": "", "customer_id": "", "oauth2": {"client_id": "", "client_secret": ""}, "parallelize": false, "title_field": ""}, "createdAt": 900273, "definitionId": "", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "", "name": "running", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + application/json: {"configuration": {"credential": {"credential_type": "HMAC_KEY", "hmac_key_access_id": "1234567890abcdefghij1234", "hmac_key_secret": "1234567890abcdefghij1234567890ABCDEFGHIJ"}, "format": {"block_size_mb": 128, "compression_codec": "UNCOMPRESSED", "dictionary_encoding": true, "dictionary_page_size_kb": 1024, "format_type": "Parquet", "max_padding_size_mb": 8, "page_size_kb": 1024}, "gcs_bucket_name": "airbyte_sync", "gcs_bucket_path": "data_sync/test", "gcs_bucket_region": "us"}, "createdAt": 900273, "definitionId": "", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "", "name": "running", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} putDestination: Destination Update Request Example: parameters: @@ -6269,10 +6359,10 @@ examples: path: destinationId: "" requestBody: - application/json: {"configuration": {"host": "faraway-lifestyle.biz", "port": 1521, "schema": "airbyte", "sid": "", "username": "Jennie_Veum"}, "name": ""} + application/json: {"configuration": {"cache_type": "hash", "host": "localhost,127.0.0.1", "port": 6379, "ssl": false, "username": "Katrina49"}, "name": ""} responses: "200": - application/json: {"configuration": {"destination_path": "/local/destination.duckdb"}, "createdAt": 877712, "definitionId": "", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "", "name": "running", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + application/json: {"configuration": {"api_key": "", "host": "wealthy-effector.name"}, "createdAt": 877712, "definitionId": "", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "", "name": "running", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} getHealthCheck: {} cancelJob: speakeasy-default-cancel-job: @@ -6379,16 +6469,16 @@ examples: createSource: Source Creation Request Example: requestBody: - application/json: {"configuration": {"access_token": "", "consumer_key": "", "favorite": false}, "name": "My Source", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + application/json: {"configuration": {"pokemon_name": "snorlax"}, "name": "My Source", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} responses: "200": - application/json: {"configuration": {"api_key_id": "", "auth_token": "", "start_date": "2023-02-19T17:01:56.646Z"}, "createdAt": 218560, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "name": "Analytics Team Postgres", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} + application/json: {"configuration": {"api_key": "", "start_date": "2023-08-28T13:01:21.078Z", "subtitle_format": "srt"}, "createdAt": 218560, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "name": "Analytics Team Postgres", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} Source Creation Response Example: requestBody: application/json: {"configuration": {"api_key": "", "subdomain": ""}, "name": "", "workspaceId": "dc883bf1-95a6-46ef-b9bb-403f120decfe"} responses: "200": - application/json: {"configuration": {"api_key": "", "start_date": "2024-01-10T04:35:21.058Z"}, "createdAt": 58977, "definitionId": "", "name": "", "sourceId": "0c31738c-0b2d-4887-b506-e2cd1c39cc35", "sourceType": "", "workspaceId": ""} + application/json: {"configuration": {"site_name": "", "start_date": "2025-05-07T11:28:19.184Z", "username": "Kassandra_Dooley97"}, "createdAt": 58977, "definitionId": "", "name": "", "sourceId": "0c31738c-0b2d-4887-b506-e2cd1c39cc35", "sourceType": "", "workspaceId": ""} deleteSource: speakeasy-default-delete-source: parameters: @@ -6402,7 +6492,7 @@ examples: query: {} responses: "200": - application/json: {"configuration": {"credentials": {"access_token": ""}, "enable_experimental_streams": false}, "createdAt": 227873, "definitionId": "", "name": "running", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + application/json: {"configuration": {"credentials": {"access_token": ""}, "enable_experimental_streams": false, "num_worker": 3}, "createdAt": 227873, "definitionId": "", "name": "running", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} initiateOAuth: speakeasy-default-initiate-O-auth: requestBody: @@ -6417,26 +6507,26 @@ examples: offset: 0 responses: "200": - application/json: {"data": [{"configuration": {"api_token": "", "start_date": "2025-07-26T03:28:50.329Z"}, "createdAt": 736973, "definitionId": "", "name": "Analytics Team Postgres", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"}], "next": "https://api.airbyte.com/v1/sources?limit=5&offset=10", "previous": "https://api.airbyte.com/v1/sources?limit=5&offset=0"} + application/json: {"data": [{"configuration": {"api_key": ""}, "createdAt": 855060, "definitionId": "", "name": "Analytics Team Postgres", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"}], "next": "https://api.airbyte.com/v1/sources?limit=5&offset=10", "previous": "https://api.airbyte.com/v1/sources?limit=5&offset=0"} patchSource: Source Update Request Example: parameters: path: sourceId: "" requestBody: - application/json: {"configuration": {"api_token": ""}, "name": "My Source", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + application/json: {"configuration": {"x-api-key": ""}, "name": "My Source", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} responses: "200": - application/json: {"configuration": {"credentials": {"client_id": "", "client_secret": "", "refresh_token": ""}}, "createdAt": 183665, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "name": "Analytics Team Postgres", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} + application/json: {"configuration": {"credentials": {"client_id": "", "client_secret": "", "refresh_token": ""}, "endpoint": "", "ignore_missing_read_permissions_tables": false, "region": ""}, "createdAt": 183665, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "name": "Analytics Team Postgres", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} Source Update Response Example: parameters: path: sourceId: "" requestBody: - application/json: {"configuration": {"api_key": ""}, "name": "My source"} + application/json: {"configuration": {"credentials": {"client_id": "", "client_secret": "", "refresh_token": ""}}, "name": "My source"} responses: "200": - application/json: {"configuration": {"domain_id": "", "secret_key": "", "start_date": "2023-07-30T03:43:59.244Z"}, "createdAt": 291381, "definitionId": "", "name": "running", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + application/json: {"configuration": {"api_key": "", "application_key": "", "max_records_per_request": 5000, "site": "datadoghq.com", "start_date": "2023-12-01T00:00:00Z"}, "createdAt": 291381, "definitionId": "", "name": "running", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} putSource: Source Update Request Example: parameters: @@ -6452,10 +6542,10 @@ examples: path: sourceId: "" requestBody: - application/json: {"configuration": {"credentials_json": "", "project_id": ""}, "name": ""} + application/json: {"configuration": {}, "name": ""} responses: "200": - application/json: {"configuration": {"username": "Vicenta.Botsford"}, "createdAt": 140365, "definitionId": "", "name": "running", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + application/json: {"configuration": {"access_key": "xxxxxHRNxxx3TBxxxxxx", "attributes_to_return": "All", "max_batch_size": 10, "max_wait_time": 20, "queue_url": "https://sqs.eu-west-1.amazonaws.com/1234567890/my-example-queue", "region": "us-east-1", "secret_key": "hu+qE5exxxxT6o/ZrKsxxxxxxBhxxXLexxxxxVKz", "target": "ReceiveMessage", "visibility_timeout": 20}, "createdAt": 140365, "definitionId": "", "name": "running", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} getStreamProperties: speakeasy-default-get-stream-properties: parameters: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2123ff75f..764ba3ce9 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.533.0 +speakeasyVersion: 1.540.1 sources: my-source: sourceNamespace: my-source @@ -9,11 +9,11 @@ sources: - main sample-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:5c4ac3b133a9b0d18d00a131ead78279d8d36a49e31f5f562d1a200fa11caec3 - sourceBlobDigest: sha256:7866415b04810057478603476c27c4042cd2561a5f539d7181e4d5eac8ffca0a + sourceRevisionDigest: sha256:ed09844f3b29a50d6dde3c5ff61639c7e705c9c31357598c6a5bf8ae02f23b9c + sourceBlobDigest: sha256:d684baf08db0b20644b7ca45d1c40aeb214ba0bfe66636d1863ff1b7efd5afdf tags: - latest - - speakeasy-sdk-regen-1733962674 + - speakeasy-sdk-regen-1745453904 - 1.0.0 targets: airbyte-api: @@ -24,10 +24,10 @@ targets: testing: source: sample-source sourceNamespace: my-source - sourceRevisionDigest: sha256:5c4ac3b133a9b0d18d00a131ead78279d8d36a49e31f5f562d1a200fa11caec3 - sourceBlobDigest: sha256:7866415b04810057478603476c27c4042cd2561a5f539d7181e4d5eac8ffca0a + sourceRevisionDigest: sha256:ed09844f3b29a50d6dde3c5ff61639c7e705c9c31357598c6a5bf8ae02f23b9c + sourceBlobDigest: sha256:d684baf08db0b20644b7ca45d1c40aeb214ba0bfe66636d1863ff1b7efd5afdf codeSamplesNamespace: my-source-java-code-samples - codeSamplesRevisionDigest: sha256:b4a63e27822e0b961739d46a6b15049756d339c93f1008fae50a8052afce6cd9 + codeSamplesRevisionDigest: sha256:35cc36f6c74416d0946bfc785d2dd124d3b142de895a2b20b4360b21bb838090 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 5696bfb1f..af0d0585d 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.airbyte:api:2.0.0' +implementation 'com.airbyte:api:2.0.1' ``` Maven: @@ -50,7 +50,7 @@ Maven: com.airbyte api - 2.0.0 + 2.0.1 ``` diff --git a/RELEASES.md b/RELEASES.md index 4b3892115..7368c990f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1201,4 +1201,14 @@ Based on: ### Generated - [java v2.0.0] . ### Releases -- [Maven Central v2.0.0] https://central.sonatype.com/artifact/com.airbyte/api/2.0.0 - . \ No newline at end of file +- [Maven Central v2.0.0] https://central.sonatype.com/artifact/com.airbyte/api/2.0.0 - . + +## 2025-04-30 00:18:16 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.540.1 (2.593.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v2.0.1] . +### Releases +- [Maven Central v2.0.1] https://central.sonatype.com/artifact/com.airbyte/api/2.0.1 - . \ No newline at end of file diff --git a/build.gradle b/build.gradle index bf8dc7a2a..53a9ddad9 100644 --- a/build.gradle +++ b/build.gradle @@ -103,7 +103,7 @@ publishing { // https://github.com/gradle/gradle/issues/18619 groupId = "com.airbyte" artifactId = "api" - version = "2.0.0" + version = "2.0.1" from components.java diff --git a/docs/models/shared/BulkLoad.md b/docs/models/shared/BulkLoad.md index 3b5f0807f..69a3d6384 100644 --- a/docs/models/shared/BulkLoad.md +++ b/docs/models/shared/BulkLoad.md @@ -14,4 +14,4 @@ Configuration details for using the BULK loading mechanism. | `bulkLoadDataSource` | *String* | :heavy_check_mark: | Specifies the external data source name configured in MSSQL, which references the Azure Blob container. See: https://learn.microsoft.com/sql/t-sql/statements/bulk-insert-transact-sql | MyAzureBlobStorage | | `bulkLoadValidateValuesPreLoad` | *Optional\* | :heavy_minus_sign: | When enabled, Airbyte will validate all values before loading them into the destination table. This provides stronger data integrity guarantees but may significantly impact performance. | false | | `loadType` | [Optional\](../../models/shared/DestinationMssqlLoadType.md) | :heavy_minus_sign: | N/A | | -| `sharedAccessSignature` | *Optional\* | :heavy_minus_sign: | A shared access signature (SAS) provides secure delegated access to resources in your storage account. See: https://learn.microsoft.com/azure/storage/common/storage-sas-overview.Mutually exclusive with an account key | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY | \ No newline at end of file +| `sharedAccessSignature` | *Optional\* | :heavy_minus_sign: | A shared access signature (SAS) provides secure delegated access to resources in your storage account. See: https://learn.microsoft.com/azure/storage/common/storage-sas-overview.Mutually exclusive with an account key | sv=2021-08-06&st=2025-04-11T00%3A00%3A00Z&se=2025-04-12T00%3A00%3A00Z&sr=b&sp=rw&sig=abcdefghijklmnopqrstuvwxyz1234567890%2Fabcdefg%3D | \ No newline at end of file diff --git a/docs/models/shared/CreateDeclarativeSourceDefinitionRequest.md b/docs/models/shared/CreateDeclarativeSourceDefinitionRequest.md index a1d04902a..1f5c4d733 100644 --- a/docs/models/shared/CreateDeclarativeSourceDefinitionRequest.md +++ b/docs/models/shared/CreateDeclarativeSourceDefinitionRequest.md @@ -6,4 +6,5 @@ | Field | Type | Required | Description | | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | | `manifest` | *Object* | :heavy_check_mark: | Low code CDK manifest JSON object | -| `name` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| `name` | *String* | :heavy_check_mark: | N/A | +| `version` | *Optional\* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Linear.md b/docs/models/shared/Linear.md new file mode 100644 index 000000000..29787cba9 --- /dev/null +++ b/docs/models/shared/Linear.md @@ -0,0 +1,8 @@ +# Linear + + +## Values + +| Name | Value | +| -------- | -------- | +| `LINEAR` | linear | \ No newline at end of file diff --git a/docs/models/shared/OAuthActorNames.md b/docs/models/shared/OAuthActorNames.md index c6fe465ff..d20975598 100644 --- a/docs/models/shared/OAuthActorNames.md +++ b/docs/models/shared/OAuthActorNames.md @@ -34,6 +34,7 @@ | `PINTEREST` | pinterest | | `RD_STATION_MARKETING` | rd-station-marketing | | `SALESFORCE` | salesforce | +| `SHAREPOINT_ENTERPRISE` | sharepoint-enterprise | | `SLACK` | slack | | `SMARTSHEETS` | smartsheets | | `SNAPCHAT_MARKETING` | snapchat-marketing | diff --git a/docs/models/shared/SharepointEnterprise.md b/docs/models/shared/SharepointEnterprise.md new file mode 100644 index 000000000..1ee6f122d --- /dev/null +++ b/docs/models/shared/SharepointEnterprise.md @@ -0,0 +1,8 @@ +# SharepointEnterprise + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SharepointEnterpriseCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SharepointEnterpriseCredentials.md b/docs/models/shared/SharepointEnterpriseCredentials.md new file mode 100644 index 000000000..b35ae7fa9 --- /dev/null +++ b/docs/models/shared/SharepointEnterpriseCredentials.md @@ -0,0 +1,9 @@ +# SharepointEnterpriseCredentials + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `clientId` | *Optional\* | :heavy_minus_sign: | Client ID of your Microsoft developer application | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Client Secret of your Microsoft developer application | \ No newline at end of file diff --git a/docs/models/shared/SourceHubspot.md b/docs/models/shared/SourceHubspot.md index 9202664ef..b4e496558 100644 --- a/docs/models/shared/SourceHubspot.md +++ b/docs/models/shared/SourceHubspot.md @@ -7,5 +7,6 @@ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `credentials` | [SourceHubspotAuthentication](../../models/shared/SourceHubspotAuthentication.md) | :heavy_check_mark: | Choose how to authenticate to HubSpot. | | | `enableExperimentalStreams` | *Optional\* | :heavy_minus_sign: | If enabled then experimental streams become available for sync. | | +| `numWorker` | *Optional\* | :heavy_minus_sign: | The number of worker threads to use for the sync. | 1 | | `sourceType` | [SourceHubspotHubspot](../../models/shared/SourceHubspotHubspot.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If not set, "2006-06-01T00:00:00Z" (Hubspot creation date) will be used as start date. It's recommended to provide relevant to your data start date value to optimize synchronization. | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceLinear.md b/docs/models/shared/SourceLinear.md new file mode 100644 index 000000000..9efc5050f --- /dev/null +++ b/docs/models/shared/SourceLinear.md @@ -0,0 +1,9 @@ +# SourceLinear + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Linear](../../models/shared/Linear.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMongodbV2.md b/docs/models/shared/SourceMongodbV2.md index 905c5be78..044cf0f2c 100644 --- a/docs/models/shared/SourceMongodbV2.md +++ b/docs/models/shared/SourceMongodbV2.md @@ -7,6 +7,7 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `databaseConfig` | [ClusterType](../../models/shared/ClusterType.md) | :heavy_check_mark: | Configures the MongoDB cluster type. | | `discoverSampleSize` | *Optional\* | :heavy_minus_sign: | The maximum number of documents to sample when attempting to discover the unique fields for a collection. | +| `discoverTimeoutSeconds` | *Optional\* | :heavy_minus_sign: | The amount of time the connector will wait when it discovers a document. Defaults to 600 seconds. Valid range: 5 seconds to 1200 seconds. | | `initialLoadTimeoutHours` | *Optional\* | :heavy_minus_sign: | The amount of time an initial load is allowed to continue for before catching up on CDC logs. | | `initialWaitingSeconds` | *Optional\* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. | | `invalidCdcCursorPositionBehavior` | [Optional\](../../models/shared/InvalidCDCPositionBehaviorAdvanced.md) | :heavy_minus_sign: | Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. | diff --git a/docs/models/shared/SourceSharepointEnterprise.md b/docs/models/shared/SourceSharepointEnterprise.md new file mode 100644 index 000000000..47a0cb32e --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterprise.md @@ -0,0 +1,18 @@ +# SourceSharepointEnterprise + +SourceMicrosoftSharePointSpec class for Microsoft SharePoint Source Specification. +This class combines the authentication details with additional configuration for the SharePoint API. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [SourceSharepointEnterpriseAuthentication](../../models/shared/SourceSharepointEnterpriseAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the One Drive API | | +| `deliveryMethod` | [Optional\](../../models/shared/SourceSharepointEnterpriseDeliveryMethod.md) | :heavy_minus_sign: | N/A | | +| `folderPath` | *Optional\* | :heavy_minus_sign: | Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. | | +| `searchScope` | [Optional\](../../models/shared/SourceSharepointEnterpriseSearchScope.md) | :heavy_minus_sign: | Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. | | +| `siteUrl` | *Optional\* | :heavy_minus_sign: | Url of SharePoint site to search for files. Leave empty to search in the main site. Use 'https://.sharepoint.com/sites/' to iterate over all sites. | | +| `sourceType` | [SourceSharepointEnterpriseSharepointEnterprise](../../models/shared/SourceSharepointEnterpriseSharepointEnterprise.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. | 2021-01-01T00:00:00.000000Z | +| `streams` | List\<[SourceSharepointEnterpriseFileBasedStreamConfig](../../models/shared/SourceSharepointEnterpriseFileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseAuthType.md b/docs/models/shared/SourceSharepointEnterpriseAuthType.md new file mode 100644 index 000000000..49110477d --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseAuthType.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseAuthType + + +## Values + +| Name | Value | +| -------- | -------- | +| `CLIENT` | Client | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth.md b/docs/models/shared/SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth.md new file mode 100644 index 000000000..59df26ecf --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth.md @@ -0,0 +1,15 @@ +# SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth + +OAuthCredentials class to hold authentication details for Microsoft OAuth authentication. +This class uses pydantic for data validation and settings management. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `authType` | [Optional\](../../models/shared/SourceSharepointEnterpriseAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | Client ID of your Microsoft developer application | +| `clientSecret` | *String* | :heavy_check_mark: | Client Secret of your Microsoft developer application | +| `refreshToken` | *Optional\* | :heavy_minus_sign: | Refresh Token of your Microsoft developer application | +| `tenantId` | *String* | :heavy_check_mark: | Tenant ID of the Microsoft SharePoint user | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseAuthentication.md b/docs/models/shared/SourceSharepointEnterpriseAuthentication.md new file mode 100644 index 000000000..88f755901 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseAuthentication.md @@ -0,0 +1,4 @@ +# SourceSharepointEnterpriseAuthentication + +Credentials for connecting to the One Drive API + diff --git a/docs/models/shared/SourceSharepointEnterpriseAutogenerated.md b/docs/models/shared/SourceSharepointEnterpriseAutogenerated.md new file mode 100644 index 000000000..fb2cd86e3 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseAutogenerated.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseAutogenerated + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceSharepointEnterpriseSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseAvroFormat.md b/docs/models/shared/SourceSharepointEnterpriseAvroFormat.md new file mode 100644 index 000000000..967dffb9a --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseAvroFormat.md @@ -0,0 +1,9 @@ +# SourceSharepointEnterpriseAvroFormat + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `doubleAsString` | *Optional\* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | +| `filetype` | [Optional\](../../models/shared/SourceSharepointEnterpriseFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseCSVFormat.md b/docs/models/shared/SourceSharepointEnterpriseCSVFormat.md new file mode 100644 index 000000000..834ff6d9a --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseCSVFormat.md @@ -0,0 +1,21 @@ +# SourceSharepointEnterpriseCSVFormat + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `delimiter` | *Optional\* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | +| `doubleQuote` | *Optional\* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | +| `encoding` | *Optional\* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | +| `escapeChar` | *Optional\* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | +| `falseValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | +| `filetype` | [Optional\](../../models/shared/SourceSharepointEnterpriseSchemasFiletype.md) | :heavy_minus_sign: | N/A | +| `headerDefinition` | [Optional\](../../models/shared/SourceSharepointEnterpriseCSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | +| `ignoreErrorsOnFieldsMismatch` | *Optional\* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | +| `nullValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | +| `quoteChar` | *Optional\* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | +| `skipRowsAfterHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip after the header row. | +| `skipRowsBeforeHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | +| `stringsCanBeNull` | *Optional\* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | +| `trueValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseCSVHeaderDefinition.md b/docs/models/shared/SourceSharepointEnterpriseCSVHeaderDefinition.md new file mode 100644 index 000000000..89d382c27 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseCSVHeaderDefinition.md @@ -0,0 +1,4 @@ +# SourceSharepointEnterpriseCSVHeaderDefinition + +How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. + diff --git a/docs/models/shared/SourceSharepointEnterpriseCopyRawFiles.md b/docs/models/shared/SourceSharepointEnterpriseCopyRawFiles.md new file mode 100644 index 000000000..3fe942d7d --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseCopyRawFiles.md @@ -0,0 +1,11 @@ +# SourceSharepointEnterpriseCopyRawFiles + +Copy raw files without parsing their contents. Bits are copied into the destination exactly as they appeared in the source. Recommended for use with unstructured text data, non-text and compressed files. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `deliveryType` | [Optional\](../../models/shared/SourceSharepointEnterpriseSchemasDeliveryType.md) | :heavy_minus_sign: | N/A | +| `preserveDirectoryStructure` | *Optional\* | :heavy_minus_sign: | If enabled, sends subdirectory folder structure along with source file names to the destination. Otherwise, files will be synced by their names only. This option is ignored when file-based replication is not enabled. | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseDeliveryMethod.md b/docs/models/shared/SourceSharepointEnterpriseDeliveryMethod.md new file mode 100644 index 000000000..83fb881e6 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseDeliveryMethod.md @@ -0,0 +1,2 @@ +# SourceSharepointEnterpriseDeliveryMethod + diff --git a/docs/models/shared/SourceSharepointEnterpriseDeliveryType.md b/docs/models/shared/SourceSharepointEnterpriseDeliveryType.md new file mode 100644 index 000000000..56bed1cbc --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseDeliveryType.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseDeliveryType + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `USE_RECORDS_TRANSFER` | use_records_transfer | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseExcelFormat.md b/docs/models/shared/SourceSharepointEnterpriseExcelFormat.md new file mode 100644 index 000000000..156f3a469 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseExcelFormat.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseExcelFormat + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseFileBasedStreamConfig.md b/docs/models/shared/SourceSharepointEnterpriseFileBasedStreamConfig.md new file mode 100644 index 000000000..bb5ca0217 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseFileBasedStreamConfig.md @@ -0,0 +1,15 @@ +# SourceSharepointEnterpriseFileBasedStreamConfig + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `daysToSyncIfHistoryIsFull` | *Optional\* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | +| `format` | [SourceSharepointEnterpriseFormat](../../models/shared/SourceSharepointEnterpriseFormat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | +| `globs` | List\<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | +| `inputSchema` | *Optional\* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | +| `name` | *String* | :heavy_check_mark: | The name of the stream. | +| `recentNFilesToReadForSchemaDiscovery` | *Optional\* | :heavy_minus_sign: | The number of resent files which will be used to discover the schema for this stream. | +| `schemaless` | *Optional\* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | +| `validationPolicy` | [Optional\](../../models/shared/SourceSharepointEnterpriseValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseFiletype.md b/docs/models/shared/SourceSharepointEnterpriseFiletype.md new file mode 100644 index 000000000..a15c3590c --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseFiletype.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseFiletype + + +## Values + +| Name | Value | +| ------ | ------ | +| `AVRO` | avro | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseFormat.md b/docs/models/shared/SourceSharepointEnterpriseFormat.md new file mode 100644 index 000000000..b54852b6b --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseFormat.md @@ -0,0 +1,4 @@ +# SourceSharepointEnterpriseFormat + +The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. + diff --git a/docs/models/shared/SourceSharepointEnterpriseFromCSV.md b/docs/models/shared/SourceSharepointEnterpriseFromCSV.md new file mode 100644 index 000000000..636883c68 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseFromCSV.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseFromCSV + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceSharepointEnterpriseHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseHeaderDefinitionType.md b/docs/models/shared/SourceSharepointEnterpriseHeaderDefinitionType.md new file mode 100644 index 000000000..78f7ed609 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseHeaderDefinitionType.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseHeaderDefinitionType + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `FROM_CSV` | From CSV | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseJsonlFormat.md b/docs/models/shared/SourceSharepointEnterpriseJsonlFormat.md new file mode 100644 index 000000000..150beb9bd --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseJsonlFormat.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseJsonlFormat + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceSharepointEnterpriseSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseLocal.md b/docs/models/shared/SourceSharepointEnterpriseLocal.md new file mode 100644 index 000000000..3206245cc --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseLocal.md @@ -0,0 +1,10 @@ +# SourceSharepointEnterpriseLocal + +Process files locally, supporting `fast` and `ocr` modes. This is the default option. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/SourceSharepointEnterpriseMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseMode.md b/docs/models/shared/SourceSharepointEnterpriseMode.md new file mode 100644 index 000000000..6d0a09de3 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseMode.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseMode + + +## Values + +| Name | Value | +| ------- | ------- | +| `LOCAL` | local | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseParquetFormat.md b/docs/models/shared/SourceSharepointEnterpriseParquetFormat.md new file mode 100644 index 000000000..fbe4c0ae6 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseParquetFormat.md @@ -0,0 +1,9 @@ +# SourceSharepointEnterpriseParquetFormat + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `decimalAsFloat` | *Optional\* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | +| `filetype` | [Optional\](../../models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseParsingStrategy.md b/docs/models/shared/SourceSharepointEnterpriseParsingStrategy.md new file mode 100644 index 000000000..645b6458c --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseParsingStrategy.md @@ -0,0 +1,13 @@ +# SourceSharepointEnterpriseParsingStrategy + +The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `AUTO` | auto | +| `FAST` | fast | +| `OCR_ONLY` | ocr_only | +| `HI_RES` | hi_res | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseProcessing.md b/docs/models/shared/SourceSharepointEnterpriseProcessing.md new file mode 100644 index 000000000..bdd96cc03 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseProcessing.md @@ -0,0 +1,4 @@ +# SourceSharepointEnterpriseProcessing + +Processing configuration + diff --git a/docs/models/shared/SourceSharepointEnterpriseReplicatePermissionsACL.md b/docs/models/shared/SourceSharepointEnterpriseReplicatePermissionsACL.md new file mode 100644 index 000000000..e873c50ce --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseReplicatePermissionsACL.md @@ -0,0 +1,11 @@ +# SourceSharepointEnterpriseReplicatePermissionsACL + +Sends one identity stream and one for more permissions (ACL) streams to the destination. This data can be used in downstream systems to recreate permission restrictions mirroring the original source. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `deliveryType` | [Optional\](../../models/shared/SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.md) | :heavy_minus_sign: | N/A | +| `includeIdentitiesStream` | *Optional\* | :heavy_minus_sign: | This data can be used in downstream systems to recreate permission restrictions mirroring the original source | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseReplicateRecords.md b/docs/models/shared/SourceSharepointEnterpriseReplicateRecords.md new file mode 100644 index 000000000..53f64c01b --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseReplicateRecords.md @@ -0,0 +1,10 @@ +# SourceSharepointEnterpriseReplicateRecords + +Recommended - Extract and load structured records into your destination of choice. This is the classic method of moving data in Airbyte. It allows for blocking and hashing individual fields or files from a structured schema. Data can be flattened, typed and deduped depending on the destination. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `deliveryType` | [Optional\](../../models/shared/SourceSharepointEnterpriseDeliveryType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSchemasAuthType.md b/docs/models/shared/SourceSharepointEnterpriseSchemasAuthType.md new file mode 100644 index 000000000..63ccd7d25 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSchemasAuthType.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseSchemasAuthType + + +## Values + +| Name | Value | +| --------- | --------- | +| `SERVICE` | Service | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.md b/docs/models/shared/SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.md new file mode 100644 index 000000000..8064aa247 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType + + +## Values + +| Name | Value | +| -------------------------- | -------------------------- | +| `USE_PERMISSIONS_TRANSFER` | use_permissions_transfer | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSchemasDeliveryType.md b/docs/models/shared/SourceSharepointEnterpriseSchemasDeliveryType.md new file mode 100644 index 000000000..b8d2fbe2c --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSchemasDeliveryType.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseSchemasDeliveryType + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `USE_FILE_TRANSFER` | use_file_transfer | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSchemasFiletype.md b/docs/models/shared/SourceSharepointEnterpriseSchemasFiletype.md new file mode 100644 index 000000000..48945f159 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSchemasFiletype.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseSchemasFiletype + + +## Values + +| Name | Value | +| ----- | ----- | +| `CSV` | csv | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSchemasHeaderDefinitionType.md b/docs/models/shared/SourceSharepointEnterpriseSchemasHeaderDefinitionType.md new file mode 100644 index 000000000..f8b093a71 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSchemasHeaderDefinitionType.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseSchemasHeaderDefinitionType + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `AUTOGENERATED` | Autogenerated | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFiletype.md b/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFiletype.md new file mode 100644 index 000000000..ad38f179b --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFiletype.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseSchemasStreamsFiletype + + +## Values + +| Name | Value | +| ------- | ------- | +| `JSONL` | jsonl | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFiletype.md b/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFiletype.md new file mode 100644 index 000000000..d038ff328 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFiletype.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseSchemasStreamsFormatFiletype + + +## Values + +| Name | Value | +| --------- | --------- | +| `PARQUET` | parquet | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.md b/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.md new file mode 100644 index 000000000..65df95d35 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype + + +## Values + +| Name | Value | +| ------- | ------- | +| `EXCEL` | excel | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.md b/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.md new file mode 100644 index 000000000..eb8545837 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `UNSTRUCTURED` | unstructured | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.md b/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.md new file mode 100644 index 000000000..af0a5bbbd --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `USER_PROVIDED` | User Provided | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSearchScope.md b/docs/models/shared/SourceSharepointEnterpriseSearchScope.md new file mode 100644 index 000000000..b647d7e57 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSearchScope.md @@ -0,0 +1,12 @@ +# SourceSharepointEnterpriseSearchScope + +Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `ACCESSIBLE_DRIVES` | ACCESSIBLE_DRIVES | +| `SHARED_ITEMS` | SHARED_ITEMS | +| `ALL` | ALL | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseServiceKeyAuthentication.md b/docs/models/shared/SourceSharepointEnterpriseServiceKeyAuthentication.md new file mode 100644 index 000000000..9e8026dc5 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseServiceKeyAuthentication.md @@ -0,0 +1,15 @@ +# SourceSharepointEnterpriseServiceKeyAuthentication + +ServiceCredentials class for service key authentication. +This class is structured similarly to OAuthCredentials but for a different authentication method. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `authType` | [Optional\](../../models/shared/SourceSharepointEnterpriseSchemasAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | Client ID of your Microsoft developer application | +| `clientSecret` | *String* | :heavy_check_mark: | Client Secret of your Microsoft developer application | +| `tenantId` | *String* | :heavy_check_mark: | Tenant ID of the Microsoft SharePoint user | +| `userPrincipalName` | *String* | :heavy_check_mark: | Special characters such as a period, comma, space, and the at sign (@) are converted to underscores (_). More details: https://learn.microsoft.com/en-us/sharepoint/list-onedrive-urls | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseSharepointEnterprise.md b/docs/models/shared/SourceSharepointEnterpriseSharepointEnterprise.md new file mode 100644 index 000000000..0519e17ee --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseSharepointEnterprise.md @@ -0,0 +1,8 @@ +# SourceSharepointEnterpriseSharepointEnterprise + + +## Values + +| Name | Value | +| ----------------------- | ----------------------- | +| `SHAREPOINT_ENTERPRISE` | sharepoint-enterprise | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseUnstructuredDocumentFormat.md b/docs/models/shared/SourceSharepointEnterpriseUnstructuredDocumentFormat.md new file mode 100644 index 000000000..feb578126 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseUnstructuredDocumentFormat.md @@ -0,0 +1,13 @@ +# SourceSharepointEnterpriseUnstructuredDocumentFormat + +Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one record per file. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | +| `processing` | [Optional\](../../models/shared/SourceSharepointEnterpriseProcessing.md) | :heavy_minus_sign: | Processing configuration | +| `skipUnprocessableFiles` | *Optional\* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | +| `strategy` | [Optional\](../../models/shared/SourceSharepointEnterpriseParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseUserProvided.md b/docs/models/shared/SourceSharepointEnterpriseUserProvided.md new file mode 100644 index 000000000..d978acff2 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseUserProvided.md @@ -0,0 +1,9 @@ +# SourceSharepointEnterpriseUserProvided + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `columnNames` | List\<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSharepointEnterpriseValidationPolicy.md b/docs/models/shared/SourceSharepointEnterpriseValidationPolicy.md new file mode 100644 index 000000000..70917d241 --- /dev/null +++ b/docs/models/shared/SourceSharepointEnterpriseValidationPolicy.md @@ -0,0 +1,12 @@ +# SourceSharepointEnterpriseValidationPolicy + +The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `EMIT_RECORD` | Emit Record | +| `SKIP_RECORD` | Skip Record | +| `WAIT_FOR_DISCOVER` | Wait for Discover | \ No newline at end of file diff --git a/docs/models/shared/StreamConfiguration.md b/docs/models/shared/StreamConfiguration.md index 15d904313..0ad5d3a99 100644 --- a/docs/models/shared/StreamConfiguration.md +++ b/docs/models/shared/StreamConfiguration.md @@ -8,6 +8,7 @@ Configurations for a single stream. | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `cursorField` | List\<*String*> | :heavy_minus_sign: | Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if `sync_mode` is `incremental` unless there is a default. | +| `includeFiles` | *Optional\* | :heavy_minus_sign: | Whether to move raw files from the source to the destination during the sync. | | `mappers` | List\<[ConfiguredStreamMapper](../../models/shared/ConfiguredStreamMapper.md)> | :heavy_minus_sign: | Mappers that should be applied to the stream before writing to the destination. | | `name` | *String* | :heavy_check_mark: | N/A | | `primaryKey` | List\> | :heavy_minus_sign: | Paths to the fields that will be used as primary key. This field is REQUIRED if `destination_sync_mode` is `*_dedup` unless it is already supplied by the source schema. | diff --git a/docs/sdks/sources/README.md b/docs/sdks/sources/README.md index fec47bfe8..623c17999 100644 --- a/docs/sdks/sources/README.md +++ b/docs/sdks/sources/README.md @@ -41,9 +41,8 @@ public class Application { .build(); SourceCreateRequest req = SourceCreateRequest.builder() - .configuration(SourceConfiguration.of(SourcePocket.builder() - .accessToken("") - .consumerKey("") + .configuration(SourceConfiguration.of(SourcePokeapi.builder() + .pokemonName(PokemonName.SNORLAX) .build())) .name("My Source") .workspaceId("744cc0ed-7f05-4949-9e60-2a814f90c035") @@ -349,8 +348,8 @@ public class Application { PatchSourceRequest req = PatchSourceRequest.builder() .sourceId("") .sourcePatchRequest(SourcePatchRequest.builder() - .configuration(SourceConfiguration.of(SourceEventee.builder() - .apiToken("") + .configuration(SourceConfiguration.of(SourceEventzilla.builder() + .xApiKey("") .build())) .name("My Source") .workspaceId("744cc0ed-7f05-4949-9e60-2a814f90c035") diff --git a/gen.yaml b/gen.yaml index 2c0427e46..09695c29d 100644 --- a/gen.yaml +++ b/gen.yaml @@ -9,11 +9,12 @@ generation: parameterOrderingFeb2024: false requestResponseComponentNamesFeb2024: false securityFeb2025: false + sharedErrorComponentsApr2025: false auth: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false java: - version: 2.0.0 + version: 2.0.1 additionalDependencies: [] additionalPlugins: [] artifactID: api diff --git a/gradle.properties b/gradle.properties index 851e43d6a..69b6ad5da 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ groupId=com.airbyte artifactId=api -version=2.0.0 \ No newline at end of file +version=2.0.1 \ No newline at end of file diff --git a/src/main/java/com/airbyte/api/SDKConfiguration.java b/src/main/java/com/airbyte/api/SDKConfiguration.java index f31992332..b00160d27 100644 --- a/src/main/java/com/airbyte/api/SDKConfiguration.java +++ b/src/main/java/com/airbyte/api/SDKConfiguration.java @@ -29,8 +29,8 @@ public String resolvedServerUrl() { public int serverIdx = 0; private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "1.0.0"; - public static final String SDK_VERSION = "2.0.0"; - public static final String GEN_VERSION = "2.578.0"; + public static final String SDK_VERSION = "2.0.1"; + public static final String GEN_VERSION = "2.593.4"; private static final String BASE_PACKAGE = "com.airbyte.api"; public static final String USER_AGENT = String.format("speakeasy-sdk/%s %s %s %s %s", diff --git a/src/main/java/com/airbyte/api/models/shared/CreateDeclarativeSourceDefinitionRequest.java b/src/main/java/com/airbyte/api/models/shared/CreateDeclarativeSourceDefinitionRequest.java index 1a5935fba..a38adb9a6 100644 --- a/src/main/java/com/airbyte/api/models/shared/CreateDeclarativeSourceDefinitionRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/CreateDeclarativeSourceDefinitionRequest.java @@ -6,11 +6,15 @@ import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; +import java.lang.Long; import java.lang.Object; import java.lang.Override; import java.lang.String; import java.util.Objects; +import java.util.Optional; public class CreateDeclarativeSourceDefinitionRequest { @@ -23,14 +27,27 @@ public class CreateDeclarativeSourceDefinitionRequest { @JsonProperty("name") private String name; + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("version") + private Optional version; + @JsonCreator public CreateDeclarativeSourceDefinitionRequest( @JsonProperty("manifest") Object manifest, - @JsonProperty("name") String name) { + @JsonProperty("name") String name, + @JsonProperty("version") Optional version) { Utils.checkNotNull(manifest, "manifest"); Utils.checkNotNull(name, "name"); + Utils.checkNotNull(version, "version"); this.manifest = manifest; this.name = name; + this.version = version; + } + + public CreateDeclarativeSourceDefinitionRequest( + Object manifest, + String name) { + this(manifest, name, Optional.empty()); } /** @@ -46,6 +63,11 @@ public String name() { return name; } + @JsonIgnore + public Optional version() { + return version; + } + public final static Builder builder() { return new Builder(); } @@ -65,6 +87,18 @@ public CreateDeclarativeSourceDefinitionRequest withName(String name) { return this; } + public CreateDeclarativeSourceDefinitionRequest withVersion(long version) { + Utils.checkNotNull(version, "version"); + this.version = Optional.ofNullable(version); + return this; + } + + public CreateDeclarativeSourceDefinitionRequest withVersion(Optional version) { + Utils.checkNotNull(version, "version"); + this.version = version; + return this; + } + @Override public boolean equals(java.lang.Object o) { @@ -77,21 +111,24 @@ public boolean equals(java.lang.Object o) { CreateDeclarativeSourceDefinitionRequest other = (CreateDeclarativeSourceDefinitionRequest) o; return Objects.deepEquals(this.manifest, other.manifest) && - Objects.deepEquals(this.name, other.name); + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.version, other.version); } @Override public int hashCode() { return Objects.hash( manifest, - name); + name, + version); } @Override public String toString() { return Utils.toString(CreateDeclarativeSourceDefinitionRequest.class, "manifest", manifest, - "name", name); + "name", name, + "version", version); } public final static class Builder { @@ -99,6 +136,8 @@ public final static class Builder { private Object manifest; private String name; + + private Optional version = Optional.empty(); private Builder() { // force use of static builder() method @@ -118,11 +157,24 @@ public Builder name(String name) { this.name = name; return this; } + + public Builder version(long version) { + Utils.checkNotNull(version, "version"); + this.version = Optional.ofNullable(version); + return this; + } + + public Builder version(Optional version) { + Utils.checkNotNull(version, "version"); + this.version = version; + return this; + } public CreateDeclarativeSourceDefinitionRequest build() { return new CreateDeclarativeSourceDefinitionRequest( manifest, - name); + name, + version); } } } diff --git a/src/main/java/com/airbyte/api/models/shared/Linear.java b/src/main/java/com/airbyte/api/models/shared/Linear.java new file mode 100644 index 000000000..de9bf17e4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Linear.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum Linear { + LINEAR("linear"); + + @JsonValue + private final String value; + + private Linear(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (Linear o: Linear.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java b/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java index 3b4df4cea..dfae6341e 100644 --- a/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java +++ b/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java @@ -38,6 +38,7 @@ public enum OAuthActorNames { PINTEREST("pinterest"), RD_STATION_MARKETING("rd-station-marketing"), SALESFORCE("salesforce"), + SHAREPOINT_ENTERPRISE("sharepoint-enterprise"), SLACK("slack"), SMARTSHEETS("smartsheets"), SNAPCHAT_MARKETING("snapchat-marketing"), diff --git a/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java b/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java index 5c3acdb82..d6d4a9b1c 100644 --- a/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java +++ b/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java @@ -177,6 +177,11 @@ public static OAuthCredentialsConfiguration of(Salesforce value) { return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static OAuthCredentialsConfiguration of(SharepointEnterprise value) { + Utils.checkNotNull(value, "value"); + return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static OAuthCredentialsConfiguration of(Shopify value) { Utils.checkNotNull(value, "value"); return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -269,6 +274,7 @@ public static OAuthCredentialsConfiguration of(ZendeskTalk value) { *
  • {@code com.airbyte.api.models.shared.Pinterest}
  • *
  • {@code com.airbyte.api.models.shared.RdStationMarketing}
  • *
  • {@code com.airbyte.api.models.shared.Salesforce}
  • + *
  • {@code com.airbyte.api.models.shared.SharepointEnterprise}
  • *
  • {@code com.airbyte.api.models.shared.Shopify}
  • *
  • {@code com.airbyte.api.models.shared.Slack}
  • *
  • {@code com.airbyte.api.models.shared.Smartsheets}
  • @@ -332,18 +338,19 @@ public _Deserializer() { TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), @@ -355,10 +362,10 @@ public _Deserializer() { TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } diff --git a/src/main/java/com/airbyte/api/models/shared/SharepointEnterprise.java b/src/main/java/com/airbyte/api/models/shared/SharepointEnterprise.java new file mode 100644 index 000000000..ebd37b6c9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SharepointEnterprise.java @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +public class SharepointEnterprise { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + private Optional credentials; + + @JsonCreator + public SharepointEnterprise( + @JsonProperty("credentials") Optional credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + } + + public SharepointEnterprise() { + this(Optional.empty()); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional credentials() { + return (Optional) credentials; + } + + public final static Builder builder() { + return new Builder(); + } + + public SharepointEnterprise withCredentials(SharepointEnterpriseCredentials credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = Optional.ofNullable(credentials); + return this; + } + + public SharepointEnterprise withCredentials(Optional credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SharepointEnterprise other = (SharepointEnterprise) o; + return + Objects.deepEquals(this.credentials, other.credentials); + } + + @Override + public int hashCode() { + return Objects.hash( + credentials); + } + + @Override + public String toString() { + return Utils.toString(SharepointEnterprise.class, + "credentials", credentials); + } + + public final static class Builder { + + private Optional credentials = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder credentials(SharepointEnterpriseCredentials credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = Optional.ofNullable(credentials); + return this; + } + + public Builder credentials(Optional credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + public SharepointEnterprise build() { + return new SharepointEnterprise( + credentials); + } + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SharepointEnterpriseCredentials.java b/src/main/java/com/airbyte/api/models/shared/SharepointEnterpriseCredentials.java new file mode 100644 index 000000000..7340e2a2b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SharepointEnterpriseCredentials.java @@ -0,0 +1,184 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public class SharepointEnterpriseCredentials { + + /** + * Client ID of your Microsoft developer application + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_id") + private Optional clientId; + + /** + * Client Secret of your Microsoft developer application + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + private Optional clientSecret; + + @JsonCreator + public SharepointEnterpriseCredentials( + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientId = clientId; + this.clientSecret = clientSecret; + } + + public SharepointEnterpriseCredentials() { + this(Optional.empty(), Optional.empty()); + } + + /** + * Client ID of your Microsoft developer application + */ + @JsonIgnore + public Optional clientId() { + return clientId; + } + + /** + * Client Secret of your Microsoft developer application + */ + @JsonIgnore + public Optional clientSecret() { + return clientSecret; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Client ID of your Microsoft developer application + */ + public SharepointEnterpriseCredentials withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = Optional.ofNullable(clientId); + return this; + } + + /** + * Client ID of your Microsoft developer application + */ + public SharepointEnterpriseCredentials withClientId(Optional clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Client Secret of your Microsoft developer application + */ + public SharepointEnterpriseCredentials withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = Optional.ofNullable(clientSecret); + return this; + } + + /** + * Client Secret of your Microsoft developer application + */ + public SharepointEnterpriseCredentials withClientSecret(Optional clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SharepointEnterpriseCredentials other = (SharepointEnterpriseCredentials) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret); + } + + @Override + public String toString() { + return Utils.toString(SharepointEnterpriseCredentials.class, + "clientId", clientId, + "clientSecret", clientSecret); + } + + public final static class Builder { + + private Optional clientId = Optional.empty(); + + private Optional clientSecret = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * Client ID of your Microsoft developer application + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = Optional.ofNullable(clientId); + return this; + } + + /** + * Client ID of your Microsoft developer application + */ + public Builder clientId(Optional clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Client Secret of your Microsoft developer application + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = Optional.ofNullable(clientSecret); + return this; + } + + /** + * Client Secret of your Microsoft developer application + */ + public Builder clientSecret(Optional clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SharepointEnterpriseCredentials build() { + return new SharepointEnterpriseCredentials( + clientId, + clientSecret); + } + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java b/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java index e8949de6f..4b062ab57 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java @@ -1226,6 +1226,11 @@ public static SourceConfiguration of(SourceLightspeedRetail value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceLinear value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceLinkedinAds value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -2051,6 +2056,11 @@ public static SourceConfiguration of(SourceSftpBulk value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSharepointEnterprise value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceSharetribe value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -2918,6 +2928,7 @@ public static SourceConfiguration of(SourceZoom value) { *
  • {@code com.airbyte.api.models.shared.SourceLessAnnoyingCrm}
  • *
  • {@code com.airbyte.api.models.shared.SourceLeverHiring}
  • *
  • {@code com.airbyte.api.models.shared.SourceLightspeedRetail}
  • + *
  • {@code com.airbyte.api.models.shared.SourceLinear}
  • *
  • {@code com.airbyte.api.models.shared.SourceLinkedinAds}
  • *
  • {@code com.airbyte.api.models.shared.SourceLinkedinPages}
  • *
  • {@code com.airbyte.api.models.shared.SourceLinnworks}
  • @@ -3083,6 +3094,7 @@ public static SourceConfiguration of(SourceZoom value) { *
  • {@code com.airbyte.api.models.shared.SourceServiceNow}
  • *
  • {@code com.airbyte.api.models.shared.SourceSftp}
  • *
  • {@code com.airbyte.api.models.shared.SourceSftpBulk}
  • + *
  • {@code com.airbyte.api.models.shared.SourceSharepointEnterprise}
  • *
  • {@code com.airbyte.api.models.shared.SourceSharetribe}
  • *
  • {@code com.airbyte.api.models.shared.SourceShippo}
  • *
  • {@code com.airbyte.api.models.shared.SourceShipstation}
  • @@ -3252,104 +3264,106 @@ public _Deserializer() { TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), @@ -3359,423 +3373,423 @@ public _Deserializer() { TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), - TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java b/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java index 49b208a85..ae5083041 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; import java.lang.Boolean; +import java.lang.Long; import java.lang.Override; import java.lang.String; import java.time.OffsetDateTime; @@ -33,6 +34,13 @@ public class SourceHubspot { @JsonProperty("enable_experimental_streams") private Optional enableExperimentalStreams; + /** + * The number of worker threads to use for the sync. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("num_worker") + private Optional numWorker; + @JsonProperty("sourceType") private SourceHubspotHubspot sourceType; @@ -47,19 +55,22 @@ public class SourceHubspot { public SourceHubspot( @JsonProperty("credentials") SourceHubspotAuthentication credentials, @JsonProperty("enable_experimental_streams") Optional enableExperimentalStreams, + @JsonProperty("num_worker") Optional numWorker, @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(enableExperimentalStreams, "enableExperimentalStreams"); + Utils.checkNotNull(numWorker, "numWorker"); Utils.checkNotNull(startDate, "startDate"); this.credentials = credentials; this.enableExperimentalStreams = enableExperimentalStreams; + this.numWorker = numWorker; this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); this.startDate = startDate; } public SourceHubspot( SourceHubspotAuthentication credentials) { - this(credentials, Optional.empty(), Optional.empty()); + this(credentials, Optional.empty(), Optional.empty(), Optional.empty()); } /** @@ -78,6 +89,14 @@ public Optional enableExperimentalStreams() { return enableExperimentalStreams; } + /** + * The number of worker threads to use for the sync. + */ + @JsonIgnore + public Optional numWorker() { + return numWorker; + } + @JsonIgnore public SourceHubspotHubspot sourceType() { return sourceType; @@ -122,6 +141,24 @@ public SourceHubspot withEnableExperimentalStreams(Optional enableExper return this; } + /** + * The number of worker threads to use for the sync. + */ + public SourceHubspot withNumWorker(long numWorker) { + Utils.checkNotNull(numWorker, "numWorker"); + this.numWorker = Optional.ofNullable(numWorker); + return this; + } + + /** + * The number of worker threads to use for the sync. + */ + public SourceHubspot withNumWorker(Optional numWorker) { + Utils.checkNotNull(numWorker, "numWorker"); + this.numWorker = numWorker; + return this; + } + /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If not set, "2006-06-01T00:00:00Z" (Hubspot creation date) will be used as start date. It's recommended to provide relevant to your data start date value to optimize synchronization. */ @@ -153,6 +190,7 @@ public boolean equals(java.lang.Object o) { return Objects.deepEquals(this.credentials, other.credentials) && Objects.deepEquals(this.enableExperimentalStreams, other.enableExperimentalStreams) && + Objects.deepEquals(this.numWorker, other.numWorker) && Objects.deepEquals(this.sourceType, other.sourceType) && Objects.deepEquals(this.startDate, other.startDate); } @@ -162,6 +200,7 @@ public int hashCode() { return Objects.hash( credentials, enableExperimentalStreams, + numWorker, sourceType, startDate); } @@ -171,6 +210,7 @@ public String toString() { return Utils.toString(SourceHubspot.class, "credentials", credentials, "enableExperimentalStreams", enableExperimentalStreams, + "numWorker", numWorker, "sourceType", sourceType, "startDate", startDate); } @@ -181,6 +221,8 @@ public final static class Builder { private Optional enableExperimentalStreams; + private Optional numWorker; + private Optional startDate = Optional.empty(); private Builder() { @@ -214,6 +256,24 @@ public Builder enableExperimentalStreams(Optional enableExperimentalStr return this; } + /** + * The number of worker threads to use for the sync. + */ + public Builder numWorker(long numWorker) { + Utils.checkNotNull(numWorker, "numWorker"); + this.numWorker = Optional.ofNullable(numWorker); + return this; + } + + /** + * The number of worker threads to use for the sync. + */ + public Builder numWorker(Optional numWorker) { + Utils.checkNotNull(numWorker, "numWorker"); + this.numWorker = numWorker; + return this; + } + /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If not set, "2006-06-01T00:00:00Z" (Hubspot creation date) will be used as start date. It's recommended to provide relevant to your data start date value to optimize synchronization. */ @@ -236,9 +296,13 @@ public SourceHubspot build() { if (enableExperimentalStreams == null) { enableExperimentalStreams = _SINGLETON_VALUE_EnableExperimentalStreams.value(); } + if (numWorker == null) { + numWorker = _SINGLETON_VALUE_NumWorker.value(); + } return new SourceHubspot( credentials, enableExperimentalStreams, + numWorker, startDate); } @@ -248,6 +312,12 @@ public SourceHubspot build() { "false", new TypeReference>() {}); + private static final LazySingletonValue> _SINGLETON_VALUE_NumWorker = + new LazySingletonValue<>( + "num_worker", + "3", + new TypeReference>() {}); + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( "sourceType", diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinear.java b/src/main/java/com/airbyte/api/models/shared/SourceLinear.java new file mode 100644 index 000000000..1b53d2103 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinear.java @@ -0,0 +1,106 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + +public class SourceLinear { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Linear sourceType; + + @JsonCreator + public SourceLinear( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Linear sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceLinear withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceLinear other = (SourceLinear) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceLinear.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceLinear build() { + return new SourceLinear( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"linear\"", + new TypeReference() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2.java b/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2.java index 8961f2057..216a18067 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2.java @@ -33,6 +33,13 @@ public class SourceMongodbV2 { @JsonProperty("discover_sample_size") private Optional discoverSampleSize; + /** + * The amount of time the connector will wait when it discovers a document. Defaults to 600 seconds. Valid range: 5 seconds to 1200 seconds. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("discover_timeout_seconds") + private Optional discoverTimeoutSeconds; + /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ @@ -75,6 +82,7 @@ public class SourceMongodbV2 { public SourceMongodbV2( @JsonProperty("database_config") ClusterType databaseConfig, @JsonProperty("discover_sample_size") Optional discoverSampleSize, + @JsonProperty("discover_timeout_seconds") Optional discoverTimeoutSeconds, @JsonProperty("initial_load_timeout_hours") Optional initialLoadTimeoutHours, @JsonProperty("initial_waiting_seconds") Optional initialWaitingSeconds, @JsonProperty("invalid_cdc_cursor_position_behavior") Optional invalidCdcCursorPositionBehavior, @@ -82,6 +90,7 @@ public SourceMongodbV2( @JsonProperty("update_capture_mode") Optional updateCaptureMode) { Utils.checkNotNull(databaseConfig, "databaseConfig"); Utils.checkNotNull(discoverSampleSize, "discoverSampleSize"); + Utils.checkNotNull(discoverTimeoutSeconds, "discoverTimeoutSeconds"); Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); Utils.checkNotNull(invalidCdcCursorPositionBehavior, "invalidCdcCursorPositionBehavior"); @@ -89,6 +98,7 @@ public SourceMongodbV2( Utils.checkNotNull(updateCaptureMode, "updateCaptureMode"); this.databaseConfig = databaseConfig; this.discoverSampleSize = discoverSampleSize; + this.discoverTimeoutSeconds = discoverTimeoutSeconds; this.initialLoadTimeoutHours = initialLoadTimeoutHours; this.initialWaitingSeconds = initialWaitingSeconds; this.invalidCdcCursorPositionBehavior = invalidCdcCursorPositionBehavior; @@ -99,7 +109,7 @@ public SourceMongodbV2( public SourceMongodbV2( ClusterType databaseConfig) { - this(databaseConfig, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + this(databaseConfig, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); } /** @@ -118,6 +128,14 @@ public Optional discoverSampleSize() { return discoverSampleSize; } + /** + * The amount of time the connector will wait when it discovers a document. Defaults to 600 seconds. Valid range: 5 seconds to 1200 seconds. + */ + @JsonIgnore + public Optional discoverTimeoutSeconds() { + return discoverTimeoutSeconds; + } + /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ @@ -196,6 +214,24 @@ public SourceMongodbV2 withDiscoverSampleSize(Optional discoverSampleSize) return this; } + /** + * The amount of time the connector will wait when it discovers a document. Defaults to 600 seconds. Valid range: 5 seconds to 1200 seconds. + */ + public SourceMongodbV2 withDiscoverTimeoutSeconds(long discoverTimeoutSeconds) { + Utils.checkNotNull(discoverTimeoutSeconds, "discoverTimeoutSeconds"); + this.discoverTimeoutSeconds = Optional.ofNullable(discoverTimeoutSeconds); + return this; + } + + /** + * The amount of time the connector will wait when it discovers a document. Defaults to 600 seconds. Valid range: 5 seconds to 1200 seconds. + */ + public SourceMongodbV2 withDiscoverTimeoutSeconds(Optional discoverTimeoutSeconds) { + Utils.checkNotNull(discoverTimeoutSeconds, "discoverTimeoutSeconds"); + this.discoverTimeoutSeconds = discoverTimeoutSeconds; + return this; + } + /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ @@ -299,6 +335,7 @@ public boolean equals(java.lang.Object o) { return Objects.deepEquals(this.databaseConfig, other.databaseConfig) && Objects.deepEquals(this.discoverSampleSize, other.discoverSampleSize) && + Objects.deepEquals(this.discoverTimeoutSeconds, other.discoverTimeoutSeconds) && Objects.deepEquals(this.initialLoadTimeoutHours, other.initialLoadTimeoutHours) && Objects.deepEquals(this.initialWaitingSeconds, other.initialWaitingSeconds) && Objects.deepEquals(this.invalidCdcCursorPositionBehavior, other.invalidCdcCursorPositionBehavior) && @@ -312,6 +349,7 @@ public int hashCode() { return Objects.hash( databaseConfig, discoverSampleSize, + discoverTimeoutSeconds, initialLoadTimeoutHours, initialWaitingSeconds, invalidCdcCursorPositionBehavior, @@ -325,6 +363,7 @@ public String toString() { return Utils.toString(SourceMongodbV2.class, "databaseConfig", databaseConfig, "discoverSampleSize", discoverSampleSize, + "discoverTimeoutSeconds", discoverTimeoutSeconds, "initialLoadTimeoutHours", initialLoadTimeoutHours, "initialWaitingSeconds", initialWaitingSeconds, "invalidCdcCursorPositionBehavior", invalidCdcCursorPositionBehavior, @@ -339,6 +378,8 @@ public final static class Builder { private Optional discoverSampleSize; + private Optional discoverTimeoutSeconds; + private Optional initialLoadTimeoutHours; private Optional initialWaitingSeconds; @@ -380,6 +421,24 @@ public Builder discoverSampleSize(Optional discoverSampleSize) { return this; } + /** + * The amount of time the connector will wait when it discovers a document. Defaults to 600 seconds. Valid range: 5 seconds to 1200 seconds. + */ + public Builder discoverTimeoutSeconds(long discoverTimeoutSeconds) { + Utils.checkNotNull(discoverTimeoutSeconds, "discoverTimeoutSeconds"); + this.discoverTimeoutSeconds = Optional.ofNullable(discoverTimeoutSeconds); + return this; + } + + /** + * The amount of time the connector will wait when it discovers a document. Defaults to 600 seconds. Valid range: 5 seconds to 1200 seconds. + */ + public Builder discoverTimeoutSeconds(Optional discoverTimeoutSeconds) { + Utils.checkNotNull(discoverTimeoutSeconds, "discoverTimeoutSeconds"); + this.discoverTimeoutSeconds = discoverTimeoutSeconds; + return this; + } + /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ @@ -474,6 +533,9 @@ public SourceMongodbV2 build() { if (discoverSampleSize == null) { discoverSampleSize = _SINGLETON_VALUE_DiscoverSampleSize.value(); } + if (discoverTimeoutSeconds == null) { + discoverTimeoutSeconds = _SINGLETON_VALUE_DiscoverTimeoutSeconds.value(); + } if (initialLoadTimeoutHours == null) { initialLoadTimeoutHours = _SINGLETON_VALUE_InitialLoadTimeoutHours.value(); } @@ -492,6 +554,7 @@ public SourceMongodbV2 build() { return new SourceMongodbV2( databaseConfig, discoverSampleSize, + discoverTimeoutSeconds, initialLoadTimeoutHours, initialWaitingSeconds, invalidCdcCursorPositionBehavior, @@ -505,6 +568,12 @@ public SourceMongodbV2 build() { "10000", new TypeReference>() {}); + private static final LazySingletonValue> _SINGLETON_VALUE_DiscoverTimeoutSeconds = + new LazySingletonValue<>( + "discover_timeout_seconds", + "600", + new TypeReference>() {}); + private static final LazySingletonValue> _SINGLETON_VALUE_InitialLoadTimeoutHours = new LazySingletonValue<>( "initial_load_timeout_hours", diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterprise.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterprise.java new file mode 100644 index 000000000..c2dc3cf25 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterprise.java @@ -0,0 +1,488 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSharepointEnterprise + * + *

    SourceMicrosoftSharePointSpec class for Microsoft SharePoint Source Specification. + * This class combines the authentication details with additional configuration for the SharePoint API. + */ +public class SourceSharepointEnterprise { + + /** + * Credentials for connecting to the One Drive API + */ + @JsonProperty("credentials") + private SourceSharepointEnterpriseAuthentication credentials; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delivery_method") + private Optional deliveryMethod; + + /** + * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("folder_path") + private Optional folderPath; + + /** + * Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("search_scope") + private Optional searchScope; + + /** + * Url of SharePoint site to search for files. Leave empty to search in the main site. Use 'https://<tenant_name>.sharepoint.com/sites/' to iterate over all sites. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("site_url") + private Optional siteUrl; + + @JsonProperty("sourceType") + private SourceSharepointEnterpriseSharepointEnterprise sourceType; + + /** + * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + /** + * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. + */ + @JsonProperty("streams") + private List streams; + + @JsonCreator + public SourceSharepointEnterprise( + @JsonProperty("credentials") SourceSharepointEnterpriseAuthentication credentials, + @JsonProperty("delivery_method") Optional deliveryMethod, + @JsonProperty("folder_path") Optional folderPath, + @JsonProperty("search_scope") Optional searchScope, + @JsonProperty("site_url") Optional siteUrl, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("streams") List streams) { + Utils.checkNotNull(credentials, "credentials"); + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + Utils.checkNotNull(folderPath, "folderPath"); + Utils.checkNotNull(searchScope, "searchScope"); + Utils.checkNotNull(siteUrl, "siteUrl"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(streams, "streams"); + this.credentials = credentials; + this.deliveryMethod = deliveryMethod; + this.folderPath = folderPath; + this.searchScope = searchScope; + this.siteUrl = siteUrl; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.streams = streams; + } + + public SourceSharepointEnterprise( + SourceSharepointEnterpriseAuthentication credentials, + List streams) { + this(credentials, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), streams); + } + + /** + * Credentials for connecting to the One Drive API + */ + @JsonIgnore + public SourceSharepointEnterpriseAuthentication credentials() { + return credentials; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional deliveryMethod() { + return (Optional) deliveryMethod; + } + + /** + * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. + */ + @JsonIgnore + public Optional folderPath() { + return folderPath; + } + + /** + * Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional searchScope() { + return (Optional) searchScope; + } + + /** + * Url of SharePoint site to search for files. Leave empty to search in the main site. Use 'https://<tenant_name>.sharepoint.com/sites/' to iterate over all sites. + */ + @JsonIgnore + public Optional siteUrl() { + return siteUrl; + } + + @JsonIgnore + public SourceSharepointEnterpriseSharepointEnterprise sourceType() { + return sourceType; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + /** + * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. + */ + @JsonIgnore + public List streams() { + return streams; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Credentials for connecting to the One Drive API + */ + public SourceSharepointEnterprise withCredentials(SourceSharepointEnterpriseAuthentication credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + public SourceSharepointEnterprise withDeliveryMethod(SourceSharepointEnterpriseDeliveryMethod deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = Optional.ofNullable(deliveryMethod); + return this; + } + + public SourceSharepointEnterprise withDeliveryMethod(Optional deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = deliveryMethod; + return this; + } + + /** + * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. + */ + public SourceSharepointEnterprise withFolderPath(String folderPath) { + Utils.checkNotNull(folderPath, "folderPath"); + this.folderPath = Optional.ofNullable(folderPath); + return this; + } + + /** + * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. + */ + public SourceSharepointEnterprise withFolderPath(Optional folderPath) { + Utils.checkNotNull(folderPath, "folderPath"); + this.folderPath = folderPath; + return this; + } + + /** + * Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. + */ + public SourceSharepointEnterprise withSearchScope(SourceSharepointEnterpriseSearchScope searchScope) { + Utils.checkNotNull(searchScope, "searchScope"); + this.searchScope = Optional.ofNullable(searchScope); + return this; + } + + /** + * Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. + */ + public SourceSharepointEnterprise withSearchScope(Optional searchScope) { + Utils.checkNotNull(searchScope, "searchScope"); + this.searchScope = searchScope; + return this; + } + + /** + * Url of SharePoint site to search for files. Leave empty to search in the main site. Use 'https://<tenant_name>.sharepoint.com/sites/' to iterate over all sites. + */ + public SourceSharepointEnterprise withSiteUrl(String siteUrl) { + Utils.checkNotNull(siteUrl, "siteUrl"); + this.siteUrl = Optional.ofNullable(siteUrl); + return this; + } + + /** + * Url of SharePoint site to search for files. Leave empty to search in the main site. Use 'https://<tenant_name>.sharepoint.com/sites/' to iterate over all sites. + */ + public SourceSharepointEnterprise withSiteUrl(Optional siteUrl) { + Utils.checkNotNull(siteUrl, "siteUrl"); + this.siteUrl = siteUrl; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. + */ + public SourceSharepointEnterprise withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. + */ + public SourceSharepointEnterprise withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. + */ + public SourceSharepointEnterprise withStreams(List streams) { + Utils.checkNotNull(streams, "streams"); + this.streams = streams; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterprise other = (SourceSharepointEnterprise) o; + return + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.deliveryMethod, other.deliveryMethod) && + Objects.deepEquals(this.folderPath, other.folderPath) && + Objects.deepEquals(this.searchScope, other.searchScope) && + Objects.deepEquals(this.siteUrl, other.siteUrl) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.streams, other.streams); + } + + @Override + public int hashCode() { + return Objects.hash( + credentials, + deliveryMethod, + folderPath, + searchScope, + siteUrl, + sourceType, + startDate, + streams); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterprise.class, + "credentials", credentials, + "deliveryMethod", deliveryMethod, + "folderPath", folderPath, + "searchScope", searchScope, + "siteUrl", siteUrl, + "sourceType", sourceType, + "startDate", startDate, + "streams", streams); + } + + public final static class Builder { + + private SourceSharepointEnterpriseAuthentication credentials; + + private Optional deliveryMethod = Optional.empty(); + + private Optional folderPath; + + private Optional searchScope; + + private Optional siteUrl; + + private Optional startDate = Optional.empty(); + + private List streams; + + private Builder() { + // force use of static builder() method + } + + /** + * Credentials for connecting to the One Drive API + */ + public Builder credentials(SourceSharepointEnterpriseAuthentication credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + public Builder deliveryMethod(SourceSharepointEnterpriseDeliveryMethod deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = Optional.ofNullable(deliveryMethod); + return this; + } + + public Builder deliveryMethod(Optional deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = deliveryMethod; + return this; + } + + /** + * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. + */ + public Builder folderPath(String folderPath) { + Utils.checkNotNull(folderPath, "folderPath"); + this.folderPath = Optional.ofNullable(folderPath); + return this; + } + + /** + * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. + */ + public Builder folderPath(Optional folderPath) { + Utils.checkNotNull(folderPath, "folderPath"); + this.folderPath = folderPath; + return this; + } + + /** + * Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. + */ + public Builder searchScope(SourceSharepointEnterpriseSearchScope searchScope) { + Utils.checkNotNull(searchScope, "searchScope"); + this.searchScope = Optional.ofNullable(searchScope); + return this; + } + + /** + * Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. + */ + public Builder searchScope(Optional searchScope) { + Utils.checkNotNull(searchScope, "searchScope"); + this.searchScope = searchScope; + return this; + } + + /** + * Url of SharePoint site to search for files. Leave empty to search in the main site. Use 'https://<tenant_name>.sharepoint.com/sites/' to iterate over all sites. + */ + public Builder siteUrl(String siteUrl) { + Utils.checkNotNull(siteUrl, "siteUrl"); + this.siteUrl = Optional.ofNullable(siteUrl); + return this; + } + + /** + * Url of SharePoint site to search for files. Leave empty to search in the main site. Use 'https://<tenant_name>.sharepoint.com/sites/' to iterate over all sites. + */ + public Builder siteUrl(Optional siteUrl) { + Utils.checkNotNull(siteUrl, "siteUrl"); + this.siteUrl = siteUrl; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. + */ + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. + */ + public Builder streams(List streams) { + Utils.checkNotNull(streams, "streams"); + this.streams = streams; + return this; + } + + public SourceSharepointEnterprise build() { + if (folderPath == null) { + folderPath = _SINGLETON_VALUE_FolderPath.value(); + } + if (searchScope == null) { + searchScope = _SINGLETON_VALUE_SearchScope.value(); + } + if (siteUrl == null) { + siteUrl = _SINGLETON_VALUE_SiteUrl.value(); + } + return new SourceSharepointEnterprise( + credentials, + deliveryMethod, + folderPath, + searchScope, + siteUrl, + startDate, + streams); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_FolderPath = + new LazySingletonValue<>( + "folder_path", + "\".\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_SearchScope = + new LazySingletonValue<>( + "search_scope", + "\"ALL\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_SiteUrl = + new LazySingletonValue<>( + "site_url", + "\"\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"sharepoint-enterprise\"", + new TypeReference() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthType.java new file mode 100644 index 000000000..d608f1703 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthType.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseAuthType { + CLIENT("Client"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseAuthType o: SourceSharepointEnterpriseAuthType.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth.java new file mode 100644 index 000000000..abcb3cfcf --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth.java @@ -0,0 +1,279 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth + * + *

    OAuthCredentials class to hold authentication details for Microsoft OAuth authentication. + * This class uses pydantic for data validation and settings management. + */ +public class SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + /** + * Client ID of your Microsoft developer application + */ + @JsonProperty("client_id") + private String clientId; + + /** + * Client Secret of your Microsoft developer application + */ + @JsonProperty("client_secret") + private String clientSecret; + + /** + * Refresh Token of your Microsoft developer application + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("refresh_token") + private Optional refreshToken; + + /** + * Tenant ID of the Microsoft SharePoint user + */ + @JsonProperty("tenant_id") + private String tenantId; + + @JsonCreator + public SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("refresh_token") Optional refreshToken, + @JsonProperty("tenant_id") String tenantId) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(refreshToken, "refreshToken"); + Utils.checkNotNull(tenantId, "tenantId"); + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.refreshToken = refreshToken; + this.tenantId = tenantId; + } + + public SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth( + String clientId, + String clientSecret, + String tenantId) { + this(clientId, clientSecret, Optional.empty(), tenantId); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + /** + * Client ID of your Microsoft developer application + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * Client Secret of your Microsoft developer application + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * Refresh Token of your Microsoft developer application + */ + @JsonIgnore + public Optional refreshToken() { + return refreshToken; + } + + /** + * Tenant ID of the Microsoft SharePoint user + */ + @JsonIgnore + public String tenantId() { + return tenantId; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Client ID of your Microsoft developer application + */ + public SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Client Secret of your Microsoft developer application + */ + public SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Refresh Token of your Microsoft developer application + */ + public SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = Optional.ofNullable(refreshToken); + return this; + } + + /** + * Refresh Token of your Microsoft developer application + */ + public SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth withRefreshToken(Optional refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + /** + * Tenant ID of the Microsoft SharePoint user + */ + public SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth withTenantId(String tenantId) { + Utils.checkNotNull(tenantId, "tenantId"); + this.tenantId = tenantId; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth other = (SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth) o; + return + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tenantId, other.tenantId); + } + + @Override + public int hashCode() { + return Objects.hash( + authType, + clientId, + clientSecret, + refreshToken, + tenantId); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth.class, + "authType", authType, + "clientId", clientId, + "clientSecret", clientSecret, + "refreshToken", refreshToken, + "tenantId", tenantId); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Optional refreshToken = Optional.empty(); + + private String tenantId; + + private Builder() { + // force use of static builder() method + } + + /** + * Client ID of your Microsoft developer application + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Client Secret of your Microsoft developer application + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Refresh Token of your Microsoft developer application + */ + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = Optional.ofNullable(refreshToken); + return this; + } + + /** + * Refresh Token of your Microsoft developer application + */ + public Builder refreshToken(Optional refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + /** + * Tenant ID of the Microsoft SharePoint user + */ + public Builder tenantId(String tenantId) { + Utils.checkNotNull(tenantId, "tenantId"); + this.tenantId = tenantId; + return this; + } + + public SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth build() { + return new SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth( + clientId, + clientSecret, + refreshToken, + tenantId); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"Client\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthentication.java new file mode 100644 index 000000000..58e529b97 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAuthentication.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourceSharepointEnterpriseAuthentication + * + *

    Credentials for connecting to the One Drive API + */ +@JsonDeserialize(using = SourceSharepointEnterpriseAuthentication._Deserializer.class) +public class SourceSharepointEnterpriseAuthentication { + + @JsonValue + private TypedObject value; + + private SourceSharepointEnterpriseAuthentication(TypedObject value) { + this.value = value; + } + + public static SourceSharepointEnterpriseAuthentication of(SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceSharepointEnterpriseAuthentication of(SourceSharepointEnterpriseServiceKeyAuthentication value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseAuthenticateViaMicrosoftOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseServiceKeyAuthentication}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseAuthentication other = (SourceSharepointEnterpriseAuthentication) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceSharepointEnterpriseAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseAuthentication.class, + "value", value); + } + +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAutogenerated.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAutogenerated.java new file mode 100644 index 000000000..69924aab5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAutogenerated.java @@ -0,0 +1,85 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +public class SourceSharepointEnterpriseAutogenerated { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("header_definition_type") + private Optional headerDefinitionType; + + @JsonCreator + public SourceSharepointEnterpriseAutogenerated() { + + this.headerDefinitionType = Builder._SINGLETON_VALUE_HeaderDefinitionType.value(); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional headerDefinitionType() { + return (Optional) headerDefinitionType; + } + + public final static Builder builder() { + return new Builder(); + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseAutogenerated other = (SourceSharepointEnterpriseAutogenerated) o; + return + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + } + + @Override + public int hashCode() { + return Objects.hash( + headerDefinitionType); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseAutogenerated.class, + "headerDefinitionType", headerDefinitionType); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public SourceSharepointEnterpriseAutogenerated build() { + return new SourceSharepointEnterpriseAutogenerated( + ); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_HeaderDefinitionType = + new LazySingletonValue<>( + "header_definition_type", + "\"Autogenerated\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAvroFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAvroFormat.java new file mode 100644 index 000000000..33db4f18e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseAvroFormat.java @@ -0,0 +1,157 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +public class SourceSharepointEnterpriseAvroFormat { + + /** + * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("double_as_string") + private Optional doubleAsString; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + private Optional filetype; + + @JsonCreator + public SourceSharepointEnterpriseAvroFormat( + @JsonProperty("double_as_string") Optional doubleAsString) { + Utils.checkNotNull(doubleAsString, "doubleAsString"); + this.doubleAsString = doubleAsString; + this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); + } + + public SourceSharepointEnterpriseAvroFormat() { + this(Optional.empty()); + } + + /** + * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. + */ + @JsonIgnore + public Optional doubleAsString() { + return doubleAsString; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional filetype() { + return (Optional) filetype; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. + */ + public SourceSharepointEnterpriseAvroFormat withDoubleAsString(boolean doubleAsString) { + Utils.checkNotNull(doubleAsString, "doubleAsString"); + this.doubleAsString = Optional.ofNullable(doubleAsString); + return this; + } + + /** + * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. + */ + public SourceSharepointEnterpriseAvroFormat withDoubleAsString(Optional doubleAsString) { + Utils.checkNotNull(doubleAsString, "doubleAsString"); + this.doubleAsString = doubleAsString; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseAvroFormat other = (SourceSharepointEnterpriseAvroFormat) o; + return + Objects.deepEquals(this.doubleAsString, other.doubleAsString) && + Objects.deepEquals(this.filetype, other.filetype); + } + + @Override + public int hashCode() { + return Objects.hash( + doubleAsString, + filetype); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseAvroFormat.class, + "doubleAsString", doubleAsString, + "filetype", filetype); + } + + public final static class Builder { + + private Optional doubleAsString; + + private Builder() { + // force use of static builder() method + } + + /** + * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. + */ + public Builder doubleAsString(boolean doubleAsString) { + Utils.checkNotNull(doubleAsString, "doubleAsString"); + this.doubleAsString = Optional.ofNullable(doubleAsString); + return this; + } + + /** + * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. + */ + public Builder doubleAsString(Optional doubleAsString) { + Utils.checkNotNull(doubleAsString, "doubleAsString"); + this.doubleAsString = doubleAsString; + return this; + } + + public SourceSharepointEnterpriseAvroFormat build() { + if (doubleAsString == null) { + doubleAsString = _SINGLETON_VALUE_DoubleAsString.value(); + } + return new SourceSharepointEnterpriseAvroFormat( + doubleAsString); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = + new LazySingletonValue<>( + "double_as_string", + "false", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = + new LazySingletonValue<>( + "filetype", + "\"avro\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCSVFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCSVFormat.java new file mode 100644 index 000000000..a533d091d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCSVFormat.java @@ -0,0 +1,946 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + +public class SourceSharepointEnterpriseCSVFormat { + + /** + * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delimiter") + private Optional delimiter; + + /** + * Whether two quotes in a quoted CSV value denote a single quote in the data. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("double_quote") + private Optional doubleQuote; + + /** + * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("encoding") + private Optional encoding; + + /** + * The character used for escaping special characters. To disallow escaping, leave this field blank. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("escape_char") + private Optional escapeChar; + + /** + * A set of case-sensitive strings that should be interpreted as false values. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("false_values") + private Optional> falseValues; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + private Optional filetype; + + /** + * How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("header_definition") + private Optional headerDefinition; + + /** + * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ignore_errors_on_fields_mismatch") + private Optional ignoreErrorsOnFieldsMismatch; + + /** + * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("null_values") + private Optional> nullValues; + + /** + * The character used for quoting CSV values. To disallow quoting, make this field blank. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("quote_char") + private Optional quoteChar; + + /** + * The number of rows to skip after the header row. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("skip_rows_after_header") + private Optional skipRowsAfterHeader; + + /** + * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("skip_rows_before_header") + private Optional skipRowsBeforeHeader; + + /** + * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("strings_can_be_null") + private Optional stringsCanBeNull; + + /** + * A set of case-sensitive strings that should be interpreted as true values. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("true_values") + private Optional> trueValues; + + @JsonCreator + public SourceSharepointEnterpriseCSVFormat( + @JsonProperty("delimiter") Optional delimiter, + @JsonProperty("double_quote") Optional doubleQuote, + @JsonProperty("encoding") Optional encoding, + @JsonProperty("escape_char") Optional escapeChar, + @JsonProperty("false_values") Optional> falseValues, + @JsonProperty("header_definition") Optional headerDefinition, + @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, + @JsonProperty("null_values") Optional> nullValues, + @JsonProperty("quote_char") Optional quoteChar, + @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, + @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, + @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, + @JsonProperty("true_values") Optional> trueValues) { + Utils.checkNotNull(delimiter, "delimiter"); + Utils.checkNotNull(doubleQuote, "doubleQuote"); + Utils.checkNotNull(encoding, "encoding"); + Utils.checkNotNull(escapeChar, "escapeChar"); + Utils.checkNotNull(falseValues, "falseValues"); + Utils.checkNotNull(headerDefinition, "headerDefinition"); + Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); + Utils.checkNotNull(nullValues, "nullValues"); + Utils.checkNotNull(quoteChar, "quoteChar"); + Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); + Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); + Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); + Utils.checkNotNull(trueValues, "trueValues"); + this.delimiter = delimiter; + this.doubleQuote = doubleQuote; + this.encoding = encoding; + this.escapeChar = escapeChar; + this.falseValues = falseValues; + this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); + this.headerDefinition = headerDefinition; + this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; + this.nullValues = nullValues; + this.quoteChar = quoteChar; + this.skipRowsAfterHeader = skipRowsAfterHeader; + this.skipRowsBeforeHeader = skipRowsBeforeHeader; + this.stringsCanBeNull = stringsCanBeNull; + this.trueValues = trueValues; + } + + public SourceSharepointEnterpriseCSVFormat() { + this(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + } + + /** + * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. + */ + @JsonIgnore + public Optional delimiter() { + return delimiter; + } + + /** + * Whether two quotes in a quoted CSV value denote a single quote in the data. + */ + @JsonIgnore + public Optional doubleQuote() { + return doubleQuote; + } + + /** + * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. + */ + @JsonIgnore + public Optional encoding() { + return encoding; + } + + /** + * The character used for escaping special characters. To disallow escaping, leave this field blank. + */ + @JsonIgnore + public Optional escapeChar() { + return escapeChar; + } + + /** + * A set of case-sensitive strings that should be interpreted as false values. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> falseValues() { + return (Optional>) falseValues; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional filetype() { + return (Optional) filetype; + } + + /** + * How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional headerDefinition() { + return (Optional) headerDefinition; + } + + /** + * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. + */ + @JsonIgnore + public Optional ignoreErrorsOnFieldsMismatch() { + return ignoreErrorsOnFieldsMismatch; + } + + /** + * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> nullValues() { + return (Optional>) nullValues; + } + + /** + * The character used for quoting CSV values. To disallow quoting, make this field blank. + */ + @JsonIgnore + public Optional quoteChar() { + return quoteChar; + } + + /** + * The number of rows to skip after the header row. + */ + @JsonIgnore + public Optional skipRowsAfterHeader() { + return skipRowsAfterHeader; + } + + /** + * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. + */ + @JsonIgnore + public Optional skipRowsBeforeHeader() { + return skipRowsBeforeHeader; + } + + /** + * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. + */ + @JsonIgnore + public Optional stringsCanBeNull() { + return stringsCanBeNull; + } + + /** + * A set of case-sensitive strings that should be interpreted as true values. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> trueValues() { + return (Optional>) trueValues; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. + */ + public SourceSharepointEnterpriseCSVFormat withDelimiter(String delimiter) { + Utils.checkNotNull(delimiter, "delimiter"); + this.delimiter = Optional.ofNullable(delimiter); + return this; + } + + /** + * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. + */ + public SourceSharepointEnterpriseCSVFormat withDelimiter(Optional delimiter) { + Utils.checkNotNull(delimiter, "delimiter"); + this.delimiter = delimiter; + return this; + } + + /** + * Whether two quotes in a quoted CSV value denote a single quote in the data. + */ + public SourceSharepointEnterpriseCSVFormat withDoubleQuote(boolean doubleQuote) { + Utils.checkNotNull(doubleQuote, "doubleQuote"); + this.doubleQuote = Optional.ofNullable(doubleQuote); + return this; + } + + /** + * Whether two quotes in a quoted CSV value denote a single quote in the data. + */ + public SourceSharepointEnterpriseCSVFormat withDoubleQuote(Optional doubleQuote) { + Utils.checkNotNull(doubleQuote, "doubleQuote"); + this.doubleQuote = doubleQuote; + return this; + } + + /** + * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. + */ + public SourceSharepointEnterpriseCSVFormat withEncoding(String encoding) { + Utils.checkNotNull(encoding, "encoding"); + this.encoding = Optional.ofNullable(encoding); + return this; + } + + /** + * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. + */ + public SourceSharepointEnterpriseCSVFormat withEncoding(Optional encoding) { + Utils.checkNotNull(encoding, "encoding"); + this.encoding = encoding; + return this; + } + + /** + * The character used for escaping special characters. To disallow escaping, leave this field blank. + */ + public SourceSharepointEnterpriseCSVFormat withEscapeChar(String escapeChar) { + Utils.checkNotNull(escapeChar, "escapeChar"); + this.escapeChar = Optional.ofNullable(escapeChar); + return this; + } + + /** + * The character used for escaping special characters. To disallow escaping, leave this field blank. + */ + public SourceSharepointEnterpriseCSVFormat withEscapeChar(Optional escapeChar) { + Utils.checkNotNull(escapeChar, "escapeChar"); + this.escapeChar = escapeChar; + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as false values. + */ + public SourceSharepointEnterpriseCSVFormat withFalseValues(List falseValues) { + Utils.checkNotNull(falseValues, "falseValues"); + this.falseValues = Optional.ofNullable(falseValues); + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as false values. + */ + public SourceSharepointEnterpriseCSVFormat withFalseValues(Optional> falseValues) { + Utils.checkNotNull(falseValues, "falseValues"); + this.falseValues = falseValues; + return this; + } + + /** + * How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. + */ + public SourceSharepointEnterpriseCSVFormat withHeaderDefinition(SourceSharepointEnterpriseCSVHeaderDefinition headerDefinition) { + Utils.checkNotNull(headerDefinition, "headerDefinition"); + this.headerDefinition = Optional.ofNullable(headerDefinition); + return this; + } + + /** + * How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. + */ + public SourceSharepointEnterpriseCSVFormat withHeaderDefinition(Optional headerDefinition) { + Utils.checkNotNull(headerDefinition, "headerDefinition"); + this.headerDefinition = headerDefinition; + return this; + } + + /** + * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. + */ + public SourceSharepointEnterpriseCSVFormat withIgnoreErrorsOnFieldsMismatch(boolean ignoreErrorsOnFieldsMismatch) { + Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); + this.ignoreErrorsOnFieldsMismatch = Optional.ofNullable(ignoreErrorsOnFieldsMismatch); + return this; + } + + /** + * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. + */ + public SourceSharepointEnterpriseCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); + this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. + */ + public SourceSharepointEnterpriseCSVFormat withNullValues(List nullValues) { + Utils.checkNotNull(nullValues, "nullValues"); + this.nullValues = Optional.ofNullable(nullValues); + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. + */ + public SourceSharepointEnterpriseCSVFormat withNullValues(Optional> nullValues) { + Utils.checkNotNull(nullValues, "nullValues"); + this.nullValues = nullValues; + return this; + } + + /** + * The character used for quoting CSV values. To disallow quoting, make this field blank. + */ + public SourceSharepointEnterpriseCSVFormat withQuoteChar(String quoteChar) { + Utils.checkNotNull(quoteChar, "quoteChar"); + this.quoteChar = Optional.ofNullable(quoteChar); + return this; + } + + /** + * The character used for quoting CSV values. To disallow quoting, make this field blank. + */ + public SourceSharepointEnterpriseCSVFormat withQuoteChar(Optional quoteChar) { + Utils.checkNotNull(quoteChar, "quoteChar"); + this.quoteChar = quoteChar; + return this; + } + + /** + * The number of rows to skip after the header row. + */ + public SourceSharepointEnterpriseCSVFormat withSkipRowsAfterHeader(long skipRowsAfterHeader) { + Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); + this.skipRowsAfterHeader = Optional.ofNullable(skipRowsAfterHeader); + return this; + } + + /** + * The number of rows to skip after the header row. + */ + public SourceSharepointEnterpriseCSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { + Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); + this.skipRowsAfterHeader = skipRowsAfterHeader; + return this; + } + + /** + * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. + */ + public SourceSharepointEnterpriseCSVFormat withSkipRowsBeforeHeader(long skipRowsBeforeHeader) { + Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); + this.skipRowsBeforeHeader = Optional.ofNullable(skipRowsBeforeHeader); + return this; + } + + /** + * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. + */ + public SourceSharepointEnterpriseCSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); + this.skipRowsBeforeHeader = skipRowsBeforeHeader; + return this; + } + + /** + * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. + */ + public SourceSharepointEnterpriseCSVFormat withStringsCanBeNull(boolean stringsCanBeNull) { + Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); + this.stringsCanBeNull = Optional.ofNullable(stringsCanBeNull); + return this; + } + + /** + * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. + */ + public SourceSharepointEnterpriseCSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { + Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); + this.stringsCanBeNull = stringsCanBeNull; + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as true values. + */ + public SourceSharepointEnterpriseCSVFormat withTrueValues(List trueValues) { + Utils.checkNotNull(trueValues, "trueValues"); + this.trueValues = Optional.ofNullable(trueValues); + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as true values. + */ + public SourceSharepointEnterpriseCSVFormat withTrueValues(Optional> trueValues) { + Utils.checkNotNull(trueValues, "trueValues"); + this.trueValues = trueValues; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseCSVFormat other = (SourceSharepointEnterpriseCSVFormat) o; + return + Objects.deepEquals(this.delimiter, other.delimiter) && + Objects.deepEquals(this.doubleQuote, other.doubleQuote) && + Objects.deepEquals(this.encoding, other.encoding) && + Objects.deepEquals(this.escapeChar, other.escapeChar) && + Objects.deepEquals(this.falseValues, other.falseValues) && + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.headerDefinition, other.headerDefinition) && + Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && + Objects.deepEquals(this.nullValues, other.nullValues) && + Objects.deepEquals(this.quoteChar, other.quoteChar) && + Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && + Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && + Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && + Objects.deepEquals(this.trueValues, other.trueValues); + } + + @Override + public int hashCode() { + return Objects.hash( + delimiter, + doubleQuote, + encoding, + escapeChar, + falseValues, + filetype, + headerDefinition, + ignoreErrorsOnFieldsMismatch, + nullValues, + quoteChar, + skipRowsAfterHeader, + skipRowsBeforeHeader, + stringsCanBeNull, + trueValues); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseCSVFormat.class, + "delimiter", delimiter, + "doubleQuote", doubleQuote, + "encoding", encoding, + "escapeChar", escapeChar, + "falseValues", falseValues, + "filetype", filetype, + "headerDefinition", headerDefinition, + "ignoreErrorsOnFieldsMismatch", ignoreErrorsOnFieldsMismatch, + "nullValues", nullValues, + "quoteChar", quoteChar, + "skipRowsAfterHeader", skipRowsAfterHeader, + "skipRowsBeforeHeader", skipRowsBeforeHeader, + "stringsCanBeNull", stringsCanBeNull, + "trueValues", trueValues); + } + + public final static class Builder { + + private Optional delimiter; + + private Optional doubleQuote; + + private Optional encoding; + + private Optional escapeChar = Optional.empty(); + + private Optional> falseValues = Optional.empty(); + + private Optional headerDefinition = Optional.empty(); + + private Optional ignoreErrorsOnFieldsMismatch; + + private Optional> nullValues = Optional.empty(); + + private Optional quoteChar; + + private Optional skipRowsAfterHeader; + + private Optional skipRowsBeforeHeader; + + private Optional stringsCanBeNull; + + private Optional> trueValues = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. + */ + public Builder delimiter(String delimiter) { + Utils.checkNotNull(delimiter, "delimiter"); + this.delimiter = Optional.ofNullable(delimiter); + return this; + } + + /** + * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. + */ + public Builder delimiter(Optional delimiter) { + Utils.checkNotNull(delimiter, "delimiter"); + this.delimiter = delimiter; + return this; + } + + /** + * Whether two quotes in a quoted CSV value denote a single quote in the data. + */ + public Builder doubleQuote(boolean doubleQuote) { + Utils.checkNotNull(doubleQuote, "doubleQuote"); + this.doubleQuote = Optional.ofNullable(doubleQuote); + return this; + } + + /** + * Whether two quotes in a quoted CSV value denote a single quote in the data. + */ + public Builder doubleQuote(Optional doubleQuote) { + Utils.checkNotNull(doubleQuote, "doubleQuote"); + this.doubleQuote = doubleQuote; + return this; + } + + /** + * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. + */ + public Builder encoding(String encoding) { + Utils.checkNotNull(encoding, "encoding"); + this.encoding = Optional.ofNullable(encoding); + return this; + } + + /** + * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. + */ + public Builder encoding(Optional encoding) { + Utils.checkNotNull(encoding, "encoding"); + this.encoding = encoding; + return this; + } + + /** + * The character used for escaping special characters. To disallow escaping, leave this field blank. + */ + public Builder escapeChar(String escapeChar) { + Utils.checkNotNull(escapeChar, "escapeChar"); + this.escapeChar = Optional.ofNullable(escapeChar); + return this; + } + + /** + * The character used for escaping special characters. To disallow escaping, leave this field blank. + */ + public Builder escapeChar(Optional escapeChar) { + Utils.checkNotNull(escapeChar, "escapeChar"); + this.escapeChar = escapeChar; + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as false values. + */ + public Builder falseValues(List falseValues) { + Utils.checkNotNull(falseValues, "falseValues"); + this.falseValues = Optional.ofNullable(falseValues); + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as false values. + */ + public Builder falseValues(Optional> falseValues) { + Utils.checkNotNull(falseValues, "falseValues"); + this.falseValues = falseValues; + return this; + } + + /** + * How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. + */ + public Builder headerDefinition(SourceSharepointEnterpriseCSVHeaderDefinition headerDefinition) { + Utils.checkNotNull(headerDefinition, "headerDefinition"); + this.headerDefinition = Optional.ofNullable(headerDefinition); + return this; + } + + /** + * How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. + */ + public Builder headerDefinition(Optional headerDefinition) { + Utils.checkNotNull(headerDefinition, "headerDefinition"); + this.headerDefinition = headerDefinition; + return this; + } + + /** + * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. + */ + public Builder ignoreErrorsOnFieldsMismatch(boolean ignoreErrorsOnFieldsMismatch) { + Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); + this.ignoreErrorsOnFieldsMismatch = Optional.ofNullable(ignoreErrorsOnFieldsMismatch); + return this; + } + + /** + * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. + */ + public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); + this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. + */ + public Builder nullValues(List nullValues) { + Utils.checkNotNull(nullValues, "nullValues"); + this.nullValues = Optional.ofNullable(nullValues); + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. + */ + public Builder nullValues(Optional> nullValues) { + Utils.checkNotNull(nullValues, "nullValues"); + this.nullValues = nullValues; + return this; + } + + /** + * The character used for quoting CSV values. To disallow quoting, make this field blank. + */ + public Builder quoteChar(String quoteChar) { + Utils.checkNotNull(quoteChar, "quoteChar"); + this.quoteChar = Optional.ofNullable(quoteChar); + return this; + } + + /** + * The character used for quoting CSV values. To disallow quoting, make this field blank. + */ + public Builder quoteChar(Optional quoteChar) { + Utils.checkNotNull(quoteChar, "quoteChar"); + this.quoteChar = quoteChar; + return this; + } + + /** + * The number of rows to skip after the header row. + */ + public Builder skipRowsAfterHeader(long skipRowsAfterHeader) { + Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); + this.skipRowsAfterHeader = Optional.ofNullable(skipRowsAfterHeader); + return this; + } + + /** + * The number of rows to skip after the header row. + */ + public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { + Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); + this.skipRowsAfterHeader = skipRowsAfterHeader; + return this; + } + + /** + * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. + */ + public Builder skipRowsBeforeHeader(long skipRowsBeforeHeader) { + Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); + this.skipRowsBeforeHeader = Optional.ofNullable(skipRowsBeforeHeader); + return this; + } + + /** + * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. + */ + public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); + this.skipRowsBeforeHeader = skipRowsBeforeHeader; + return this; + } + + /** + * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. + */ + public Builder stringsCanBeNull(boolean stringsCanBeNull) { + Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); + this.stringsCanBeNull = Optional.ofNullable(stringsCanBeNull); + return this; + } + + /** + * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. + */ + public Builder stringsCanBeNull(Optional stringsCanBeNull) { + Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); + this.stringsCanBeNull = stringsCanBeNull; + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as true values. + */ + public Builder trueValues(List trueValues) { + Utils.checkNotNull(trueValues, "trueValues"); + this.trueValues = Optional.ofNullable(trueValues); + return this; + } + + /** + * A set of case-sensitive strings that should be interpreted as true values. + */ + public Builder trueValues(Optional> trueValues) { + Utils.checkNotNull(trueValues, "trueValues"); + this.trueValues = trueValues; + return this; + } + + public SourceSharepointEnterpriseCSVFormat build() { + if (delimiter == null) { + delimiter = _SINGLETON_VALUE_Delimiter.value(); + } + if (doubleQuote == null) { + doubleQuote = _SINGLETON_VALUE_DoubleQuote.value(); + } + if (encoding == null) { + encoding = _SINGLETON_VALUE_Encoding.value(); + } + if (ignoreErrorsOnFieldsMismatch == null) { + ignoreErrorsOnFieldsMismatch = _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch.value(); + } + if (quoteChar == null) { + quoteChar = _SINGLETON_VALUE_QuoteChar.value(); + } + if (skipRowsAfterHeader == null) { + skipRowsAfterHeader = _SINGLETON_VALUE_SkipRowsAfterHeader.value(); + } + if (skipRowsBeforeHeader == null) { + skipRowsBeforeHeader = _SINGLETON_VALUE_SkipRowsBeforeHeader.value(); + } + if (stringsCanBeNull == null) { + stringsCanBeNull = _SINGLETON_VALUE_StringsCanBeNull.value(); + } + return new SourceSharepointEnterpriseCSVFormat( + delimiter, + doubleQuote, + encoding, + escapeChar, + falseValues, + headerDefinition, + ignoreErrorsOnFieldsMismatch, + nullValues, + quoteChar, + skipRowsAfterHeader, + skipRowsBeforeHeader, + stringsCanBeNull, + trueValues); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = + new LazySingletonValue<>( + "delimiter", + "\",\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = + new LazySingletonValue<>( + "double_quote", + "true", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = + new LazySingletonValue<>( + "encoding", + "\"utf8\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = + new LazySingletonValue<>( + "filetype", + "\"csv\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = + new LazySingletonValue<>( + "ignore_errors_on_fields_mismatch", + "false", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = + new LazySingletonValue<>( + "quote_char", + "\"\\\"\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = + new LazySingletonValue<>( + "skip_rows_after_header", + "0", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = + new LazySingletonValue<>( + "skip_rows_before_header", + "0", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = + new LazySingletonValue<>( + "strings_can_be_null", + "true", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCSVHeaderDefinition.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCSVHeaderDefinition.java new file mode 100644 index 000000000..38d930ad1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCSVHeaderDefinition.java @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourceSharepointEnterpriseCSVHeaderDefinition + * + *

    How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. + */ +@JsonDeserialize(using = SourceSharepointEnterpriseCSVHeaderDefinition._Deserializer.class) +public class SourceSharepointEnterpriseCSVHeaderDefinition { + + @JsonValue + private TypedObject value; + + private SourceSharepointEnterpriseCSVHeaderDefinition(TypedObject value) { + this.value = value; + } + + public static SourceSharepointEnterpriseCSVHeaderDefinition of(SourceSharepointEnterpriseFromCSV value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseCSVHeaderDefinition(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceSharepointEnterpriseCSVHeaderDefinition of(SourceSharepointEnterpriseAutogenerated value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseCSVHeaderDefinition(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceSharepointEnterpriseCSVHeaderDefinition of(SourceSharepointEnterpriseUserProvided value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseCSVHeaderDefinition(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseFromCSV}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseAutogenerated}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseUserProvided}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseCSVHeaderDefinition other = (SourceSharepointEnterpriseCSVHeaderDefinition) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceSharepointEnterpriseCSVHeaderDefinition.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseCSVHeaderDefinition.class, + "value", value); + } + +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCopyRawFiles.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCopyRawFiles.java new file mode 100644 index 000000000..7aa646bd1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseCopyRawFiles.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSharepointEnterpriseCopyRawFiles + * + *

    Copy raw files without parsing their contents. Bits are copied into the destination exactly as they appeared in the source. Recommended for use with unstructured text data, non-text and compressed files. + */ +public class SourceSharepointEnterpriseCopyRawFiles { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delivery_type") + private Optional deliveryType; + + /** + * If enabled, sends subdirectory folder structure along with source file names to the destination. Otherwise, files will be synced by their names only. This option is ignored when file-based replication is not enabled. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("preserve_directory_structure") + private Optional preserveDirectoryStructure; + + @JsonCreator + public SourceSharepointEnterpriseCopyRawFiles( + @JsonProperty("preserve_directory_structure") Optional preserveDirectoryStructure) { + Utils.checkNotNull(preserveDirectoryStructure, "preserveDirectoryStructure"); + this.deliveryType = Builder._SINGLETON_VALUE_DeliveryType.value(); + this.preserveDirectoryStructure = preserveDirectoryStructure; + } + + public SourceSharepointEnterpriseCopyRawFiles() { + this(Optional.empty()); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional deliveryType() { + return (Optional) deliveryType; + } + + /** + * If enabled, sends subdirectory folder structure along with source file names to the destination. Otherwise, files will be synced by their names only. This option is ignored when file-based replication is not enabled. + */ + @JsonIgnore + public Optional preserveDirectoryStructure() { + return preserveDirectoryStructure; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * If enabled, sends subdirectory folder structure along with source file names to the destination. Otherwise, files will be synced by their names only. This option is ignored when file-based replication is not enabled. + */ + public SourceSharepointEnterpriseCopyRawFiles withPreserveDirectoryStructure(boolean preserveDirectoryStructure) { + Utils.checkNotNull(preserveDirectoryStructure, "preserveDirectoryStructure"); + this.preserveDirectoryStructure = Optional.ofNullable(preserveDirectoryStructure); + return this; + } + + /** + * If enabled, sends subdirectory folder structure along with source file names to the destination. Otherwise, files will be synced by their names only. This option is ignored when file-based replication is not enabled. + */ + public SourceSharepointEnterpriseCopyRawFiles withPreserveDirectoryStructure(Optional preserveDirectoryStructure) { + Utils.checkNotNull(preserveDirectoryStructure, "preserveDirectoryStructure"); + this.preserveDirectoryStructure = preserveDirectoryStructure; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseCopyRawFiles other = (SourceSharepointEnterpriseCopyRawFiles) o; + return + Objects.deepEquals(this.deliveryType, other.deliveryType) && + Objects.deepEquals(this.preserveDirectoryStructure, other.preserveDirectoryStructure); + } + + @Override + public int hashCode() { + return Objects.hash( + deliveryType, + preserveDirectoryStructure); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseCopyRawFiles.class, + "deliveryType", deliveryType, + "preserveDirectoryStructure", preserveDirectoryStructure); + } + + public final static class Builder { + + private Optional preserveDirectoryStructure; + + private Builder() { + // force use of static builder() method + } + + /** + * If enabled, sends subdirectory folder structure along with source file names to the destination. Otherwise, files will be synced by their names only. This option is ignored when file-based replication is not enabled. + */ + public Builder preserveDirectoryStructure(boolean preserveDirectoryStructure) { + Utils.checkNotNull(preserveDirectoryStructure, "preserveDirectoryStructure"); + this.preserveDirectoryStructure = Optional.ofNullable(preserveDirectoryStructure); + return this; + } + + /** + * If enabled, sends subdirectory folder structure along with source file names to the destination. Otherwise, files will be synced by their names only. This option is ignored when file-based replication is not enabled. + */ + public Builder preserveDirectoryStructure(Optional preserveDirectoryStructure) { + Utils.checkNotNull(preserveDirectoryStructure, "preserveDirectoryStructure"); + this.preserveDirectoryStructure = preserveDirectoryStructure; + return this; + } + + public SourceSharepointEnterpriseCopyRawFiles build() { + if (preserveDirectoryStructure == null) { + preserveDirectoryStructure = _SINGLETON_VALUE_PreserveDirectoryStructure.value(); + } + return new SourceSharepointEnterpriseCopyRawFiles( + preserveDirectoryStructure); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DeliveryType = + new LazySingletonValue<>( + "delivery_type", + "\"use_file_transfer\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_PreserveDirectoryStructure = + new LazySingletonValue<>( + "preserve_directory_structure", + "true", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseDeliveryMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseDeliveryMethod.java new file mode 100644 index 000000000..1ac56b877 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseDeliveryMethod.java @@ -0,0 +1,102 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +@JsonDeserialize(using = SourceSharepointEnterpriseDeliveryMethod._Deserializer.class) +public class SourceSharepointEnterpriseDeliveryMethod { + + @JsonValue + private TypedObject value; + + private SourceSharepointEnterpriseDeliveryMethod(TypedObject value) { + this.value = value; + } + + public static SourceSharepointEnterpriseDeliveryMethod of(SourceSharepointEnterpriseReplicateRecords value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseDeliveryMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceSharepointEnterpriseDeliveryMethod of(SourceSharepointEnterpriseCopyRawFiles value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseDeliveryMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceSharepointEnterpriseDeliveryMethod of(SourceSharepointEnterpriseReplicatePermissionsACL value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseDeliveryMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseReplicateRecords}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseCopyRawFiles}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseReplicatePermissionsACL}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseDeliveryMethod other = (SourceSharepointEnterpriseDeliveryMethod) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceSharepointEnterpriseDeliveryMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseDeliveryMethod.class, + "value", value); + } + +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseDeliveryType.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseDeliveryType.java new file mode 100644 index 000000000..0bec646b9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseDeliveryType.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseDeliveryType { + USE_RECORDS_TRANSFER("use_records_transfer"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseDeliveryType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseDeliveryType o: SourceSharepointEnterpriseDeliveryType.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseExcelFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseExcelFormat.java new file mode 100644 index 000000000..396c28ee6 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseExcelFormat.java @@ -0,0 +1,85 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +public class SourceSharepointEnterpriseExcelFormat { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + private Optional filetype; + + @JsonCreator + public SourceSharepointEnterpriseExcelFormat() { + + this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional filetype() { + return (Optional) filetype; + } + + public final static Builder builder() { + return new Builder(); + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseExcelFormat other = (SourceSharepointEnterpriseExcelFormat) o; + return + Objects.deepEquals(this.filetype, other.filetype); + } + + @Override + public int hashCode() { + return Objects.hash( + filetype); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseExcelFormat.class, + "filetype", filetype); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public SourceSharepointEnterpriseExcelFormat build() { + return new SourceSharepointEnterpriseExcelFormat( + ); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = + new LazySingletonValue<>( + "filetype", + "\"excel\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFileBasedStreamConfig.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFileBasedStreamConfig.java new file mode 100644 index 000000000..42605831d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFileBasedStreamConfig.java @@ -0,0 +1,543 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + +public class SourceSharepointEnterpriseFileBasedStreamConfig { + + /** + * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("days_to_sync_if_history_is_full") + private Optional daysToSyncIfHistoryIsFull; + + /** + * The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. + */ + @JsonProperty("format") + private SourceSharepointEnterpriseFormat format; + + /** + * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("globs") + private Optional> globs; + + /** + * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("input_schema") + private Optional inputSchema; + + /** + * The name of the stream. + */ + @JsonProperty("name") + private String name; + + /** + * The number of resent files which will be used to discover the schema for this stream. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("recent_n_files_to_read_for_schema_discovery") + private Optional recentNFilesToReadForSchemaDiscovery; + + /** + * When enabled, syncs will not validate or structure records against the stream's schema. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schemaless") + private Optional schemaless; + + /** + * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("validation_policy") + private Optional validationPolicy; + + @JsonCreator + public SourceSharepointEnterpriseFileBasedStreamConfig( + @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, + @JsonProperty("format") SourceSharepointEnterpriseFormat format, + @JsonProperty("globs") Optional> globs, + @JsonProperty("input_schema") Optional inputSchema, + @JsonProperty("name") String name, + @JsonProperty("recent_n_files_to_read_for_schema_discovery") Optional recentNFilesToReadForSchemaDiscovery, + @JsonProperty("schemaless") Optional schemaless, + @JsonProperty("validation_policy") Optional validationPolicy) { + Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); + Utils.checkNotNull(format, "format"); + Utils.checkNotNull(globs, "globs"); + Utils.checkNotNull(inputSchema, "inputSchema"); + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); + Utils.checkNotNull(schemaless, "schemaless"); + Utils.checkNotNull(validationPolicy, "validationPolicy"); + this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; + this.format = format; + this.globs = globs; + this.inputSchema = inputSchema; + this.name = name; + this.recentNFilesToReadForSchemaDiscovery = recentNFilesToReadForSchemaDiscovery; + this.schemaless = schemaless; + this.validationPolicy = validationPolicy; + } + + public SourceSharepointEnterpriseFileBasedStreamConfig( + SourceSharepointEnterpriseFormat format, + String name) { + this(Optional.empty(), format, Optional.empty(), Optional.empty(), name, Optional.empty(), Optional.empty(), Optional.empty()); + } + + /** + * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. + */ + @JsonIgnore + public Optional daysToSyncIfHistoryIsFull() { + return daysToSyncIfHistoryIsFull; + } + + /** + * The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. + */ + @JsonIgnore + public SourceSharepointEnterpriseFormat format() { + return format; + } + + /** + * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> globs() { + return (Optional>) globs; + } + + /** + * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. + */ + @JsonIgnore + public Optional inputSchema() { + return inputSchema; + } + + /** + * The name of the stream. + */ + @JsonIgnore + public String name() { + return name; + } + + /** + * The number of resent files which will be used to discover the schema for this stream. + */ + @JsonIgnore + public Optional recentNFilesToReadForSchemaDiscovery() { + return recentNFilesToReadForSchemaDiscovery; + } + + /** + * When enabled, syncs will not validate or structure records against the stream's schema. + */ + @JsonIgnore + public Optional schemaless() { + return schemaless; + } + + /** + * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional validationPolicy() { + return (Optional) validationPolicy; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(long daysToSyncIfHistoryIsFull) { + Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); + this.daysToSyncIfHistoryIsFull = Optional.ofNullable(daysToSyncIfHistoryIsFull); + return this; + } + + /** + * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); + this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; + return this; + } + + /** + * The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withFormat(SourceSharepointEnterpriseFormat format) { + Utils.checkNotNull(format, "format"); + this.format = format; + return this; + } + + /** + * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withGlobs(List globs) { + Utils.checkNotNull(globs, "globs"); + this.globs = Optional.ofNullable(globs); + return this; + } + + /** + * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withGlobs(Optional> globs) { + Utils.checkNotNull(globs, "globs"); + this.globs = globs; + return this; + } + + /** + * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withInputSchema(String inputSchema) { + Utils.checkNotNull(inputSchema, "inputSchema"); + this.inputSchema = Optional.ofNullable(inputSchema); + return this; + } + + /** + * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withInputSchema(Optional inputSchema) { + Utils.checkNotNull(inputSchema, "inputSchema"); + this.inputSchema = inputSchema; + return this; + } + + /** + * The name of the stream. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withName(String name) { + Utils.checkNotNull(name, "name"); + this.name = name; + return this; + } + + /** + * The number of resent files which will be used to discover the schema for this stream. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(long recentNFilesToReadForSchemaDiscovery) { + Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); + this.recentNFilesToReadForSchemaDiscovery = Optional.ofNullable(recentNFilesToReadForSchemaDiscovery); + return this; + } + + /** + * The number of resent files which will be used to discover the schema for this stream. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { + Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); + this.recentNFilesToReadForSchemaDiscovery = recentNFilesToReadForSchemaDiscovery; + return this; + } + + /** + * When enabled, syncs will not validate or structure records against the stream's schema. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withSchemaless(boolean schemaless) { + Utils.checkNotNull(schemaless, "schemaless"); + this.schemaless = Optional.ofNullable(schemaless); + return this; + } + + /** + * When enabled, syncs will not validate or structure records against the stream's schema. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withSchemaless(Optional schemaless) { + Utils.checkNotNull(schemaless, "schemaless"); + this.schemaless = schemaless; + return this; + } + + /** + * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withValidationPolicy(SourceSharepointEnterpriseValidationPolicy validationPolicy) { + Utils.checkNotNull(validationPolicy, "validationPolicy"); + this.validationPolicy = Optional.ofNullable(validationPolicy); + return this; + } + + /** + * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. + */ + public SourceSharepointEnterpriseFileBasedStreamConfig withValidationPolicy(Optional validationPolicy) { + Utils.checkNotNull(validationPolicy, "validationPolicy"); + this.validationPolicy = validationPolicy; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseFileBasedStreamConfig other = (SourceSharepointEnterpriseFileBasedStreamConfig) o; + return + Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.globs, other.globs) && + Objects.deepEquals(this.inputSchema, other.inputSchema) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.recentNFilesToReadForSchemaDiscovery, other.recentNFilesToReadForSchemaDiscovery) && + Objects.deepEquals(this.schemaless, other.schemaless) && + Objects.deepEquals(this.validationPolicy, other.validationPolicy); + } + + @Override + public int hashCode() { + return Objects.hash( + daysToSyncIfHistoryIsFull, + format, + globs, + inputSchema, + name, + recentNFilesToReadForSchemaDiscovery, + schemaless, + validationPolicy); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseFileBasedStreamConfig.class, + "daysToSyncIfHistoryIsFull", daysToSyncIfHistoryIsFull, + "format", format, + "globs", globs, + "inputSchema", inputSchema, + "name", name, + "recentNFilesToReadForSchemaDiscovery", recentNFilesToReadForSchemaDiscovery, + "schemaless", schemaless, + "validationPolicy", validationPolicy); + } + + public final static class Builder { + + private Optional daysToSyncIfHistoryIsFull; + + private SourceSharepointEnterpriseFormat format; + + private Optional> globs = Optional.empty(); + + private Optional inputSchema = Optional.empty(); + + private String name; + + private Optional recentNFilesToReadForSchemaDiscovery = Optional.empty(); + + private Optional schemaless; + + private Optional validationPolicy; + + private Builder() { + // force use of static builder() method + } + + /** + * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. + */ + public Builder daysToSyncIfHistoryIsFull(long daysToSyncIfHistoryIsFull) { + Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); + this.daysToSyncIfHistoryIsFull = Optional.ofNullable(daysToSyncIfHistoryIsFull); + return this; + } + + /** + * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. + */ + public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); + this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; + return this; + } + + /** + * The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. + */ + public Builder format(SourceSharepointEnterpriseFormat format) { + Utils.checkNotNull(format, "format"); + this.format = format; + return this; + } + + /** + * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. + */ + public Builder globs(List globs) { + Utils.checkNotNull(globs, "globs"); + this.globs = Optional.ofNullable(globs); + return this; + } + + /** + * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. + */ + public Builder globs(Optional> globs) { + Utils.checkNotNull(globs, "globs"); + this.globs = globs; + return this; + } + + /** + * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. + */ + public Builder inputSchema(String inputSchema) { + Utils.checkNotNull(inputSchema, "inputSchema"); + this.inputSchema = Optional.ofNullable(inputSchema); + return this; + } + + /** + * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. + */ + public Builder inputSchema(Optional inputSchema) { + Utils.checkNotNull(inputSchema, "inputSchema"); + this.inputSchema = inputSchema; + return this; + } + + /** + * The name of the stream. + */ + public Builder name(String name) { + Utils.checkNotNull(name, "name"); + this.name = name; + return this; + } + + /** + * The number of resent files which will be used to discover the schema for this stream. + */ + public Builder recentNFilesToReadForSchemaDiscovery(long recentNFilesToReadForSchemaDiscovery) { + Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); + this.recentNFilesToReadForSchemaDiscovery = Optional.ofNullable(recentNFilesToReadForSchemaDiscovery); + return this; + } + + /** + * The number of resent files which will be used to discover the schema for this stream. + */ + public Builder recentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { + Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); + this.recentNFilesToReadForSchemaDiscovery = recentNFilesToReadForSchemaDiscovery; + return this; + } + + /** + * When enabled, syncs will not validate or structure records against the stream's schema. + */ + public Builder schemaless(boolean schemaless) { + Utils.checkNotNull(schemaless, "schemaless"); + this.schemaless = Optional.ofNullable(schemaless); + return this; + } + + /** + * When enabled, syncs will not validate or structure records against the stream's schema. + */ + public Builder schemaless(Optional schemaless) { + Utils.checkNotNull(schemaless, "schemaless"); + this.schemaless = schemaless; + return this; + } + + /** + * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. + */ + public Builder validationPolicy(SourceSharepointEnterpriseValidationPolicy validationPolicy) { + Utils.checkNotNull(validationPolicy, "validationPolicy"); + this.validationPolicy = Optional.ofNullable(validationPolicy); + return this; + } + + /** + * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. + */ + public Builder validationPolicy(Optional validationPolicy) { + Utils.checkNotNull(validationPolicy, "validationPolicy"); + this.validationPolicy = validationPolicy; + return this; + } + + public SourceSharepointEnterpriseFileBasedStreamConfig build() { + if (daysToSyncIfHistoryIsFull == null) { + daysToSyncIfHistoryIsFull = _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull.value(); + } + if (schemaless == null) { + schemaless = _SINGLETON_VALUE_Schemaless.value(); + } + if (validationPolicy == null) { + validationPolicy = _SINGLETON_VALUE_ValidationPolicy.value(); + } + return new SourceSharepointEnterpriseFileBasedStreamConfig( + daysToSyncIfHistoryIsFull, + format, + globs, + inputSchema, + name, + recentNFilesToReadForSchemaDiscovery, + schemaless, + validationPolicy); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = + new LazySingletonValue<>( + "days_to_sync_if_history_is_full", + "3", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = + new LazySingletonValue<>( + "schemaless", + "false", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_ValidationPolicy = + new LazySingletonValue<>( + "validation_policy", + "\"Emit Record\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFiletype.java new file mode 100644 index 000000000..bfd46f1e8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFiletype.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseFiletype { + AVRO("avro"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseFiletype(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseFiletype o: SourceSharepointEnterpriseFiletype.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFormat.java new file mode 100644 index 000000000..97c84abe9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFormat.java @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourceSharepointEnterpriseFormat + * + *

    The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. + */ +@JsonDeserialize(using = SourceSharepointEnterpriseFormat._Deserializer.class) +public class SourceSharepointEnterpriseFormat { + + @JsonValue + private TypedObject value; + + private SourceSharepointEnterpriseFormat(TypedObject value) { + this.value = value; + } + + public static SourceSharepointEnterpriseFormat of(SourceSharepointEnterpriseAvroFormat value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseFormat(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceSharepointEnterpriseFormat of(SourceSharepointEnterpriseCSVFormat value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseFormat(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceSharepointEnterpriseFormat of(SourceSharepointEnterpriseJsonlFormat value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseFormat(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceSharepointEnterpriseFormat of(SourceSharepointEnterpriseParquetFormat value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseFormat(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceSharepointEnterpriseFormat of(SourceSharepointEnterpriseUnstructuredDocumentFormat value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseFormat(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceSharepointEnterpriseFormat of(SourceSharepointEnterpriseExcelFormat value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseFormat(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseAvroFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseCSVFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseJsonlFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseParquetFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseUnstructuredDocumentFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseExcelFormat}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseFormat other = (SourceSharepointEnterpriseFormat) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceSharepointEnterpriseFormat.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseFormat.class, + "value", value); + } + +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFromCSV.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFromCSV.java new file mode 100644 index 000000000..f817215c7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseFromCSV.java @@ -0,0 +1,85 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +public class SourceSharepointEnterpriseFromCSV { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("header_definition_type") + private Optional headerDefinitionType; + + @JsonCreator + public SourceSharepointEnterpriseFromCSV() { + + this.headerDefinitionType = Builder._SINGLETON_VALUE_HeaderDefinitionType.value(); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional headerDefinitionType() { + return (Optional) headerDefinitionType; + } + + public final static Builder builder() { + return new Builder(); + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseFromCSV other = (SourceSharepointEnterpriseFromCSV) o; + return + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + } + + @Override + public int hashCode() { + return Objects.hash( + headerDefinitionType); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseFromCSV.class, + "headerDefinitionType", headerDefinitionType); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public SourceSharepointEnterpriseFromCSV build() { + return new SourceSharepointEnterpriseFromCSV( + ); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_HeaderDefinitionType = + new LazySingletonValue<>( + "header_definition_type", + "\"From CSV\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseHeaderDefinitionType.java new file mode 100644 index 000000000..c733400a7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseHeaderDefinitionType.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseHeaderDefinitionType { + FROM_CSV("From CSV"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseHeaderDefinitionType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseHeaderDefinitionType o: SourceSharepointEnterpriseHeaderDefinitionType.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseJsonlFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseJsonlFormat.java new file mode 100644 index 000000000..80cc61a6b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseJsonlFormat.java @@ -0,0 +1,85 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +public class SourceSharepointEnterpriseJsonlFormat { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + private Optional filetype; + + @JsonCreator + public SourceSharepointEnterpriseJsonlFormat() { + + this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional filetype() { + return (Optional) filetype; + } + + public final static Builder builder() { + return new Builder(); + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseJsonlFormat other = (SourceSharepointEnterpriseJsonlFormat) o; + return + Objects.deepEquals(this.filetype, other.filetype); + } + + @Override + public int hashCode() { + return Objects.hash( + filetype); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseJsonlFormat.class, + "filetype", filetype); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public SourceSharepointEnterpriseJsonlFormat build() { + return new SourceSharepointEnterpriseJsonlFormat( + ); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = + new LazySingletonValue<>( + "filetype", + "\"jsonl\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseLocal.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseLocal.java new file mode 100644 index 000000000..3aea3df9a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseLocal.java @@ -0,0 +1,90 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSharepointEnterpriseLocal + * + *

    Process files locally, supporting `fast` and `ocr` modes. This is the default option. + */ +public class SourceSharepointEnterpriseLocal { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("mode") + private Optional mode; + + @JsonCreator + public SourceSharepointEnterpriseLocal() { + + this.mode = Builder._SINGLETON_VALUE_Mode.value(); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional mode() { + return (Optional) mode; + } + + public final static Builder builder() { + return new Builder(); + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseLocal other = (SourceSharepointEnterpriseLocal) o; + return + Objects.deepEquals(this.mode, other.mode); + } + + @Override + public int hashCode() { + return Objects.hash( + mode); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseLocal.class, + "mode", mode); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public SourceSharepointEnterpriseLocal build() { + return new SourceSharepointEnterpriseLocal( + ); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Mode = + new LazySingletonValue<>( + "mode", + "\"local\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseMode.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseMode.java new file mode 100644 index 000000000..646f64055 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseMode.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseMode { + LOCAL("local"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseMode(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseMode o: SourceSharepointEnterpriseMode.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseParquetFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseParquetFormat.java new file mode 100644 index 000000000..16c3bba21 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseParquetFormat.java @@ -0,0 +1,157 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +public class SourceSharepointEnterpriseParquetFormat { + + /** + * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("decimal_as_float") + private Optional decimalAsFloat; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + private Optional filetype; + + @JsonCreator + public SourceSharepointEnterpriseParquetFormat( + @JsonProperty("decimal_as_float") Optional decimalAsFloat) { + Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); + this.decimalAsFloat = decimalAsFloat; + this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); + } + + public SourceSharepointEnterpriseParquetFormat() { + this(Optional.empty()); + } + + /** + * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. + */ + @JsonIgnore + public Optional decimalAsFloat() { + return decimalAsFloat; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional filetype() { + return (Optional) filetype; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. + */ + public SourceSharepointEnterpriseParquetFormat withDecimalAsFloat(boolean decimalAsFloat) { + Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); + this.decimalAsFloat = Optional.ofNullable(decimalAsFloat); + return this; + } + + /** + * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. + */ + public SourceSharepointEnterpriseParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { + Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); + this.decimalAsFloat = decimalAsFloat; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseParquetFormat other = (SourceSharepointEnterpriseParquetFormat) o; + return + Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && + Objects.deepEquals(this.filetype, other.filetype); + } + + @Override + public int hashCode() { + return Objects.hash( + decimalAsFloat, + filetype); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseParquetFormat.class, + "decimalAsFloat", decimalAsFloat, + "filetype", filetype); + } + + public final static class Builder { + + private Optional decimalAsFloat; + + private Builder() { + // force use of static builder() method + } + + /** + * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. + */ + public Builder decimalAsFloat(boolean decimalAsFloat) { + Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); + this.decimalAsFloat = Optional.ofNullable(decimalAsFloat); + return this; + } + + /** + * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. + */ + public Builder decimalAsFloat(Optional decimalAsFloat) { + Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); + this.decimalAsFloat = decimalAsFloat; + return this; + } + + public SourceSharepointEnterpriseParquetFormat build() { + if (decimalAsFloat == null) { + decimalAsFloat = _SINGLETON_VALUE_DecimalAsFloat.value(); + } + return new SourceSharepointEnterpriseParquetFormat( + decimalAsFloat); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = + new LazySingletonValue<>( + "decimal_as_float", + "false", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = + new LazySingletonValue<>( + "filetype", + "\"parquet\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseParsingStrategy.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseParsingStrategy.java new file mode 100644 index 000000000..1fc07c0a4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseParsingStrategy.java @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSharepointEnterpriseParsingStrategy + * + *

    The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf + */ +public enum SourceSharepointEnterpriseParsingStrategy { + AUTO("auto"), + FAST("fast"), + OCR_ONLY("ocr_only"), + HI_RES("hi_res"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseParsingStrategy(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseParsingStrategy o: SourceSharepointEnterpriseParsingStrategy.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseProcessing.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseProcessing.java new file mode 100644 index 000000000..76aaa500f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseProcessing.java @@ -0,0 +1,93 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourceSharepointEnterpriseProcessing + * + *

    Processing configuration + */ +@JsonDeserialize(using = SourceSharepointEnterpriseProcessing._Deserializer.class) +public class SourceSharepointEnterpriseProcessing { + + @JsonValue + private TypedObject value; + + private SourceSharepointEnterpriseProcessing(TypedObject value) { + this.value = value; + } + + public static SourceSharepointEnterpriseProcessing of(SourceSharepointEnterpriseLocal value) { + Utils.checkNotNull(value, "value"); + return new SourceSharepointEnterpriseProcessing(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.SourceSharepointEnterpriseLocal}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseProcessing other = (SourceSharepointEnterpriseProcessing) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceSharepointEnterpriseProcessing.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseProcessing.class, + "value", value); + } + +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseReplicatePermissionsACL.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseReplicatePermissionsACL.java new file mode 100644 index 000000000..c0c8cb23b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseReplicatePermissionsACL.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSharepointEnterpriseReplicatePermissionsACL + * + *

    Sends one identity stream and one for more permissions (ACL) streams to the destination. This data can be used in downstream systems to recreate permission restrictions mirroring the original source. + */ +public class SourceSharepointEnterpriseReplicatePermissionsACL { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delivery_type") + private Optional deliveryType; + + /** + * This data can be used in downstream systems to recreate permission restrictions mirroring the original source + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("include_identities_stream") + private Optional includeIdentitiesStream; + + @JsonCreator + public SourceSharepointEnterpriseReplicatePermissionsACL( + @JsonProperty("include_identities_stream") Optional includeIdentitiesStream) { + Utils.checkNotNull(includeIdentitiesStream, "includeIdentitiesStream"); + this.deliveryType = Builder._SINGLETON_VALUE_DeliveryType.value(); + this.includeIdentitiesStream = includeIdentitiesStream; + } + + public SourceSharepointEnterpriseReplicatePermissionsACL() { + this(Optional.empty()); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional deliveryType() { + return (Optional) deliveryType; + } + + /** + * This data can be used in downstream systems to recreate permission restrictions mirroring the original source + */ + @JsonIgnore + public Optional includeIdentitiesStream() { + return includeIdentitiesStream; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * This data can be used in downstream systems to recreate permission restrictions mirroring the original source + */ + public SourceSharepointEnterpriseReplicatePermissionsACL withIncludeIdentitiesStream(boolean includeIdentitiesStream) { + Utils.checkNotNull(includeIdentitiesStream, "includeIdentitiesStream"); + this.includeIdentitiesStream = Optional.ofNullable(includeIdentitiesStream); + return this; + } + + /** + * This data can be used in downstream systems to recreate permission restrictions mirroring the original source + */ + public SourceSharepointEnterpriseReplicatePermissionsACL withIncludeIdentitiesStream(Optional includeIdentitiesStream) { + Utils.checkNotNull(includeIdentitiesStream, "includeIdentitiesStream"); + this.includeIdentitiesStream = includeIdentitiesStream; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseReplicatePermissionsACL other = (SourceSharepointEnterpriseReplicatePermissionsACL) o; + return + Objects.deepEquals(this.deliveryType, other.deliveryType) && + Objects.deepEquals(this.includeIdentitiesStream, other.includeIdentitiesStream); + } + + @Override + public int hashCode() { + return Objects.hash( + deliveryType, + includeIdentitiesStream); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseReplicatePermissionsACL.class, + "deliveryType", deliveryType, + "includeIdentitiesStream", includeIdentitiesStream); + } + + public final static class Builder { + + private Optional includeIdentitiesStream; + + private Builder() { + // force use of static builder() method + } + + /** + * This data can be used in downstream systems to recreate permission restrictions mirroring the original source + */ + public Builder includeIdentitiesStream(boolean includeIdentitiesStream) { + Utils.checkNotNull(includeIdentitiesStream, "includeIdentitiesStream"); + this.includeIdentitiesStream = Optional.ofNullable(includeIdentitiesStream); + return this; + } + + /** + * This data can be used in downstream systems to recreate permission restrictions mirroring the original source + */ + public Builder includeIdentitiesStream(Optional includeIdentitiesStream) { + Utils.checkNotNull(includeIdentitiesStream, "includeIdentitiesStream"); + this.includeIdentitiesStream = includeIdentitiesStream; + return this; + } + + public SourceSharepointEnterpriseReplicatePermissionsACL build() { + if (includeIdentitiesStream == null) { + includeIdentitiesStream = _SINGLETON_VALUE_IncludeIdentitiesStream.value(); + } + return new SourceSharepointEnterpriseReplicatePermissionsACL( + includeIdentitiesStream); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DeliveryType = + new LazySingletonValue<>( + "delivery_type", + "\"use_permissions_transfer\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeIdentitiesStream = + new LazySingletonValue<>( + "include_identities_stream", + "true", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseReplicateRecords.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseReplicateRecords.java new file mode 100644 index 000000000..ade54f389 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseReplicateRecords.java @@ -0,0 +1,90 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSharepointEnterpriseReplicateRecords + * + *

    Recommended - Extract and load structured records into your destination of choice. This is the classic method of moving data in Airbyte. It allows for blocking and hashing individual fields or files from a structured schema. Data can be flattened, typed and deduped depending on the destination. + */ +public class SourceSharepointEnterpriseReplicateRecords { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delivery_type") + private Optional deliveryType; + + @JsonCreator + public SourceSharepointEnterpriseReplicateRecords() { + + this.deliveryType = Builder._SINGLETON_VALUE_DeliveryType.value(); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional deliveryType() { + return (Optional) deliveryType; + } + + public final static Builder builder() { + return new Builder(); + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseReplicateRecords other = (SourceSharepointEnterpriseReplicateRecords) o; + return + Objects.deepEquals(this.deliveryType, other.deliveryType); + } + + @Override + public int hashCode() { + return Objects.hash( + deliveryType); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseReplicateRecords.class, + "deliveryType", deliveryType); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public SourceSharepointEnterpriseReplicateRecords build() { + return new SourceSharepointEnterpriseReplicateRecords( + ); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DeliveryType = + new LazySingletonValue<>( + "delivery_type", + "\"use_records_transfer\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasAuthType.java new file mode 100644 index 000000000..48bd32666 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasAuthType.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseSchemasAuthType { + SERVICE("Service"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSchemasAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSchemasAuthType o: SourceSharepointEnterpriseSchemasAuthType.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.java new file mode 100644 index 000000000..717f95aa2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType { + USE_PERMISSIONS_TRANSFER("use_permissions_transfer"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType o: SourceSharepointEnterpriseSchemasDeliveryMethodDeliveryType.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasDeliveryType.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasDeliveryType.java new file mode 100644 index 000000000..2b343f897 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasDeliveryType.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseSchemasDeliveryType { + USE_FILE_TRANSFER("use_file_transfer"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSchemasDeliveryType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSchemasDeliveryType o: SourceSharepointEnterpriseSchemasDeliveryType.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasFiletype.java new file mode 100644 index 000000000..f1caa13ab --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasFiletype.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseSchemasFiletype { + CSV("csv"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSchemasFiletype(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSchemasFiletype o: SourceSharepointEnterpriseSchemasFiletype.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasHeaderDefinitionType.java new file mode 100644 index 000000000..5407419ff --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasHeaderDefinitionType.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseSchemasHeaderDefinitionType { + AUTOGENERATED("Autogenerated"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSchemasHeaderDefinitionType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSchemasHeaderDefinitionType o: SourceSharepointEnterpriseSchemasHeaderDefinitionType.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFiletype.java new file mode 100644 index 000000000..804e99945 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFiletype.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseSchemasStreamsFiletype { + JSONL("jsonl"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSchemasStreamsFiletype(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSchemasStreamsFiletype o: SourceSharepointEnterpriseSchemasStreamsFiletype.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFiletype.java new file mode 100644 index 000000000..8de502eb9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFiletype.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseSchemasStreamsFormatFiletype { + PARQUET("parquet"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSchemasStreamsFormatFiletype(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSchemasStreamsFormatFiletype o: SourceSharepointEnterpriseSchemasStreamsFormatFiletype.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.java new file mode 100644 index 000000000..44c1ed93d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype { + EXCEL("excel"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype o: SourceSharepointEnterpriseSchemasStreamsFormatFormat6Filetype.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.java new file mode 100644 index 000000000..89aa085d4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype { + UNSTRUCTURED("unstructured"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype o: SourceSharepointEnterpriseSchemasStreamsFormatFormatFiletype.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.java new file mode 100644 index 000000000..bde60d1d8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType { + USER_PROVIDED("User Provided"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType o: SourceSharepointEnterpriseSchemasStreamsHeaderDefinitionType.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSearchScope.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSearchScope.java new file mode 100644 index 000000000..5ca9ce3fe --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSearchScope.java @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSharepointEnterpriseSearchScope + * + *

    Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. + */ +public enum SourceSharepointEnterpriseSearchScope { + ACCESSIBLE_DRIVES("ACCESSIBLE_DRIVES"), + SHARED_ITEMS("SHARED_ITEMS"), + ALL("ALL"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSearchScope(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSearchScope o: SourceSharepointEnterpriseSearchScope.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseServiceKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseServiceKeyAuthentication.java new file mode 100644 index 000000000..4605a5376 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseServiceKeyAuthentication.java @@ -0,0 +1,253 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSharepointEnterpriseServiceKeyAuthentication + * + *

    ServiceCredentials class for service key authentication. + * This class is structured similarly to OAuthCredentials but for a different authentication method. + */ +public class SourceSharepointEnterpriseServiceKeyAuthentication { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + /** + * Client ID of your Microsoft developer application + */ + @JsonProperty("client_id") + private String clientId; + + /** + * Client Secret of your Microsoft developer application + */ + @JsonProperty("client_secret") + private String clientSecret; + + /** + * Tenant ID of the Microsoft SharePoint user + */ + @JsonProperty("tenant_id") + private String tenantId; + + /** + * Special characters such as a period, comma, space, and the at sign (@) are converted to underscores (_). More details: https://learn.microsoft.com/en-us/sharepoint/list-onedrive-urls + */ + @JsonProperty("user_principal_name") + private String userPrincipalName; + + @JsonCreator + public SourceSharepointEnterpriseServiceKeyAuthentication( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("tenant_id") String tenantId, + @JsonProperty("user_principal_name") String userPrincipalName) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(tenantId, "tenantId"); + Utils.checkNotNull(userPrincipalName, "userPrincipalName"); + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.tenantId = tenantId; + this.userPrincipalName = userPrincipalName; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + /** + * Client ID of your Microsoft developer application + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * Client Secret of your Microsoft developer application + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * Tenant ID of the Microsoft SharePoint user + */ + @JsonIgnore + public String tenantId() { + return tenantId; + } + + /** + * Special characters such as a period, comma, space, and the at sign (@) are converted to underscores (_). More details: https://learn.microsoft.com/en-us/sharepoint/list-onedrive-urls + */ + @JsonIgnore + public String userPrincipalName() { + return userPrincipalName; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Client ID of your Microsoft developer application + */ + public SourceSharepointEnterpriseServiceKeyAuthentication withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Client Secret of your Microsoft developer application + */ + public SourceSharepointEnterpriseServiceKeyAuthentication withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Tenant ID of the Microsoft SharePoint user + */ + public SourceSharepointEnterpriseServiceKeyAuthentication withTenantId(String tenantId) { + Utils.checkNotNull(tenantId, "tenantId"); + this.tenantId = tenantId; + return this; + } + + /** + * Special characters such as a period, comma, space, and the at sign (@) are converted to underscores (_). More details: https://learn.microsoft.com/en-us/sharepoint/list-onedrive-urls + */ + public SourceSharepointEnterpriseServiceKeyAuthentication withUserPrincipalName(String userPrincipalName) { + Utils.checkNotNull(userPrincipalName, "userPrincipalName"); + this.userPrincipalName = userPrincipalName; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseServiceKeyAuthentication other = (SourceSharepointEnterpriseServiceKeyAuthentication) o; + return + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.tenantId, other.tenantId) && + Objects.deepEquals(this.userPrincipalName, other.userPrincipalName); + } + + @Override + public int hashCode() { + return Objects.hash( + authType, + clientId, + clientSecret, + tenantId, + userPrincipalName); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseServiceKeyAuthentication.class, + "authType", authType, + "clientId", clientId, + "clientSecret", clientSecret, + "tenantId", tenantId, + "userPrincipalName", userPrincipalName); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private String tenantId; + + private String userPrincipalName; + + private Builder() { + // force use of static builder() method + } + + /** + * Client ID of your Microsoft developer application + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Client Secret of your Microsoft developer application + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Tenant ID of the Microsoft SharePoint user + */ + public Builder tenantId(String tenantId) { + Utils.checkNotNull(tenantId, "tenantId"); + this.tenantId = tenantId; + return this; + } + + /** + * Special characters such as a period, comma, space, and the at sign (@) are converted to underscores (_). More details: https://learn.microsoft.com/en-us/sharepoint/list-onedrive-urls + */ + public Builder userPrincipalName(String userPrincipalName) { + Utils.checkNotNull(userPrincipalName, "userPrincipalName"); + this.userPrincipalName = userPrincipalName; + return this; + } + + public SourceSharepointEnterpriseServiceKeyAuthentication build() { + return new SourceSharepointEnterpriseServiceKeyAuthentication( + clientId, + clientSecret, + tenantId, + userPrincipalName); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"Service\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSharepointEnterprise.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSharepointEnterprise.java new file mode 100644 index 000000000..bc2ff059f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseSharepointEnterprise.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum SourceSharepointEnterpriseSharepointEnterprise { + SHAREPOINT_ENTERPRISE("sharepoint-enterprise"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseSharepointEnterprise(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseSharepointEnterprise o: SourceSharepointEnterpriseSharepointEnterprise.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseUnstructuredDocumentFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseUnstructuredDocumentFormat.java new file mode 100644 index 000000000..8093d69a8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseUnstructuredDocumentFormat.java @@ -0,0 +1,293 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSharepointEnterpriseUnstructuredDocumentFormat + * + *

    Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one record per file. + */ +public class SourceSharepointEnterpriseUnstructuredDocumentFormat { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + private Optional filetype; + + /** + * Processing configuration + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("processing") + private Optional processing; + + /** + * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("skip_unprocessable_files") + private Optional skipUnprocessableFiles; + + /** + * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("strategy") + private Optional strategy; + + @JsonCreator + public SourceSharepointEnterpriseUnstructuredDocumentFormat( + @JsonProperty("processing") Optional processing, + @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, + @JsonProperty("strategy") Optional strategy) { + Utils.checkNotNull(processing, "processing"); + Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); + Utils.checkNotNull(strategy, "strategy"); + this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); + this.processing = processing; + this.skipUnprocessableFiles = skipUnprocessableFiles; + this.strategy = strategy; + } + + public SourceSharepointEnterpriseUnstructuredDocumentFormat() { + this(Optional.empty(), Optional.empty(), Optional.empty()); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional filetype() { + return (Optional) filetype; + } + + /** + * Processing configuration + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional processing() { + return (Optional) processing; + } + + /** + * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. + */ + @JsonIgnore + public Optional skipUnprocessableFiles() { + return skipUnprocessableFiles; + } + + /** + * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional strategy() { + return (Optional) strategy; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Processing configuration + */ + public SourceSharepointEnterpriseUnstructuredDocumentFormat withProcessing(SourceSharepointEnterpriseProcessing processing) { + Utils.checkNotNull(processing, "processing"); + this.processing = Optional.ofNullable(processing); + return this; + } + + /** + * Processing configuration + */ + public SourceSharepointEnterpriseUnstructuredDocumentFormat withProcessing(Optional processing) { + Utils.checkNotNull(processing, "processing"); + this.processing = processing; + return this; + } + + /** + * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. + */ + public SourceSharepointEnterpriseUnstructuredDocumentFormat withSkipUnprocessableFiles(boolean skipUnprocessableFiles) { + Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); + this.skipUnprocessableFiles = Optional.ofNullable(skipUnprocessableFiles); + return this; + } + + /** + * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. + */ + public SourceSharepointEnterpriseUnstructuredDocumentFormat withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { + Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); + this.skipUnprocessableFiles = skipUnprocessableFiles; + return this; + } + + /** + * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf + */ + public SourceSharepointEnterpriseUnstructuredDocumentFormat withStrategy(SourceSharepointEnterpriseParsingStrategy strategy) { + Utils.checkNotNull(strategy, "strategy"); + this.strategy = Optional.ofNullable(strategy); + return this; + } + + /** + * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf + */ + public SourceSharepointEnterpriseUnstructuredDocumentFormat withStrategy(Optional strategy) { + Utils.checkNotNull(strategy, "strategy"); + this.strategy = strategy; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseUnstructuredDocumentFormat other = (SourceSharepointEnterpriseUnstructuredDocumentFormat) o; + return + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.processing, other.processing) && + Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && + Objects.deepEquals(this.strategy, other.strategy); + } + + @Override + public int hashCode() { + return Objects.hash( + filetype, + processing, + skipUnprocessableFiles, + strategy); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseUnstructuredDocumentFormat.class, + "filetype", filetype, + "processing", processing, + "skipUnprocessableFiles", skipUnprocessableFiles, + "strategy", strategy); + } + + public final static class Builder { + + private Optional processing = Optional.empty(); + + private Optional skipUnprocessableFiles; + + private Optional strategy; + + private Builder() { + // force use of static builder() method + } + + /** + * Processing configuration + */ + public Builder processing(SourceSharepointEnterpriseProcessing processing) { + Utils.checkNotNull(processing, "processing"); + this.processing = Optional.ofNullable(processing); + return this; + } + + /** + * Processing configuration + */ + public Builder processing(Optional processing) { + Utils.checkNotNull(processing, "processing"); + this.processing = processing; + return this; + } + + /** + * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. + */ + public Builder skipUnprocessableFiles(boolean skipUnprocessableFiles) { + Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); + this.skipUnprocessableFiles = Optional.ofNullable(skipUnprocessableFiles); + return this; + } + + /** + * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. + */ + public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { + Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); + this.skipUnprocessableFiles = skipUnprocessableFiles; + return this; + } + + /** + * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf + */ + public Builder strategy(SourceSharepointEnterpriseParsingStrategy strategy) { + Utils.checkNotNull(strategy, "strategy"); + this.strategy = Optional.ofNullable(strategy); + return this; + } + + /** + * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf + */ + public Builder strategy(Optional strategy) { + Utils.checkNotNull(strategy, "strategy"); + this.strategy = strategy; + return this; + } + + public SourceSharepointEnterpriseUnstructuredDocumentFormat build() { + if (skipUnprocessableFiles == null) { + skipUnprocessableFiles = _SINGLETON_VALUE_SkipUnprocessableFiles.value(); + } + if (strategy == null) { + strategy = _SINGLETON_VALUE_Strategy.value(); + } + return new SourceSharepointEnterpriseUnstructuredDocumentFormat( + processing, + skipUnprocessableFiles, + strategy); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = + new LazySingletonValue<>( + "filetype", + "\"unstructured\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = + new LazySingletonValue<>( + "skip_unprocessable_files", + "true", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Strategy = + new LazySingletonValue<>( + "strategy", + "\"auto\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseUserProvided.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseUserProvided.java new file mode 100644 index 000000000..d9eff76f1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseUserProvided.java @@ -0,0 +1,125 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + +public class SourceSharepointEnterpriseUserProvided { + + /** + * The column names that will be used while emitting the CSV records + */ + @JsonProperty("column_names") + private List columnNames; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("header_definition_type") + private Optional headerDefinitionType; + + @JsonCreator + public SourceSharepointEnterpriseUserProvided( + @JsonProperty("column_names") List columnNames) { + Utils.checkNotNull(columnNames, "columnNames"); + this.columnNames = columnNames; + this.headerDefinitionType = Builder._SINGLETON_VALUE_HeaderDefinitionType.value(); + } + + /** + * The column names that will be used while emitting the CSV records + */ + @JsonIgnore + public List columnNames() { + return columnNames; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional headerDefinitionType() { + return (Optional) headerDefinitionType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The column names that will be used while emitting the CSV records + */ + public SourceSharepointEnterpriseUserProvided withColumnNames(List columnNames) { + Utils.checkNotNull(columnNames, "columnNames"); + this.columnNames = columnNames; + return this; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharepointEnterpriseUserProvided other = (SourceSharepointEnterpriseUserProvided) o; + return + Objects.deepEquals(this.columnNames, other.columnNames) && + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + } + + @Override + public int hashCode() { + return Objects.hash( + columnNames, + headerDefinitionType); + } + + @Override + public String toString() { + return Utils.toString(SourceSharepointEnterpriseUserProvided.class, + "columnNames", columnNames, + "headerDefinitionType", headerDefinitionType); + } + + public final static class Builder { + + private List columnNames; + + private Builder() { + // force use of static builder() method + } + + /** + * The column names that will be used while emitting the CSV records + */ + public Builder columnNames(List columnNames) { + Utils.checkNotNull(columnNames, "columnNames"); + this.columnNames = columnNames; + return this; + } + + public SourceSharepointEnterpriseUserProvided build() { + return new SourceSharepointEnterpriseUserProvided( + columnNames); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_HeaderDefinitionType = + new LazySingletonValue<>( + "header_definition_type", + "\"User Provided\"", + new TypeReference>() {}); + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseValidationPolicy.java b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseValidationPolicy.java new file mode 100644 index 000000000..f7e24b567 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharepointEnterpriseValidationPolicy.java @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSharepointEnterpriseValidationPolicy + * + *

    The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. + */ +public enum SourceSharepointEnterpriseValidationPolicy { + EMIT_RECORD("Emit Record"), + SKIP_RECORD("Skip Record"), + WAIT_FOR_DISCOVER("Wait for Discover"); + + @JsonValue + private final String value; + + private SourceSharepointEnterpriseValidationPolicy(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (SourceSharepointEnterpriseValidationPolicy o: SourceSharepointEnterpriseValidationPolicy.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/StreamConfiguration.java b/src/main/java/com/airbyte/api/models/shared/StreamConfiguration.java index c1755595a..664ea6b52 100644 --- a/src/main/java/com/airbyte/api/models/shared/StreamConfiguration.java +++ b/src/main/java/com/airbyte/api/models/shared/StreamConfiguration.java @@ -9,6 +9,7 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; +import java.lang.Boolean; import java.lang.Override; import java.lang.String; import java.lang.SuppressWarnings; @@ -30,6 +31,13 @@ public class StreamConfiguration { @JsonProperty("cursorField") private Optional> cursorField; + /** + * Whether to move raw files from the source to the destination during the sync. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("includeFiles") + private Optional includeFiles; + /** * Mappers that should be applied to the stream before writing to the destination. */ @@ -61,18 +69,21 @@ public class StreamConfiguration { @JsonCreator public StreamConfiguration( @JsonProperty("cursorField") Optional> cursorField, + @JsonProperty("includeFiles") Optional includeFiles, @JsonProperty("mappers") Optional> mappers, @JsonProperty("name") String name, @JsonProperty("primaryKey") Optional>> primaryKey, @JsonProperty("selectedFields") Optional> selectedFields, @JsonProperty("syncMode") Optional syncMode) { Utils.checkNotNull(cursorField, "cursorField"); + Utils.checkNotNull(includeFiles, "includeFiles"); Utils.checkNotNull(mappers, "mappers"); Utils.checkNotNull(name, "name"); Utils.checkNotNull(primaryKey, "primaryKey"); Utils.checkNotNull(selectedFields, "selectedFields"); Utils.checkNotNull(syncMode, "syncMode"); this.cursorField = cursorField; + this.includeFiles = includeFiles; this.mappers = mappers; this.name = name; this.primaryKey = primaryKey; @@ -82,7 +93,7 @@ public StreamConfiguration( public StreamConfiguration( String name) { - this(Optional.empty(), Optional.empty(), name, Optional.empty(), Optional.empty(), Optional.empty()); + this(Optional.empty(), Optional.empty(), Optional.empty(), name, Optional.empty(), Optional.empty(), Optional.empty()); } /** @@ -94,6 +105,14 @@ public Optional> cursorField() { return (Optional>) cursorField; } + /** + * Whether to move raw files from the source to the destination during the sync. + */ + @JsonIgnore + public Optional includeFiles() { + return includeFiles; + } + /** * Mappers that should be applied to the stream before writing to the destination. */ @@ -154,6 +173,24 @@ public StreamConfiguration withCursorField(Optional> curs return this; } + /** + * Whether to move raw files from the source to the destination during the sync. + */ + public StreamConfiguration withIncludeFiles(boolean includeFiles) { + Utils.checkNotNull(includeFiles, "includeFiles"); + this.includeFiles = Optional.ofNullable(includeFiles); + return this; + } + + /** + * Whether to move raw files from the source to the destination during the sync. + */ + public StreamConfiguration withIncludeFiles(Optional includeFiles) { + Utils.checkNotNull(includeFiles, "includeFiles"); + this.includeFiles = includeFiles; + return this; + } + /** * Mappers that should be applied to the stream before writing to the destination. */ @@ -238,6 +275,7 @@ public boolean equals(java.lang.Object o) { StreamConfiguration other = (StreamConfiguration) o; return Objects.deepEquals(this.cursorField, other.cursorField) && + Objects.deepEquals(this.includeFiles, other.includeFiles) && Objects.deepEquals(this.mappers, other.mappers) && Objects.deepEquals(this.name, other.name) && Objects.deepEquals(this.primaryKey, other.primaryKey) && @@ -249,6 +287,7 @@ public boolean equals(java.lang.Object o) { public int hashCode() { return Objects.hash( cursorField, + includeFiles, mappers, name, primaryKey, @@ -260,6 +299,7 @@ public int hashCode() { public String toString() { return Utils.toString(StreamConfiguration.class, "cursorField", cursorField, + "includeFiles", includeFiles, "mappers", mappers, "name", name, "primaryKey", primaryKey, @@ -271,6 +311,8 @@ public final static class Builder { private Optional> cursorField = Optional.empty(); + private Optional includeFiles = Optional.empty(); + private Optional> mappers = Optional.empty(); private String name; @@ -303,6 +345,24 @@ public Builder cursorField(Optional> cursorField) { return this; } + /** + * Whether to move raw files from the source to the destination during the sync. + */ + public Builder includeFiles(boolean includeFiles) { + Utils.checkNotNull(includeFiles, "includeFiles"); + this.includeFiles = Optional.ofNullable(includeFiles); + return this; + } + + /** + * Whether to move raw files from the source to the destination during the sync. + */ + public Builder includeFiles(Optional includeFiles) { + Utils.checkNotNull(includeFiles, "includeFiles"); + this.includeFiles = includeFiles; + return this; + } + /** * Mappers that should be applied to the stream before writing to the destination. */ @@ -378,6 +438,7 @@ public Builder syncMode(Optional syncMode) { public StreamConfiguration build() { return new StreamConfiguration( cursorField, + includeFiles, mappers, name, primaryKey, From 317202f794888b842cc7eb5bf2b61dd1ee5f47f2 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Wed, 30 Apr 2025 00:25:27 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow