diff --git a/bindings/java/src/README.md b/bindings/java/src/README.md
index c66ce0cc..3cb4f611 100644
--- a/bindings/java/src/README.md
+++ b/bindings/java/src/README.md
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
io.cloudsmith.api
cloudsmith-api
- 2.0.26
+ 2.0.27
compile
```
@@ -50,7 +50,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:
```groovy
-compile "io.cloudsmith.api:cloudsmith-api:2.0.26"
+compile "io.cloudsmith.api:cloudsmith-api:2.0.27"
```
### Others
@@ -63,7 +63,7 @@ mvn clean package
Then manually install the following JARs:
-* `target/cloudsmith-api-2.0.26.jar`
+* `target/cloudsmith-api-2.0.27.jar`
* `target/lib/*.jar`
## Getting Started
@@ -149,6 +149,7 @@ Class | Method | HTTP request | Description
*MetricsApi* | [**metricsPackagesList**](docs/MetricsApi.md#metricsPackagesList) | **GET** /metrics/packages/{owner}/{repo}/ | View for listing package usage metrics, for a repository.
*NamespacesApi* | [**namespacesList**](docs/NamespacesApi.md#namespacesList) | **GET** /namespaces/ | Get a list of all namespaces the user belongs to.
*NamespacesApi* | [**namespacesRead**](docs/NamespacesApi.md#namespacesRead) | **GET** /namespaces/{slug}/ | Get a specific namespace that the user belongs to.
+*OrgsApi* | [**orgsCustomDomainsList**](docs/OrgsApi.md#orgsCustomDomainsList) | **GET** /orgs/{org}/custom-domains/ | Get the details for all custom domains.
*OrgsApi* | [**orgsDelete**](docs/OrgsApi.md#orgsDelete) | **DELETE** /orgs/{org}/ | Delete the specified organization.
*OrgsApi* | [**orgsDenyPolicyCreate**](docs/OrgsApi.md#orgsDenyPolicyCreate) | **POST** /orgs/{org}/deny-policy/ | Create a package deny policy.
*OrgsApi* | [**orgsDenyPolicyDelete**](docs/OrgsApi.md#orgsDenyPolicyDelete) | **DELETE** /orgs/{org}/deny-policy/{slug_perm}/ | Delete a package deny policy.
@@ -298,16 +299,25 @@ Class | Method | HTTP request | Description
*QuotaApi* | [**quotaOssRead**](docs/QuotaApi.md#quotaOssRead) | **GET** /quota/oss/{owner}/ | Open-source Quota usage for a given namespace.
*QuotaApi* | [**quotaRead**](docs/QuotaApi.md#quotaRead) | **GET** /quota/{owner}/ | Quota usage for a given namespace.
*RatesApi* | [**ratesLimitsList**](docs/RatesApi.md#ratesLimitsList) | **GET** /rates/limits/ | Endpoint to check rate limits for current user.
+*RecycleBinApi* | [**recycleBinAction**](docs/RecycleBinApi.md#recycleBinAction) | **POST** /recycle-bin/{owner}/action/ |
*RecycleBinApi* | [**recycleBinList**](docs/RecycleBinApi.md#recycleBinList) | **GET** /recycle-bin/{owner}/ | List soft-deleted packages in recycle bin
-*RecycleBinApi* | [**recycleBinRecycleBinAction**](docs/RecycleBinApi.md#recycleBinRecycleBinAction) | **POST** /recycle-bin/{owner}/action/ |
*ReposApi* | [**apiReposGeoipStatus**](docs/ReposApi.md#apiReposGeoipStatus) | **GET** /repos/{owner}/{identifier}/geoip/status/ | Retrieve the GeoIP status for this repository.
*ReposApi* | [**repoRetentionPartialUpdate**](docs/ReposApi.md#repoRetentionPartialUpdate) | **PATCH** /repos/{owner}/{repo}/retention/ | Update the retention rules for the repository.
*ReposApi* | [**repoRetentionRead**](docs/ReposApi.md#repoRetentionRead) | **GET** /repos/{owner}/{repo}/retention/ | Retrieve the retention rules for the repository.
+*ReposApi* | [**reposConnectedCreate**](docs/ReposApi.md#reposConnectedCreate) | **POST** /repos/{owner}/{identifier}/connected/ | Create a connected repository for this repository.
+*ReposApi* | [**reposConnectedDelete**](docs/ReposApi.md#reposConnectedDelete) | **DELETE** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Delete a connected repository for this repository.
+*ReposApi* | [**reposConnectedList**](docs/ReposApi.md#reposConnectedList) | **GET** /repos/{owner}/{identifier}/connected/ | List connected repositories for this repository.
+*ReposApi* | [**reposConnectedPartialUpdate**](docs/ReposApi.md#reposConnectedPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Partially update a connected repository for this repository.
+*ReposApi* | [**reposConnectedRead**](docs/ReposApi.md#reposConnectedRead) | **GET** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Retrieve a connected repository for this repository.
+*ReposApi* | [**reposConnectedUpdate**](docs/ReposApi.md#reposConnectedUpdate) | **PUT** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Update a connected repository for this repository.
*ReposApi* | [**reposCreate**](docs/ReposApi.md#reposCreate) | **POST** /repos/{owner}/ | Create a new repository in a given namespace.
*ReposApi* | [**reposDelete**](docs/ReposApi.md#reposDelete) | **DELETE** /repos/{owner}/{identifier}/ |
*ReposApi* | [**reposEcdsaCreate**](docs/ReposApi.md#reposEcdsaCreate) | **POST** /repos/{owner}/{identifier}/ecdsa/ | Set the active ECDSA key for the Repository.
*ReposApi* | [**reposEcdsaList**](docs/ReposApi.md#reposEcdsaList) | **GET** /repos/{owner}/{identifier}/ecdsa/ | Retrieve the active ECDSA key for the Repository.
*ReposApi* | [**reposEcdsaRegenerate**](docs/ReposApi.md#reposEcdsaRegenerate) | **POST** /repos/{owner}/{identifier}/ecdsa/regenerate/ | Regenerate ECDSA Key for the Repository.
+*ReposApi* | [**reposEd25519Create**](docs/ReposApi.md#reposEd25519Create) | **POST** /repos/{owner}/{identifier}/ed25519/ | Set the active Ed25519 key for the Repository.
+*ReposApi* | [**reposEd25519List**](docs/ReposApi.md#reposEd25519List) | **GET** /repos/{owner}/{identifier}/ed25519/ | Retrieve the active Ed25519 key for the Repository.
+*ReposApi* | [**reposEd25519Regenerate**](docs/ReposApi.md#reposEd25519Regenerate) | **POST** /repos/{owner}/{identifier}/ed25519/regenerate/ | Regenerate Ed25519 Key for the Repository.
*ReposApi* | [**reposGeoipDisable**](docs/ReposApi.md#reposGeoipDisable) | **POST** /repos/{owner}/{identifier}/geoip/disable/ | Disable GeoIP for this repository.
*ReposApi* | [**reposGeoipEnable**](docs/ReposApi.md#reposGeoipEnable) | **POST** /repos/{owner}/{identifier}/geoip/enable/ | Enable GeoIP for this repository.
*ReposApi* | [**reposGeoipPartialUpdate**](docs/ReposApi.md#reposGeoipPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/geoip | Partially update repository geoip rules.
@@ -506,6 +516,9 @@ Class | Method | HTTP request | Description
- [CondaUpstream](docs/CondaUpstream.md)
- [CondaUpstreamRequest](docs/CondaUpstreamRequest.md)
- [CondaUpstreamRequestPatch](docs/CondaUpstreamRequestPatch.md)
+ - [ConnectedRepository](docs/ConnectedRepository.md)
+ - [ConnectedRepositoryRequest](docs/ConnectedRepositoryRequest.md)
+ - [ConnectedRepositoryRequestPatch](docs/ConnectedRepositoryRequestPatch.md)
- [CranPackageUpload](docs/CranPackageUpload.md)
- [CranPackageUploadRequest](docs/CranPackageUploadRequest.md)
- [CranUpstream](docs/CranUpstream.md)
@@ -567,6 +580,7 @@ Class | Method | HTTP request | Description
- [HuggingfaceUpstreamRequestPatch](docs/HuggingfaceUpstreamRequestPatch.md)
- [InlineResponse200](docs/InlineResponse200.md)
- [InlineResponse2001](docs/InlineResponse2001.md)
+ - [InlineResponse2002](docs/InlineResponse2002.md)
- [LuarocksPackageUpload](docs/LuarocksPackageUpload.md)
- [LuarocksPackageUploadRequest](docs/LuarocksPackageUploadRequest.md)
- [MavenPackageUpload](docs/MavenPackageUpload.md)
@@ -576,6 +590,7 @@ Class | Method | HTTP request | Description
- [MavenUpstreamRequestPatch](docs/MavenUpstreamRequestPatch.md)
- [McpPackageUpload](docs/McpPackageUpload.md)
- [McpPackageUploadRequest](docs/McpPackageUploadRequest.md)
+ - [MemberTeams](docs/MemberTeams.md)
- [ModelPackage](docs/ModelPackage.md)
- [Namespace](docs/Namespace.md)
- [NamespaceAuditLog](docs/NamespaceAuditLog.md)
@@ -593,6 +608,8 @@ Class | Method | HTTP request | Description
- [NugetUpstreamRequest](docs/NugetUpstreamRequest.md)
- [NugetUpstreamRequestPatch](docs/NugetUpstreamRequestPatch.md)
- [Organization](docs/Organization.md)
+ - [OrganizationCustomDomainNestedRepo](docs/OrganizationCustomDomainNestedRepo.md)
+ - [OrganizationCustomDomains](docs/OrganizationCustomDomains.md)
- [OrganizationGroupSync](docs/OrganizationGroupSync.md)
- [OrganizationGroupSyncRequest](docs/OrganizationGroupSyncRequest.md)
- [OrganizationGroupSyncStatus](docs/OrganizationGroupSyncStatus.md)
@@ -680,6 +697,8 @@ Class | Method | HTTP request | Description
- [RepositoryCreateRequest](docs/RepositoryCreateRequest.md)
- [RepositoryEcdsaKey](docs/RepositoryEcdsaKey.md)
- [RepositoryEcdsaKeyCreate](docs/RepositoryEcdsaKeyCreate.md)
+ - [RepositoryEd25519Key](docs/RepositoryEd25519Key.md)
+ - [RepositoryEd25519KeyCreate](docs/RepositoryEd25519KeyCreate.md)
- [RepositoryGeoIpCidr](docs/RepositoryGeoIpCidr.md)
- [RepositoryGeoIpCountryCode](docs/RepositoryGeoIpCountryCode.md)
- [RepositoryGeoIpRules](docs/RepositoryGeoIpRules.md)
diff --git a/bindings/java/src/build.gradle b/bindings/java/src/build.gradle
index 886b6a70..26a3900c 100644
--- a/bindings/java/src/build.gradle
+++ b/bindings/java/src/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'
group = 'io.cloudsmith.api'
-version = '2.0.26'
+version = '2.0.27'
buildscript {
repositories {
diff --git a/bindings/java/src/build.json b/bindings/java/src/build.json
index dea9700b..286105bf 100644
--- a/bindings/java/src/build.json
+++ b/bindings/java/src/build.json
@@ -3,7 +3,7 @@
"apiPackage": "io.cloudsmith.api.apis",
"artifactId": "cloudsmith-api",
"artifactUrl": "https://api.cloudsmith.io/?format=openapi",
- "artifactVersion": "2.0.26",
+ "artifactVersion": "2.0.27",
"artifactDescription": "Cloudsmith API",
"dateLibrary": "java8",
"developerName": "Cloudsmith Ltd",
diff --git a/bindings/java/src/build.sbt b/bindings/java/src/build.sbt
index e979ef48..19ef69c6 100644
--- a/bindings/java/src/build.sbt
+++ b/bindings/java/src/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "io.cloudsmith.api",
name := "cloudsmith-api",
- version := "2.0.26",
+ version := "2.0.27",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
diff --git a/bindings/java/src/docs/AlpinePackageUpload.md b/bindings/java/src/docs/AlpinePackageUpload.md
index 3d3f8466..2a612253 100644
--- a/bindings/java/src/docs/AlpinePackageUpload.md
+++ b/bindings/java/src/docs/AlpinePackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/CargoPackageUpload.md b/bindings/java/src/docs/CargoPackageUpload.md
index e8a6ad25..7a6c4615 100644
--- a/bindings/java/src/docs/CargoPackageUpload.md
+++ b/bindings/java/src/docs/CargoPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/CocoapodsPackageUpload.md b/bindings/java/src/docs/CocoapodsPackageUpload.md
index 4eda7c7d..27a5b8c7 100644
--- a/bindings/java/src/docs/CocoapodsPackageUpload.md
+++ b/bindings/java/src/docs/CocoapodsPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/ComposerPackageUpload.md b/bindings/java/src/docs/ComposerPackageUpload.md
index 32899671..27d11e20 100644
--- a/bindings/java/src/docs/ComposerPackageUpload.md
+++ b/bindings/java/src/docs/ComposerPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/ConanPackageUpload.md b/bindings/java/src/docs/ConanPackageUpload.md
index 2d631087..91845c45 100644
--- a/bindings/java/src/docs/ConanPackageUpload.md
+++ b/bindings/java/src/docs/ConanPackageUpload.md
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -51,6 +52,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/CondaPackageUpload.md b/bindings/java/src/docs/CondaPackageUpload.md
index feb80782..9e029984 100644
--- a/bindings/java/src/docs/CondaPackageUpload.md
+++ b/bindings/java/src/docs/CondaPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/ConnectedRepository.md b/bindings/java/src/docs/ConnectedRepository.md
new file mode 100644
index 00000000..d93d70e9
--- /dev/null
+++ b/bindings/java/src/docs/ConnectedRepository.md
@@ -0,0 +1,14 @@
+
+# ConnectedRepository
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time when the connection was created. | [optional]
+**isActive** | **Boolean** | | [optional]
+**priority** | **java.math.BigInteger** | Repositories are checked in ascending order (starting at 1). If multiple repositories have the same priority, the oldest one is used first. | [optional]
+**slugPerm** | **String** | | [optional]
+**targetRepository** | **String** | The slug of the target repository to connect to. |
+
+
+
diff --git a/bindings/java/src/docs/ConnectedRepositoryRequest.md b/bindings/java/src/docs/ConnectedRepositoryRequest.md
new file mode 100644
index 00000000..a5d63fa1
--- /dev/null
+++ b/bindings/java/src/docs/ConnectedRepositoryRequest.md
@@ -0,0 +1,12 @@
+
+# ConnectedRepositoryRequest
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**isActive** | **Boolean** | | [optional]
+**priority** | **java.math.BigInteger** | Repositories are checked in ascending order (starting at 1). If multiple repositories have the same priority, the oldest one is used first. | [optional]
+**targetRepository** | **String** | The slug of the target repository to connect to. |
+
+
+
diff --git a/bindings/java/src/docs/ConnectedRepositoryRequestPatch.md b/bindings/java/src/docs/ConnectedRepositoryRequestPatch.md
new file mode 100644
index 00000000..3476f0ea
--- /dev/null
+++ b/bindings/java/src/docs/ConnectedRepositoryRequestPatch.md
@@ -0,0 +1,12 @@
+
+# ConnectedRepositoryRequestPatch
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**isActive** | **Boolean** | | [optional]
+**priority** | **java.math.BigInteger** | Repositories are checked in ascending order (starting at 1). If multiple repositories have the same priority, the oldest one is used first. | [optional]
+**targetRepository** | **String** | The slug of the target repository to connect to. | [optional]
+
+
+
diff --git a/bindings/java/src/docs/CranPackageUpload.md b/bindings/java/src/docs/CranPackageUpload.md
index b8fdee83..0570c660 100644
--- a/bindings/java/src/docs/CranPackageUpload.md
+++ b/bindings/java/src/docs/CranPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rVersion** | **String** | Binary package uploads should specify the version of R they were built for. | [optional]
diff --git a/bindings/java/src/docs/DartPackageUpload.md b/bindings/java/src/docs/DartPackageUpload.md
index 6093e470..a91454ac 100644
--- a/bindings/java/src/docs/DartPackageUpload.md
+++ b/bindings/java/src/docs/DartPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/DebPackageUpload.md b/bindings/java/src/docs/DebPackageUpload.md
index f0a7094a..a5f09aa5 100644
--- a/bindings/java/src/docs/DebPackageUpload.md
+++ b/bindings/java/src/docs/DebPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/DockerPackageUpload.md b/bindings/java/src/docs/DockerPackageUpload.md
index 2a3f4fac..7f7cf718 100644
--- a/bindings/java/src/docs/DockerPackageUpload.md
+++ b/bindings/java/src/docs/DockerPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/EntitlementsApi.md b/bindings/java/src/docs/EntitlementsApi.md
index a391f822..cac7a3f3 100644
--- a/bindings/java/src/docs/EntitlementsApi.md
+++ b/bindings/java/src/docs/EntitlementsApi.md
@@ -274,7 +274,7 @@ null (empty response body)
# **entitlementsList**
-> List<RepositoryToken> entitlementsList(owner, repo, page, pageSize, showTokens, query, active, sort)
+> List<RepositoryToken> entitlementsList(owner, repo, page, pageSize, showTokens, query, active, excludeOtherUserTokens, sort)
Get a list of all entitlements in a repository.
@@ -310,9 +310,10 @@ java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInte
Boolean showTokens = false; // Boolean | Show entitlement token strings in results
String query = "query_example"; // String | A search term for querying names of entitlements.
Boolean active = false; // Boolean | If true, only include active tokens
+Boolean excludeOtherUserTokens = false; // Boolean | If true, exclude user tokens that belong to other users
String sort = "name"; // String | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name.
try {
- List result = apiInstance.entitlementsList(owner, repo, page, pageSize, showTokens, query, active, sort);
+ List result = apiInstance.entitlementsList(owner, repo, page, pageSize, showTokens, query, active, excludeOtherUserTokens, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EntitlementsApi#entitlementsList");
@@ -331,6 +332,7 @@ Name | Type | Description | Notes
**showTokens** | **Boolean**| Show entitlement token strings in results | [optional] [default to false]
**query** | **String**| A search term for querying names of entitlements. | [optional]
**active** | **Boolean**| If true, only include active tokens | [optional] [default to false]
+ **excludeOtherUserTokens** | **Boolean**| If true, exclude user tokens that belong to other users | [optional] [default to false]
**sort** | **String**| A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name. | [optional] [default to name]
### Return type
diff --git a/bindings/java/src/docs/GenericPackageUpload.md b/bindings/java/src/docs/GenericPackageUpload.md
index a3ef4e66..5b4d5de2 100644
--- a/bindings/java/src/docs/GenericPackageUpload.md
+++ b/bindings/java/src/docs/GenericPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/GoPackageUpload.md b/bindings/java/src/docs/GoPackageUpload.md
index 5880964e..d89095df 100644
--- a/bindings/java/src/docs/GoPackageUpload.md
+++ b/bindings/java/src/docs/GoPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/HelmPackageUpload.md b/bindings/java/src/docs/HelmPackageUpload.md
index d5aa64a4..eccfbe6e 100644
--- a/bindings/java/src/docs/HelmPackageUpload.md
+++ b/bindings/java/src/docs/HelmPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/HexPackageUpload.md b/bindings/java/src/docs/HexPackageUpload.md
index 27d19f9d..17507743 100644
--- a/bindings/java/src/docs/HexPackageUpload.md
+++ b/bindings/java/src/docs/HexPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/HuggingfacePackageUpload.md b/bindings/java/src/docs/HuggingfacePackageUpload.md
index 78ed101a..dcd28faf 100644
--- a/bindings/java/src/docs/HuggingfacePackageUpload.md
+++ b/bindings/java/src/docs/HuggingfacePackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/InlineResponse2001.md b/bindings/java/src/docs/InlineResponse2001.md
index bb05bd23..8cfcf4f4 100644
--- a/bindings/java/src/docs/InlineResponse2001.md
+++ b/bindings/java/src/docs/InlineResponse2001.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**results** | [**List<UserAuthenticationToken>**](UserAuthenticationToken.md) | |
+**results** | [**List<ConnectedRepository>**](ConnectedRepository.md) | |
diff --git a/bindings/java/src/docs/InlineResponse2002.md b/bindings/java/src/docs/InlineResponse2002.md
new file mode 100644
index 00000000..34a35c11
--- /dev/null
+++ b/bindings/java/src/docs/InlineResponse2002.md
@@ -0,0 +1,10 @@
+
+# InlineResponse2002
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**results** | [**List<UserAuthenticationToken>**](UserAuthenticationToken.md) | |
+
+
+
diff --git a/bindings/java/src/docs/LuarocksPackageUpload.md b/bindings/java/src/docs/LuarocksPackageUpload.md
index bf06f216..9c360e6e 100644
--- a/bindings/java/src/docs/LuarocksPackageUpload.md
+++ b/bindings/java/src/docs/LuarocksPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/MavenPackageUpload.md b/bindings/java/src/docs/MavenPackageUpload.md
index 69b02956..34588075 100644
--- a/bindings/java/src/docs/MavenPackageUpload.md
+++ b/bindings/java/src/docs/MavenPackageUpload.md
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -51,6 +52,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**packaging** | **String** | Artifact's Maven packaging type. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
diff --git a/bindings/java/src/docs/McpPackageUpload.md b/bindings/java/src/docs/McpPackageUpload.md
index a7d02975..9e010661 100644
--- a/bindings/java/src/docs/McpPackageUpload.md
+++ b/bindings/java/src/docs/McpPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/MemberTeams.md b/bindings/java/src/docs/MemberTeams.md
new file mode 100644
index 00000000..01cd2eff
--- /dev/null
+++ b/bindings/java/src/docs/MemberTeams.md
@@ -0,0 +1,20 @@
+
+# MemberTeams
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | | [optional]
+**role** | [**RoleEnum**](#RoleEnum) | | [optional]
+**slug** | **String** | | [optional]
+
+
+
+## Enum: RoleEnum
+Name | Value
+---- | -----
+MANAGER | "Manager"
+MEMBER | "Member"
+
+
+
diff --git a/bindings/java/src/docs/ModelPackage.md b/bindings/java/src/docs/ModelPackage.md
index d1bc08f6..51737e06 100644
--- a/bindings/java/src/docs/ModelPackage.md
+++ b/bindings/java/src/docs/ModelPackage.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -50,6 +51,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/NpmPackageUpload.md b/bindings/java/src/docs/NpmPackageUpload.md
index 4d800c2e..5e29bfd6 100644
--- a/bindings/java/src/docs/NpmPackageUpload.md
+++ b/bindings/java/src/docs/NpmPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/NugetPackageUpload.md b/bindings/java/src/docs/NugetPackageUpload.md
index ba92ad43..98c7c520 100644
--- a/bindings/java/src/docs/NugetPackageUpload.md
+++ b/bindings/java/src/docs/NugetPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/OrganizationCustomDomainNestedRepo.md b/bindings/java/src/docs/OrganizationCustomDomainNestedRepo.md
new file mode 100644
index 00000000..53feabbc
--- /dev/null
+++ b/bindings/java/src/docs/OrganizationCustomDomainNestedRepo.md
@@ -0,0 +1,11 @@
+
+# OrganizationCustomDomainNestedRepo
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | A descriptive name for the repository. | [optional]
+**slug** | **String** | The slug identifies the repository in URIs. | [optional]
+
+
+
diff --git a/bindings/java/src/docs/OrganizationCustomDomains.md b/bindings/java/src/docs/OrganizationCustomDomains.md
new file mode 100644
index 00000000..077cd804
--- /dev/null
+++ b/bindings/java/src/docs/OrganizationCustomDomains.md
@@ -0,0 +1,27 @@
+
+# OrganizationCustomDomains
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**backendKind** | **java.math.BigInteger** | The domain for a specific package format. | [optional]
+**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**createdBy** | **java.math.BigInteger** | | [optional]
+**dnsAliasValue** | **String** | The CNAME value to use to publish this domain publicly. | [optional]
+**dnsCertName** | **String** | The CNAME name to create to allow us to generate a TLS cert. | [optional]
+**dnsCertValue** | **String** | The CNAME value to use to allow us to generate a TLS cert. | [optional]
+**domainType** | **java.math.BigInteger** | The type for the custom domain. | [optional]
+**enabled** | **Boolean** | If checked, the domain is enabled. | [optional]
+**host** | **String** | | [optional]
+**namespace** | **java.math.BigInteger** | | [optional]
+**primary** | **Boolean** | If checked, this domain is the preferred/primary domain in the case that there are other overlapping domains (e.g. for the same repository, package format, etc.) | [optional]
+**redirectRoot** | **Boolean** | If checked, the domain root redirects to the repository. | [optional]
+**redirectRootUrl** | **String** | Where root requests should be redirected to if redirect_root is enabled. | [optional]
+**repository** | [**OrganizationCustomDomainNestedRepo**](OrganizationCustomDomainNestedRepo.md) | |
+**repositoryOnly** | **Boolean** | If checked, the domain applies to a specific repository only. | [optional]
+**slugPerm** | **String** | | [optional]
+**validated** | **Boolean** | If validated, the domain is ready for requests. | [optional]
+**validatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+
+
+
diff --git a/bindings/java/src/docs/OrganizationMembership.md b/bindings/java/src/docs/OrganizationMembership.md
index 3b633f6a..4c9f73e5 100644
--- a/bindings/java/src/docs/OrganizationMembership.md
+++ b/bindings/java/src/docs/OrganizationMembership.md
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
**lastLoginAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
**lastLoginMethod** | [**LastLoginMethodEnum**](#LastLoginMethodEnum) | | [optional]
**role** | [**RoleEnum**](#RoleEnum) | | [optional]
+**teams** | [**List<MemberTeams>**](MemberTeams.md) | | [optional]
**user** | **String** | | [optional]
**userId** | **String** | | [optional]
**userName** | **String** | | [optional]
diff --git a/bindings/java/src/docs/OrgsApi.md b/bindings/java/src/docs/OrgsApi.md
index 8b2bc0ec..c42cd4cf 100644
--- a/bindings/java/src/docs/OrgsApi.md
+++ b/bindings/java/src/docs/OrgsApi.md
@@ -4,6 +4,7 @@ All URIs are relative to *https://api.cloudsmith.io*
Method | HTTP request | Description
------------- | ------------- | -------------
+[**orgsCustomDomainsList**](OrgsApi.md#orgsCustomDomainsList) | **GET** /orgs/{org}/custom-domains/ | Get the details for all custom domains.
[**orgsDelete**](OrgsApi.md#orgsDelete) | **DELETE** /orgs/{org}/ | Delete the specified organization.
[**orgsDenyPolicyCreate**](OrgsApi.md#orgsDenyPolicyCreate) | **POST** /orgs/{org}/deny-policy/ | Create a package deny policy.
[**orgsDenyPolicyDelete**](OrgsApi.md#orgsDenyPolicyDelete) | **DELETE** /orgs/{org}/deny-policy/{slug_perm}/ | Delete a package deny policy.
@@ -79,6 +80,70 @@ Method | HTTP request | Description
[**orgsVulnerabilityPolicyViolationList**](OrgsApi.md#orgsVulnerabilityPolicyViolationList) | **GET** /orgs/{org}/vulnerability-policy-violation/ | List all current vulnerability policy violations for this Organization.
+
+# **orgsCustomDomainsList**
+> List<OrganizationCustomDomains> orgsCustomDomainsList(org, page, pageSize)
+
+Get the details for all custom domains.
+
+Get the details for all custom domains.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.OrgsApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+OrgsApi apiInstance = new OrgsApi();
+String org = "org_example"; // String |
+java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
+java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
+try {
+ List result = apiInstance.orgsCustomDomainsList(org, page, pageSize);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling OrgsApi#orgsCustomDomainsList");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **page** | **java.math.BigInteger**| A page number within the paginated result set. | [optional]
+ **pageSize** | **java.math.BigInteger**| Number of results to return per page. | [optional]
+
+### Return type
+
+[**List<OrganizationCustomDomains>**](OrganizationCustomDomains.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
# **orgsDelete**
> orgsDelete(org)
diff --git a/bindings/java/src/docs/P2PackageUpload.md b/bindings/java/src/docs/P2PackageUpload.md
index 53344380..043cbd29 100644
--- a/bindings/java/src/docs/P2PackageUpload.md
+++ b/bindings/java/src/docs/P2PackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/PackageCopy.md b/bindings/java/src/docs/PackageCopy.md
index 50a52107..9c4dbe00 100644
--- a/bindings/java/src/docs/PackageCopy.md
+++ b/bindings/java/src/docs/PackageCopy.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -50,6 +51,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/PackageMove.md b/bindings/java/src/docs/PackageMove.md
index cf9742fe..9b23b35e 100644
--- a/bindings/java/src/docs/PackageMove.md
+++ b/bindings/java/src/docs/PackageMove.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -50,6 +51,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/PackageQuarantine.md b/bindings/java/src/docs/PackageQuarantine.md
index fd2001fb..c3fd4173 100644
--- a/bindings/java/src/docs/PackageQuarantine.md
+++ b/bindings/java/src/docs/PackageQuarantine.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -50,6 +51,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/PackageResync.md b/bindings/java/src/docs/PackageResync.md
index 3a3f3bc6..82330ee3 100644
--- a/bindings/java/src/docs/PackageResync.md
+++ b/bindings/java/src/docs/PackageResync.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -50,6 +51,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/PackageStatus.md b/bindings/java/src/docs/PackageStatus.md
index bb0ddd1f..065b2d34 100644
--- a/bindings/java/src/docs/PackageStatus.md
+++ b/bindings/java/src/docs/PackageStatus.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
diff --git a/bindings/java/src/docs/PackageTag.md b/bindings/java/src/docs/PackageTag.md
index 4d8dced2..8a17f582 100644
--- a/bindings/java/src/docs/PackageTag.md
+++ b/bindings/java/src/docs/PackageTag.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isImmutable** | **Boolean** | If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
@@ -51,6 +52,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/PythonPackageUpload.md b/bindings/java/src/docs/PythonPackageUpload.md
index f82c9d18..9d6f064c 100644
--- a/bindings/java/src/docs/PythonPackageUpload.md
+++ b/bindings/java/src/docs/PythonPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/RawPackageUpload.md b/bindings/java/src/docs/RawPackageUpload.md
index f2ab73fb..e8973f52 100644
--- a/bindings/java/src/docs/RawPackageUpload.md
+++ b/bindings/java/src/docs/RawPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/RecycleBinApi.md b/bindings/java/src/docs/RecycleBinApi.md
index 84730e10..b32b671b 100644
--- a/bindings/java/src/docs/RecycleBinApi.md
+++ b/bindings/java/src/docs/RecycleBinApi.md
@@ -4,17 +4,17 @@ All URIs are relative to *https://api.cloudsmith.io*
Method | HTTP request | Description
------------- | ------------- | -------------
+[**recycleBinAction**](RecycleBinApi.md#recycleBinAction) | **POST** /recycle-bin/{owner}/action/ |
[**recycleBinList**](RecycleBinApi.md#recycleBinList) | **GET** /recycle-bin/{owner}/ | List soft-deleted packages in recycle bin
-[**recycleBinRecycleBinAction**](RecycleBinApi.md#recycleBinRecycleBinAction) | **POST** /recycle-bin/{owner}/action/ |
-
-# **recycleBinList**
-> List<RecycleBinPackage> recycleBinList(owner, page, pageSize, repository)
+
+# **recycleBinAction**
+> PackageBulkActionResponse recycleBinAction(owner, data)
-List soft-deleted packages in recycle bin
-Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
+
+Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.
### Example
```java
@@ -40,14 +40,12 @@ basic.setPassword("YOUR PASSWORD");
RecycleBinApi apiInstance = new RecycleBinApi();
String owner = "owner_example"; // String |
-java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
-java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
-String repository = "repository_example"; // String | Filter packages by repository slug
+PackageRecycleBin data = new PackageRecycleBin(); // PackageRecycleBin |
try {
- List result = apiInstance.recycleBinList(owner, page, pageSize, repository);
+ PackageBulkActionResponse result = apiInstance.recycleBinAction(owner, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling RecycleBinApi#recycleBinList");
+ System.err.println("Exception when calling RecycleBinApi#recycleBinAction");
e.printStackTrace();
}
```
@@ -57,13 +55,11 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| |
- **page** | **java.math.BigInteger**| A page number within the paginated result set. | [optional]
- **pageSize** | **java.math.BigInteger**| Number of results to return per page. | [optional]
- **repository** | **String**| Filter packages by repository slug | [optional]
+ **data** | [**PackageRecycleBin**](PackageRecycleBin.md)| | [optional]
### Return type
-[**List<RecycleBinPackage>**](RecycleBinPackage.md)
+[**PackageBulkActionResponse**](PackageBulkActionResponse.md)
### Authorization
@@ -74,13 +70,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **recycleBinRecycleBinAction**
-> PackageBulkActionResponse recycleBinRecycleBinAction(owner, data)
-
+
+# **recycleBinList**
+> List<RecycleBinPackage> recycleBinList(owner, page, pageSize, repository)
+List soft-deleted packages in recycle bin
-Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.
+Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
### Example
```java
@@ -106,12 +102,14 @@ basic.setPassword("YOUR PASSWORD");
RecycleBinApi apiInstance = new RecycleBinApi();
String owner = "owner_example"; // String |
-PackageRecycleBin data = new PackageRecycleBin(); // PackageRecycleBin |
+java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
+java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
+String repository = "repository_example"; // String | Filter packages by repository slug
try {
- PackageBulkActionResponse result = apiInstance.recycleBinRecycleBinAction(owner, data);
+ List result = apiInstance.recycleBinList(owner, page, pageSize, repository);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling RecycleBinApi#recycleBinRecycleBinAction");
+ System.err.println("Exception when calling RecycleBinApi#recycleBinList");
e.printStackTrace();
}
```
@@ -121,11 +119,13 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| |
- **data** | [**PackageRecycleBin**](PackageRecycleBin.md)| | [optional]
+ **page** | **java.math.BigInteger**| A page number within the paginated result set. | [optional]
+ **pageSize** | **java.math.BigInteger**| Number of results to return per page. | [optional]
+ **repository** | **String**| Filter packages by repository slug | [optional]
### Return type
-[**PackageBulkActionResponse**](PackageBulkActionResponse.md)
+[**List<RecycleBinPackage>**](RecycleBinPackage.md)
### Authorization
diff --git a/bindings/java/src/docs/ReposApi.md b/bindings/java/src/docs/ReposApi.md
index 465500cc..150d5194 100644
--- a/bindings/java/src/docs/ReposApi.md
+++ b/bindings/java/src/docs/ReposApi.md
@@ -7,11 +7,20 @@ Method | HTTP request | Description
[**apiReposGeoipStatus**](ReposApi.md#apiReposGeoipStatus) | **GET** /repos/{owner}/{identifier}/geoip/status/ | Retrieve the GeoIP status for this repository.
[**repoRetentionPartialUpdate**](ReposApi.md#repoRetentionPartialUpdate) | **PATCH** /repos/{owner}/{repo}/retention/ | Update the retention rules for the repository.
[**repoRetentionRead**](ReposApi.md#repoRetentionRead) | **GET** /repos/{owner}/{repo}/retention/ | Retrieve the retention rules for the repository.
+[**reposConnectedCreate**](ReposApi.md#reposConnectedCreate) | **POST** /repos/{owner}/{identifier}/connected/ | Create a connected repository for this repository.
+[**reposConnectedDelete**](ReposApi.md#reposConnectedDelete) | **DELETE** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Delete a connected repository for this repository.
+[**reposConnectedList**](ReposApi.md#reposConnectedList) | **GET** /repos/{owner}/{identifier}/connected/ | List connected repositories for this repository.
+[**reposConnectedPartialUpdate**](ReposApi.md#reposConnectedPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Partially update a connected repository for this repository.
+[**reposConnectedRead**](ReposApi.md#reposConnectedRead) | **GET** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Retrieve a connected repository for this repository.
+[**reposConnectedUpdate**](ReposApi.md#reposConnectedUpdate) | **PUT** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Update a connected repository for this repository.
[**reposCreate**](ReposApi.md#reposCreate) | **POST** /repos/{owner}/ | Create a new repository in a given namespace.
[**reposDelete**](ReposApi.md#reposDelete) | **DELETE** /repos/{owner}/{identifier}/ |
[**reposEcdsaCreate**](ReposApi.md#reposEcdsaCreate) | **POST** /repos/{owner}/{identifier}/ecdsa/ | Set the active ECDSA key for the Repository.
[**reposEcdsaList**](ReposApi.md#reposEcdsaList) | **GET** /repos/{owner}/{identifier}/ecdsa/ | Retrieve the active ECDSA key for the Repository.
[**reposEcdsaRegenerate**](ReposApi.md#reposEcdsaRegenerate) | **POST** /repos/{owner}/{identifier}/ecdsa/regenerate/ | Regenerate ECDSA Key for the Repository.
+[**reposEd25519Create**](ReposApi.md#reposEd25519Create) | **POST** /repos/{owner}/{identifier}/ed25519/ | Set the active Ed25519 key for the Repository.
+[**reposEd25519List**](ReposApi.md#reposEd25519List) | **GET** /repos/{owner}/{identifier}/ed25519/ | Retrieve the active Ed25519 key for the Repository.
+[**reposEd25519Regenerate**](ReposApi.md#reposEd25519Regenerate) | **POST** /repos/{owner}/{identifier}/ed25519/regenerate/ | Regenerate Ed25519 Key for the Repository.
[**reposGeoipDisable**](ReposApi.md#reposGeoipDisable) | **POST** /repos/{owner}/{identifier}/geoip/disable/ | Disable GeoIP for this repository.
[**reposGeoipEnable**](ReposApi.md#reposGeoipEnable) | **POST** /repos/{owner}/{identifier}/geoip/enable/ | Enable GeoIP for this repository.
[**reposGeoipPartialUpdate**](ReposApi.md#reposGeoipPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/geoip | Partially update repository geoip rules.
@@ -339,6 +348,395 @@ Name | Type | Description | Notes
[apikey](../README.md#apikey), [basic](../README.md#basic)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposConnectedCreate**
+> ConnectedRepository reposConnectedCreate(owner, identifier, data)
+
+Create a connected repository for this repository.
+
+Create a connected repository for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+ConnectedRepositoryRequest data = new ConnectedRepositoryRequest(); // ConnectedRepositoryRequest |
+try {
+ ConnectedRepository result = apiInstance.reposConnectedCreate(owner, identifier, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposConnectedCreate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **data** | [**ConnectedRepositoryRequest**](ConnectedRepositoryRequest.md)| | [optional]
+
+### Return type
+
+[**ConnectedRepository**](ConnectedRepository.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposConnectedDelete**
+> reposConnectedDelete(owner, identifier, slugPerm)
+
+Delete a connected repository for this repository.
+
+Delete a connected repository for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+try {
+ apiInstance.reposConnectedDelete(owner, identifier, slugPerm);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposConnectedDelete");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposConnectedList**
+> InlineResponse2001 reposConnectedList(owner, identifier, page, pageSize)
+
+List connected repositories for this repository.
+
+List connected repositories for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
+java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
+try {
+ InlineResponse2001 result = apiInstance.reposConnectedList(owner, identifier, page, pageSize);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposConnectedList");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **page** | **java.math.BigInteger**| A page number within the paginated result set. | [optional]
+ **pageSize** | **java.math.BigInteger**| Number of results to return per page. | [optional]
+
+### Return type
+
+[**InlineResponse2001**](InlineResponse2001.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposConnectedPartialUpdate**
+> ConnectedRepository reposConnectedPartialUpdate(owner, identifier, slugPerm, data)
+
+Partially update a connected repository for this repository.
+
+Partially update a connected repository for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+ConnectedRepositoryRequestPatch data = new ConnectedRepositoryRequestPatch(); // ConnectedRepositoryRequestPatch |
+try {
+ ConnectedRepository result = apiInstance.reposConnectedPartialUpdate(owner, identifier, slugPerm, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposConnectedPartialUpdate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+ **data** | [**ConnectedRepositoryRequestPatch**](ConnectedRepositoryRequestPatch.md)| | [optional]
+
+### Return type
+
+[**ConnectedRepository**](ConnectedRepository.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposConnectedRead**
+> ConnectedRepository reposConnectedRead(owner, identifier, slugPerm)
+
+Retrieve a connected repository for this repository.
+
+Retrieve a connected repository for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+try {
+ ConnectedRepository result = apiInstance.reposConnectedRead(owner, identifier, slugPerm);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposConnectedRead");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+
+### Return type
+
+[**ConnectedRepository**](ConnectedRepository.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposConnectedUpdate**
+> ConnectedRepository reposConnectedUpdate(owner, identifier, slugPerm, data)
+
+Update a connected repository for this repository.
+
+Update a connected repository for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+ConnectedRepositoryRequest data = new ConnectedRepositoryRequest(); // ConnectedRepositoryRequest |
+try {
+ ConnectedRepository result = apiInstance.reposConnectedUpdate(owner, identifier, slugPerm, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposConnectedUpdate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+ **data** | [**ConnectedRepositoryRequest**](ConnectedRepositoryRequest.md)| | [optional]
+
+### Return type
+
+[**ConnectedRepository**](ConnectedRepository.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -412,7 +810,7 @@ Name | Type | Description | Notes
-Delete a repository in a given namespace.Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories.
+Delete a repository in a given namespace. Note: Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories.
### Example
```java
@@ -650,6 +1048,194 @@ Name | Type | Description | Notes
[apikey](../README.md#apikey), [basic](../README.md#basic)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposEd25519Create**
+> RepositoryEd25519Key reposEd25519Create(owner, identifier, data)
+
+Set the active Ed25519 key for the Repository.
+
+Set the active Ed25519 key for the Repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+RepositoryEd25519KeyCreate data = new RepositoryEd25519KeyCreate(); // RepositoryEd25519KeyCreate |
+try {
+ RepositoryEd25519Key result = apiInstance.reposEd25519Create(owner, identifier, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposEd25519Create");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **data** | [**RepositoryEd25519KeyCreate**](RepositoryEd25519KeyCreate.md)| | [optional]
+
+### Return type
+
+[**RepositoryEd25519Key**](RepositoryEd25519Key.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposEd25519List**
+> RepositoryEd25519Key reposEd25519List(owner, identifier)
+
+Retrieve the active Ed25519 key for the Repository.
+
+Retrieve the active Ed25519 key for the Repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+try {
+ RepositoryEd25519Key result = apiInstance.reposEd25519List(owner, identifier);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposEd25519List");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+
+### Return type
+
+[**RepositoryEd25519Key**](RepositoryEd25519Key.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposEd25519Regenerate**
+> RepositoryEd25519Key reposEd25519Regenerate(owner, identifier)
+
+Regenerate Ed25519 Key for the Repository.
+
+Regenerate Ed25519 Key for the Repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+try {
+ RepositoryEd25519Key result = apiInstance.reposEd25519Regenerate(owner, identifier);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposEd25519Regenerate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+
+### Return type
+
+[**RepositoryEd25519Key**](RepositoryEd25519Key.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
### HTTP request headers
- **Content-Type**: application/json
diff --git a/bindings/java/src/docs/Repository.md b/bindings/java/src/docs/Repository.md
index 9558b565..a713096a 100644
--- a/bindings/java/src/docs/Repository.md
+++ b/bindings/java/src/docs/Repository.md
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
**name** | **String** | A descriptive name for the repository. |
**namespace** | **String** | Namespace to which this repository belongs. | [optional]
**namespaceUrl** | **String** | API endpoint where data about this namespace can be retrieved. | [optional]
+**npmUpstreamTagsTakePrecedence** | **Boolean** | If checked, npm distribution tags from configured upstreams will take precedence over matching local tags. When both upstream and local repositories have the same tag name (e.g., 'latest'), the upstream tag will be used instead of the local one, even if the local repository has a semantically higher version. | [optional]
**nugetNativeSigningEnabled** | **Boolean** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional]
**numDownloads** | **java.math.BigInteger** | The number of downloads for packages in the repository. | [optional]
**numPolicyViolatedPackages** | **java.math.BigInteger** | Number of packages with policy violations in a repository. | [optional]
diff --git a/bindings/java/src/docs/RepositoryCreate.md b/bindings/java/src/docs/RepositoryCreate.md
index 241a95bf..3f19a53e 100644
--- a/bindings/java/src/docs/RepositoryCreate.md
+++ b/bindings/java/src/docs/RepositoryCreate.md
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
**name** | **String** | A descriptive name for the repository. |
**namespace** | **String** | Namespace to which this repository belongs. | [optional]
**namespaceUrl** | **String** | API endpoint where data about this namespace can be retrieved. | [optional]
+**npmUpstreamTagsTakePrecedence** | **Boolean** | If checked, npm distribution tags from configured upstreams will take precedence over matching local tags. When both upstream and local repositories have the same tag name (e.g., 'latest'), the upstream tag will be used instead of the local one, even if the local repository has a semantically higher version. | [optional]
**nugetNativeSigningEnabled** | **Boolean** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional]
**numDownloads** | **java.math.BigInteger** | The number of downloads for packages in the repository. | [optional]
**numPolicyViolatedPackages** | **java.math.BigInteger** | Number of packages with policy violations in a repository. | [optional]
diff --git a/bindings/java/src/docs/RepositoryCreateRequest.md b/bindings/java/src/docs/RepositoryCreateRequest.md
index 3a314958..b7aa85bb 100644
--- a/bindings/java/src/docs/RepositoryCreateRequest.md
+++ b/bindings/java/src/docs/RepositoryCreateRequest.md
@@ -24,6 +24,7 @@ Name | Type | Description | Notes
**moveOwn** | **Boolean** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional]
**movePackages** | [**MovePackagesEnum**](#MovePackagesEnum) | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional]
**name** | **String** | A descriptive name for the repository. |
+**npmUpstreamTagsTakePrecedence** | **Boolean** | If checked, npm distribution tags from configured upstreams will take precedence over matching local tags. When both upstream and local repositories have the same tag name (e.g., 'latest'), the upstream tag will be used instead of the local one, even if the local repository has a semantically higher version. | [optional]
**nugetNativeSigningEnabled** | **Boolean** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional]
**openSourceLicense** | **String** | The SPDX identifier of the open source license. | [optional]
**openSourceProjectUrl** | **String** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional]
diff --git a/bindings/java/src/docs/RepositoryEd25519Key.md b/bindings/java/src/docs/RepositoryEd25519Key.md
new file mode 100644
index 00000000..ada03fb6
--- /dev/null
+++ b/bindings/java/src/docs/RepositoryEd25519Key.md
@@ -0,0 +1,15 @@
+
+# RepositoryEd25519Key
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**active** | **Boolean** | If selected this is the active key for this repository. | [optional]
+**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**_default** | **Boolean** | If selected this is the default key for this repository. | [optional]
+**fingerprint** | **String** | Uppercase hex-encoded SHA-256 fingerprint of the public key. | [optional]
+**fingerprintShort** | **String** | | [optional]
+**publicKey** | **String** | The public key given to repository users. | [optional]
+
+
+
diff --git a/bindings/java/src/docs/RepositoryEd25519KeyCreate.md b/bindings/java/src/docs/RepositoryEd25519KeyCreate.md
new file mode 100644
index 00000000..cf092f4c
--- /dev/null
+++ b/bindings/java/src/docs/RepositoryEd25519KeyCreate.md
@@ -0,0 +1,11 @@
+
+# RepositoryEd25519KeyCreate
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ed25519Passphrase** | **String** | The Ed25519 passphrase used for signing. | [optional]
+**ed25519PrivateKey** | **String** | The Ed25519 private key. |
+
+
+
diff --git a/bindings/java/src/docs/RepositoryRequestPatch.md b/bindings/java/src/docs/RepositoryRequestPatch.md
index e6dc2951..3f49b728 100644
--- a/bindings/java/src/docs/RepositoryRequestPatch.md
+++ b/bindings/java/src/docs/RepositoryRequestPatch.md
@@ -24,6 +24,7 @@ Name | Type | Description | Notes
**moveOwn** | **Boolean** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional]
**movePackages** | [**MovePackagesEnum**](#MovePackagesEnum) | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional]
**name** | **String** | A descriptive name for the repository. | [optional]
+**npmUpstreamTagsTakePrecedence** | **Boolean** | If checked, npm distribution tags from configured upstreams will take precedence over matching local tags. When both upstream and local repositories have the same tag name (e.g., 'latest'), the upstream tag will be used instead of the local one, even if the local repository has a semantically higher version. | [optional]
**nugetNativeSigningEnabled** | **Boolean** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional]
**openSourceLicense** | **String** | The SPDX identifier of the open source license. | [optional]
**openSourceProjectUrl** | **String** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional]
diff --git a/bindings/java/src/docs/RpmPackageUpload.md b/bindings/java/src/docs/RpmPackageUpload.md
index 8ce3c74b..b0aafae1 100644
--- a/bindings/java/src/docs/RpmPackageUpload.md
+++ b/bindings/java/src/docs/RpmPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/RubyPackageUpload.md b/bindings/java/src/docs/RubyPackageUpload.md
index 2ba37c8a..b26b3155 100644
--- a/bindings/java/src/docs/RubyPackageUpload.md
+++ b/bindings/java/src/docs/RubyPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/ServiceTeams.md b/bindings/java/src/docs/ServiceTeams.md
index 01ed225c..165a063a 100644
--- a/bindings/java/src/docs/ServiceTeams.md
+++ b/bindings/java/src/docs/ServiceTeams.md
@@ -4,6 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**name** | **String** | The name of the team | [optional]
**role** | [**RoleEnum**](#RoleEnum) | The team role associated with the service | [optional]
**slug** | **String** | The teams associated with the service |
diff --git a/bindings/java/src/docs/SwiftPackageUpload.md b/bindings/java/src/docs/SwiftPackageUpload.md
index 453b8d8c..bf5b425a 100644
--- a/bindings/java/src/docs/SwiftPackageUpload.md
+++ b/bindings/java/src/docs/SwiftPackageUpload.md
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -52,6 +53,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/TerraformPackageUpload.md b/bindings/java/src/docs/TerraformPackageUpload.md
index f18714d7..8a3611a7 100644
--- a/bindings/java/src/docs/TerraformPackageUpload.md
+++ b/bindings/java/src/docs/TerraformPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/docs/UserApi.md b/bindings/java/src/docs/UserApi.md
index 9b042955..c9459b25 100644
--- a/bindings/java/src/docs/UserApi.md
+++ b/bindings/java/src/docs/UserApi.md
@@ -179,7 +179,7 @@ This endpoint does not need any parameter.
# **userTokensList**
-> InlineResponse2001 userTokensList(page, pageSize)
+> InlineResponse2002 userTokensList(page, pageSize)
Retrieve the API key assigned to the user that is currently authenticated.
@@ -211,7 +211,7 @@ UserApi apiInstance = new UserApi();
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
try {
- InlineResponse2001 result = apiInstance.userTokensList(page, pageSize);
+ InlineResponse2002 result = apiInstance.userTokensList(page, pageSize);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserApi#userTokensList");
@@ -228,7 +228,7 @@ Name | Type | Description | Notes
### Return type
-[**InlineResponse2001**](InlineResponse2001.md)
+[**InlineResponse2002**](InlineResponse2002.md)
### Authorization
diff --git a/bindings/java/src/docs/VagrantPackageUpload.md b/bindings/java/src/docs/VagrantPackageUpload.md
index 93be02a5..0a285ca0 100644
--- a/bindings/java/src/docs/VagrantPackageUpload.md
+++ b/bindings/java/src/docs/VagrantPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**provider** | **String** | The virtual machine provider for the box. |
diff --git a/bindings/java/src/docs/VsxPackageUpload.md b/bindings/java/src/docs/VsxPackageUpload.md
index 60ca33dc..7d3792fc 100644
--- a/bindings/java/src/docs/VsxPackageUpload.md
+++ b/bindings/java/src/docs/VsxPackageUpload.md
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
diff --git a/bindings/java/src/pom.xml b/bindings/java/src/pom.xml
index 202e13dc..40a18675 100644
--- a/bindings/java/src/pom.xml
+++ b/bindings/java/src/pom.xml
@@ -5,7 +5,7 @@
cloudsmith-api
jar
cloudsmith-api
- 2.0.26
+ 2.0.27
https://api.cloudsmith.io/?format=openapi
Cloudsmith API
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java b/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java
index 5f3d325c..77882651 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java
@@ -87,7 +87,7 @@ public ApiClient() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("Swagger-Codegen/2.0.26/java");
+ setUserAgent("Swagger-Codegen/2.0.27/java");
// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java b/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java
index 43401033..feee9882 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java
@@ -320,6 +320,15 @@
import io.cloudsmith.api.models.*;
import io.cloudsmith.api.models.*;
import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
import okio.ByteString;
import java.io.IOException;
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/EntitlementsApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/EntitlementsApi.java
index dae7eab4..9c6e1485 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/EntitlementsApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/EntitlementsApi.java
@@ -678,13 +678,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @param showTokens Show entitlement token strings in results (optional, default to false)
* @param query A search term for querying names of entitlements. (optional)
* @param active If true, only include active tokens (optional, default to false)
+ * @param excludeOtherUserTokens If true, exclude user tokens that belong to other users (optional, default to false)
* @param sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name. (optional, default to name)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call entitlementsListCall(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, Boolean showTokens, String query, Boolean active, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call entitlementsListCall(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, Boolean showTokens, String query, Boolean active, Boolean excludeOtherUserTokens, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -704,6 +705,8 @@ public com.squareup.okhttp.Call entitlementsListCall(String owner, String repo,
localVarQueryParams.addAll(apiClient.parameterToPair("query", query));
if (active != null)
localVarQueryParams.addAll(apiClient.parameterToPair("active", active));
+ if (excludeOtherUserTokens != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("exclude_other_user_tokens", excludeOtherUserTokens));
if (sort != null)
localVarQueryParams.addAll(apiClient.parameterToPair("sort", sort));
@@ -743,18 +746,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call entitlementsListValidateBeforeCall(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, Boolean showTokens, String query, Boolean active, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call entitlementsListValidateBeforeCall(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, Boolean showTokens, String query, Boolean active, Boolean excludeOtherUserTokens, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
- Object[] parameterValues = { owner, repo, page, pageSize, showTokens, query, active, sort };
- Method method = this.getClass().getMethod("entitlementsListWithHttpInfo", String.class, String.class, java.math.BigInteger.class, java.math.BigInteger.class, Boolean.class, String.class, Boolean.class, String.class);
+ Object[] parameterValues = { owner, repo, page, pageSize, showTokens, query, active, excludeOtherUserTokens, sort };
+ Method method = this.getClass().getMethod("entitlementsListWithHttpInfo", String.class, String.class, java.math.BigInteger.class, java.math.BigInteger.class, Boolean.class, String.class, Boolean.class, Boolean.class, String.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = entitlementsListCall(owner, repo, page, pageSize, showTokens, query, active, sort, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = entitlementsListCall(owner, repo, page, pageSize, showTokens, query, active, excludeOtherUserTokens, sort, progressListener, progressRequestListener);
return call;
} else {
@@ -780,12 +783,13 @@ private com.squareup.okhttp.Call entitlementsListValidateBeforeCall(String owner
* @param showTokens Show entitlement token strings in results (optional, default to false)
* @param query A search term for querying names of entitlements. (optional)
* @param active If true, only include active tokens (optional, default to false)
+ * @param excludeOtherUserTokens If true, exclude user tokens that belong to other users (optional, default to false)
* @param sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name. (optional, default to name)
* @return List<RepositoryToken>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List entitlementsList(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, Boolean showTokens, String query, Boolean active, String sort) throws ApiException {
- ApiResponse> resp = entitlementsListWithHttpInfo(owner, repo, page, pageSize, showTokens, query, active, sort);
+ public List entitlementsList(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, Boolean showTokens, String query, Boolean active, Boolean excludeOtherUserTokens, String sort) throws ApiException {
+ ApiResponse> resp = entitlementsListWithHttpInfo(owner, repo, page, pageSize, showTokens, query, active, excludeOtherUserTokens, sort);
return resp.getData();
}
@@ -799,12 +803,13 @@ public List entitlementsList(String owner, String repo, java.ma
* @param showTokens Show entitlement token strings in results (optional, default to false)
* @param query A search term for querying names of entitlements. (optional)
* @param active If true, only include active tokens (optional, default to false)
+ * @param excludeOtherUserTokens If true, exclude user tokens that belong to other users (optional, default to false)
* @param sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name. (optional, default to name)
* @return ApiResponse<List<RepositoryToken>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> entitlementsListWithHttpInfo( @NotNull String owner, @NotNull String repo, java.math.BigInteger page, java.math.BigInteger pageSize, Boolean showTokens, String query, Boolean active, String sort) throws ApiException {
- com.squareup.okhttp.Call call = entitlementsListValidateBeforeCall(owner, repo, page, pageSize, showTokens, query, active, sort, null, null);
+ public ApiResponse> entitlementsListWithHttpInfo( @NotNull String owner, @NotNull String repo, java.math.BigInteger page, java.math.BigInteger pageSize, Boolean showTokens, String query, Boolean active, Boolean excludeOtherUserTokens, String sort) throws ApiException {
+ com.squareup.okhttp.Call call = entitlementsListValidateBeforeCall(owner, repo, page, pageSize, showTokens, query, active, excludeOtherUserTokens, sort, null, null);
Type localVarReturnType = new TypeToken>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -819,12 +824,13 @@ public ApiResponse> entitlementsListWithHttpInfo( @NotNull
* @param showTokens Show entitlement token strings in results (optional, default to false)
* @param query A search term for querying names of entitlements. (optional)
* @param active If true, only include active tokens (optional, default to false)
+ * @param excludeOtherUserTokens If true, exclude user tokens that belong to other users (optional, default to false)
* @param sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name. (optional, default to name)
* @param callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call entitlementsListAsync(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, Boolean showTokens, String query, Boolean active, String sort, final ApiCallback> callback) throws ApiException {
+ public com.squareup.okhttp.Call entitlementsListAsync(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, Boolean showTokens, String query, Boolean active, Boolean excludeOtherUserTokens, String sort, final ApiCallback> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -845,7 +851,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = entitlementsListValidateBeforeCall(owner, repo, page, pageSize, showTokens, query, active, sort, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = entitlementsListValidateBeforeCall(owner, repo, page, pageSize, showTokens, query, active, excludeOtherUserTokens, sort, progressListener, progressRequestListener);
Type localVarReturnType = new TypeToken>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java
index f52f194e..a0cc57e4 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java
@@ -39,6 +39,7 @@
import io.cloudsmith.api.models.DynamicMapping;
import io.cloudsmith.api.models.ErrorDetail;
import io.cloudsmith.api.models.Organization;
+import io.cloudsmith.api.models.OrganizationCustomDomains;
import io.cloudsmith.api.models.OrganizationGroupSync;
import io.cloudsmith.api.models.OrganizationGroupSyncRequest;
import io.cloudsmith.api.models.OrganizationGroupSyncStatus;
@@ -111,6 +112,158 @@ public void setHeadersOverrides(Map headers) {
this.headers = headers;
}
+ /**
+ * Build call for orgsCustomDomainsList
+ * @param org (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call orgsCustomDomainsListCall(String org, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/orgs/{org}/custom-domains/"
+ .replaceAll("\\{" + "org" + "\\}", apiClient.escapeString(org.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ if (page != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("page", page));
+ if (pageSize != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("page_size", pageSize));
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call orgsCustomDomainsListValidateBeforeCall(String org, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { org, page, pageSize };
+ Method method = this.getClass().getMethod("orgsCustomDomainsListWithHttpInfo", String.class, java.math.BigInteger.class, java.math.BigInteger.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = orgsCustomDomainsListCall(org, page, pageSize, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Get the details for all custom domains.
+ * Get the details for all custom domains.
+ * @param org (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @return List<OrganizationCustomDomains>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public List orgsCustomDomainsList(String org, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ ApiResponse> resp = orgsCustomDomainsListWithHttpInfo(org, page, pageSize);
+ return resp.getData();
+ }
+
+ /**
+ * Get the details for all custom domains.
+ * Get the details for all custom domains.
+ * @param org (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @return ApiResponse<List<OrganizationCustomDomains>>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse> orgsCustomDomainsListWithHttpInfo( @NotNull String org, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ com.squareup.okhttp.Call call = orgsCustomDomainsListValidateBeforeCall(org, page, pageSize, null, null);
+ Type localVarReturnType = new TypeToken>(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Get the details for all custom domains. (asynchronously)
+ * Get the details for all custom domains.
+ * @param org (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call orgsCustomDomainsListAsync(String org, java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback> callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = orgsCustomDomainsListValidateBeforeCall(org, page, pageSize, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken>(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
/**
* Build call for orgsDelete
* @param org (required)
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/RecycleBinApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/RecycleBinApi.java
index c64a4a63..30f5f9c9 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/RecycleBinApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/RecycleBinApi.java
@@ -72,31 +72,23 @@ public void setHeadersOverrides(Map headers) {
}
/**
- * Build call for recycleBinList
+ * Build call for recycleBinAction
* @param owner (required)
- * @param page A page number within the paginated result set. (optional)
- * @param pageSize Number of results to return per page. (optional)
- * @param repository Filter packages by repository slug (optional)
+ * @param data (optional)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call recycleBinListCall(String owner, java.math.BigInteger page, java.math.BigInteger pageSize, String repository, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
- Object localVarPostBody = null;
+ public com.squareup.okhttp.Call recycleBinActionCall(String owner, PackageRecycleBin data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
// create path and map variables
- String localVarPath = "/recycle-bin/{owner}/"
+ String localVarPath = "/recycle-bin/{owner}/action/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()));
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
- if (page != null)
- localVarQueryParams.addAll(apiClient.parameterToPair("page", page));
- if (pageSize != null)
- localVarQueryParams.addAll(apiClient.parameterToPair("page_size", pageSize));
- if (repository != null)
- localVarQueryParams.addAll(apiClient.parameterToPair("repository", repository));
Map localVarHeaderParams = new HashMap();
@@ -130,22 +122,22 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
if (headers != null) {
localVarHeaderParams.putAll(headers);
}
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call recycleBinListValidateBeforeCall(String owner, java.math.BigInteger page, java.math.BigInteger pageSize, String repository, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call recycleBinActionValidateBeforeCall(String owner, PackageRecycleBin data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
- Object[] parameterValues = { owner, page, pageSize, repository };
- Method method = this.getClass().getMethod("recycleBinListWithHttpInfo", String.class, java.math.BigInteger.class, java.math.BigInteger.class, String.class);
+ Object[] parameterValues = { owner, data };
+ Method method = this.getClass().getMethod("recycleBinActionWithHttpInfo", String.class, PackageRecycleBin.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = recycleBinListCall(owner, page, pageSize, repository, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = recycleBinActionCall(owner, data, progressListener, progressRequestListener);
return call;
} else {
@@ -162,48 +154,42 @@ private com.squareup.okhttp.Call recycleBinListValidateBeforeCall(String owner,
}
/**
- * List soft-deleted packages in recycle bin
- * Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
+ *
+ * Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.
* @param owner (required)
- * @param page A page number within the paginated result set. (optional)
- * @param pageSize Number of results to return per page. (optional)
- * @param repository Filter packages by repository slug (optional)
- * @return List<RecycleBinPackage>
+ * @param data (optional)
+ * @return PackageBulkActionResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List recycleBinList(String owner, java.math.BigInteger page, java.math.BigInteger pageSize, String repository) throws ApiException {
- ApiResponse> resp = recycleBinListWithHttpInfo(owner, page, pageSize, repository);
+ public PackageBulkActionResponse recycleBinAction(String owner, PackageRecycleBin data) throws ApiException {
+ ApiResponse resp = recycleBinActionWithHttpInfo(owner, data);
return resp.getData();
}
/**
- * List soft-deleted packages in recycle bin
- * Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
+ *
+ * Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.
* @param owner (required)
- * @param page A page number within the paginated result set. (optional)
- * @param pageSize Number of results to return per page. (optional)
- * @param repository Filter packages by repository slug (optional)
- * @return ApiResponse<List<RecycleBinPackage>>
+ * @param data (optional)
+ * @return ApiResponse<PackageBulkActionResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> recycleBinListWithHttpInfo( @NotNull String owner, java.math.BigInteger page, java.math.BigInteger pageSize, String repository) throws ApiException {
- com.squareup.okhttp.Call call = recycleBinListValidateBeforeCall(owner, page, pageSize, repository, null, null);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ public ApiResponse recycleBinActionWithHttpInfo( @NotNull String owner, PackageRecycleBin data) throws ApiException {
+ com.squareup.okhttp.Call call = recycleBinActionValidateBeforeCall(owner, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * List soft-deleted packages in recycle bin (asynchronously)
- * Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
+ * (asynchronously)
+ * Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.
* @param owner (required)
- * @param page A page number within the paginated result set. (optional)
- * @param pageSize Number of results to return per page. (optional)
- * @param repository Filter packages by repository slug (optional)
+ * @param data (optional)
* @param callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call recycleBinListAsync(String owner, java.math.BigInteger page, java.math.BigInteger pageSize, String repository, final ApiCallback> callback) throws ApiException {
+ public com.squareup.okhttp.Call recycleBinActionAsync(String owner, PackageRecycleBin data, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -224,29 +210,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = recycleBinListValidateBeforeCall(owner, page, pageSize, repository, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ com.squareup.okhttp.Call call = recycleBinActionValidateBeforeCall(owner, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for recycleBinRecycleBinAction
+ * Build call for recycleBinList
* @param owner (required)
- * @param data (optional)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param repository Filter packages by repository slug (optional)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call recycleBinRecycleBinActionCall(String owner, PackageRecycleBin data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
- Object localVarPostBody = data;
+ public com.squareup.okhttp.Call recycleBinListCall(String owner, java.math.BigInteger page, java.math.BigInteger pageSize, String repository, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/recycle-bin/{owner}/action/"
+ String localVarPath = "/recycle-bin/{owner}/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()));
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
+ if (page != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("page", page));
+ if (pageSize != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("page_size", pageSize));
+ if (repository != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("repository", repository));
Map localVarHeaderParams = new HashMap();
@@ -280,22 +274,22 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
if (headers != null) {
localVarHeaderParams.putAll(headers);
}
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call recycleBinRecycleBinActionValidateBeforeCall(String owner, PackageRecycleBin data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call recycleBinListValidateBeforeCall(String owner, java.math.BigInteger page, java.math.BigInteger pageSize, String repository, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
- Object[] parameterValues = { owner, data };
- Method method = this.getClass().getMethod("recycleBinRecycleBinActionWithHttpInfo", String.class, PackageRecycleBin.class);
+ Object[] parameterValues = { owner, page, pageSize, repository };
+ Method method = this.getClass().getMethod("recycleBinListWithHttpInfo", String.class, java.math.BigInteger.class, java.math.BigInteger.class, String.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = recycleBinRecycleBinActionCall(owner, data, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = recycleBinListCall(owner, page, pageSize, repository, progressListener, progressRequestListener);
return call;
} else {
@@ -312,42 +306,48 @@ private com.squareup.okhttp.Call recycleBinRecycleBinActionValidateBeforeCall(St
}
/**
- *
- * Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.
+ * List soft-deleted packages in recycle bin
+ * Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
* @param owner (required)
- * @param data (optional)
- * @return PackageBulkActionResponse
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param repository Filter packages by repository slug (optional)
+ * @return List<RecycleBinPackage>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public PackageBulkActionResponse recycleBinRecycleBinAction(String owner, PackageRecycleBin data) throws ApiException {
- ApiResponse resp = recycleBinRecycleBinActionWithHttpInfo(owner, data);
+ public List recycleBinList(String owner, java.math.BigInteger page, java.math.BigInteger pageSize, String repository) throws ApiException {
+ ApiResponse> resp = recycleBinListWithHttpInfo(owner, page, pageSize, repository);
return resp.getData();
}
/**
- *
- * Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.
+ * List soft-deleted packages in recycle bin
+ * Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
* @param owner (required)
- * @param data (optional)
- * @return ApiResponse<PackageBulkActionResponse>
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param repository Filter packages by repository slug (optional)
+ * @return ApiResponse<List<RecycleBinPackage>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse recycleBinRecycleBinActionWithHttpInfo( @NotNull String owner, PackageRecycleBin data) throws ApiException {
- com.squareup.okhttp.Call call = recycleBinRecycleBinActionValidateBeforeCall(owner, data, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse> recycleBinListWithHttpInfo( @NotNull String owner, java.math.BigInteger page, java.math.BigInteger pageSize, String repository) throws ApiException {
+ com.squareup.okhttp.Call call = recycleBinListValidateBeforeCall(owner, page, pageSize, repository, null, null);
+ Type localVarReturnType = new TypeToken>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * (asynchronously)
- * Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.
+ * List soft-deleted packages in recycle bin (asynchronously)
+ * Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
* @param owner (required)
- * @param data (optional)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param repository Filter packages by repository slug (optional)
* @param callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call recycleBinRecycleBinActionAsync(String owner, PackageRecycleBin data, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call recycleBinListAsync(String owner, java.math.BigInteger page, java.math.BigInteger pageSize, String repository, final ApiCallback> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -368,8 +368,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = recycleBinRecycleBinActionValidateBeforeCall(owner, data, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = recycleBinListValidateBeforeCall(owner, page, pageSize, repository, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java
index b4e045cb..3026ad7e 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java
@@ -48,6 +48,9 @@
import io.cloudsmith.api.models.CondaUpstream;
import io.cloudsmith.api.models.CondaUpstreamRequest;
import io.cloudsmith.api.models.CondaUpstreamRequestPatch;
+import io.cloudsmith.api.models.ConnectedRepository;
+import io.cloudsmith.api.models.ConnectedRepositoryRequest;
+import io.cloudsmith.api.models.ConnectedRepositoryRequestPatch;
import io.cloudsmith.api.models.CranUpstream;
import io.cloudsmith.api.models.CranUpstreamRequest;
import io.cloudsmith.api.models.CranUpstreamRequestPatch;
@@ -76,6 +79,7 @@
import io.cloudsmith.api.models.HuggingfaceUpstream;
import io.cloudsmith.api.models.HuggingfaceUpstreamRequest;
import io.cloudsmith.api.models.HuggingfaceUpstreamRequestPatch;
+import io.cloudsmith.api.models.InlineResponse2001;
import io.cloudsmith.api.models.MavenUpstream;
import io.cloudsmith.api.models.MavenUpstreamRequest;
import io.cloudsmith.api.models.MavenUpstreamRequestPatch;
@@ -93,6 +97,8 @@
import io.cloudsmith.api.models.RepositoryCreateRequest;
import io.cloudsmith.api.models.RepositoryEcdsaKey;
import io.cloudsmith.api.models.RepositoryEcdsaKeyCreate;
+import io.cloudsmith.api.models.RepositoryEd25519Key;
+import io.cloudsmith.api.models.RepositoryEd25519KeyCreate;
import io.cloudsmith.api.models.RepositoryGeoIpRules;
import io.cloudsmith.api.models.RepositoryGeoIpRulesRequest;
import io.cloudsmith.api.models.RepositoryGeoIpRulesRequestPatch;
@@ -592,6 +598,916 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
+ /**
+ * Build call for reposConnectedCreate
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedCreateCall(String owner, String identifier, ConnectedRepositoryRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/connected/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposConnectedCreateValidateBeforeCall(String owner, String identifier, ConnectedRepositoryRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, data };
+ Method method = this.getClass().getMethod("reposConnectedCreateWithHttpInfo", String.class, String.class, ConnectedRepositoryRequest.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposConnectedCreateCall(owner, identifier, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Create a connected repository for this repository.
+ * Create a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @return ConnectedRepository
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ConnectedRepository reposConnectedCreate(String owner, String identifier, ConnectedRepositoryRequest data) throws ApiException {
+ ApiResponse resp = reposConnectedCreateWithHttpInfo(owner, identifier, data);
+ return resp.getData();
+ }
+
+ /**
+ * Create a connected repository for this repository.
+ * Create a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @return ApiResponse<ConnectedRepository>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposConnectedCreateWithHttpInfo( @NotNull String owner, @NotNull String identifier, ConnectedRepositoryRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = reposConnectedCreateValidateBeforeCall(owner, identifier, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Create a connected repository for this repository. (asynchronously)
+ * Create a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedCreateAsync(String owner, String identifier, ConnectedRepositoryRequest data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposConnectedCreateValidateBeforeCall(owner, identifier, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposConnectedDelete
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedDeleteCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/connected/{slug_perm}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
+ .replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposConnectedDeleteValidateBeforeCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, slugPerm };
+ Method method = this.getClass().getMethod("reposConnectedDeleteWithHttpInfo", String.class, String.class, String.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposConnectedDeleteCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Delete a connected repository for this repository.
+ * Delete a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public void reposConnectedDelete(String owner, String identifier, String slugPerm) throws ApiException {
+ reposConnectedDeleteWithHttpInfo(owner, identifier, slugPerm);
+ }
+
+ /**
+ * Delete a connected repository for this repository.
+ * Delete a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @return ApiResponse<Void>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposConnectedDeleteWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm) throws ApiException {
+ com.squareup.okhttp.Call call = reposConnectedDeleteValidateBeforeCall(owner, identifier, slugPerm, null, null);
+ return apiClient.execute(call);
+ }
+
+ /**
+ * Delete a connected repository for this repository. (asynchronously)
+ * Delete a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedDeleteAsync(String owner, String identifier, String slugPerm, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposConnectedDeleteValidateBeforeCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ apiClient.executeAsync(call, callback);
+ return call;
+ }
+ /**
+ * Build call for reposConnectedList
+ * @param owner (required)
+ * @param identifier (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedListCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/connected/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ if (page != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("page", page));
+ if (pageSize != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("page_size", pageSize));
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposConnectedListValidateBeforeCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, page, pageSize };
+ Method method = this.getClass().getMethod("reposConnectedListWithHttpInfo", String.class, String.class, java.math.BigInteger.class, java.math.BigInteger.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposConnectedListCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * List connected repositories for this repository.
+ * List connected repositories for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @return InlineResponse2001
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public InlineResponse2001 reposConnectedList(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ ApiResponse resp = reposConnectedListWithHttpInfo(owner, identifier, page, pageSize);
+ return resp.getData();
+ }
+
+ /**
+ * List connected repositories for this repository.
+ * List connected repositories for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @return ApiResponse<InlineResponse2001>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposConnectedListWithHttpInfo( @NotNull String owner, @NotNull String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ com.squareup.okhttp.Call call = reposConnectedListValidateBeforeCall(owner, identifier, page, pageSize, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * List connected repositories for this repository. (asynchronously)
+ * List connected repositories for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedListAsync(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposConnectedListValidateBeforeCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposConnectedPartialUpdate
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedPartialUpdateCall(String owner, String identifier, String slugPerm, ConnectedRepositoryRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/connected/{slug_perm}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
+ .replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposConnectedPartialUpdateValidateBeforeCall(String owner, String identifier, String slugPerm, ConnectedRepositoryRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, slugPerm, data };
+ Method method = this.getClass().getMethod("reposConnectedPartialUpdateWithHttpInfo", String.class, String.class, String.class, ConnectedRepositoryRequestPatch.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposConnectedPartialUpdateCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Partially update a connected repository for this repository.
+ * Partially update a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @return ConnectedRepository
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ConnectedRepository reposConnectedPartialUpdate(String owner, String identifier, String slugPerm, ConnectedRepositoryRequestPatch data) throws ApiException {
+ ApiResponse resp = reposConnectedPartialUpdateWithHttpInfo(owner, identifier, slugPerm, data);
+ return resp.getData();
+ }
+
+ /**
+ * Partially update a connected repository for this repository.
+ * Partially update a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @return ApiResponse<ConnectedRepository>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposConnectedPartialUpdateWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm, ConnectedRepositoryRequestPatch data) throws ApiException {
+ com.squareup.okhttp.Call call = reposConnectedPartialUpdateValidateBeforeCall(owner, identifier, slugPerm, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Partially update a connected repository for this repository. (asynchronously)
+ * Partially update a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedPartialUpdateAsync(String owner, String identifier, String slugPerm, ConnectedRepositoryRequestPatch data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposConnectedPartialUpdateValidateBeforeCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposConnectedRead
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedReadCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/connected/{slug_perm}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
+ .replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposConnectedReadValidateBeforeCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, slugPerm };
+ Method method = this.getClass().getMethod("reposConnectedReadWithHttpInfo", String.class, String.class, String.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposConnectedReadCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Retrieve a connected repository for this repository.
+ * Retrieve a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @return ConnectedRepository
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ConnectedRepository reposConnectedRead(String owner, String identifier, String slugPerm) throws ApiException {
+ ApiResponse resp = reposConnectedReadWithHttpInfo(owner, identifier, slugPerm);
+ return resp.getData();
+ }
+
+ /**
+ * Retrieve a connected repository for this repository.
+ * Retrieve a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @return ApiResponse<ConnectedRepository>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposConnectedReadWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm) throws ApiException {
+ com.squareup.okhttp.Call call = reposConnectedReadValidateBeforeCall(owner, identifier, slugPerm, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Retrieve a connected repository for this repository. (asynchronously)
+ * Retrieve a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedReadAsync(String owner, String identifier, String slugPerm, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposConnectedReadValidateBeforeCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposConnectedUpdate
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedUpdateCall(String owner, String identifier, String slugPerm, ConnectedRepositoryRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/connected/{slug_perm}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
+ .replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposConnectedUpdateValidateBeforeCall(String owner, String identifier, String slugPerm, ConnectedRepositoryRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, slugPerm, data };
+ Method method = this.getClass().getMethod("reposConnectedUpdateWithHttpInfo", String.class, String.class, String.class, ConnectedRepositoryRequest.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposConnectedUpdateCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Update a connected repository for this repository.
+ * Update a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @return ConnectedRepository
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ConnectedRepository reposConnectedUpdate(String owner, String identifier, String slugPerm, ConnectedRepositoryRequest data) throws ApiException {
+ ApiResponse resp = reposConnectedUpdateWithHttpInfo(owner, identifier, slugPerm, data);
+ return resp.getData();
+ }
+
+ /**
+ * Update a connected repository for this repository.
+ * Update a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @return ApiResponse<ConnectedRepository>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposConnectedUpdateWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm, ConnectedRepositoryRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = reposConnectedUpdateValidateBeforeCall(owner, identifier, slugPerm, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Update a connected repository for this repository. (asynchronously)
+ * Update a connected repository for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposConnectedUpdateAsync(String owner, String identifier, String slugPerm, ConnectedRepositoryRequest data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposConnectedUpdateValidateBeforeCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
/**
* Build call for reposCreate
* @param owner (required)
@@ -601,12 +1517,447 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposCreateCall(String owner, RepositoryCreateRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
- Object localVarPostBody = data;
+ public com.squareup.okhttp.Call reposCreateCall(String owner, RepositoryCreateRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposCreateValidateBeforeCall(String owner, RepositoryCreateRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, data };
+ Method method = this.getClass().getMethod("reposCreateWithHttpInfo", String.class, RepositoryCreateRequest.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposCreateCall(owner, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Create a new repository in a given namespace.
+ * Create a new repository in a given namespace.
+ * @param owner (required)
+ * @param data (optional)
+ * @return RepositoryCreate
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public RepositoryCreate reposCreate(String owner, RepositoryCreateRequest data) throws ApiException {
+ ApiResponse resp = reposCreateWithHttpInfo(owner, data);
+ return resp.getData();
+ }
+
+ /**
+ * Create a new repository in a given namespace.
+ * Create a new repository in a given namespace.
+ * @param owner (required)
+ * @param data (optional)
+ * @return ApiResponse<RepositoryCreate>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposCreateWithHttpInfo( @NotNull String owner, RepositoryCreateRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = reposCreateValidateBeforeCall(owner, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Create a new repository in a given namespace. (asynchronously)
+ * Create a new repository in a given namespace.
+ * @param owner (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposCreateAsync(String owner, RepositoryCreateRequest data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposCreateValidateBeforeCall(owner, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposDelete
+ * @param owner (required)
+ * @param identifier (required)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposDeleteCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposDeleteValidateBeforeCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier };
+ Method method = this.getClass().getMethod("reposDeleteWithHttpInfo", String.class, String.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposDeleteCall(owner, identifier, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ *
+ * Delete a repository in a given namespace. Note: Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories.
+ * @param owner (required)
+ * @param identifier (required)
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public void reposDelete(String owner, String identifier) throws ApiException {
+ reposDeleteWithHttpInfo(owner, identifier);
+ }
+
+ /**
+ *
+ * Delete a repository in a given namespace. Note: Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories.
+ * @param owner (required)
+ * @param identifier (required)
+ * @return ApiResponse<Void>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposDeleteWithHttpInfo( @NotNull String owner, @NotNull String identifier) throws ApiException {
+ com.squareup.okhttp.Call call = reposDeleteValidateBeforeCall(owner, identifier, null, null);
+ return apiClient.execute(call);
+ }
+
+ /**
+ * (asynchronously)
+ * Delete a repository in a given namespace. Note: Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposDeleteAsync(String owner, String identifier, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposDeleteValidateBeforeCall(owner, identifier, progressListener, progressRequestListener);
+ apiClient.executeAsync(call, callback);
+ return call;
+ }
+ /**
+ * Build call for reposEcdsaCreate
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposEcdsaCreateCall(String owner, String identifier, RepositoryEcdsaKeyCreate data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/ecdsa/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposEcdsaCreateValidateBeforeCall(String owner, String identifier, RepositoryEcdsaKeyCreate data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, data };
+ Method method = this.getClass().getMethod("reposEcdsaCreateWithHttpInfo", String.class, String.class, RepositoryEcdsaKeyCreate.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposEcdsaCreateCall(owner, identifier, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Set the active ECDSA key for the Repository.
+ * Set the active ECDSA key for the Repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @return RepositoryEcdsaKey
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public RepositoryEcdsaKey reposEcdsaCreate(String owner, String identifier, RepositoryEcdsaKeyCreate data) throws ApiException {
+ ApiResponse resp = reposEcdsaCreateWithHttpInfo(owner, identifier, data);
+ return resp.getData();
+ }
+
+ /**
+ * Set the active ECDSA key for the Repository.
+ * Set the active ECDSA key for the Repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @return ApiResponse<RepositoryEcdsaKey>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposEcdsaCreateWithHttpInfo( @NotNull String owner, @NotNull String identifier, RepositoryEcdsaKeyCreate data) throws ApiException {
+ com.squareup.okhttp.Call call = reposEcdsaCreateValidateBeforeCall(owner, identifier, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Set the active ECDSA key for the Repository. (asynchronously)
+ * Set the active ECDSA key for the Repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposEcdsaCreateAsync(String owner, String identifier, RepositoryEcdsaKeyCreate data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposEcdsaCreateValidateBeforeCall(owner, identifier, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposEcdsaList
+ * @param owner (required)
+ * @param identifier (required)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposEcdsaListCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/repos/{owner}/"
- .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()));
+ String localVarPath = "/repos/{owner}/{identifier}/ecdsa/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -643,22 +1994,22 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
if (headers != null) {
localVarHeaderParams.putAll(headers);
}
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposCreateValidateBeforeCall(String owner, RepositoryCreateRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposEcdsaListValidateBeforeCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
- Object[] parameterValues = { owner, data };
- Method method = this.getClass().getMethod("reposCreateWithHttpInfo", String.class, RepositoryCreateRequest.class);
+ Object[] parameterValues = { owner, identifier };
+ Method method = this.getClass().getMethod("reposEcdsaListWithHttpInfo", String.class, String.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposCreateCall(owner, data, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposEcdsaListCall(owner, identifier, progressListener, progressRequestListener);
return call;
} else {
@@ -675,42 +2026,42 @@ private com.squareup.okhttp.Call reposCreateValidateBeforeCall(String owner, Rep
}
/**
- * Create a new repository in a given namespace.
- * Create a new repository in a given namespace.
+ * Retrieve the active ECDSA key for the Repository.
+ * Retrieve the active ECDSA key for the Repository.
* @param owner (required)
- * @param data (optional)
- * @return RepositoryCreate
+ * @param identifier (required)
+ * @return RepositoryEcdsaKey
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public RepositoryCreate reposCreate(String owner, RepositoryCreateRequest data) throws ApiException {
- ApiResponse resp = reposCreateWithHttpInfo(owner, data);
+ public RepositoryEcdsaKey reposEcdsaList(String owner, String identifier) throws ApiException {
+ ApiResponse resp = reposEcdsaListWithHttpInfo(owner, identifier);
return resp.getData();
}
/**
- * Create a new repository in a given namespace.
- * Create a new repository in a given namespace.
+ * Retrieve the active ECDSA key for the Repository.
+ * Retrieve the active ECDSA key for the Repository.
* @param owner (required)
- * @param data (optional)
- * @return ApiResponse<RepositoryCreate>
+ * @param identifier (required)
+ * @return ApiResponse<RepositoryEcdsaKey>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposCreateWithHttpInfo( @NotNull String owner, RepositoryCreateRequest data) throws ApiException {
- com.squareup.okhttp.Call call = reposCreateValidateBeforeCall(owner, data, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse reposEcdsaListWithHttpInfo( @NotNull String owner, @NotNull String identifier) throws ApiException {
+ com.squareup.okhttp.Call call = reposEcdsaListValidateBeforeCall(owner, identifier, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Create a new repository in a given namespace. (asynchronously)
- * Create a new repository in a given namespace.
+ * Retrieve the active ECDSA key for the Repository. (asynchronously)
+ * Retrieve the active ECDSA key for the Repository.
* @param owner (required)
- * @param data (optional)
+ * @param identifier (required)
* @param callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposCreateAsync(String owner, RepositoryCreateRequest data, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposEcdsaListAsync(String owner, String identifier, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -731,13 +2082,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposCreateValidateBeforeCall(owner, data, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = reposEcdsaListValidateBeforeCall(owner, identifier, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for reposDelete
+ * Build call for reposEcdsaRegenerate
* @param owner (required)
* @param identifier (required)
* @param progressListener Progress listener
@@ -745,11 +2096,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposDeleteCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposEcdsaRegenerateCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/"
+ String localVarPath = "/repos/{owner}/{identifier}/ecdsa/regenerate/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
@@ -788,22 +2139,22 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
if (headers != null) {
localVarHeaderParams.putAll(headers);
}
- return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposDeleteValidateBeforeCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposEcdsaRegenerateValidateBeforeCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier };
- Method method = this.getClass().getMethod("reposDeleteWithHttpInfo", String.class, String.class);
+ Method method = this.getClass().getMethod("reposEcdsaRegenerateWithHttpInfo", String.class, String.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposDeleteCall(owner, identifier, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposEcdsaRegenerateCall(owner, identifier, progressListener, progressRequestListener);
return call;
} else {
@@ -820,39 +2171,42 @@ private com.squareup.okhttp.Call reposDeleteValidateBeforeCall(String owner, Str
}
/**
- *
- * Delete a repository in a given namespace.Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories.
+ * Regenerate ECDSA Key for the Repository.
+ * Regenerate ECDSA Key for the Repository.
* @param owner (required)
* @param identifier (required)
+ * @return RepositoryEcdsaKey
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public void reposDelete(String owner, String identifier) throws ApiException {
- reposDeleteWithHttpInfo(owner, identifier);
+ public RepositoryEcdsaKey reposEcdsaRegenerate(String owner, String identifier) throws ApiException {
+ ApiResponse resp = reposEcdsaRegenerateWithHttpInfo(owner, identifier);
+ return resp.getData();
}
/**
- *
- * Delete a repository in a given namespace.Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories.
+ * Regenerate ECDSA Key for the Repository.
+ * Regenerate ECDSA Key for the Repository.
* @param owner (required)
* @param identifier (required)
- * @return ApiResponse<Void>
+ * @return ApiResponse<RepositoryEcdsaKey>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposDeleteWithHttpInfo( @NotNull String owner, @NotNull String identifier) throws ApiException {
- com.squareup.okhttp.Call call = reposDeleteValidateBeforeCall(owner, identifier, null, null);
- return apiClient.execute(call);
+ public ApiResponse reposEcdsaRegenerateWithHttpInfo( @NotNull String owner, @NotNull String identifier) throws ApiException {
+ com.squareup.okhttp.Call call = reposEcdsaRegenerateValidateBeforeCall(owner, identifier, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
}
/**
- * (asynchronously)
- * Delete a repository in a given namespace.Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories.
+ * Regenerate ECDSA Key for the Repository. (asynchronously)
+ * Regenerate ECDSA Key for the Repository.
* @param owner (required)
* @param identifier (required)
* @param callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposDeleteAsync(String owner, String identifier, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposEcdsaRegenerateAsync(String owner, String identifier, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -873,12 +2227,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposDeleteValidateBeforeCall(owner, identifier, progressListener, progressRequestListener);
- apiClient.executeAsync(call, callback);
+ com.squareup.okhttp.Call call = reposEcdsaRegenerateValidateBeforeCall(owner, identifier, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for reposEcdsaCreate
+ * Build call for reposEd25519Create
* @param owner (required)
* @param identifier (required)
* @param data (optional)
@@ -887,11 +2242,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposEcdsaCreateCall(String owner, String identifier, RepositoryEcdsaKeyCreate data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposEd25519CreateCall(String owner, String identifier, RepositoryEd25519KeyCreate data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = data;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/ecdsa/"
+ String localVarPath = "/repos/{owner}/{identifier}/ed25519/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
@@ -934,18 +2289,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposEcdsaCreateValidateBeforeCall(String owner, String identifier, RepositoryEcdsaKeyCreate data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposEd25519CreateValidateBeforeCall(String owner, String identifier, RepositoryEd25519KeyCreate data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier, data };
- Method method = this.getClass().getMethod("reposEcdsaCreateWithHttpInfo", String.class, String.class, RepositoryEcdsaKeyCreate.class);
+ Method method = this.getClass().getMethod("reposEd25519CreateWithHttpInfo", String.class, String.class, RepositoryEd25519KeyCreate.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposEcdsaCreateCall(owner, identifier, data, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposEd25519CreateCall(owner, identifier, data, progressListener, progressRequestListener);
return call;
} else {
@@ -962,37 +2317,37 @@ private com.squareup.okhttp.Call reposEcdsaCreateValidateBeforeCall(String owner
}
/**
- * Set the active ECDSA key for the Repository.
- * Set the active ECDSA key for the Repository.
+ * Set the active Ed25519 key for the Repository.
+ * Set the active Ed25519 key for the Repository.
* @param owner (required)
* @param identifier (required)
* @param data (optional)
- * @return RepositoryEcdsaKey
+ * @return RepositoryEd25519Key
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public RepositoryEcdsaKey reposEcdsaCreate(String owner, String identifier, RepositoryEcdsaKeyCreate data) throws ApiException {
- ApiResponse resp = reposEcdsaCreateWithHttpInfo(owner, identifier, data);
+ public RepositoryEd25519Key reposEd25519Create(String owner, String identifier, RepositoryEd25519KeyCreate data) throws ApiException {
+ ApiResponse resp = reposEd25519CreateWithHttpInfo(owner, identifier, data);
return resp.getData();
}
/**
- * Set the active ECDSA key for the Repository.
- * Set the active ECDSA key for the Repository.
+ * Set the active Ed25519 key for the Repository.
+ * Set the active Ed25519 key for the Repository.
* @param owner (required)
* @param identifier (required)
* @param data (optional)
- * @return ApiResponse<RepositoryEcdsaKey>
+ * @return ApiResponse<RepositoryEd25519Key>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposEcdsaCreateWithHttpInfo( @NotNull String owner, @NotNull String identifier, RepositoryEcdsaKeyCreate data) throws ApiException {
- com.squareup.okhttp.Call call = reposEcdsaCreateValidateBeforeCall(owner, identifier, data, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse reposEd25519CreateWithHttpInfo( @NotNull String owner, @NotNull String identifier, RepositoryEd25519KeyCreate data) throws ApiException {
+ com.squareup.okhttp.Call call = reposEd25519CreateValidateBeforeCall(owner, identifier, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Set the active ECDSA key for the Repository. (asynchronously)
- * Set the active ECDSA key for the Repository.
+ * Set the active Ed25519 key for the Repository. (asynchronously)
+ * Set the active Ed25519 key for the Repository.
* @param owner (required)
* @param identifier (required)
* @param data (optional)
@@ -1000,7 +2355,7 @@ public ApiResponse reposEcdsaCreateWithHttpInfo( @NotNull St
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposEcdsaCreateAsync(String owner, String identifier, RepositoryEcdsaKeyCreate data, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposEd25519CreateAsync(String owner, String identifier, RepositoryEd25519KeyCreate data, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -1021,13 +2376,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposEcdsaCreateValidateBeforeCall(owner, identifier, data, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = reposEd25519CreateValidateBeforeCall(owner, identifier, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for reposEcdsaList
+ * Build call for reposEd25519List
* @param owner (required)
* @param identifier (required)
* @param progressListener Progress listener
@@ -1035,11 +2390,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposEcdsaListCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposEd25519ListCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/ecdsa/"
+ String localVarPath = "/repos/{owner}/{identifier}/ed25519/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
@@ -1082,18 +2437,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposEcdsaListValidateBeforeCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposEd25519ListValidateBeforeCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier };
- Method method = this.getClass().getMethod("reposEcdsaListWithHttpInfo", String.class, String.class);
+ Method method = this.getClass().getMethod("reposEd25519ListWithHttpInfo", String.class, String.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposEcdsaListCall(owner, identifier, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposEd25519ListCall(owner, identifier, progressListener, progressRequestListener);
return call;
} else {
@@ -1110,42 +2465,42 @@ private com.squareup.okhttp.Call reposEcdsaListValidateBeforeCall(String owner,
}
/**
- * Retrieve the active ECDSA key for the Repository.
- * Retrieve the active ECDSA key for the Repository.
+ * Retrieve the active Ed25519 key for the Repository.
+ * Retrieve the active Ed25519 key for the Repository.
* @param owner (required)
* @param identifier (required)
- * @return RepositoryEcdsaKey
+ * @return RepositoryEd25519Key
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public RepositoryEcdsaKey reposEcdsaList(String owner, String identifier) throws ApiException {
- ApiResponse resp = reposEcdsaListWithHttpInfo(owner, identifier);
+ public RepositoryEd25519Key reposEd25519List(String owner, String identifier) throws ApiException {
+ ApiResponse resp = reposEd25519ListWithHttpInfo(owner, identifier);
return resp.getData();
}
/**
- * Retrieve the active ECDSA key for the Repository.
- * Retrieve the active ECDSA key for the Repository.
+ * Retrieve the active Ed25519 key for the Repository.
+ * Retrieve the active Ed25519 key for the Repository.
* @param owner (required)
* @param identifier (required)
- * @return ApiResponse<RepositoryEcdsaKey>
+ * @return ApiResponse<RepositoryEd25519Key>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposEcdsaListWithHttpInfo( @NotNull String owner, @NotNull String identifier) throws ApiException {
- com.squareup.okhttp.Call call = reposEcdsaListValidateBeforeCall(owner, identifier, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse reposEd25519ListWithHttpInfo( @NotNull String owner, @NotNull String identifier) throws ApiException {
+ com.squareup.okhttp.Call call = reposEd25519ListValidateBeforeCall(owner, identifier, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Retrieve the active ECDSA key for the Repository. (asynchronously)
- * Retrieve the active ECDSA key for the Repository.
+ * Retrieve the active Ed25519 key for the Repository. (asynchronously)
+ * Retrieve the active Ed25519 key for the Repository.
* @param owner (required)
* @param identifier (required)
* @param callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposEcdsaListAsync(String owner, String identifier, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposEd25519ListAsync(String owner, String identifier, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -1166,13 +2521,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposEcdsaListValidateBeforeCall(owner, identifier, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = reposEd25519ListValidateBeforeCall(owner, identifier, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for reposEcdsaRegenerate
+ * Build call for reposEd25519Regenerate
* @param owner (required)
* @param identifier (required)
* @param progressListener Progress listener
@@ -1180,11 +2535,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposEcdsaRegenerateCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposEd25519RegenerateCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/ecdsa/regenerate/"
+ String localVarPath = "/repos/{owner}/{identifier}/ed25519/regenerate/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
@@ -1227,18 +2582,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposEcdsaRegenerateValidateBeforeCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposEd25519RegenerateValidateBeforeCall(String owner, String identifier, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier };
- Method method = this.getClass().getMethod("reposEcdsaRegenerateWithHttpInfo", String.class, String.class);
+ Method method = this.getClass().getMethod("reposEd25519RegenerateWithHttpInfo", String.class, String.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposEcdsaRegenerateCall(owner, identifier, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposEd25519RegenerateCall(owner, identifier, progressListener, progressRequestListener);
return call;
} else {
@@ -1255,42 +2610,42 @@ private com.squareup.okhttp.Call reposEcdsaRegenerateValidateBeforeCall(String o
}
/**
- * Regenerate ECDSA Key for the Repository.
- * Regenerate ECDSA Key for the Repository.
+ * Regenerate Ed25519 Key for the Repository.
+ * Regenerate Ed25519 Key for the Repository.
* @param owner (required)
* @param identifier (required)
- * @return RepositoryEcdsaKey
+ * @return RepositoryEd25519Key
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public RepositoryEcdsaKey reposEcdsaRegenerate(String owner, String identifier) throws ApiException {
- ApiResponse resp = reposEcdsaRegenerateWithHttpInfo(owner, identifier);
+ public RepositoryEd25519Key reposEd25519Regenerate(String owner, String identifier) throws ApiException {
+ ApiResponse resp = reposEd25519RegenerateWithHttpInfo(owner, identifier);
return resp.getData();
}
/**
- * Regenerate ECDSA Key for the Repository.
- * Regenerate ECDSA Key for the Repository.
+ * Regenerate Ed25519 Key for the Repository.
+ * Regenerate Ed25519 Key for the Repository.
* @param owner (required)
* @param identifier (required)
- * @return ApiResponse<RepositoryEcdsaKey>
+ * @return ApiResponse<RepositoryEd25519Key>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposEcdsaRegenerateWithHttpInfo( @NotNull String owner, @NotNull String identifier) throws ApiException {
- com.squareup.okhttp.Call call = reposEcdsaRegenerateValidateBeforeCall(owner, identifier, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse reposEd25519RegenerateWithHttpInfo( @NotNull String owner, @NotNull String identifier) throws ApiException {
+ com.squareup.okhttp.Call call = reposEd25519RegenerateValidateBeforeCall(owner, identifier, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Regenerate ECDSA Key for the Repository. (asynchronously)
- * Regenerate ECDSA Key for the Repository.
+ * Regenerate Ed25519 Key for the Repository. (asynchronously)
+ * Regenerate Ed25519 Key for the Repository.
* @param owner (required)
* @param identifier (required)
* @param callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposEcdsaRegenerateAsync(String owner, String identifier, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposEd25519RegenerateAsync(String owner, String identifier, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -1311,8 +2666,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposEcdsaRegenerateValidateBeforeCall(owner, identifier, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = reposEd25519RegenerateValidateBeforeCall(owner, identifier, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/UserApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/UserApi.java
index 84476047..b6d63651 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/UserApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/UserApi.java
@@ -37,7 +37,7 @@
import java.lang.reflect.Type;
import io.cloudsmith.api.models.ErrorDetail;
-import io.cloudsmith.api.models.InlineResponse2001;
+import io.cloudsmith.api.models.InlineResponse2002;
import io.cloudsmith.api.models.UserAuthToken;
import io.cloudsmith.api.models.UserAuthTokenRequest;
import io.cloudsmith.api.models.UserAuthenticationToken;
@@ -572,11 +572,11 @@ private com.squareup.okhttp.Call userTokensListValidateBeforeCall(java.math.BigI
* Retrieve the API key assigned to the user that is currently authenticated.
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
- * @return InlineResponse2001
+ * @return InlineResponse2002
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public InlineResponse2001 userTokensList(java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
- ApiResponse resp = userTokensListWithHttpInfo(page, pageSize);
+ public InlineResponse2002 userTokensList(java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ ApiResponse resp = userTokensListWithHttpInfo(page, pageSize);
return resp.getData();
}
@@ -585,12 +585,12 @@ public InlineResponse2001 userTokensList(java.math.BigInteger page, java.math.Bi
* Retrieve the API key assigned to the user that is currently authenticated.
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
- * @return ApiResponse<InlineResponse2001>
+ * @return ApiResponse<InlineResponse2002>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse userTokensListWithHttpInfo( java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ public ApiResponse userTokensListWithHttpInfo( java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
com.squareup.okhttp.Call call = userTokensListValidateBeforeCall(page, pageSize, null, null);
- Type localVarReturnType = new TypeToken