cloudsmith-api 2.0.12 → 2.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +14 -5
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +7 -0
  6. data/docs/CargoPackageUpload.md +7 -0
  7. data/docs/CocoapodsPackageUpload.md +7 -0
  8. data/docs/ComposerPackageUpload.md +7 -0
  9. data/docs/ConanPackageUpload.md +7 -0
  10. data/docs/CondaPackageUpload.md +7 -0
  11. data/docs/CranPackageUpload.md +7 -0
  12. data/docs/DartPackageUpload.md +7 -0
  13. data/docs/DebPackageUpload.md +7 -0
  14. data/docs/DockerPackageUpload.md +7 -0
  15. data/docs/GoPackageUpload.md +7 -0
  16. data/docs/HelmPackageUpload.md +7 -0
  17. data/docs/HexPackageUpload.md +7 -0
  18. data/docs/LuarocksPackageUpload.md +7 -0
  19. data/docs/MavenPackageUpload.md +7 -0
  20. data/docs/NpmPackageUpload.md +7 -0
  21. data/docs/NugetPackageUpload.md +7 -0
  22. data/docs/OrganizationMembership.md +1 -1
  23. data/docs/OrgsApi.md +358 -0
  24. data/docs/P2PackageUpload.md +7 -0
  25. data/docs/Package.md +7 -0
  26. data/docs/PackageCopy.md +7 -0
  27. data/docs/PackageMove.md +7 -0
  28. data/docs/PackageQuarantine.md +7 -0
  29. data/docs/PackageResync.md +7 -0
  30. data/docs/PackageStatus.md +7 -0
  31. data/docs/PackageTag.md +7 -0
  32. data/docs/PackagesApi.md +4 -4
  33. data/docs/ProviderSettings.md +14 -0
  34. data/docs/ProviderSettingsRequest.md +12 -0
  35. data/docs/ProviderSettingsRequestPatch.md +12 -0
  36. data/docs/PythonPackageUpload.md +7 -0
  37. data/docs/RawPackageUpload.md +7 -0
  38. data/docs/RpmPackageUpload.md +7 -0
  39. data/docs/RubyPackageUpload.md +7 -0
  40. data/docs/StatusBasic.md +1 -1
  41. data/docs/SwiftPackageUpload.md +7 -0
  42. data/docs/TerraformPackageUpload.md +7 -0
  43. data/docs/VagrantPackageUpload.md +7 -0
  44. data/lib/cloudsmith-api/api/orgs_api.rb +358 -0
  45. data/lib/cloudsmith-api/api/packages_api.rb +4 -4
  46. data/lib/cloudsmith-api/models/alpine_package_upload.rb +64 -1
  47. data/lib/cloudsmith-api/models/cargo_package_upload.rb +64 -1
  48. data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +64 -1
  49. data/lib/cloudsmith-api/models/composer_package_upload.rb +64 -1
  50. data/lib/cloudsmith-api/models/conan_package_upload.rb +64 -1
  51. data/lib/cloudsmith-api/models/conda_package_upload.rb +64 -1
  52. data/lib/cloudsmith-api/models/cran_package_upload.rb +64 -1
  53. data/lib/cloudsmith-api/models/dart_package_upload.rb +64 -1
  54. data/lib/cloudsmith-api/models/deb_package_upload.rb +64 -1
  55. data/lib/cloudsmith-api/models/docker_package_upload.rb +64 -1
  56. data/lib/cloudsmith-api/models/go_package_upload.rb +64 -1
  57. data/lib/cloudsmith-api/models/helm_package_upload.rb +64 -1
  58. data/lib/cloudsmith-api/models/hex_package_upload.rb +64 -1
  59. data/lib/cloudsmith-api/models/luarocks_package_upload.rb +64 -1
  60. data/lib/cloudsmith-api/models/maven_package_upload.rb +64 -1
  61. data/lib/cloudsmith-api/models/npm_package_upload.rb +64 -1
  62. data/lib/cloudsmith-api/models/nuget_package_upload.rb +64 -1
  63. data/lib/cloudsmith-api/models/organization_membership.rb +1 -1
  64. data/lib/cloudsmith-api/models/p2_package_upload.rb +64 -1
  65. data/lib/cloudsmith-api/models/package.rb +64 -1
  66. data/lib/cloudsmith-api/models/package_copy.rb +64 -1
  67. data/lib/cloudsmith-api/models/package_move.rb +64 -1
  68. data/lib/cloudsmith-api/models/package_quarantine.rb +64 -1
  69. data/lib/cloudsmith-api/models/package_resync.rb +64 -1
  70. data/lib/cloudsmith-api/models/package_status.rb +64 -1
  71. data/lib/cloudsmith-api/models/package_tag.rb +64 -1
  72. data/lib/cloudsmith-api/models/provider_settings.rb +272 -0
  73. data/lib/cloudsmith-api/models/provider_settings_request.rb +252 -0
  74. data/lib/cloudsmith-api/models/provider_settings_request_patch.rb +227 -0
  75. data/lib/cloudsmith-api/models/python_package_upload.rb +64 -1
  76. data/lib/cloudsmith-api/models/raw_package_upload.rb +64 -1
  77. data/lib/cloudsmith-api/models/rpm_package_upload.rb +64 -1
  78. data/lib/cloudsmith-api/models/ruby_package_upload.rb +64 -1
  79. data/lib/cloudsmith-api/models/status_basic.rb +1 -1
  80. data/lib/cloudsmith-api/models/swift_package_upload.rb +64 -1
  81. data/lib/cloudsmith-api/models/terraform_package_upload.rb +64 -1
  82. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +64 -1
  83. data/lib/cloudsmith-api/version.rb +1 -1
  84. data/lib/cloudsmith-api.rb +3 -0
  85. data/spec/api/orgs_api_spec.rb +81 -0
  86. data/spec/api/packages_api_spec.rb +2 -2
  87. data/spec/models/alpine_package_upload_spec.rb +42 -0
  88. data/spec/models/cargo_package_upload_spec.rb +42 -0
  89. data/spec/models/cocoapods_package_upload_spec.rb +42 -0
  90. data/spec/models/composer_package_upload_spec.rb +42 -0
  91. data/spec/models/conan_package_upload_spec.rb +42 -0
  92. data/spec/models/conda_package_upload_spec.rb +42 -0
  93. data/spec/models/cran_package_upload_spec.rb +42 -0
  94. data/spec/models/dart_package_upload_spec.rb +42 -0
  95. data/spec/models/deb_package_upload_spec.rb +42 -0
  96. data/spec/models/docker_package_upload_spec.rb +42 -0
  97. data/spec/models/go_package_upload_spec.rb +42 -0
  98. data/spec/models/helm_package_upload_spec.rb +42 -0
  99. data/spec/models/hex_package_upload_spec.rb +42 -0
  100. data/spec/models/luarocks_package_upload_spec.rb +42 -0
  101. data/spec/models/maven_package_upload_spec.rb +42 -0
  102. data/spec/models/npm_package_upload_spec.rb +42 -0
  103. data/spec/models/nuget_package_upload_spec.rb +42 -0
  104. data/spec/models/p2_package_upload_spec.rb +42 -0
  105. data/spec/models/package_copy_spec.rb +42 -0
  106. data/spec/models/package_move_spec.rb +42 -0
  107. data/spec/models/package_quarantine_spec.rb +42 -0
  108. data/spec/models/package_resync_spec.rb +42 -0
  109. data/spec/models/package_spec.rb +42 -0
  110. data/spec/models/package_status_spec.rb +42 -0
  111. data/spec/models/package_tag_spec.rb +42 -0
  112. data/spec/models/provider_settings_request_patch_spec.rb +65 -0
  113. data/spec/models/provider_settings_request_spec.rb +65 -0
  114. data/spec/models/provider_settings_spec.rb +77 -0
  115. data/spec/models/python_package_upload_spec.rb +42 -0
  116. data/spec/models/raw_package_upload_spec.rb +42 -0
  117. data/spec/models/rpm_package_upload_spec.rb +42 -0
  118. data/spec/models/ruby_package_upload_spec.rb +42 -0
  119. data/spec/models/swift_package_upload_spec.rb +42 -0
  120. data/spec/models/terraform_package_upload_spec.rb +42 -0
  121. data/spec/models/vagrant_package_upload_spec.rb +42 -0
  122. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.21/gem_make.out +1 -1
  123. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7/gem_make.out +2 -2
  124. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7/mkmf.log +5 -5
  125. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/gem_make.out +2 -2
  126. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/mkmf.log +1 -1
  127. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/gem_make.out +1 -1
  128. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/mkmf.log +1 -1
  129. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal/Makefile +2 -2
  130. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +2 -2
  131. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/Makefile +2 -2
  132. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/Makefile +2 -2
  133. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/parser/Makefile +2 -2
  134. metadata +15 -3
data/docs/OrgsApi.md CHANGED
@@ -32,6 +32,12 @@ Method | HTTP request | Description
32
32
  [**orgs_members_read**](OrgsApi.md#orgs_members_read) | **GET** /orgs/{org}/members/{member}/ | Get the details for a specific organization member.
33
33
  [**orgs_members_refresh**](OrgsApi.md#orgs_members_refresh) | **POST** /orgs/{org}/members/{member}/refresh/ | Refresh a member of the organization's API key.
34
34
  [**orgs_members_remove**](OrgsApi.md#orgs_members_remove) | **GET** /orgs/{org}/members/{member}/remove/ | Removes a member from the organization (deprecated, use DELETE instead).
35
+ [**orgs_openid_connect_create**](OrgsApi.md#orgs_openid_connect_create) | **POST** /orgs/{org}/openid-connect/ | Create the OpenID Connect provider settings for the org.
36
+ [**orgs_openid_connect_delete**](OrgsApi.md#orgs_openid_connect_delete) | **DELETE** /orgs/{org}/openid-connect/{slug_perm}/ | Delete a specific OpenID Connect provider setting for the org.
37
+ [**orgs_openid_connect_list**](OrgsApi.md#orgs_openid_connect_list) | **GET** /orgs/{org}/openid-connect/ | Retrieve the list of OpenID Connect provider settings for the org.
38
+ [**orgs_openid_connect_partial_update**](OrgsApi.md#orgs_openid_connect_partial_update) | **PATCH** /orgs/{org}/openid-connect/{slug_perm}/ | Update a specific OpenID Connect provider setting for the org.
39
+ [**orgs_openid_connect_read**](OrgsApi.md#orgs_openid_connect_read) | **GET** /orgs/{org}/openid-connect/{slug_perm}/ | Retrieve a specific OpenID Connect provider setting for the org.
40
+ [**orgs_openid_connect_update**](OrgsApi.md#orgs_openid_connect_update) | **PUT** /orgs/{org}/openid-connect/{slug_perm}/ | Update a specific OpenID Connect provider setting for the org.
35
41
  [**orgs_read**](OrgsApi.md#orgs_read) | **GET** /orgs/{org}/ | Get the details for the specific organization.
36
42
  [**orgs_saml_group_sync_create**](OrgsApi.md#orgs_saml_group_sync_create) | **POST** /orgs/{org}/saml-group-sync/ | Create a new SAML Group Sync mapping within an organization.
37
43
  [**orgs_saml_group_sync_delete**](OrgsApi.md#orgs_saml_group_sync_delete) | **DELETE** /orgs/{org}/saml-group-sync/{slug_perm}/ | Delete a SAML Group Sync mapping from an organization.
@@ -1705,6 +1711,358 @@ nil (empty response body)
1705
1711
 
1706
1712
 
1707
1713
 
1714
+ # **orgs_openid_connect_create**
1715
+ > orgs_openid_connect_create(org, opts)
1716
+
1717
+ Create the OpenID Connect provider settings for the org.
1718
+
1719
+ Create the OpenID Connect provider settings for the org.
1720
+
1721
+ ### Example
1722
+ ```ruby
1723
+ # load the gem
1724
+ require 'cloudsmith-api'
1725
+ # setup authorization
1726
+ CloudsmithApi.configure do |config|
1727
+ # Configure API key authorization: apikey
1728
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
1729
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1730
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
1731
+ end
1732
+
1733
+ api_instance = CloudsmithApi::OrgsApi.new
1734
+
1735
+ org = 'org_example' # String |
1736
+
1737
+ opts = {
1738
+ data: CloudsmithApi::ProviderSettingsRequest.new # ProviderSettingsRequest |
1739
+ }
1740
+
1741
+ begin
1742
+ #Create the OpenID Connect provider settings for the org.
1743
+ api_instance.orgs_openid_connect_create(org, opts)
1744
+ rescue CloudsmithApi::ApiError => e
1745
+ puts "Exception when calling OrgsApi->orgs_openid_connect_create: #{e}"
1746
+ end
1747
+ ```
1748
+
1749
+ ### Parameters
1750
+
1751
+ Name | Type | Description | Notes
1752
+ ------------- | ------------- | ------------- | -------------
1753
+ **org** | **String**| |
1754
+ **data** | [**ProviderSettingsRequest**](ProviderSettingsRequest.md)| | [optional]
1755
+
1756
+ ### Return type
1757
+
1758
+ nil (empty response body)
1759
+
1760
+ ### Authorization
1761
+
1762
+ [apikey](../README.md#apikey)
1763
+
1764
+ ### HTTP request headers
1765
+
1766
+ - **Content-Type**: application/json
1767
+ - **Accept**: application/json
1768
+
1769
+
1770
+
1771
+ # **orgs_openid_connect_delete**
1772
+ > orgs_openid_connect_delete(org, slug_perm)
1773
+
1774
+ Delete a specific OpenID Connect provider setting for the org.
1775
+
1776
+ Delete a specific OpenID Connect provider setting for the org.
1777
+
1778
+ ### Example
1779
+ ```ruby
1780
+ # load the gem
1781
+ require 'cloudsmith-api'
1782
+ # setup authorization
1783
+ CloudsmithApi.configure do |config|
1784
+ # Configure API key authorization: apikey
1785
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
1786
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1787
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
1788
+ end
1789
+
1790
+ api_instance = CloudsmithApi::OrgsApi.new
1791
+
1792
+ org = 'org_example' # String |
1793
+
1794
+ slug_perm = 'slug_perm_example' # String |
1795
+
1796
+
1797
+ begin
1798
+ #Delete a specific OpenID Connect provider setting for the org.
1799
+ api_instance.orgs_openid_connect_delete(org, slug_perm)
1800
+ rescue CloudsmithApi::ApiError => e
1801
+ puts "Exception when calling OrgsApi->orgs_openid_connect_delete: #{e}"
1802
+ end
1803
+ ```
1804
+
1805
+ ### Parameters
1806
+
1807
+ Name | Type | Description | Notes
1808
+ ------------- | ------------- | ------------- | -------------
1809
+ **org** | **String**| |
1810
+ **slug_perm** | **String**| |
1811
+
1812
+ ### Return type
1813
+
1814
+ nil (empty response body)
1815
+
1816
+ ### Authorization
1817
+
1818
+ [apikey](../README.md#apikey)
1819
+
1820
+ ### HTTP request headers
1821
+
1822
+ - **Content-Type**: application/json
1823
+ - **Accept**: application/json
1824
+
1825
+
1826
+
1827
+ # **orgs_openid_connect_list**
1828
+ > Array<ProviderSettings> orgs_openid_connect_list(org, opts)
1829
+
1830
+ Retrieve the list of OpenID Connect provider settings for the org.
1831
+
1832
+ Retrieve the list of OpenID Connect provider settings for the org.
1833
+
1834
+ ### Example
1835
+ ```ruby
1836
+ # load the gem
1837
+ require 'cloudsmith-api'
1838
+ # setup authorization
1839
+ CloudsmithApi.configure do |config|
1840
+ # Configure API key authorization: apikey
1841
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
1842
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1843
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
1844
+ end
1845
+
1846
+ api_instance = CloudsmithApi::OrgsApi.new
1847
+
1848
+ org = 'org_example' # String |
1849
+
1850
+ opts = {
1851
+ page: 56, # Integer | A page number within the paginated result set.
1852
+ page_size: 56 # Integer | Number of results to return per page.
1853
+ }
1854
+
1855
+ begin
1856
+ #Retrieve the list of OpenID Connect provider settings for the org.
1857
+ result = api_instance.orgs_openid_connect_list(org, opts)
1858
+ p result
1859
+ rescue CloudsmithApi::ApiError => e
1860
+ puts "Exception when calling OrgsApi->orgs_openid_connect_list: #{e}"
1861
+ end
1862
+ ```
1863
+
1864
+ ### Parameters
1865
+
1866
+ Name | Type | Description | Notes
1867
+ ------------- | ------------- | ------------- | -------------
1868
+ **org** | **String**| |
1869
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
1870
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
1871
+
1872
+ ### Return type
1873
+
1874
+ [**Array<ProviderSettings>**](ProviderSettings.md)
1875
+
1876
+ ### Authorization
1877
+
1878
+ [apikey](../README.md#apikey)
1879
+
1880
+ ### HTTP request headers
1881
+
1882
+ - **Content-Type**: application/json
1883
+ - **Accept**: application/json
1884
+
1885
+
1886
+
1887
+ # **orgs_openid_connect_partial_update**
1888
+ > ProviderSettings orgs_openid_connect_partial_update(org, slug_perm, opts)
1889
+
1890
+ Update a specific OpenID Connect provider setting for the org.
1891
+
1892
+ Update a specific OpenID Connect provider setting for the org.
1893
+
1894
+ ### Example
1895
+ ```ruby
1896
+ # load the gem
1897
+ require 'cloudsmith-api'
1898
+ # setup authorization
1899
+ CloudsmithApi.configure do |config|
1900
+ # Configure API key authorization: apikey
1901
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
1902
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1903
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
1904
+ end
1905
+
1906
+ api_instance = CloudsmithApi::OrgsApi.new
1907
+
1908
+ org = 'org_example' # String |
1909
+
1910
+ slug_perm = 'slug_perm_example' # String |
1911
+
1912
+ opts = {
1913
+ data: CloudsmithApi::ProviderSettingsRequestPatch.new # ProviderSettingsRequestPatch |
1914
+ }
1915
+
1916
+ begin
1917
+ #Update a specific OpenID Connect provider setting for the org.
1918
+ result = api_instance.orgs_openid_connect_partial_update(org, slug_perm, opts)
1919
+ p result
1920
+ rescue CloudsmithApi::ApiError => e
1921
+ puts "Exception when calling OrgsApi->orgs_openid_connect_partial_update: #{e}"
1922
+ end
1923
+ ```
1924
+
1925
+ ### Parameters
1926
+
1927
+ Name | Type | Description | Notes
1928
+ ------------- | ------------- | ------------- | -------------
1929
+ **org** | **String**| |
1930
+ **slug_perm** | **String**| |
1931
+ **data** | [**ProviderSettingsRequestPatch**](ProviderSettingsRequestPatch.md)| | [optional]
1932
+
1933
+ ### Return type
1934
+
1935
+ [**ProviderSettings**](ProviderSettings.md)
1936
+
1937
+ ### Authorization
1938
+
1939
+ [apikey](../README.md#apikey)
1940
+
1941
+ ### HTTP request headers
1942
+
1943
+ - **Content-Type**: application/json
1944
+ - **Accept**: application/json
1945
+
1946
+
1947
+
1948
+ # **orgs_openid_connect_read**
1949
+ > ProviderSettings orgs_openid_connect_read(org, slug_perm)
1950
+
1951
+ Retrieve a specific OpenID Connect provider setting for the org.
1952
+
1953
+ Retrieve a specific OpenID Connect provider setting for the org.
1954
+
1955
+ ### Example
1956
+ ```ruby
1957
+ # load the gem
1958
+ require 'cloudsmith-api'
1959
+ # setup authorization
1960
+ CloudsmithApi.configure do |config|
1961
+ # Configure API key authorization: apikey
1962
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
1963
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1964
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
1965
+ end
1966
+
1967
+ api_instance = CloudsmithApi::OrgsApi.new
1968
+
1969
+ org = 'org_example' # String |
1970
+
1971
+ slug_perm = 'slug_perm_example' # String |
1972
+
1973
+
1974
+ begin
1975
+ #Retrieve a specific OpenID Connect provider setting for the org.
1976
+ result = api_instance.orgs_openid_connect_read(org, slug_perm)
1977
+ p result
1978
+ rescue CloudsmithApi::ApiError => e
1979
+ puts "Exception when calling OrgsApi->orgs_openid_connect_read: #{e}"
1980
+ end
1981
+ ```
1982
+
1983
+ ### Parameters
1984
+
1985
+ Name | Type | Description | Notes
1986
+ ------------- | ------------- | ------------- | -------------
1987
+ **org** | **String**| |
1988
+ **slug_perm** | **String**| |
1989
+
1990
+ ### Return type
1991
+
1992
+ [**ProviderSettings**](ProviderSettings.md)
1993
+
1994
+ ### Authorization
1995
+
1996
+ [apikey](../README.md#apikey)
1997
+
1998
+ ### HTTP request headers
1999
+
2000
+ - **Content-Type**: application/json
2001
+ - **Accept**: application/json
2002
+
2003
+
2004
+
2005
+ # **orgs_openid_connect_update**
2006
+ > ProviderSettings orgs_openid_connect_update(org, slug_perm, opts)
2007
+
2008
+ Update a specific OpenID Connect provider setting for the org.
2009
+
2010
+ Update a specific OpenID Connect provider setting for the org.
2011
+
2012
+ ### Example
2013
+ ```ruby
2014
+ # load the gem
2015
+ require 'cloudsmith-api'
2016
+ # setup authorization
2017
+ CloudsmithApi.configure do |config|
2018
+ # Configure API key authorization: apikey
2019
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
2020
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2021
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
2022
+ end
2023
+
2024
+ api_instance = CloudsmithApi::OrgsApi.new
2025
+
2026
+ org = 'org_example' # String |
2027
+
2028
+ slug_perm = 'slug_perm_example' # String |
2029
+
2030
+ opts = {
2031
+ data: CloudsmithApi::ProviderSettingsRequest.new # ProviderSettingsRequest |
2032
+ }
2033
+
2034
+ begin
2035
+ #Update a specific OpenID Connect provider setting for the org.
2036
+ result = api_instance.orgs_openid_connect_update(org, slug_perm, opts)
2037
+ p result
2038
+ rescue CloudsmithApi::ApiError => e
2039
+ puts "Exception when calling OrgsApi->orgs_openid_connect_update: #{e}"
2040
+ end
2041
+ ```
2042
+
2043
+ ### Parameters
2044
+
2045
+ Name | Type | Description | Notes
2046
+ ------------- | ------------- | ------------- | -------------
2047
+ **org** | **String**| |
2048
+ **slug_perm** | **String**| |
2049
+ **data** | [**ProviderSettingsRequest**](ProviderSettingsRequest.md)| | [optional]
2050
+
2051
+ ### Return type
2052
+
2053
+ [**ProviderSettings**](ProviderSettings.md)
2054
+
2055
+ ### Authorization
2056
+
2057
+ [apikey](../README.md#apikey)
2058
+
2059
+ ### HTTP request headers
2060
+
2061
+ - **Content-Type**: application/json
2062
+ - **Accept**: application/json
2063
+
2064
+
2065
+
1708
2066
  # **orgs_read**
1709
2067
  > Organization orgs_read(org)
1710
2068
 
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_cancellable** | **BOOLEAN** | | [optional]
27
+ **is_copyable** | **BOOLEAN** | | [optional]
28
+ **is_deleteable** | **BOOLEAN** | | [optional]
26
29
  **is_downloadable** | **BOOLEAN** | | [optional]
30
+ **is_moveable** | **BOOLEAN** | | [optional]
31
+ **is_quarantinable** | **BOOLEAN** | | [optional]
27
32
  **is_quarantined** | **BOOLEAN** | | [optional]
33
+ **is_resyncable** | **BOOLEAN** | | [optional]
34
+ **is_security_scannable** | **BOOLEAN** | | [optional]
28
35
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
36
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
37
  **is_sync_failed** | **BOOLEAN** | | [optional]
data/docs/Package.md CHANGED
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_cancellable** | **BOOLEAN** | | [optional]
27
+ **is_copyable** | **BOOLEAN** | | [optional]
28
+ **is_deleteable** | **BOOLEAN** | | [optional]
26
29
  **is_downloadable** | **BOOLEAN** | | [optional]
30
+ **is_moveable** | **BOOLEAN** | | [optional]
31
+ **is_quarantinable** | **BOOLEAN** | | [optional]
27
32
  **is_quarantined** | **BOOLEAN** | | [optional]
33
+ **is_resyncable** | **BOOLEAN** | | [optional]
34
+ **is_security_scannable** | **BOOLEAN** | | [optional]
28
35
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
36
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
37
  **is_sync_failed** | **BOOLEAN** | | [optional]
data/docs/PackageCopy.md CHANGED
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_cancellable** | **BOOLEAN** | | [optional]
27
+ **is_copyable** | **BOOLEAN** | | [optional]
28
+ **is_deleteable** | **BOOLEAN** | | [optional]
26
29
  **is_downloadable** | **BOOLEAN** | | [optional]
30
+ **is_moveable** | **BOOLEAN** | | [optional]
31
+ **is_quarantinable** | **BOOLEAN** | | [optional]
27
32
  **is_quarantined** | **BOOLEAN** | | [optional]
33
+ **is_resyncable** | **BOOLEAN** | | [optional]
34
+ **is_security_scannable** | **BOOLEAN** | | [optional]
28
35
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
36
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
37
  **is_sync_failed** | **BOOLEAN** | | [optional]
data/docs/PackageMove.md CHANGED
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_cancellable** | **BOOLEAN** | | [optional]
27
+ **is_copyable** | **BOOLEAN** | | [optional]
28
+ **is_deleteable** | **BOOLEAN** | | [optional]
26
29
  **is_downloadable** | **BOOLEAN** | | [optional]
30
+ **is_moveable** | **BOOLEAN** | | [optional]
31
+ **is_quarantinable** | **BOOLEAN** | | [optional]
27
32
  **is_quarantined** | **BOOLEAN** | | [optional]
33
+ **is_resyncable** | **BOOLEAN** | | [optional]
34
+ **is_security_scannable** | **BOOLEAN** | | [optional]
28
35
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
36
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
37
  **is_sync_failed** | **BOOLEAN** | | [optional]
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_cancellable** | **BOOLEAN** | | [optional]
27
+ **is_copyable** | **BOOLEAN** | | [optional]
28
+ **is_deleteable** | **BOOLEAN** | | [optional]
26
29
  **is_downloadable** | **BOOLEAN** | | [optional]
30
+ **is_moveable** | **BOOLEAN** | | [optional]
31
+ **is_quarantinable** | **BOOLEAN** | | [optional]
27
32
  **is_quarantined** | **BOOLEAN** | | [optional]
33
+ **is_resyncable** | **BOOLEAN** | | [optional]
34
+ **is_security_scannable** | **BOOLEAN** | | [optional]
28
35
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
36
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
37
  **is_sync_failed** | **BOOLEAN** | | [optional]
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_cancellable** | **BOOLEAN** | | [optional]
27
+ **is_copyable** | **BOOLEAN** | | [optional]
28
+ **is_deleteable** | **BOOLEAN** | | [optional]
26
29
  **is_downloadable** | **BOOLEAN** | | [optional]
30
+ **is_moveable** | **BOOLEAN** | | [optional]
31
+ **is_quarantinable** | **BOOLEAN** | | [optional]
27
32
  **is_quarantined** | **BOOLEAN** | | [optional]
33
+ **is_resyncable** | **BOOLEAN** | | [optional]
34
+ **is_security_scannable** | **BOOLEAN** | | [optional]
28
35
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
36
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
37
  **is_sync_failed** | **BOOLEAN** | | [optional]
@@ -3,8 +3,15 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **is_cancellable** | **BOOLEAN** | | [optional]
7
+ **is_copyable** | **BOOLEAN** | | [optional]
8
+ **is_deleteable** | **BOOLEAN** | | [optional]
6
9
  **is_downloadable** | **BOOLEAN** | | [optional]
10
+ **is_moveable** | **BOOLEAN** | | [optional]
11
+ **is_quarantinable** | **BOOLEAN** | | [optional]
7
12
  **is_quarantined** | **BOOLEAN** | | [optional]
13
+ **is_resyncable** | **BOOLEAN** | | [optional]
14
+ **is_security_scannable** | **BOOLEAN** | | [optional]
8
15
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
9
16
  **is_sync_completed** | **BOOLEAN** | | [optional]
10
17
  **is_sync_failed** | **BOOLEAN** | | [optional]
data/docs/PackageTag.md CHANGED
@@ -23,9 +23,16 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_cancellable** | **BOOLEAN** | | [optional]
27
+ **is_copyable** | **BOOLEAN** | | [optional]
28
+ **is_deleteable** | **BOOLEAN** | | [optional]
26
29
  **is_downloadable** | **BOOLEAN** | | [optional]
27
30
  **is_immutable** | **BOOLEAN** | If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. | [optional] [default to false]
31
+ **is_moveable** | **BOOLEAN** | | [optional]
32
+ **is_quarantinable** | **BOOLEAN** | | [optional]
28
33
  **is_quarantined** | **BOOLEAN** | | [optional]
34
+ **is_resyncable** | **BOOLEAN** | | [optional]
35
+ **is_security_scannable** | **BOOLEAN** | | [optional]
29
36
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
30
37
  **is_sync_completed** | **BOOLEAN** | | [optional]
31
38
  **is_sync_failed** | **BOOLEAN** | | [optional]
data/docs/PackagesApi.md CHANGED
@@ -13,7 +13,7 @@ Method | HTTP request | Description
13
13
  [**packages_read**](PackagesApi.md#packages_read) | **GET** /packages/{owner}/{repo}/{identifier}/ | Get a specific package in a repository.
14
14
  [**packages_resync**](PackagesApi.md#packages_resync) | **POST** /packages/{owner}/{repo}/{identifier}/resync/ | Schedule a package for resynchronisation.
15
15
  [**packages_scan**](PackagesApi.md#packages_scan) | **POST** /packages/{owner}/{repo}/{identifier}/scan/ | Schedule a package for scanning.
16
- [**packages_status**](PackagesApi.md#packages_status) | **GET** /packages/{owner}/{repo}/{identifier}/status/ | Get the synchronisation status for a package.
16
+ [**packages_status**](PackagesApi.md#packages_status) | **GET** /packages/{owner}/{repo}/{identifier}/status/ | Get the synchronization status for a package.
17
17
  [**packages_tag**](PackagesApi.md#packages_tag) | **POST** /packages/{owner}/{repo}/{identifier}/tag/ | Add/Replace/Remove tags for a package.
18
18
  [**packages_upload_alpine**](PackagesApi.md#packages_upload_alpine) | **POST** /packages/{owner}/{repo}/upload/alpine/ | Create a new Alpine package
19
19
  [**packages_upload_cargo**](PackagesApi.md#packages_upload_cargo) | **POST** /packages/{owner}/{repo}/upload/cargo/ | Create a new Cargo package
@@ -628,9 +628,9 @@ Name | Type | Description | Notes
628
628
  # **packages_status**
629
629
  > PackageStatus packages_status(owner, repo, identifier)
630
630
 
631
- Get the synchronisation status for a package.
631
+ Get the synchronization status for a package.
632
632
 
633
- Get the synchronisation status for a package.
633
+ Get the synchronization status for a package.
634
634
 
635
635
  ### Example
636
636
  ```ruby
@@ -654,7 +654,7 @@ identifier = 'identifier_example' # String |
654
654
 
655
655
 
656
656
  begin
657
- #Get the synchronisation status for a package.
657
+ #Get the synchronization status for a package.
658
658
  result = api_instance.packages_status(owner, repo, identifier)
659
659
  p result
660
660
  rescue CloudsmithApi::ApiError => e
@@ -0,0 +1,14 @@
1
+ # CloudsmithApi::ProviderSettings
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **claims** | **Object** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. |
7
+ **enabled** | **BOOLEAN** | Whether the provider settings should be used for incoming OIDC requests. |
8
+ **name** | **String** | The name of the provider settings are being configured for |
9
+ **provider_url** | **String** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ |
10
+ **service_accounts** | **Array<String>** | The service accounts associated with these provider settings |
11
+ **slug** | **String** | The slug of the provider settings | [optional]
12
+ **slug_perm** | **String** | The unique, immutable identifier of the provider settings. | [optional]
13
+
14
+
@@ -0,0 +1,12 @@
1
+ # CloudsmithApi::ProviderSettingsRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **claims** | **Object** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. |
7
+ **enabled** | **BOOLEAN** | Whether the provider settings should be used for incoming OIDC requests. |
8
+ **name** | **String** | The name of the provider settings are being configured for |
9
+ **provider_url** | **String** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ |
10
+ **service_accounts** | **Array<String>** | The service accounts associated with these provider settings |
11
+
12
+
@@ -0,0 +1,12 @@
1
+ # CloudsmithApi::ProviderSettingsRequestPatch
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **claims** | **Object** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. | [optional]
7
+ **enabled** | **BOOLEAN** | Whether the provider settings should be used for incoming OIDC requests. | [optional]
8
+ **name** | **String** | The name of the provider settings are being configured for | [optional]
9
+ **provider_url** | **String** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ | [optional]
10
+ **service_accounts** | **Array<String>** | The service accounts associated with these provider settings | [optional]
11
+
12
+
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_cancellable** | **BOOLEAN** | | [optional]
27
+ **is_copyable** | **BOOLEAN** | | [optional]
28
+ **is_deleteable** | **BOOLEAN** | | [optional]
26
29
  **is_downloadable** | **BOOLEAN** | | [optional]
30
+ **is_moveable** | **BOOLEAN** | | [optional]
31
+ **is_quarantinable** | **BOOLEAN** | | [optional]
27
32
  **is_quarantined** | **BOOLEAN** | | [optional]
33
+ **is_resyncable** | **BOOLEAN** | | [optional]
34
+ **is_security_scannable** | **BOOLEAN** | | [optional]
28
35
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
36
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
37
  **is_sync_failed** | **BOOLEAN** | | [optional]
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_cancellable** | **BOOLEAN** | | [optional]
27
+ **is_copyable** | **BOOLEAN** | | [optional]
28
+ **is_deleteable** | **BOOLEAN** | | [optional]
26
29
  **is_downloadable** | **BOOLEAN** | | [optional]
30
+ **is_moveable** | **BOOLEAN** | | [optional]
31
+ **is_quarantinable** | **BOOLEAN** | | [optional]
27
32
  **is_quarantined** | **BOOLEAN** | | [optional]
33
+ **is_resyncable** | **BOOLEAN** | | [optional]
34
+ **is_security_scannable** | **BOOLEAN** | | [optional]
28
35
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
36
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
37
  **is_sync_failed** | **BOOLEAN** | | [optional]
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_cancellable** | **BOOLEAN** | | [optional]
27
+ **is_copyable** | **BOOLEAN** | | [optional]
28
+ **is_deleteable** | **BOOLEAN** | | [optional]
26
29
  **is_downloadable** | **BOOLEAN** | | [optional]
30
+ **is_moveable** | **BOOLEAN** | | [optional]
31
+ **is_quarantinable** | **BOOLEAN** | | [optional]
27
32
  **is_quarantined** | **BOOLEAN** | | [optional]
33
+ **is_resyncable** | **BOOLEAN** | | [optional]
34
+ **is_security_scannable** | **BOOLEAN** | | [optional]
28
35
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
36
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
37
  **is_sync_failed** | **BOOLEAN** | | [optional]
@@ -23,8 +23,15 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_cancellable** | **BOOLEAN** | | [optional]
27
+ **is_copyable** | **BOOLEAN** | | [optional]
28
+ **is_deleteable** | **BOOLEAN** | | [optional]
26
29
  **is_downloadable** | **BOOLEAN** | | [optional]
30
+ **is_moveable** | **BOOLEAN** | | [optional]
31
+ **is_quarantinable** | **BOOLEAN** | | [optional]
27
32
  **is_quarantined** | **BOOLEAN** | | [optional]
33
+ **is_resyncable** | **BOOLEAN** | | [optional]
34
+ **is_security_scannable** | **BOOLEAN** | | [optional]
28
35
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
36
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
37
  **is_sync_failed** | **BOOLEAN** | | [optional]
data/docs/StatusBasic.md CHANGED
@@ -4,6 +4,6 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **detail** | **String** | The message describing the state of the API. | [optional] [default to 'Cloudsmith API is operational.']
7
- **version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.389.2']
7
+ **version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.392.0']
8
8
 
9
9
 
@@ -25,8 +25,15 @@ Name | Type | Description | Notes
25
25
  **format_url** | **String** | | [optional]
26
26
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
27
27
  **indexed** | **BOOLEAN** | | [optional]
28
+ **is_cancellable** | **BOOLEAN** | | [optional]
29
+ **is_copyable** | **BOOLEAN** | | [optional]
30
+ **is_deleteable** | **BOOLEAN** | | [optional]
28
31
  **is_downloadable** | **BOOLEAN** | | [optional]
32
+ **is_moveable** | **BOOLEAN** | | [optional]
33
+ **is_quarantinable** | **BOOLEAN** | | [optional]
29
34
  **is_quarantined** | **BOOLEAN** | | [optional]
35
+ **is_resyncable** | **BOOLEAN** | | [optional]
36
+ **is_security_scannable** | **BOOLEAN** | | [optional]
30
37
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
31
38
  **is_sync_completed** | **BOOLEAN** | | [optional]
32
39
  **is_sync_failed** | **BOOLEAN** | | [optional]