Skip to content

Commit 9855575

Browse files
feat: update bindings to v2.0.26 (API v1.1137.0) (#89)
* feat: update bindings to v2.0.26 (API v1.1137.0) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix Ruby syntax errors: escape apostrophe in upstream disable_reason enum values swagger-codegen emits 'RSA key did not verify the upstream's APKINDEX signature' as a single-quoted Ruby string, but the apostrophe in upstream's breaks the string literal. Escape it as upstream\'s in all 20 affected model files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent bf365b3 commit 9855575

257 files changed

Lines changed: 14628 additions & 400 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bindings/java/src/README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
4040
<dependency>
4141
<groupId>io.cloudsmith.api</groupId>
4242
<artifactId>cloudsmith-api</artifactId>
43-
<version>2.0.25</version>
43+
<version>2.0.26</version>
4444
<scope>compile</scope>
4545
</dependency>
4646
```
@@ -50,7 +50,7 @@ Add this dependency to your project's POM:
5050
Add this dependency to your project's build file:
5151

5252
```groovy
53-
compile "io.cloudsmith.api:cloudsmith-api:2.0.25"
53+
compile "io.cloudsmith.api:cloudsmith-api:2.0.26"
5454
```
5555

5656
### Others
@@ -63,7 +63,7 @@ mvn clean package
6363

6464
Then manually install the following JARs:
6565

66-
* `target/cloudsmith-api-2.0.25.jar`
66+
* `target/cloudsmith-api-2.0.26.jar`
6767
* `target/lib/*.jar`
6868

6969
## Getting Started
@@ -136,6 +136,7 @@ Class | Method | HTTP request | Description
136136
*EntitlementsApi* | [**entitlementsRefresh**](docs/EntitlementsApi.md#entitlementsRefresh) | **POST** /entitlements/{owner}/{repo}/{identifier}/refresh/ | Refresh an entitlement token in a repository.
137137
*EntitlementsApi* | [**entitlementsReset**](docs/EntitlementsApi.md#entitlementsReset) | **POST** /entitlements/{owner}/{repo}/{identifier}/reset/ | Reset the statistics for an entitlement token in a repository.
138138
*EntitlementsApi* | [**entitlementsSync**](docs/EntitlementsApi.md#entitlementsSync) | **POST** /entitlements/{owner}/{repo}/sync/ | Synchronise tokens from a source repository.
139+
*EntitlementsApi* | [**entitlementsTogglePrivateBroadcasts**](docs/EntitlementsApi.md#entitlementsTogglePrivateBroadcasts) | **POST** /entitlements/{owner}/{repo}/{identifier}/toggle-private-broadcasts/ | Set private broadcast access for an entitlement token in a repository.
139140
*FilesApi* | [**filesAbort**](docs/FilesApi.md#filesAbort) | **POST** /files/{owner}/{repo}/{identifier}/abort/ | Abort a multipart file upload.
140141
*FilesApi* | [**filesComplete**](docs/FilesApi.md#filesComplete) | **POST** /files/{owner}/{repo}/{identifier}/complete/ | Complete a multipart file upload.
141142
*FilesApi* | [**filesCreate**](docs/FilesApi.md#filesCreate) | **POST** /files/{owner}/{repo}/ | Request URL(s) to upload new package file upload(s) to.
@@ -251,6 +252,7 @@ Class | Method | HTTP request | Description
251252
*PackagesApi* | [**packagesUploadHuggingface**](docs/PackagesApi.md#packagesUploadHuggingface) | **POST** /packages/{owner}/{repo}/upload/huggingface/ | Create a new HuggingFace package
252253
*PackagesApi* | [**packagesUploadLuarocks**](docs/PackagesApi.md#packagesUploadLuarocks) | **POST** /packages/{owner}/{repo}/upload/luarocks/ | Create a new LuaRocks package
253254
*PackagesApi* | [**packagesUploadMaven**](docs/PackagesApi.md#packagesUploadMaven) | **POST** /packages/{owner}/{repo}/upload/maven/ | Create a new Maven package
255+
*PackagesApi* | [**packagesUploadMcp**](docs/PackagesApi.md#packagesUploadMcp) | **POST** /packages/{owner}/{repo}/upload/mcp/ | Create a new MCP package
254256
*PackagesApi* | [**packagesUploadNpm**](docs/PackagesApi.md#packagesUploadNpm) | **POST** /packages/{owner}/{repo}/upload/npm/ | Create a new npm package
255257
*PackagesApi* | [**packagesUploadNuget**](docs/PackagesApi.md#packagesUploadNuget) | **POST** /packages/{owner}/{repo}/upload/nuget/ | Create a new NuGet package
256258
*PackagesApi* | [**packagesUploadP2**](docs/PackagesApi.md#packagesUploadP2) | **POST** /packages/{owner}/{repo}/upload/p2/ | Create a new P2 package
@@ -279,6 +281,7 @@ Class | Method | HTTP request | Description
279281
*PackagesApi* | [**packagesValidateUploadHuggingface**](docs/PackagesApi.md#packagesValidateUploadHuggingface) | **POST** /packages/{owner}/{repo}/validate-upload/huggingface/ | Validate parameters for create HuggingFace package
280282
*PackagesApi* | [**packagesValidateUploadLuarocks**](docs/PackagesApi.md#packagesValidateUploadLuarocks) | **POST** /packages/{owner}/{repo}/validate-upload/luarocks/ | Validate parameters for create LuaRocks package
281283
*PackagesApi* | [**packagesValidateUploadMaven**](docs/PackagesApi.md#packagesValidateUploadMaven) | **POST** /packages/{owner}/{repo}/validate-upload/maven/ | Validate parameters for create Maven package
284+
*PackagesApi* | [**packagesValidateUploadMcp**](docs/PackagesApi.md#packagesValidateUploadMcp) | **POST** /packages/{owner}/{repo}/validate-upload/mcp/ | Validate parameters for create MCP package
282285
*PackagesApi* | [**packagesValidateUploadNpm**](docs/PackagesApi.md#packagesValidateUploadNpm) | **POST** /packages/{owner}/{repo}/validate-upload/npm/ | Validate parameters for create npm package
283286
*PackagesApi* | [**packagesValidateUploadNuget**](docs/PackagesApi.md#packagesValidateUploadNuget) | **POST** /packages/{owner}/{repo}/validate-upload/nuget/ | Validate parameters for create NuGet package
284287
*PackagesApi* | [**packagesValidateUploadP2**](docs/PackagesApi.md#packagesValidateUploadP2) | **POST** /packages/{owner}/{repo}/validate-upload/p2/ | Validate parameters for create P2 package
@@ -295,11 +298,13 @@ Class | Method | HTTP request | Description
295298
*QuotaApi* | [**quotaOssRead**](docs/QuotaApi.md#quotaOssRead) | **GET** /quota/oss/{owner}/ | Open-source Quota usage for a given namespace.
296299
*QuotaApi* | [**quotaRead**](docs/QuotaApi.md#quotaRead) | **GET** /quota/{owner}/ | Quota usage for a given namespace.
297300
*RatesApi* | [**ratesLimitsList**](docs/RatesApi.md#ratesLimitsList) | **GET** /rates/limits/ | Endpoint to check rate limits for current user.
301+
*RecycleBinApi* | [**recycleBinList**](docs/RecycleBinApi.md#recycleBinList) | **GET** /recycle-bin/{owner}/ | List soft-deleted packages in recycle bin
302+
*RecycleBinApi* | [**recycleBinRecycleBinAction**](docs/RecycleBinApi.md#recycleBinRecycleBinAction) | **POST** /recycle-bin/{owner}/action/ |
298303
*ReposApi* | [**apiReposGeoipStatus**](docs/ReposApi.md#apiReposGeoipStatus) | **GET** /repos/{owner}/{identifier}/geoip/status/ | Retrieve the GeoIP status for this repository.
299304
*ReposApi* | [**repoRetentionPartialUpdate**](docs/ReposApi.md#repoRetentionPartialUpdate) | **PATCH** /repos/{owner}/{repo}/retention/ | Update the retention rules for the repository.
300305
*ReposApi* | [**repoRetentionRead**](docs/ReposApi.md#repoRetentionRead) | **GET** /repos/{owner}/{repo}/retention/ | Retrieve the retention rules for the repository.
301306
*ReposApi* | [**reposCreate**](docs/ReposApi.md#reposCreate) | **POST** /repos/{owner}/ | Create a new repository in a given namespace.
302-
*ReposApi* | [**reposDelete**](docs/ReposApi.md#reposDelete) | **DELETE** /repos/{owner}/{identifier}/ | Delete a repository in a given namespace.
307+
*ReposApi* | [**reposDelete**](docs/ReposApi.md#reposDelete) | **DELETE** /repos/{owner}/{identifier}/ |
303308
*ReposApi* | [**reposEcdsaCreate**](docs/ReposApi.md#reposEcdsaCreate) | **POST** /repos/{owner}/{identifier}/ecdsa/ | Set the active ECDSA key for the Repository.
304309
*ReposApi* | [**reposEcdsaList**](docs/ReposApi.md#reposEcdsaList) | **GET** /repos/{owner}/{identifier}/ecdsa/ | Retrieve the active ECDSA key for the Repository.
305310
*ReposApi* | [**reposEcdsaRegenerate**](docs/ReposApi.md#reposEcdsaRegenerate) | **POST** /repos/{owner}/{identifier}/ecdsa/regenerate/ | Regenerate ECDSA Key for the Repository.
@@ -569,6 +574,8 @@ Class | Method | HTTP request | Description
569574
- [MavenUpstream](docs/MavenUpstream.md)
570575
- [MavenUpstreamRequest](docs/MavenUpstreamRequest.md)
571576
- [MavenUpstreamRequestPatch](docs/MavenUpstreamRequestPatch.md)
577+
- [McpPackageUpload](docs/McpPackageUpload.md)
578+
- [McpPackageUploadRequest](docs/McpPackageUploadRequest.md)
572579
- [ModelPackage](docs/ModelPackage.md)
573580
- [Namespace](docs/Namespace.md)
574581
- [NamespaceAuditLog](docs/NamespaceAuditLog.md)
@@ -640,6 +647,7 @@ Class | Method | HTTP request | Description
640647
- [PackageMoveRequest](docs/PackageMoveRequest.md)
641648
- [PackageQuarantine](docs/PackageQuarantine.md)
642649
- [PackageQuarantineRequest](docs/PackageQuarantineRequest.md)
650+
- [PackageRecycleBin](docs/PackageRecycleBin.md)
643651
- [PackageResync](docs/PackageResync.md)
644652
- [PackageStatus](docs/PackageStatus.md)
645653
- [PackageTag](docs/PackageTag.md)
@@ -665,6 +673,7 @@ Class | Method | HTTP request | Description
665673
- [RateCheck](docs/RateCheck.md)
666674
- [RawPackageUpload](docs/RawPackageUpload.md)
667675
- [RawPackageUploadRequest](docs/RawPackageUploadRequest.md)
676+
- [RecycleBinPackage](docs/RecycleBinPackage.md)
668677
- [Repository](docs/Repository.md)
669678
- [RepositoryAuditLog](docs/RepositoryAuditLog.md)
670679
- [RepositoryCreate](docs/RepositoryCreate.md)
@@ -693,6 +702,8 @@ Class | Method | HTTP request | Description
693702
- [RepositoryRsaKeyCreate](docs/RepositoryRsaKeyCreate.md)
694703
- [RepositoryToken](docs/RepositoryToken.md)
695704
- [RepositoryTokenAction](docs/RepositoryTokenAction.md)
705+
- [RepositoryTokenPrivateBroadcasts](docs/RepositoryTokenPrivateBroadcasts.md)
706+
- [RepositoryTokenPrivateBroadcastsRequest](docs/RepositoryTokenPrivateBroadcastsRequest.md)
696707
- [RepositoryTokenRefresh](docs/RepositoryTokenRefresh.md)
697708
- [RepositoryTokenRefreshRequest](docs/RepositoryTokenRefreshRequest.md)
698709
- [RepositoryTokenRequest](docs/RepositoryTokenRequest.md)

bindings/java/src/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'io.cloudsmith.api'
5-
version = '2.0.25'
5+
version = '2.0.26'
66

77
buildscript {
88
repositories {

bindings/java/src/build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"apiPackage": "io.cloudsmith.api.apis",
44
"artifactId": "cloudsmith-api",
55
"artifactUrl": "https://api.cloudsmith.io/?format=openapi",
6-
"artifactVersion": "2.0.25",
6+
"artifactVersion": "2.0.26",
77
"artifactDescription": "Cloudsmith API",
88
"dateLibrary": "java8",
99
"developerName": "Cloudsmith Ltd",

bindings/java/src/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "io.cloudsmith.api",
44
name := "cloudsmith-api",
5-
version := "2.0.25",
5+
version := "2.0.26",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

bindings/java/src/docs/AlpineUpstream.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Name | Type | Description | Notes
2525
**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
2626
**pendingValidation** | **Boolean** | When true, this upstream source is pending validation. | [optional]
2727
**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
28+
**rsaKeyInline** | **String** | A base64-encoded RSA public key in PEM format used to verify package signatures. | [optional]
29+
**rsaKeyUrl** | **String** | When provided, Cloudsmith will fetch and validate the RSA public key at this URL and use it to verify package signatures from this upstream. | [optional]
30+
**rsaVerification** | [**RsaVerificationEnum**](#RsaVerificationEnum) | The RSA signature verification mode for this upstream. | [optional]
31+
**rsaVerificationStatus** | [**RsaVerificationStatusEnum**](#RsaVerificationStatusEnum) | The RSA signature verification status for this upstream. | [optional]
2832
**slugPerm** | **String** | | [optional]
2933
**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
3034
**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
@@ -46,6 +50,7 @@ Name | Value
4650
N_A | &quot;N/A&quot;
4751
UPSTREAM_POINTS_TO_ITS_OWN_REPOSITORY | &quot;Upstream points to its own repository&quot;
4852
MISSING_UPSTREAM_SOURCE | &quot;Missing upstream source&quot;
53+
RSA_KEY_DID_NOT_VERIFY_THE_UPSTREAM_S_APKINDEX_SIGNATURE | &quot;RSA key did not verify the upstream&#39;s APKINDEX signature&quot;
4954
UPSTREAM_WAS_DISABLED_BY_REQUEST_OF_USER | &quot;Upstream was disabled by request of user&quot;
5055

5156

@@ -57,4 +62,23 @@ PROXY_ONLY | &quot;Proxy Only&quot;
5762
CACHE_AND_PROXY | &quot;Cache and Proxy&quot;
5863

5964

65+
<a name="RsaVerificationEnum"></a>
66+
## Enum: RsaVerificationEnum
67+
Name | Value
68+
---- | -----
69+
ALLOW_ALL | &quot;Allow All&quot;
70+
WARN_ON_INVALID | &quot;Warn on Invalid&quot;
71+
REJECT_INVALID | &quot;Reject Invalid&quot;
72+
73+
74+
<a name="RsaVerificationStatusEnum"></a>
75+
## Enum: RsaVerificationStatusEnum
76+
Name | Value
77+
---- | -----
78+
UNKNOWN | &quot;Unknown&quot;
79+
INVALID | &quot;Invalid&quot;
80+
VALID | &quot;Valid&quot;
81+
INVALID_NO_KEY_ | &quot;Invalid (No Key)&quot;
82+
83+
6084

bindings/java/src/docs/AlpineUpstreamRequest.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Name | Type | Description | Notes
1515
**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
1616
**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
1717
**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
18+
**rsaKeyUrl** | **String** | When provided, Cloudsmith will fetch and validate the RSA public key at this URL and use it to verify package signatures from this upstream. | [optional]
19+
**rsaVerification** | [**RsaVerificationEnum**](#RsaVerificationEnum) | The RSA signature verification mode for this upstream. | [optional]
1820
**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
1921
**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It&#39;s recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
2022

@@ -35,4 +37,13 @@ PROXY_ONLY | &quot;Proxy Only&quot;
3537
CACHE_AND_PROXY | &quot;Cache and Proxy&quot;
3638

3739

40+
<a name="RsaVerificationEnum"></a>
41+
## Enum: RsaVerificationEnum
42+
Name | Value
43+
---- | -----
44+
ALLOW_ALL | &quot;Allow All&quot;
45+
WARN_ON_INVALID | &quot;Warn on Invalid&quot;
46+
REJECT_INVALID | &quot;Reject Invalid&quot;
47+
48+
3849

bindings/java/src/docs/AlpineUpstreamRequestPatch.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Name | Type | Description | Notes
1515
**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
1616
**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional]
1717
**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
18+
**rsaKeyUrl** | **String** | When provided, Cloudsmith will fetch and validate the RSA public key at this URL and use it to verify package signatures from this upstream. | [optional]
19+
**rsaVerification** | [**RsaVerificationEnum**](#RsaVerificationEnum) | The RSA signature verification mode for this upstream. | [optional]
1820
**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional]
1921
**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It&#39;s recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
2022

@@ -35,4 +37,13 @@ PROXY_ONLY | &quot;Proxy Only&quot;
3537
CACHE_AND_PROXY | &quot;Cache and Proxy&quot;
3638

3739

40+
<a name="RsaVerificationEnum"></a>
41+
## Enum: RsaVerificationEnum
42+
Name | Value
43+
---- | -----
44+
ALLOW_ALL | &quot;Allow All&quot;
45+
WARN_ON_INVALID | &quot;Warn on Invalid&quot;
46+
REJECT_INVALID | &quot;Reject Invalid&quot;
47+
48+
3849

bindings/java/src/docs/CargoUpstream.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Name | Value
4646
N_A | &quot;N/A&quot;
4747
UPSTREAM_POINTS_TO_ITS_OWN_REPOSITORY | &quot;Upstream points to its own repository&quot;
4848
MISSING_UPSTREAM_SOURCE | &quot;Missing upstream source&quot;
49+
RSA_KEY_DID_NOT_VERIFY_THE_UPSTREAM_S_APKINDEX_SIGNATURE | &quot;RSA key did not verify the upstream&#39;s APKINDEX signature&quot;
4950
UPSTREAM_WAS_DISABLED_BY_REQUEST_OF_USER | &quot;Upstream was disabled by request of user&quot;
5051

5152

bindings/java/src/docs/ComposerUpstream.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Name | Value
4646
N_A | &quot;N/A&quot;
4747
UPSTREAM_POINTS_TO_ITS_OWN_REPOSITORY | &quot;Upstream points to its own repository&quot;
4848
MISSING_UPSTREAM_SOURCE | &quot;Missing upstream source&quot;
49+
RSA_KEY_DID_NOT_VERIFY_THE_UPSTREAM_S_APKINDEX_SIGNATURE | &quot;RSA key did not verify the upstream&#39;s APKINDEX signature&quot;
4950
UPSTREAM_WAS_DISABLED_BY_REQUEST_OF_USER | &quot;Upstream was disabled by request of user&quot;
5051

5152

bindings/java/src/docs/CondaUpstream.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Name | Value
4646
N_A | &quot;N/A&quot;
4747
UPSTREAM_POINTS_TO_ITS_OWN_REPOSITORY | &quot;Upstream points to its own repository&quot;
4848
MISSING_UPSTREAM_SOURCE | &quot;Missing upstream source&quot;
49+
RSA_KEY_DID_NOT_VERIFY_THE_UPSTREAM_S_APKINDEX_SIGNATURE | &quot;RSA key did not verify the upstream&#39;s APKINDEX signature&quot;
4950
UPSTREAM_WAS_DISABLED_BY_REQUEST_OF_USER | &quot;Upstream was disabled by request of user&quot;
5051

5152

0 commit comments

Comments
 (0)