cloudsmith-api 1.120.3 → 1.142.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (258) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +21 -11
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +2 -0
  6. data/docs/ConanPackageUpload.md +2 -0
  7. data/docs/MavenPackageUpload.md +2 -0
  8. data/docs/OrganizationTeamMembers.md +8 -0
  9. data/docs/OrganizationTeamMembersMembers.md +9 -0
  10. data/docs/OrgsApi.md +263 -26
  11. data/docs/OrgsTeamsMembersCreate.md +8 -0
  12. data/docs/OrgsTeamsMembersUpdate.md +8 -0
  13. data/docs/Package.md +2 -0
  14. data/docs/PackageCopy.md +2 -0
  15. data/docs/PackageMove.md +2 -0
  16. data/docs/RawPackageUpload.md +2 -0
  17. data/docs/ReposApi.md +28 -72
  18. data/docs/ReposCreate.md +3 -1
  19. data/docs/ReposPartialUpdate.md +3 -1
  20. data/docs/ReposPrivilegesPartialUpdate.md +8 -0
  21. data/docs/ReposPrivilegesUpdate.md +8 -0
  22. data/docs/Repository.md +3 -1
  23. data/docs/RepositoryCreate.md +3 -1
  24. data/docs/RepositoryPrivilegeInput.md +8 -0
  25. data/docs/RepositoryPrivilegeInputPrivileges.md +10 -0
  26. data/docs/VagrantPackageUpload.md +2 -0
  27. data/lib/cloudsmith-api/api/orgs_api.rb +270 -41
  28. data/lib/cloudsmith-api/api/repos_api.rb +28 -70
  29. data/lib/cloudsmith-api/models/alpine_package_upload.rb +21 -1
  30. data/lib/cloudsmith-api/models/conan_package_upload.rb +21 -1
  31. data/lib/cloudsmith-api/models/maven_package_upload.rb +21 -1
  32. data/lib/cloudsmith-api/models/organization_team_members.rb +192 -0
  33. data/lib/cloudsmith-api/models/organization_team_members_members.rb +195 -0
  34. data/lib/cloudsmith-api/models/orgs_teams_members_create.rb +192 -0
  35. data/lib/cloudsmith-api/models/orgs_teams_members_update.rb +192 -0
  36. data/lib/cloudsmith-api/models/package.rb +21 -1
  37. data/lib/cloudsmith-api/models/package_copy.rb +21 -1
  38. data/lib/cloudsmith-api/models/package_move.rb +21 -1
  39. data/lib/cloudsmith-api/models/raw_package_upload.rb +21 -1
  40. data/lib/cloudsmith-api/models/repos_create.rb +36 -2
  41. data/lib/cloudsmith-api/models/repos_partial_update.rb +36 -2
  42. data/lib/cloudsmith-api/models/{repository_privilege_list.rb → repos_privileges_partial_update.rb} +5 -3
  43. data/lib/cloudsmith-api/models/repos_privileges_update.rb +192 -0
  44. data/lib/cloudsmith-api/models/repository.rb +36 -2
  45. data/lib/cloudsmith-api/models/repository_create.rb +36 -2
  46. data/lib/cloudsmith-api/models/repository_privilege_input.rb +192 -0
  47. data/lib/cloudsmith-api/models/repository_privilege_input_privileges.rb +205 -0
  48. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +21 -1
  49. data/lib/cloudsmith-api/version.rb +1 -1
  50. data/lib/cloudsmith-api.rb +8 -1
  51. data/spec/api/orgs_api_spec.rb +62 -8
  52. data/spec/api/repos_api_spec.rb +8 -17
  53. data/spec/models/alpine_package_upload_spec.rb +12 -0
  54. data/spec/models/conan_package_upload_spec.rb +12 -0
  55. data/spec/models/maven_package_upload_spec.rb +12 -0
  56. data/spec/models/organization_team_members_members_spec.rb +47 -0
  57. data/spec/models/organization_team_members_spec.rb +41 -0
  58. data/spec/models/orgs_teams_members_create_spec.rb +41 -0
  59. data/spec/models/orgs_teams_members_update_spec.rb +41 -0
  60. data/spec/models/package_copy_spec.rb +12 -0
  61. data/spec/models/package_move_spec.rb +12 -0
  62. data/spec/models/package_spec.rb +12 -0
  63. data/spec/models/raw_package_upload_spec.rb +12 -0
  64. data/spec/models/repos_create_spec.rb +16 -0
  65. data/spec/models/repos_partial_update_spec.rb +16 -0
  66. data/spec/models/repos_privileges_partial_update_spec.rb +41 -0
  67. data/spec/models/repos_privileges_update_spec.rb +41 -0
  68. data/spec/models/repository_create_spec.rb +16 -0
  69. data/spec/models/repository_privilege_input_privileges_spec.rb +53 -0
  70. data/spec/models/{repository_privilege_list_spec.rb → repository_privilege_input_spec.rb} +6 -6
  71. data/spec/models/repository_spec.rb +16 -0
  72. data/spec/models/vagrant_package_upload_spec.rb +12 -0
  73. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.1.gem +0 -0
  74. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.0.gem +0 -0
  75. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.1.gem +0 -0
  76. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.1.gem +0 -0
  77. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +1 -1
  78. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
  79. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/gem_make.out +1 -1
  80. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/mkmf.log +1 -1
  81. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/CHANGELOG.md +16 -0
  82. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Gemfile +4 -2
  83. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/LICENSE.txt +0 -0
  84. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/README.md +0 -0
  85. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Rakefile +0 -0
  86. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/data/unicode.data +0 -0
  87. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/native.rb +0 -1
  88. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/pure.rb +0 -1
  89. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna.rb +0 -1
  90. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/template.rb +3 -4
  91. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/uri.rb +57 -53
  92. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/version.rb +1 -2
  93. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable.rb +0 -0
  94. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/idna_spec.rb +0 -1
  95. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/net_http_compat_spec.rb +0 -1
  96. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/security_spec.rb +0 -1
  97. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/template_spec.rb +9 -1
  98. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/uri_spec.rb +81 -1
  99. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/spec_helper.rb +0 -0
  100. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/clobber.rake +0 -0
  101. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/gem.rake +5 -2
  102. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/git.rake +0 -0
  103. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/metrics.rake +0 -0
  104. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/profile.rake +0 -0
  105. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/rspec.rake +0 -0
  106. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/yard.rake +0 -0
  107. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  108. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/Makefile +2 -2
  109. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +2 -2
  110. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +2 -2
  111. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/FUNDING.yml +0 -0
  112. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/dependabot.yml +0 -0
  113. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/.github/workflows/psl-update.yml +38 -0
  114. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/release.yml +4 -2
  115. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/tests.yml +8 -7
  116. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.gitignore +0 -0
  117. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop.yml +1 -0
  118. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop_opinionated.yml +0 -28
  119. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.yardopts +0 -0
  120. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/2.0-Upgrade.md +0 -0
  121. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/CHANGELOG.md +9 -0
  122. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Gemfile +1 -1
  123. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/LICENSE.txt +0 -0
  124. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/README.md +1 -1
  125. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Rakefile +3 -3
  126. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/SECURITY.md +0 -0
  127. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/bin/console +0 -0
  128. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/data/list.txt +52 -21
  129. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/domain.rb +0 -0
  130. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/errors.rb +0 -0
  131. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/list.rb +1 -1
  132. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/rule.rb +5 -5
  133. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/version.rb +1 -1
  134. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix.rb +1 -1
  135. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/public_suffix.gemspec +1 -1
  136. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/.empty +0 -0
  137. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/acceptance_test.rb +4 -4
  138. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find.rb +0 -0
  139. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find_all.rb +0 -0
  140. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_names.rb +0 -0
  141. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select.rb +0 -0
  142. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select_incremental.rb +0 -0
  143. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_valid.rb +0 -0
  144. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/domain_profiler.rb +0 -0
  145. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler.rb +0 -0
  146. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler_jp.rb +0 -0
  147. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/initialization_profiler.rb +0 -0
  148. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/list_profsize.rb +0 -0
  149. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/object_binsize.rb +0 -0
  150. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/psl_test.rb +1 -1
  151. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/test_helper.rb +0 -0
  152. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/tests.txt +0 -0
  153. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/domain_test.rb +3 -3
  154. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/errors_test.rb +0 -0
  155. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/list_test.rb +1 -1
  156. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/public_suffix_test.rb +0 -0
  157. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/rule_test.rb +15 -15
  158. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.document +0 -0
  159. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.yardopts +0 -0
  160. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/Changelog.md +11 -1
  161. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/LICENSE.md +0 -0
  162. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/README.md +0 -0
  163. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  164. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/configuration.rb +0 -0
  165. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/expectation_target.rb +0 -0
  166. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/fail_with.rb +0 -0
  167. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/failure_aggregator.rb +0 -0
  168. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/handler.rb +0 -0
  169. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/minitest_integration.rb +0 -0
  170. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/syntax.rb +0 -0
  171. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/version.rb +1 -1
  172. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations.rb +0 -0
  173. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/aliased_matcher.rb +0 -0
  174. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/all.rb +0 -0
  175. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  176. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be.rb +0 -0
  177. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  178. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  179. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  180. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  181. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/change.rb +0 -0
  182. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/compound.rb +0 -0
  183. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/contain_exactly.rb +10 -2
  184. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/count_expectation.rb +1 -1
  185. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/cover.rb +0 -0
  186. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eq.rb +0 -0
  187. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eql.rb +0 -0
  188. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/equal.rb +0 -0
  189. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/exist.rb +1 -1
  190. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/has.rb +0 -0
  191. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  192. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/include.rb +0 -0
  193. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/match.rb +0 -0
  194. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/operators.rb +0 -0
  195. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/output.rb +0 -0
  196. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/raise_error.rb +6 -6
  197. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  198. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  199. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  200. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/throw_symbol.rb +4 -4
  201. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/yield.rb +0 -0
  202. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in.rb +0 -0
  203. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/composable.rb +0 -0
  204. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/dsl.rb +2 -2
  205. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/english_phrasing.rb +0 -0
  206. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  207. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/fail_matchers.rb +0 -0
  208. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  209. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  210. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  211. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers.rb +3 -3
  212. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/Changelog.md +8 -1
  213. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/LICENSE.md +0 -0
  214. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/README.md +0 -0
  215. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/caller_filter.rb +2 -2
  216. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/comparable_version.rb +1 -1
  217. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/differ.rb +4 -4
  218. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/directory_maker.rb +0 -0
  219. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/encoded_string.rb +3 -3
  220. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  221. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/hunk_generator.rb +0 -0
  222. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/matcher_definition.rb +0 -0
  223. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/method_signature_verifier.rb +2 -2
  224. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/mutex.rb +1 -1
  225. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/object_formatter.rb +0 -0
  226. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
  227. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
  228. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/ruby_features.rb +3 -0
  229. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/location.rb +0 -0
  230. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/node.rb +0 -0
  231. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/token.rb +0 -0
  232. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source.rb +0 -0
  233. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  234. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  235. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
  236. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/in_sub_process.rb +1 -1
  237. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  238. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/shell_out.rb +0 -0
  239. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/stderr_splitter.rb +1 -1
  240. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
  241. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  242. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  243. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec.rb +0 -0
  244. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/version.rb +1 -1
  245. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/warnings.rb +0 -0
  246. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/with_keywords_when_needed.rb +1 -1
  247. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support.rb +0 -0
  248. data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.0.gemspec → addressable-2.8.1.gemspec} +7 -6
  249. data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.7.gemspec → public_suffix-5.0.0.gemspec} +5 -5
  250. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.11.0.gemspec → rspec-expectations-3.11.1.gemspec} +5 -5
  251. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.11.0.gemspec → rspec-support-3.11.1.gemspec} +5 -5
  252. metadata +205 -177
  253. data/docs/RepositoryPrivilegeList.md +0 -8
  254. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.0.gem +0 -0
  255. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.7.gem +0 -0
  256. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.0.gem +0 -0
  257. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.0.gem +0 -0
  258. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/addressable.gemspec +0 -37
@@ -294,6 +294,61 @@ module CloudsmithApi
294
294
  end
295
295
  return data, status_code, headers
296
296
  end
297
+ # Removes a member from the organization.
298
+ # Removes a member from the organization.
299
+ # @param org
300
+ # @param member
301
+ # @param [Hash] opts the optional parameters
302
+ # @return [nil]
303
+ def orgs_members_delete(org, member, opts = {})
304
+ orgs_members_delete_with_http_info(org, member, opts)
305
+ nil
306
+ end
307
+
308
+ # Removes a member from the organization.
309
+ # Removes a member from the organization.
310
+ # @param org
311
+ # @param member
312
+ # @param [Hash] opts the optional parameters
313
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
314
+ def orgs_members_delete_with_http_info(org, member, opts = {})
315
+ if @api_client.config.debugging
316
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_members_delete ...'
317
+ end
318
+ # verify the required parameter 'org' is set
319
+ if @api_client.config.client_side_validation && org.nil?
320
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_members_delete"
321
+ end
322
+ # verify the required parameter 'member' is set
323
+ if @api_client.config.client_side_validation && member.nil?
324
+ fail ArgumentError, "Missing the required parameter 'member' when calling OrgsApi.orgs_members_delete"
325
+ end
326
+ # resource path
327
+ local_var_path = '/orgs/{org}/members/{member}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'member' + '}', member.to_s)
328
+
329
+ # query parameters
330
+ query_params = {}
331
+
332
+ # header parameters
333
+ header_params = {}
334
+
335
+ # form parameters
336
+ form_params = {}
337
+
338
+ # http body (model)
339
+ post_body = nil
340
+ auth_names = ['apikey']
341
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
342
+ :header_params => header_params,
343
+ :query_params => query_params,
344
+ :form_params => form_params,
345
+ :body => post_body,
346
+ :auth_names => auth_names)
347
+ if @api_client.config.debugging
348
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_members_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
349
+ end
350
+ return data, status_code, headers
351
+ end
297
352
  # Get the details for all organization members.
298
353
  # Get the details for all organization members.
299
354
  # @param org
@@ -406,23 +461,23 @@ module CloudsmithApi
406
461
  end
407
462
  return data, status_code, headers
408
463
  end
409
- # Removes a member from the organization.
410
- # Removes a member from the organization.
464
+ # Removes a member from the organization (deprecated, use DELETE instead).
465
+ # Removes a member from the organization (deprecated, use DELETE instead).
411
466
  # @param org
412
467
  # @param member
413
468
  # @param [Hash] opts the optional parameters
414
- # @return [OrganizationMembership]
469
+ # @return [nil]
415
470
  def orgs_members_remove(org, member, opts = {})
416
- data, _status_code, _headers = orgs_members_remove_with_http_info(org, member, opts)
417
- data
471
+ orgs_members_remove_with_http_info(org, member, opts)
472
+ nil
418
473
  end
419
474
 
420
- # Removes a member from the organization.
421
- # Removes a member from the organization.
475
+ # Removes a member from the organization (deprecated, use DELETE instead).
476
+ # Removes a member from the organization (deprecated, use DELETE instead).
422
477
  # @param org
423
478
  # @param member
424
479
  # @param [Hash] opts the optional parameters
425
- # @return [Array<(OrganizationMembership, Fixnum, Hash)>] OrganizationMembership data, response status code and response headers
480
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
426
481
  def orgs_members_remove_with_http_info(org, member, opts = {})
427
482
  if @api_client.config.debugging
428
483
  @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_members_remove ...'
@@ -455,8 +510,7 @@ module CloudsmithApi
455
510
  :query_params => query_params,
456
511
  :form_params => form_params,
457
512
  :body => post_body,
458
- :auth_names => auth_names,
459
- :return_type => 'OrganizationMembership')
513
+ :auth_names => auth_names)
460
514
  if @api_client.config.debugging
461
515
  @api_client.config.logger.debug "API called: OrgsApi#orgs_members_remove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
462
516
  end
@@ -734,21 +788,21 @@ module CloudsmithApi
734
788
  # Delete a specific team in a organization.
735
789
  # Delete a specific team in a organization.
736
790
  # @param org
737
- # @param slug_perm
791
+ # @param team
738
792
  # @param [Hash] opts the optional parameters
739
793
  # @return [nil]
740
- def orgs_teams_delete(org, slug_perm, opts = {})
741
- orgs_teams_delete_with_http_info(org, slug_perm, opts)
794
+ def orgs_teams_delete(org, team, opts = {})
795
+ orgs_teams_delete_with_http_info(org, team, opts)
742
796
  nil
743
797
  end
744
798
 
745
799
  # Delete a specific team in a organization.
746
800
  # Delete a specific team in a organization.
747
801
  # @param org
748
- # @param slug_perm
802
+ # @param team
749
803
  # @param [Hash] opts the optional parameters
750
804
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
751
- def orgs_teams_delete_with_http_info(org, slug_perm, opts = {})
805
+ def orgs_teams_delete_with_http_info(org, team, opts = {})
752
806
  if @api_client.config.debugging
753
807
  @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_delete ...'
754
808
  end
@@ -756,12 +810,12 @@ module CloudsmithApi
756
810
  if @api_client.config.client_side_validation && org.nil?
757
811
  fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_delete"
758
812
  end
759
- # verify the required parameter 'slug_perm' is set
760
- if @api_client.config.client_side_validation && slug_perm.nil?
761
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_teams_delete"
813
+ # verify the required parameter 'team' is set
814
+ if @api_client.config.client_side_validation && team.nil?
815
+ fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_delete"
762
816
  end
763
817
  # resource path
764
- local_var_path = '/orgs/{org}/teams/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
818
+ local_var_path = '/orgs/{org}/teams/{team}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
765
819
 
766
820
  # query parameters
767
821
  query_params = {}
@@ -842,26 +896,201 @@ module CloudsmithApi
842
896
  end
843
897
  return data, status_code, headers
844
898
  end
899
+ # Add users to a team.
900
+ # Add users to a team.
901
+ # @param org
902
+ # @param team
903
+ # @param [Hash] opts the optional parameters
904
+ # @option opts [OrgsTeamsMembersCreate] :data
905
+ # @return [OrganizationTeamMembers]
906
+ def orgs_teams_members_create(org, team, opts = {})
907
+ data, _status_code, _headers = orgs_teams_members_create_with_http_info(org, team, opts)
908
+ data
909
+ end
910
+
911
+ # Add users to a team.
912
+ # Add users to a team.
913
+ # @param org
914
+ # @param team
915
+ # @param [Hash] opts the optional parameters
916
+ # @option opts [OrgsTeamsMembersCreate] :data
917
+ # @return [Array<(OrganizationTeamMembers, Fixnum, Hash)>] OrganizationTeamMembers data, response status code and response headers
918
+ def orgs_teams_members_create_with_http_info(org, team, opts = {})
919
+ if @api_client.config.debugging
920
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_members_create ...'
921
+ end
922
+ # verify the required parameter 'org' is set
923
+ if @api_client.config.client_side_validation && org.nil?
924
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_members_create"
925
+ end
926
+ # verify the required parameter 'team' is set
927
+ if @api_client.config.client_side_validation && team.nil?
928
+ fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_members_create"
929
+ end
930
+ # resource path
931
+ local_var_path = '/orgs/{org}/teams/{team}/members'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
932
+
933
+ # query parameters
934
+ query_params = {}
935
+
936
+ # header parameters
937
+ header_params = {}
938
+ # HTTP header 'Content-Type'
939
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
940
+
941
+ # form parameters
942
+ form_params = {}
943
+
944
+ # http body (model)
945
+ post_body = @api_client.object_to_http_body(opts[:'data'])
946
+ auth_names = ['apikey']
947
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
948
+ :header_params => header_params,
949
+ :query_params => query_params,
950
+ :form_params => form_params,
951
+ :body => post_body,
952
+ :auth_names => auth_names,
953
+ :return_type => 'OrganizationTeamMembers')
954
+ if @api_client.config.debugging
955
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_teams_members_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
956
+ end
957
+ return data, status_code, headers
958
+ end
959
+ # List all members for the team.
960
+ # List all members for the team.
961
+ # @param org
962
+ # @param team
963
+ # @param [Hash] opts the optional parameters
964
+ # @return [OrganizationTeamMembers]
965
+ def orgs_teams_members_list(org, team, opts = {})
966
+ data, _status_code, _headers = orgs_teams_members_list_with_http_info(org, team, opts)
967
+ data
968
+ end
969
+
970
+ # List all members for the team.
971
+ # List all members for the team.
972
+ # @param org
973
+ # @param team
974
+ # @param [Hash] opts the optional parameters
975
+ # @return [Array<(OrganizationTeamMembers, Fixnum, Hash)>] OrganizationTeamMembers data, response status code and response headers
976
+ def orgs_teams_members_list_with_http_info(org, team, opts = {})
977
+ if @api_client.config.debugging
978
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_members_list ...'
979
+ end
980
+ # verify the required parameter 'org' is set
981
+ if @api_client.config.client_side_validation && org.nil?
982
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_members_list"
983
+ end
984
+ # verify the required parameter 'team' is set
985
+ if @api_client.config.client_side_validation && team.nil?
986
+ fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_members_list"
987
+ end
988
+ # resource path
989
+ local_var_path = '/orgs/{org}/teams/{team}/members'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
990
+
991
+ # query parameters
992
+ query_params = {}
993
+
994
+ # header parameters
995
+ header_params = {}
996
+
997
+ # form parameters
998
+ form_params = {}
999
+
1000
+ # http body (model)
1001
+ post_body = nil
1002
+ auth_names = ['apikey']
1003
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1004
+ :header_params => header_params,
1005
+ :query_params => query_params,
1006
+ :form_params => form_params,
1007
+ :body => post_body,
1008
+ :auth_names => auth_names,
1009
+ :return_type => 'OrganizationTeamMembers')
1010
+ if @api_client.config.debugging
1011
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_teams_members_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1012
+ end
1013
+ return data, status_code, headers
1014
+ end
1015
+ # Replace all team members.
1016
+ # Replace all team members.
1017
+ # @param org
1018
+ # @param team
1019
+ # @param [Hash] opts the optional parameters
1020
+ # @option opts [OrgsTeamsMembersUpdate] :data
1021
+ # @return [nil]
1022
+ def orgs_teams_members_update(org, team, opts = {})
1023
+ orgs_teams_members_update_with_http_info(org, team, opts)
1024
+ nil
1025
+ end
1026
+
1027
+ # Replace all team members.
1028
+ # Replace all team members.
1029
+ # @param org
1030
+ # @param team
1031
+ # @param [Hash] opts the optional parameters
1032
+ # @option opts [OrgsTeamsMembersUpdate] :data
1033
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1034
+ def orgs_teams_members_update_with_http_info(org, team, opts = {})
1035
+ if @api_client.config.debugging
1036
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_members_update ...'
1037
+ end
1038
+ # verify the required parameter 'org' is set
1039
+ if @api_client.config.client_side_validation && org.nil?
1040
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_members_update"
1041
+ end
1042
+ # verify the required parameter 'team' is set
1043
+ if @api_client.config.client_side_validation && team.nil?
1044
+ fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_members_update"
1045
+ end
1046
+ # resource path
1047
+ local_var_path = '/orgs/{org}/teams/{team}/members'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
1048
+
1049
+ # query parameters
1050
+ query_params = {}
1051
+
1052
+ # header parameters
1053
+ header_params = {}
1054
+ # HTTP header 'Content-Type'
1055
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1056
+
1057
+ # form parameters
1058
+ form_params = {}
1059
+
1060
+ # http body (model)
1061
+ post_body = @api_client.object_to_http_body(opts[:'data'])
1062
+ auth_names = ['apikey']
1063
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1064
+ :header_params => header_params,
1065
+ :query_params => query_params,
1066
+ :form_params => form_params,
1067
+ :body => post_body,
1068
+ :auth_names => auth_names)
1069
+ if @api_client.config.debugging
1070
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_teams_members_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1071
+ end
1072
+ return data, status_code, headers
1073
+ end
845
1074
  # Update a specific team in a organization.
846
1075
  # Update a specific team in a organization.
847
1076
  # @param org
848
- # @param slug_perm
1077
+ # @param team
849
1078
  # @param [Hash] opts the optional parameters
850
1079
  # @option opts [OrgsTeamsPartialUpdate] :data
851
1080
  # @return [OrganizationTeam]
852
- def orgs_teams_partial_update(org, slug_perm, opts = {})
853
- data, _status_code, _headers = orgs_teams_partial_update_with_http_info(org, slug_perm, opts)
1081
+ def orgs_teams_partial_update(org, team, opts = {})
1082
+ data, _status_code, _headers = orgs_teams_partial_update_with_http_info(org, team, opts)
854
1083
  data
855
1084
  end
856
1085
 
857
1086
  # Update a specific team in a organization.
858
1087
  # Update a specific team in a organization.
859
1088
  # @param org
860
- # @param slug_perm
1089
+ # @param team
861
1090
  # @param [Hash] opts the optional parameters
862
1091
  # @option opts [OrgsTeamsPartialUpdate] :data
863
1092
  # @return [Array<(OrganizationTeam, Fixnum, Hash)>] OrganizationTeam data, response status code and response headers
864
- def orgs_teams_partial_update_with_http_info(org, slug_perm, opts = {})
1093
+ def orgs_teams_partial_update_with_http_info(org, team, opts = {})
865
1094
  if @api_client.config.debugging
866
1095
  @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_partial_update ...'
867
1096
  end
@@ -869,12 +1098,12 @@ module CloudsmithApi
869
1098
  if @api_client.config.client_side_validation && org.nil?
870
1099
  fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_partial_update"
871
1100
  end
872
- # verify the required parameter 'slug_perm' is set
873
- if @api_client.config.client_side_validation && slug_perm.nil?
874
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_teams_partial_update"
1101
+ # verify the required parameter 'team' is set
1102
+ if @api_client.config.client_side_validation && team.nil?
1103
+ fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_partial_update"
875
1104
  end
876
1105
  # resource path
877
- local_var_path = '/orgs/{org}/teams/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
1106
+ local_var_path = '/orgs/{org}/teams/{team}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
878
1107
 
879
1108
  # query parameters
880
1109
  query_params = {}
@@ -902,24 +1131,24 @@ module CloudsmithApi
902
1131
  end
903
1132
  return data, status_code, headers
904
1133
  end
905
- # Viewset for working with Organization teams.
906
- # Viewset for working with Organization teams.
1134
+ # Get the details for the specific team.
1135
+ # Get the details for the specific team.
907
1136
  # @param org
908
- # @param slug_perm
1137
+ # @param team
909
1138
  # @param [Hash] opts the optional parameters
910
1139
  # @return [OrganizationTeam]
911
- def orgs_teams_read(org, slug_perm, opts = {})
912
- data, _status_code, _headers = orgs_teams_read_with_http_info(org, slug_perm, opts)
1140
+ def orgs_teams_read(org, team, opts = {})
1141
+ data, _status_code, _headers = orgs_teams_read_with_http_info(org, team, opts)
913
1142
  data
914
1143
  end
915
1144
 
916
- # Viewset for working with Organization teams.
917
- # Viewset for working with Organization teams.
1145
+ # Get the details for the specific team.
1146
+ # Get the details for the specific team.
918
1147
  # @param org
919
- # @param slug_perm
1148
+ # @param team
920
1149
  # @param [Hash] opts the optional parameters
921
1150
  # @return [Array<(OrganizationTeam, Fixnum, Hash)>] OrganizationTeam data, response status code and response headers
922
- def orgs_teams_read_with_http_info(org, slug_perm, opts = {})
1151
+ def orgs_teams_read_with_http_info(org, team, opts = {})
923
1152
  if @api_client.config.debugging
924
1153
  @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_read ...'
925
1154
  end
@@ -927,12 +1156,12 @@ module CloudsmithApi
927
1156
  if @api_client.config.client_side_validation && org.nil?
928
1157
  fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_read"
929
1158
  end
930
- # verify the required parameter 'slug_perm' is set
931
- if @api_client.config.client_side_validation && slug_perm.nil?
932
- fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_teams_read"
1159
+ # verify the required parameter 'team' is set
1160
+ if @api_client.config.client_side_validation && team.nil?
1161
+ fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_read"
933
1162
  end
934
1163
  # resource path
935
- local_var_path = '/orgs/{org}/teams/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
1164
+ local_var_path = '/orgs/{org}/teams/{team}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
936
1165
 
937
1166
  # query parameters
938
1167
  query_params = {}
@@ -466,67 +466,14 @@ module CloudsmithApi
466
466
  end
467
467
  return data, status_code, headers
468
468
  end
469
- # Remove the specified repository privileges.
470
- # Remove the specified repository privileges.
471
- # @param owner
472
- # @param identifier
473
- # @param [Hash] opts the optional parameters
474
- # @return [nil]
475
- def repos_privileges_delete(owner, identifier, opts = {})
476
- repos_privileges_delete_with_http_info(owner, identifier, opts)
477
- nil
478
- end
479
-
480
- # Remove the specified repository privileges.
481
- # Remove the specified repository privileges.
482
- # @param owner
483
- # @param identifier
484
- # @param [Hash] opts the optional parameters
485
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
486
- def repos_privileges_delete_with_http_info(owner, identifier, opts = {})
487
- if @api_client.config.debugging
488
- @api_client.config.logger.debug 'Calling API: ReposApi.repos_privileges_delete ...'
489
- end
490
- # verify the required parameter 'owner' is set
491
- if @api_client.config.client_side_validation && owner.nil?
492
- fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_privileges_delete"
493
- end
494
- # verify the required parameter 'identifier' is set
495
- if @api_client.config.client_side_validation && identifier.nil?
496
- fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_privileges_delete"
497
- end
498
- # resource path
499
- local_var_path = '/repos/{owner}/{identifier}/privileges'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
500
-
501
- # query parameters
502
- query_params = {}
503
-
504
- # header parameters
505
- header_params = {}
506
-
507
- # form parameters
508
- form_params = {}
509
-
510
- # http body (model)
511
- post_body = nil
512
- auth_names = ['apikey']
513
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
514
- :header_params => header_params,
515
- :query_params => query_params,
516
- :form_params => form_params,
517
- :body => post_body,
518
- :auth_names => auth_names)
519
- if @api_client.config.debugging
520
- @api_client.config.logger.debug "API called: ReposApi#repos_privileges_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
521
- end
522
- return data, status_code, headers
523
- end
524
469
  # List all explicity created privileges for the repository.
525
470
  # List all explicity created privileges for the repository.
526
471
  # @param owner
527
472
  # @param identifier
528
473
  # @param [Hash] opts the optional parameters
529
- # @return [Array<RepositoryPrivilegeList>]
474
+ # @option opts [Integer] :page A page number within the paginated result set.
475
+ # @option opts [Integer] :page_size Number of results to return per page.
476
+ # @return [RepositoryPrivilegeInput]
530
477
  def repos_privileges_list(owner, identifier, opts = {})
531
478
  data, _status_code, _headers = repos_privileges_list_with_http_info(owner, identifier, opts)
532
479
  data
@@ -537,7 +484,9 @@ module CloudsmithApi
537
484
  # @param owner
538
485
  # @param identifier
539
486
  # @param [Hash] opts the optional parameters
540
- # @return [Array<(Array<RepositoryPrivilegeList>, Fixnum, Hash)>] Array<RepositoryPrivilegeList> data, response status code and response headers
487
+ # @option opts [Integer] :page A page number within the paginated result set.
488
+ # @option opts [Integer] :page_size Number of results to return per page.
489
+ # @return [Array<(RepositoryPrivilegeInput, Fixnum, Hash)>] RepositoryPrivilegeInput data, response status code and response headers
541
490
  def repos_privileges_list_with_http_info(owner, identifier, opts = {})
542
491
  if @api_client.config.debugging
543
492
  @api_client.config.logger.debug 'Calling API: ReposApi.repos_privileges_list ...'
@@ -555,6 +504,8 @@ module CloudsmithApi
555
504
 
556
505
  # query parameters
557
506
  query_params = {}
507
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
508
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
558
509
 
559
510
  # header parameters
560
511
  header_params = {}
@@ -571,28 +522,30 @@ module CloudsmithApi
571
522
  :form_params => form_params,
572
523
  :body => post_body,
573
524
  :auth_names => auth_names,
574
- :return_type => 'Array<RepositoryPrivilegeList>')
525
+ :return_type => 'RepositoryPrivilegeInput')
575
526
  if @api_client.config.debugging
576
527
  @api_client.config.logger.debug "API called: ReposApi#repos_privileges_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
577
528
  end
578
529
  return data, status_code, headers
579
530
  end
580
- # Update the specified repository privileges.
581
- # Update the specified repository privileges.
531
+ # Modify privileges for the repository.
532
+ # Modify privileges for the repository.
582
533
  # @param owner
583
534
  # @param identifier
584
535
  # @param [Hash] opts the optional parameters
536
+ # @option opts [ReposPrivilegesPartialUpdate] :data
585
537
  # @return [nil]
586
538
  def repos_privileges_partial_update(owner, identifier, opts = {})
587
539
  repos_privileges_partial_update_with_http_info(owner, identifier, opts)
588
540
  nil
589
541
  end
590
542
 
591
- # Update the specified repository privileges.
592
- # Update the specified repository privileges.
543
+ # Modify privileges for the repository.
544
+ # Modify privileges for the repository.
593
545
  # @param owner
594
546
  # @param identifier
595
547
  # @param [Hash] opts the optional parameters
548
+ # @option opts [ReposPrivilegesPartialUpdate] :data
596
549
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
597
550
  def repos_privileges_partial_update_with_http_info(owner, identifier, opts = {})
598
551
  if @api_client.config.debugging
@@ -614,12 +567,14 @@ module CloudsmithApi
614
567
 
615
568
  # header parameters
616
569
  header_params = {}
570
+ # HTTP header 'Content-Type'
571
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
617
572
 
618
573
  # form parameters
619
574
  form_params = {}
620
575
 
621
576
  # http body (model)
622
- post_body = nil
577
+ post_body = @api_client.object_to_http_body(opts[:'data'])
623
578
  auth_names = ['apikey']
624
579
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
625
580
  :header_params => header_params,
@@ -637,10 +592,11 @@ module CloudsmithApi
637
592
  # @param owner
638
593
  # @param identifier
639
594
  # @param [Hash] opts the optional parameters
640
- # @return [RepositoryPrivilegeList]
595
+ # @option opts [ReposPrivilegesUpdate] :data
596
+ # @return [nil]
641
597
  def repos_privileges_update(owner, identifier, opts = {})
642
- data, _status_code, _headers = repos_privileges_update_with_http_info(owner, identifier, opts)
643
- data
598
+ repos_privileges_update_with_http_info(owner, identifier, opts)
599
+ nil
644
600
  end
645
601
 
646
602
  # Replace all existing repository privileges with those specified.
@@ -648,7 +604,8 @@ module CloudsmithApi
648
604
  # @param owner
649
605
  # @param identifier
650
606
  # @param [Hash] opts the optional parameters
651
- # @return [Array<(RepositoryPrivilegeList, Fixnum, Hash)>] RepositoryPrivilegeList data, response status code and response headers
607
+ # @option opts [ReposPrivilegesUpdate] :data
608
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
652
609
  def repos_privileges_update_with_http_info(owner, identifier, opts = {})
653
610
  if @api_client.config.debugging
654
611
  @api_client.config.logger.debug 'Calling API: ReposApi.repos_privileges_update ...'
@@ -669,20 +626,21 @@ module CloudsmithApi
669
626
 
670
627
  # header parameters
671
628
  header_params = {}
629
+ # HTTP header 'Content-Type'
630
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
672
631
 
673
632
  # form parameters
674
633
  form_params = {}
675
634
 
676
635
  # http body (model)
677
- post_body = nil
636
+ post_body = @api_client.object_to_http_body(opts[:'data'])
678
637
  auth_names = ['apikey']
679
638
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
680
639
  :header_params => header_params,
681
640
  :query_params => query_params,
682
641
  :form_params => form_params,
683
642
  :body => post_body,
684
- :auth_names => auth_names,
685
- :return_type => 'RepositoryPrivilegeList')
643
+ :auth_names => auth_names)
686
644
  if @api_client.config.debugging
687
645
  @api_client.config.logger.debug "API called: ReposApi#repos_privileges_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
688
646
  end