Skip to content

Commit 3124c11

Browse files
committed
Update API bindings to version 2.0.21
Binding version: 2.0.21 CloudSmith API version: 1.783.2 - Updated package_version in scripts/common.sh - Regenerated bindings for Python, Ruby, and Java - Ready for automated deployment via CircleCI
1 parent cf0759e commit 3124c11

224 files changed

Lines changed: 31695 additions & 3887 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.

.DS_Store

6 KB
Binary file not shown.

bin/.DS_Store

6 KB
Binary file not shown.

bindings/java/src/README.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Cloudsmith API (v1)
55

66
The API to the Cloudsmith Service
77

8-
For more information, please visit [https://docs.cloudsmith.com/api](https://docs.cloudsmith.com/api)
8+
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
99

1010
*Automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)*
1111

@@ -180,6 +180,8 @@ Class | Method | HTTP request | Description
180180
*OrgsApi* | [**orgsMembersUpdateVisibility**](docs/OrgsApi.md#orgsMembersUpdateVisibility) | **PATCH** /orgs/{org}/members/{member}/update-visibility/ | Update a member's visibility in the organization.
181181
*OrgsApi* | [**orgsOpenidConnectCreate**](docs/OrgsApi.md#orgsOpenidConnectCreate) | **POST** /orgs/{org}/openid-connect/ | Create the OpenID Connect provider settings for the org.
182182
*OrgsApi* | [**orgsOpenidConnectDelete**](docs/OrgsApi.md#orgsOpenidConnectDelete) | **DELETE** /orgs/{org}/openid-connect/{slug_perm}/ | Delete a specific OpenID Connect provider setting for the org.
183+
*OrgsApi* | [**orgsOpenidConnectDynamicMappingsList**](docs/OrgsApi.md#orgsOpenidConnectDynamicMappingsList) | **GET** /orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/ | Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
184+
*OrgsApi* | [**orgsOpenidConnectDynamicMappingsRead**](docs/OrgsApi.md#orgsOpenidConnectDynamicMappingsRead) | **GET** /orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/{claim_value}/ | Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
183185
*OrgsApi* | [**orgsOpenidConnectList**](docs/OrgsApi.md#orgsOpenidConnectList) | **GET** /orgs/{org}/openid-connect/ | Retrieve the list of OpenID Connect provider settings for the org.
184186
*OrgsApi* | [**orgsOpenidConnectPartialUpdate**](docs/OrgsApi.md#orgsOpenidConnectPartialUpdate) | **PATCH** /orgs/{org}/openid-connect/{slug_perm}/ | Update a specific OpenID Connect provider setting for the org.
185187
*OrgsApi* | [**orgsOpenidConnectRead**](docs/OrgsApi.md#orgsOpenidConnectRead) | **GET** /orgs/{org}/openid-connect/{slug_perm}/ | Retrieve a specific OpenID Connect provider setting for the org.
@@ -242,6 +244,7 @@ Class | Method | HTTP request | Description
242244
*PackagesApi* | [**packagesUploadGo**](docs/PackagesApi.md#packagesUploadGo) | **POST** /packages/{owner}/{repo}/upload/go/ | Create a new Go package
243245
*PackagesApi* | [**packagesUploadHelm**](docs/PackagesApi.md#packagesUploadHelm) | **POST** /packages/{owner}/{repo}/upload/helm/ | Create a new Helm package
244246
*PackagesApi* | [**packagesUploadHex**](docs/PackagesApi.md#packagesUploadHex) | **POST** /packages/{owner}/{repo}/upload/hex/ | Create a new Hex package
247+
*PackagesApi* | [**packagesUploadHuggingface**](docs/PackagesApi.md#packagesUploadHuggingface) | **POST** /packages/{owner}/{repo}/upload/huggingface/ | Create a new Hugging Face package
245248
*PackagesApi* | [**packagesUploadLuarocks**](docs/PackagesApi.md#packagesUploadLuarocks) | **POST** /packages/{owner}/{repo}/upload/luarocks/ | Create a new LuaRocks package
246249
*PackagesApi* | [**packagesUploadMaven**](docs/PackagesApi.md#packagesUploadMaven) | **POST** /packages/{owner}/{repo}/upload/maven/ | Create a new Maven package
247250
*PackagesApi* | [**packagesUploadNpm**](docs/PackagesApi.md#packagesUploadNpm) | **POST** /packages/{owner}/{repo}/upload/npm/ | Create a new npm package
@@ -267,6 +270,7 @@ Class | Method | HTTP request | Description
267270
*PackagesApi* | [**packagesValidateUploadGo**](docs/PackagesApi.md#packagesValidateUploadGo) | **POST** /packages/{owner}/{repo}/validate-upload/go/ | Validate parameters for create Go package
268271
*PackagesApi* | [**packagesValidateUploadHelm**](docs/PackagesApi.md#packagesValidateUploadHelm) | **POST** /packages/{owner}/{repo}/validate-upload/helm/ | Validate parameters for create Helm package
269272
*PackagesApi* | [**packagesValidateUploadHex**](docs/PackagesApi.md#packagesValidateUploadHex) | **POST** /packages/{owner}/{repo}/validate-upload/hex/ | Validate parameters for create Hex package
273+
*PackagesApi* | [**packagesValidateUploadHuggingface**](docs/PackagesApi.md#packagesValidateUploadHuggingface) | **POST** /packages/{owner}/{repo}/validate-upload/huggingface/ | Validate parameters for create Hugging Face package
270274
*PackagesApi* | [**packagesValidateUploadLuarocks**](docs/PackagesApi.md#packagesValidateUploadLuarocks) | **POST** /packages/{owner}/{repo}/validate-upload/luarocks/ | Validate parameters for create LuaRocks package
271275
*PackagesApi* | [**packagesValidateUploadMaven**](docs/PackagesApi.md#packagesValidateUploadMaven) | **POST** /packages/{owner}/{repo}/validate-upload/maven/ | Validate parameters for create Maven package
272276
*PackagesApi* | [**packagesValidateUploadNpm**](docs/PackagesApi.md#packagesValidateUploadNpm) | **POST** /packages/{owner}/{repo}/validate-upload/npm/ | Validate parameters for create npm package
@@ -323,6 +327,12 @@ Class | Method | HTTP request | Description
323327
*ReposApi* | [**reposUpstreamComposerPartialUpdate**](docs/ReposApi.md#reposUpstreamComposerPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/composer/{slug_perm}/ | Partially update a Composer upstream config for this repository.
324328
*ReposApi* | [**reposUpstreamComposerRead**](docs/ReposApi.md#reposUpstreamComposerRead) | **GET** /repos/{owner}/{identifier}/upstream/composer/{slug_perm}/ | Retrieve a Composer upstream config for this repository.
325329
*ReposApi* | [**reposUpstreamComposerUpdate**](docs/ReposApi.md#reposUpstreamComposerUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/composer/{slug_perm}/ | Update a Composer upstream config for this repository.
330+
*ReposApi* | [**reposUpstreamCondaCreate**](docs/ReposApi.md#reposUpstreamCondaCreate) | **POST** /repos/{owner}/{identifier}/upstream/conda/ | Create a Conda upstream config for this repository.
331+
*ReposApi* | [**reposUpstreamCondaDelete**](docs/ReposApi.md#reposUpstreamCondaDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Delete a Conda upstream config for this repository.
332+
*ReposApi* | [**reposUpstreamCondaList**](docs/ReposApi.md#reposUpstreamCondaList) | **GET** /repos/{owner}/{identifier}/upstream/conda/ | List Conda upstream configs for this repository.
333+
*ReposApi* | [**reposUpstreamCondaPartialUpdate**](docs/ReposApi.md#reposUpstreamCondaPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Partially update a Conda upstream config for this repository.
334+
*ReposApi* | [**reposUpstreamCondaRead**](docs/ReposApi.md#reposUpstreamCondaRead) | **GET** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Retrieve a Conda upstream config for this repository.
335+
*ReposApi* | [**reposUpstreamCondaUpdate**](docs/ReposApi.md#reposUpstreamCondaUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Update a Conda upstream config for this repository.
326336
*ReposApi* | [**reposUpstreamCranCreate**](docs/ReposApi.md#reposUpstreamCranCreate) | **POST** /repos/{owner}/{identifier}/upstream/cran/ | Create a CRAN upstream config for this repository.
327337
*ReposApi* | [**reposUpstreamCranDelete**](docs/ReposApi.md#reposUpstreamCranDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/cran/{slug_perm}/ | Delete a CRAN upstream config for this repository.
328338
*ReposApi* | [**reposUpstreamCranList**](docs/ReposApi.md#reposUpstreamCranList) | **GET** /repos/{owner}/{identifier}/upstream/cran/ | List CRAN upstream configs for this repository.
@@ -365,6 +375,12 @@ Class | Method | HTTP request | Description
365375
*ReposApi* | [**reposUpstreamHexPartialUpdate**](docs/ReposApi.md#reposUpstreamHexPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/hex/{slug_perm}/ | Partially update a Hex upstream config for this repository.
366376
*ReposApi* | [**reposUpstreamHexRead**](docs/ReposApi.md#reposUpstreamHexRead) | **GET** /repos/{owner}/{identifier}/upstream/hex/{slug_perm}/ | Retrieve a Hex upstream config for this repository.
367377
*ReposApi* | [**reposUpstreamHexUpdate**](docs/ReposApi.md#reposUpstreamHexUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/hex/{slug_perm}/ | Update a Hex upstream config for this repository.
378+
*ReposApi* | [**reposUpstreamHuggingfaceCreate**](docs/ReposApi.md#reposUpstreamHuggingfaceCreate) | **POST** /repos/{owner}/{identifier}/upstream/huggingface/ | Create a Hugging Face upstream config for this repository.
379+
*ReposApi* | [**reposUpstreamHuggingfaceDelete**](docs/ReposApi.md#reposUpstreamHuggingfaceDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Delete a Hugging Face upstream config for this repository.
380+
*ReposApi* | [**reposUpstreamHuggingfaceList**](docs/ReposApi.md#reposUpstreamHuggingfaceList) | **GET** /repos/{owner}/{identifier}/upstream/huggingface/ | List Hugging Face upstream configs for this repository.
381+
*ReposApi* | [**reposUpstreamHuggingfacePartialUpdate**](docs/ReposApi.md#reposUpstreamHuggingfacePartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Partially update a Hugging Face upstream config for this repository.
382+
*ReposApi* | [**reposUpstreamHuggingfaceRead**](docs/ReposApi.md#reposUpstreamHuggingfaceRead) | **GET** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Retrieve a Hugging Face upstream config for this repository.
383+
*ReposApi* | [**reposUpstreamHuggingfaceUpdate**](docs/ReposApi.md#reposUpstreamHuggingfaceUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Update a Hugging Face upstream config for this repository.
368384
*ReposApi* | [**reposUpstreamMavenCreate**](docs/ReposApi.md#reposUpstreamMavenCreate) | **POST** /repos/{owner}/{identifier}/upstream/maven/ | Create a Maven upstream config for this repository.
369385
*ReposApi* | [**reposUpstreamMavenDelete**](docs/ReposApi.md#reposUpstreamMavenDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Delete a Maven upstream config for this repository.
370386
*ReposApi* | [**reposUpstreamMavenList**](docs/ReposApi.md#reposUpstreamMavenList) | **GET** /repos/{owner}/{identifier}/upstream/maven/ | List Maven upstream configs for this repository.
@@ -458,6 +474,9 @@ Class | Method | HTTP request | Description
458474
- [ConanPackageUploadRequest](docs/ConanPackageUploadRequest.md)
459475
- [CondaPackageUpload](docs/CondaPackageUpload.md)
460476
- [CondaPackageUploadRequest](docs/CondaPackageUploadRequest.md)
477+
- [CondaUpstream](docs/CondaUpstream.md)
478+
- [CondaUpstreamRequest](docs/CondaUpstreamRequest.md)
479+
- [CondaUpstreamRequestPatch](docs/CondaUpstreamRequestPatch.md)
461480
- [CranPackageUpload](docs/CranPackageUpload.md)
462481
- [CranPackageUploadRequest](docs/CranPackageUploadRequest.md)
463482
- [CranUpstream](docs/CranUpstream.md)
@@ -481,6 +500,7 @@ Class | Method | HTTP request | Description
481500
- [DockerUpstream](docs/DockerUpstream.md)
482501
- [DockerUpstreamRequest](docs/DockerUpstreamRequest.md)
483502
- [DockerUpstreamRequestPatch](docs/DockerUpstreamRequestPatch.md)
503+
- [DynamicMapping](docs/DynamicMapping.md)
484504
- [EntitlementUsageMetrics](docs/EntitlementUsageMetrics.md)
485505
- [ErrorDetail](docs/ErrorDetail.md)
486506
- [Eula](docs/Eula.md)
@@ -506,6 +526,11 @@ Class | Method | HTTP request | Description
506526
- [History](docs/History.md)
507527
- [HistoryFieldset](docs/HistoryFieldset.md)
508528
- [HistoryFieldsetRaw](docs/HistoryFieldsetRaw.md)
529+
- [HuggingfacePackageUpload](docs/HuggingfacePackageUpload.md)
530+
- [HuggingfacePackageUploadRequest](docs/HuggingfacePackageUploadRequest.md)
531+
- [HuggingfaceUpstream](docs/HuggingfaceUpstream.md)
532+
- [HuggingfaceUpstreamRequest](docs/HuggingfaceUpstreamRequest.md)
533+
- [HuggingfaceUpstreamRequestPatch](docs/HuggingfaceUpstreamRequestPatch.md)
509534
- [InlineResponse200](docs/InlineResponse200.md)
510535
- [InlineResponse2001](docs/InlineResponse2001.md)
511536
- [LuarocksPackageUpload](docs/LuarocksPackageUpload.md)
@@ -594,8 +619,9 @@ Class | Method | HTTP request | Description
594619
- [PackageVulnerabilityPolicyViolationLog](docs/PackageVulnerabilityPolicyViolationLog.md)
595620
- [PackageVulnerabilityPolicyViolationLogCursorPage](docs/PackageVulnerabilityPolicyViolationLogCursorPage.md)
596621
- [ProviderSettings](docs/ProviderSettings.md)
597-
- [ProviderSettingsRequest](docs/ProviderSettingsRequest.md)
598-
- [ProviderSettingsRequestPatch](docs/ProviderSettingsRequestPatch.md)
622+
- [ProviderSettingsWrite](docs/ProviderSettingsWrite.md)
623+
- [ProviderSettingsWriteRequest](docs/ProviderSettingsWriteRequest.md)
624+
- [ProviderSettingsWriteRequestPatch](docs/ProviderSettingsWriteRequestPatch.md)
599625
- [PythonPackageUpload](docs/PythonPackageUpload.md)
600626
- [PythonPackageUploadRequest](docs/PythonPackageUploadRequest.md)
601627
- [PythonUpstream](docs/PythonUpstream.md)
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
2+
# CondaUpstream
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
8+
**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
9+
**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
10+
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the upstream source was created. | [optional]
11+
**disableReason** | [**DisableReasonEnum**](#DisableReasonEnum) | | [optional]
12+
**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
13+
**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
14+
**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
15+
**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
16+
**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
17+
**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]
18+
**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. |
19+
**pendingValidation** | **Boolean** | When true, this upstream source is pending validation. | [optional]
20+
**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
21+
**slugPerm** | **String** | | [optional]
22+
**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
23+
**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. |
24+
**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It'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]
25+
26+
27+
<a name="AuthModeEnum"></a>
28+
## Enum: AuthModeEnum
29+
Name | Value
30+
---- | -----
31+
NONE | &quot;None&quot;
32+
USERNAME_AND_PASSWORD | &quot;Username and Password&quot;
33+
34+
35+
<a name="DisableReasonEnum"></a>
36+
## Enum: DisableReasonEnum
37+
Name | Value
38+
---- | -----
39+
N_A | &quot;N/A&quot;
40+
UPSTREAM_POINTS_TO_ITS_OWN_REPOSITORY | &quot;Upstream points to its own repository&quot;
41+
MISSING_UPSTREAM_SOURCE | &quot;Missing upstream source&quot;
42+
UPSTREAM_WAS_DISABLED_BY_REQUEST_OF_USER | &quot;Upstream was disabled by request of user&quot;
43+
44+
45+
<a name="ModeEnum"></a>
46+
## Enum: ModeEnum
47+
Name | Value
48+
---- | -----
49+
PROXY_ONLY | &quot;Proxy Only&quot;
50+
CACHE_AND_PROXY | &quot;Cache and Proxy&quot;
51+
52+
53+
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
# CondaUpstreamRequest
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
8+
**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
9+
**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
10+
**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
11+
**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
12+
**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13+
**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
14+
**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
15+
**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]
16+
**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. |
17+
**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
18+
**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. |
19+
**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]
20+
21+
22+
<a name="AuthModeEnum"></a>
23+
## Enum: AuthModeEnum
24+
Name | Value
25+
---- | -----
26+
NONE | &quot;None&quot;
27+
USERNAME_AND_PASSWORD | &quot;Username and Password&quot;
28+
29+
30+
<a name="ModeEnum"></a>
31+
## Enum: ModeEnum
32+
Name | Value
33+
---- | -----
34+
PROXY_ONLY | &quot;Proxy Only&quot;
35+
CACHE_AND_PROXY | &quot;Cache and Proxy&quot;
36+
37+
38+

0 commit comments

Comments
 (0)