cloudsmith-api 2.0.37 → 2.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (818) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +3 -3
  4. data/README.md +14 -4
  5. data/build.json +1 -1
  6. data/cloudsmith-api.gemspec +1 -1
  7. data/docs/OrganizationApiKeyRule.md +1 -1
  8. data/docs/ReposApi.md +401 -0
  9. data/docs/Service.md +1 -1
  10. data/docs/SkillsUpstream.md +34 -0
  11. data/docs/SkillsUpstreamRequest.md +22 -0
  12. data/docs/SkillsUpstreamRequestPatch.md +22 -0
  13. data/docs/SkillsUpstreamSelection.md +10 -0
  14. data/lib/cloudsmith-api/api/audit_log_api.rb +1 -1
  15. data/lib/cloudsmith-api/api/badges_api.rb +1 -1
  16. data/lib/cloudsmith-api/api/broadcasts_api.rb +1 -1
  17. data/lib/cloudsmith-api/api/bulk_action_api.rb +1 -1
  18. data/lib/cloudsmith-api/api/distros_api.rb +1 -1
  19. data/lib/cloudsmith-api/api/entitlements_api.rb +1 -1
  20. data/lib/cloudsmith-api/api/files_api.rb +1 -1
  21. data/lib/cloudsmith-api/api/formats_api.rb +1 -1
  22. data/lib/cloudsmith-api/api/metrics_api.rb +1 -1
  23. data/lib/cloudsmith-api/api/namespaces_api.rb +1 -1
  24. data/lib/cloudsmith-api/api/openid_api.rb +1 -1
  25. data/lib/cloudsmith-api/api/orgs_api.rb +1 -1
  26. data/lib/cloudsmith-api/api/packages_api.rb +1 -1
  27. data/lib/cloudsmith-api/api/quota_api.rb +1 -1
  28. data/lib/cloudsmith-api/api/rates_api.rb +1 -1
  29. data/lib/cloudsmith-api/api/recycle_bin_api.rb +1 -1
  30. data/lib/cloudsmith-api/api/repos_api.rb +396 -1
  31. data/lib/cloudsmith-api/api/status_api.rb +1 -1
  32. data/lib/cloudsmith-api/api/storage_regions_api.rb +1 -1
  33. data/lib/cloudsmith-api/api/user_api.rb +1 -1
  34. data/lib/cloudsmith-api/api/users_api.rb +1 -1
  35. data/lib/cloudsmith-api/api/vulnerabilities_api.rb +1 -1
  36. data/lib/cloudsmith-api/api/webhooks_api.rb +1 -1
  37. data/lib/cloudsmith-api/api_client.rb +1 -1
  38. data/lib/cloudsmith-api/api_error.rb +1 -1
  39. data/lib/cloudsmith-api/configuration.rb +1 -1
  40. data/lib/cloudsmith-api/models/allocated_limit.rb +1 -1
  41. data/lib/cloudsmith-api/models/allocated_limit_raw.rb +1 -1
  42. data/lib/cloudsmith-api/models/alpine_package_upload.rb +1 -1
  43. data/lib/cloudsmith-api/models/alpine_package_upload_request.rb +1 -1
  44. data/lib/cloudsmith-api/models/alpine_upstream.rb +1 -1
  45. data/lib/cloudsmith-api/models/alpine_upstream_request.rb +1 -1
  46. data/lib/cloudsmith-api/models/alpine_upstream_request_patch.rb +1 -1
  47. data/lib/cloudsmith-api/models/architecture.rb +1 -1
  48. data/lib/cloudsmith-api/models/broadcast_token.rb +1 -1
  49. data/lib/cloudsmith-api/models/broadcast_token_input.rb +1 -1
  50. data/lib/cloudsmith-api/models/cargo_package_upload.rb +1 -1
  51. data/lib/cloudsmith-api/models/cargo_package_upload_request.rb +1 -1
  52. data/lib/cloudsmith-api/models/cargo_upstream.rb +1 -1
  53. data/lib/cloudsmith-api/models/cargo_upstream_request.rb +1 -1
  54. data/lib/cloudsmith-api/models/cargo_upstream_request_patch.rb +1 -1
  55. data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +1 -1
  56. data/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb +1 -1
  57. data/lib/cloudsmith-api/models/common_bandwidth_metrics.rb +1 -1
  58. data/lib/cloudsmith-api/models/common_bandwidth_metrics_value.rb +1 -1
  59. data/lib/cloudsmith-api/models/common_downloads_metrics.rb +1 -1
  60. data/lib/cloudsmith-api/models/common_downloads_metrics_value.rb +1 -1
  61. data/lib/cloudsmith-api/models/common_metrics.rb +1 -1
  62. data/lib/cloudsmith-api/models/composer_package_upload.rb +1 -1
  63. data/lib/cloudsmith-api/models/composer_package_upload_request.rb +1 -1
  64. data/lib/cloudsmith-api/models/composer_upstream.rb +1 -1
  65. data/lib/cloudsmith-api/models/composer_upstream_request.rb +1 -1
  66. data/lib/cloudsmith-api/models/composer_upstream_request_patch.rb +1 -1
  67. data/lib/cloudsmith-api/models/conan_package_upload.rb +1 -1
  68. data/lib/cloudsmith-api/models/conan_package_upload_request.rb +1 -1
  69. data/lib/cloudsmith-api/models/conda_package_upload.rb +1 -1
  70. data/lib/cloudsmith-api/models/conda_package_upload_request.rb +1 -1
  71. data/lib/cloudsmith-api/models/conda_upstream.rb +1 -1
  72. data/lib/cloudsmith-api/models/conda_upstream_request.rb +1 -1
  73. data/lib/cloudsmith-api/models/conda_upstream_request_patch.rb +1 -1
  74. data/lib/cloudsmith-api/models/connected_repository.rb +1 -1
  75. data/lib/cloudsmith-api/models/connected_repository_request.rb +1 -1
  76. data/lib/cloudsmith-api/models/connected_repository_request_patch.rb +1 -1
  77. data/lib/cloudsmith-api/models/connected_repository_target_summary.rb +1 -1
  78. data/lib/cloudsmith-api/models/connected_repository_upstream.rb +1 -1
  79. data/lib/cloudsmith-api/models/cran_package_upload.rb +1 -1
  80. data/lib/cloudsmith-api/models/cran_package_upload_request.rb +1 -1
  81. data/lib/cloudsmith-api/models/cran_upstream.rb +1 -1
  82. data/lib/cloudsmith-api/models/cran_upstream_request.rb +1 -1
  83. data/lib/cloudsmith-api/models/cran_upstream_request_patch.rb +1 -1
  84. data/lib/cloudsmith-api/models/dart_package_upload.rb +1 -1
  85. data/lib/cloudsmith-api/models/dart_package_upload_request.rb +1 -1
  86. data/lib/cloudsmith-api/models/dart_upstream.rb +1 -1
  87. data/lib/cloudsmith-api/models/dart_upstream_request.rb +1 -1
  88. data/lib/cloudsmith-api/models/dart_upstream_request_patch.rb +1 -1
  89. data/lib/cloudsmith-api/models/deb_package_upload.rb +1 -1
  90. data/lib/cloudsmith-api/models/deb_package_upload_request.rb +1 -1
  91. data/lib/cloudsmith-api/models/deb_upstream.rb +1 -1
  92. data/lib/cloudsmith-api/models/deb_upstream_request.rb +1 -1
  93. data/lib/cloudsmith-api/models/deb_upstream_request_patch.rb +1 -1
  94. data/lib/cloudsmith-api/models/distribution.rb +1 -1
  95. data/lib/cloudsmith-api/models/distribution_full.rb +1 -1
  96. data/lib/cloudsmith-api/models/distribution_version.rb +1 -1
  97. data/lib/cloudsmith-api/models/docker_package_upload.rb +1 -1
  98. data/lib/cloudsmith-api/models/docker_package_upload_request.rb +1 -1
  99. data/lib/cloudsmith-api/models/docker_upstream.rb +1 -1
  100. data/lib/cloudsmith-api/models/docker_upstream_request.rb +1 -1
  101. data/lib/cloudsmith-api/models/docker_upstream_request_patch.rb +1 -1
  102. data/lib/cloudsmith-api/models/dynamic_mapping.rb +1 -1
  103. data/lib/cloudsmith-api/models/entitlement_usage_metrics.rb +1 -1
  104. data/lib/cloudsmith-api/models/error_detail.rb +1 -1
  105. data/lib/cloudsmith-api/models/eula.rb +1 -1
  106. data/lib/cloudsmith-api/models/format.rb +1 -1
  107. data/lib/cloudsmith-api/models/format_support.rb +1 -1
  108. data/lib/cloudsmith-api/models/format_support_upstream.rb +1 -1
  109. data/lib/cloudsmith-api/models/generic_package_upload.rb +1 -1
  110. data/lib/cloudsmith-api/models/generic_package_upload_request.rb +1 -1
  111. data/lib/cloudsmith-api/models/generic_upstream.rb +1 -1
  112. data/lib/cloudsmith-api/models/generic_upstream_request.rb +1 -1
  113. data/lib/cloudsmith-api/models/generic_upstream_request_patch.rb +1 -1
  114. data/lib/cloudsmith-api/models/geo_ip_location.rb +1 -1
  115. data/lib/cloudsmith-api/models/go_package_upload.rb +1 -1
  116. data/lib/cloudsmith-api/models/go_package_upload_request.rb +1 -1
  117. data/lib/cloudsmith-api/models/go_upstream.rb +1 -1
  118. data/lib/cloudsmith-api/models/go_upstream_request.rb +1 -1
  119. data/lib/cloudsmith-api/models/go_upstream_request_patch.rb +1 -1
  120. data/lib/cloudsmith-api/models/helm_package_upload.rb +1 -1
  121. data/lib/cloudsmith-api/models/helm_package_upload_request.rb +1 -1
  122. data/lib/cloudsmith-api/models/helm_upstream.rb +1 -1
  123. data/lib/cloudsmith-api/models/helm_upstream_request.rb +1 -1
  124. data/lib/cloudsmith-api/models/helm_upstream_request_patch.rb +1 -1
  125. data/lib/cloudsmith-api/models/hex_package_upload.rb +1 -1
  126. data/lib/cloudsmith-api/models/hex_package_upload_request.rb +1 -1
  127. data/lib/cloudsmith-api/models/hex_upstream.rb +1 -1
  128. data/lib/cloudsmith-api/models/hex_upstream_request.rb +1 -1
  129. data/lib/cloudsmith-api/models/hex_upstream_request_patch.rb +1 -1
  130. data/lib/cloudsmith-api/models/history.rb +1 -1
  131. data/lib/cloudsmith-api/models/history_fieldset.rb +1 -1
  132. data/lib/cloudsmith-api/models/history_fieldset_raw.rb +1 -1
  133. data/lib/cloudsmith-api/models/huggingface_package_upload.rb +1 -1
  134. data/lib/cloudsmith-api/models/huggingface_package_upload_request.rb +1 -1
  135. data/lib/cloudsmith-api/models/huggingface_upstream.rb +1 -1
  136. data/lib/cloudsmith-api/models/huggingface_upstream_request.rb +1 -1
  137. data/lib/cloudsmith-api/models/huggingface_upstream_request_patch.rb +1 -1
  138. data/lib/cloudsmith-api/models/inline_response_200.rb +1 -1
  139. data/lib/cloudsmith-api/models/inline_response_200_1.rb +1 -1
  140. data/lib/cloudsmith-api/models/inline_response_200_2.rb +1 -1
  141. data/lib/cloudsmith-api/models/inline_response_200_3.rb +1 -1
  142. data/lib/cloudsmith-api/models/inline_response_200_4.rb +1 -1
  143. data/lib/cloudsmith-api/models/luarocks_package_upload.rb +1 -1
  144. data/lib/cloudsmith-api/models/luarocks_package_upload_request.rb +1 -1
  145. data/lib/cloudsmith-api/models/maven_package_upload.rb +1 -1
  146. data/lib/cloudsmith-api/models/maven_package_upload_request.rb +1 -1
  147. data/lib/cloudsmith-api/models/maven_upstream.rb +1 -1
  148. data/lib/cloudsmith-api/models/maven_upstream_request.rb +1 -1
  149. data/lib/cloudsmith-api/models/maven_upstream_request_patch.rb +1 -1
  150. data/lib/cloudsmith-api/models/mcp_package_upload.rb +1 -1
  151. data/lib/cloudsmith-api/models/mcp_package_upload_request.rb +1 -1
  152. data/lib/cloudsmith-api/models/member_teams.rb +1 -1
  153. data/lib/cloudsmith-api/models/namespace.rb +1 -1
  154. data/lib/cloudsmith-api/models/namespace_audit_log.rb +1 -1
  155. data/lib/cloudsmith-api/models/nested_license_policy.rb +1 -1
  156. data/lib/cloudsmith-api/models/nested_vulnerability_policy.rb +1 -1
  157. data/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb +1 -1
  158. data/lib/cloudsmith-api/models/nix_package_upload.rb +1 -1
  159. data/lib/cloudsmith-api/models/nix_package_upload_request.rb +1 -1
  160. data/lib/cloudsmith-api/models/nix_upstream.rb +1 -1
  161. data/lib/cloudsmith-api/models/nix_upstream_request.rb +1 -1
  162. data/lib/cloudsmith-api/models/nix_upstream_request_patch.rb +1 -1
  163. data/lib/cloudsmith-api/models/npm_package_upload.rb +1 -1
  164. data/lib/cloudsmith-api/models/npm_package_upload_request.rb +1 -1
  165. data/lib/cloudsmith-api/models/npm_upstream.rb +1 -1
  166. data/lib/cloudsmith-api/models/npm_upstream_request.rb +1 -1
  167. data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +1 -1
  168. data/lib/cloudsmith-api/models/nuget_package_upload.rb +1 -1
  169. data/lib/cloudsmith-api/models/nuget_package_upload_request.rb +1 -1
  170. data/lib/cloudsmith-api/models/nuget_upstream.rb +1 -1
  171. data/lib/cloudsmith-api/models/nuget_upstream_request.rb +1 -1
  172. data/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb +1 -1
  173. data/lib/cloudsmith-api/models/oidc.rb +1 -1
  174. data/lib/cloudsmith-api/models/oidc_1.rb +1 -1
  175. data/lib/cloudsmith-api/models/oidc_request.rb +1 -1
  176. data/lib/cloudsmith-api/models/organization.rb +1 -1
  177. data/lib/cloudsmith-api/models/organization_api_key_rule.rb +2 -2
  178. data/lib/cloudsmith-api/models/organization_api_key_rule_request.rb +1 -1
  179. data/lib/cloudsmith-api/models/organization_api_key_rule_request_patch.rb +1 -1
  180. data/lib/cloudsmith-api/models/organization_custom_domain_nested_repo.rb +1 -1
  181. data/lib/cloudsmith-api/models/organization_custom_domains.rb +1 -1
  182. data/lib/cloudsmith-api/models/organization_group_sync.rb +1 -1
  183. data/lib/cloudsmith-api/models/organization_group_sync_request.rb +1 -1
  184. data/lib/cloudsmith-api/models/organization_group_sync_status.rb +1 -1
  185. data/lib/cloudsmith-api/models/organization_invite.rb +1 -1
  186. data/lib/cloudsmith-api/models/organization_invite_extend.rb +1 -1
  187. data/lib/cloudsmith-api/models/organization_invite_request.rb +1 -1
  188. data/lib/cloudsmith-api/models/organization_invite_update.rb +1 -1
  189. data/lib/cloudsmith-api/models/organization_invite_update_request_patch.rb +1 -1
  190. data/lib/cloudsmith-api/models/organization_membership.rb +1 -1
  191. data/lib/cloudsmith-api/models/organization_membership_request_patch.rb +1 -1
  192. data/lib/cloudsmith-api/models/organization_membership_role_update.rb +1 -1
  193. data/lib/cloudsmith-api/models/organization_membership_role_update_request_patch.rb +1 -1
  194. data/lib/cloudsmith-api/models/organization_membership_visibility_update.rb +1 -1
  195. data/lib/cloudsmith-api/models/organization_membership_visibility_update_request_patch.rb +1 -1
  196. data/lib/cloudsmith-api/models/organization_package_license_policy.rb +1 -1
  197. data/lib/cloudsmith-api/models/organization_package_license_policy_request.rb +1 -1
  198. data/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb +1 -1
  199. data/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb +1 -1
  200. data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb +1 -1
  201. data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb +1 -1
  202. data/lib/cloudsmith-api/models/organization_saml_auth.rb +1 -1
  203. data/lib/cloudsmith-api/models/organization_saml_auth_request_patch.rb +1 -1
  204. data/lib/cloudsmith-api/models/organization_team.rb +1 -1
  205. data/lib/cloudsmith-api/models/organization_team_invite.rb +1 -1
  206. data/lib/cloudsmith-api/models/organization_team_members.rb +1 -1
  207. data/lib/cloudsmith-api/models/organization_team_request.rb +1 -1
  208. data/lib/cloudsmith-api/models/organization_team_request_patch.rb +1 -1
  209. data/lib/cloudsmith-api/models/organization_team_service_member.rb +1 -1
  210. data/lib/cloudsmith-api/models/organization_usage.rb +1 -1
  211. data/lib/cloudsmith-api/models/organization_usage_update.rb +1 -1
  212. data/lib/cloudsmith-api/models/organization_usage_update_request_patch.rb +1 -1
  213. data/lib/cloudsmith-api/models/p2_package_upload.rb +1 -1
  214. data/lib/cloudsmith-api/models/p2_package_upload_request.rb +1 -1
  215. data/lib/cloudsmith-api/models/package.rb +1 -1
  216. data/lib/cloudsmith-api/models/package_bulk_action.rb +1 -1
  217. data/lib/cloudsmith-api/models/package_bulk_action_response.rb +1 -1
  218. data/lib/cloudsmith-api/models/package_copy.rb +1 -1
  219. data/lib/cloudsmith-api/models/package_copy_request.rb +1 -1
  220. data/lib/cloudsmith-api/models/package_deny_policy.rb +1 -1
  221. data/lib/cloudsmith-api/models/package_deny_policy_request.rb +1 -1
  222. data/lib/cloudsmith-api/models/package_deny_policy_request_patch.rb +1 -1
  223. data/lib/cloudsmith-api/models/package_dependencies.rb +1 -1
  224. data/lib/cloudsmith-api/models/package_dependency.rb +1 -1
  225. data/lib/cloudsmith-api/models/package_detail.rb +1 -1
  226. data/lib/cloudsmith-api/models/package_file.rb +1 -1
  227. data/lib/cloudsmith-api/models/package_file_parts_upload.rb +1 -1
  228. data/lib/cloudsmith-api/models/package_file_upload.rb +1 -1
  229. data/lib/cloudsmith-api/models/package_file_upload_request.rb +1 -1
  230. data/lib/cloudsmith-api/models/package_group.rb +1 -1
  231. data/lib/cloudsmith-api/models/package_license.rb +1 -1
  232. data/lib/cloudsmith-api/models/package_license_policy_evaluation_request.rb +1 -1
  233. data/lib/cloudsmith-api/models/package_license_policy_evaluation_request_request.rb +1 -1
  234. data/lib/cloudsmith-api/models/package_license_policy_violation_log.rb +1 -1
  235. data/lib/cloudsmith-api/models/package_license_policy_violation_log_cursor_page.rb +1 -1
  236. data/lib/cloudsmith-api/models/package_license_request_patch.rb +1 -1
  237. data/lib/cloudsmith-api/models/package_move.rb +1 -1
  238. data/lib/cloudsmith-api/models/package_move_request.rb +1 -1
  239. data/lib/cloudsmith-api/models/package_quarantine.rb +1 -1
  240. data/lib/cloudsmith-api/models/package_quarantine_request.rb +1 -1
  241. data/lib/cloudsmith-api/models/package_recycle_bin.rb +1 -1
  242. data/lib/cloudsmith-api/models/package_resync.rb +1 -1
  243. data/lib/cloudsmith-api/models/package_status.rb +1 -1
  244. data/lib/cloudsmith-api/models/package_tag.rb +1 -1
  245. data/lib/cloudsmith-api/models/package_tag_request.rb +1 -1
  246. data/lib/cloudsmith-api/models/package_usage_metrics.rb +1 -1
  247. data/lib/cloudsmith-api/models/package_version_badge.rb +1 -1
  248. data/lib/cloudsmith-api/models/package_vulnerability.rb +1 -1
  249. data/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request.rb +1 -1
  250. data/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request_request.rb +1 -1
  251. data/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log.rb +1 -1
  252. data/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log_cursor_page.rb +1 -1
  253. data/lib/cloudsmith-api/models/provider_settings.rb +1 -1
  254. data/lib/cloudsmith-api/models/provider_settings_write.rb +1 -1
  255. data/lib/cloudsmith-api/models/provider_settings_write_request.rb +1 -1
  256. data/lib/cloudsmith-api/models/provider_settings_write_request_patch.rb +1 -1
  257. data/lib/cloudsmith-api/models/python_package_upload.rb +1 -1
  258. data/lib/cloudsmith-api/models/python_package_upload_request.rb +1 -1
  259. data/lib/cloudsmith-api/models/python_upstream.rb +1 -1
  260. data/lib/cloudsmith-api/models/python_upstream_request.rb +1 -1
  261. data/lib/cloudsmith-api/models/python_upstream_request_patch.rb +1 -1
  262. data/lib/cloudsmith-api/models/quota.rb +1 -1
  263. data/lib/cloudsmith-api/models/quota_history.rb +1 -1
  264. data/lib/cloudsmith-api/models/rate_check.rb +1 -1
  265. data/lib/cloudsmith-api/models/raw_package_upload.rb +1 -1
  266. data/lib/cloudsmith-api/models/raw_package_upload_request.rb +1 -1
  267. data/lib/cloudsmith-api/models/recycle_bin_package.rb +1 -1
  268. data/lib/cloudsmith-api/models/repository.rb +1 -1
  269. data/lib/cloudsmith-api/models/repository_audit_log.rb +1 -1
  270. data/lib/cloudsmith-api/models/repository_create.rb +1 -1
  271. data/lib/cloudsmith-api/models/repository_create_request.rb +1 -1
  272. data/lib/cloudsmith-api/models/repository_ecdsa_key.rb +1 -1
  273. data/lib/cloudsmith-api/models/repository_ecdsa_key_create.rb +1 -1
  274. data/lib/cloudsmith-api/models/repository_ed25519_key.rb +1 -1
  275. data/lib/cloudsmith-api/models/repository_ed25519_key_create.rb +1 -1
  276. data/lib/cloudsmith-api/models/repository_geo_ip_cidr.rb +1 -1
  277. data/lib/cloudsmith-api/models/repository_geo_ip_country_code.rb +1 -1
  278. data/lib/cloudsmith-api/models/repository_geo_ip_rules.rb +1 -1
  279. data/lib/cloudsmith-api/models/repository_geo_ip_rules_request.rb +1 -1
  280. data/lib/cloudsmith-api/models/repository_geo_ip_rules_request_patch.rb +1 -1
  281. data/lib/cloudsmith-api/models/repository_geo_ip_status.rb +1 -1
  282. data/lib/cloudsmith-api/models/repository_geo_ip_test_address.rb +1 -1
  283. data/lib/cloudsmith-api/models/repository_geo_ip_test_address_response.rb +1 -1
  284. data/lib/cloudsmith-api/models/repository_geo_ip_test_address_response_dict.rb +1 -1
  285. data/lib/cloudsmith-api/models/repository_gpg_key.rb +1 -1
  286. data/lib/cloudsmith-api/models/repository_gpg_key_create.rb +1 -1
  287. data/lib/cloudsmith-api/models/repository_privilege_dict.rb +1 -1
  288. data/lib/cloudsmith-api/models/repository_privilege_input.rb +1 -1
  289. data/lib/cloudsmith-api/models/repository_privilege_input_request.rb +1 -1
  290. data/lib/cloudsmith-api/models/repository_privilege_input_request_patch.rb +1 -1
  291. data/lib/cloudsmith-api/models/repository_request_patch.rb +1 -1
  292. data/lib/cloudsmith-api/models/repository_retention_rules.rb +1 -1
  293. data/lib/cloudsmith-api/models/repository_retention_rules_request_patch.rb +1 -1
  294. data/lib/cloudsmith-api/models/repository_rsa_key.rb +1 -1
  295. data/lib/cloudsmith-api/models/repository_rsa_key_create.rb +1 -1
  296. data/lib/cloudsmith-api/models/repository_token.rb +1 -1
  297. data/lib/cloudsmith-api/models/repository_token_action.rb +1 -1
  298. data/lib/cloudsmith-api/models/repository_token_private_broadcasts.rb +1 -1
  299. data/lib/cloudsmith-api/models/repository_token_private_broadcasts_request.rb +1 -1
  300. data/lib/cloudsmith-api/models/repository_token_refresh.rb +1 -1
  301. data/lib/cloudsmith-api/models/repository_token_refresh_request.rb +1 -1
  302. data/lib/cloudsmith-api/models/repository_token_request.rb +1 -1
  303. data/lib/cloudsmith-api/models/repository_token_request_patch.rb +1 -1
  304. data/lib/cloudsmith-api/models/repository_token_sync.rb +1 -1
  305. data/lib/cloudsmith-api/models/repository_token_sync_request.rb +1 -1
  306. data/lib/cloudsmith-api/models/repository_transfer_region.rb +1 -1
  307. data/lib/cloudsmith-api/models/repository_transfer_region_request.rb +1 -1
  308. data/lib/cloudsmith-api/models/repository_webhook.rb +1 -1
  309. data/lib/cloudsmith-api/models/repository_webhook_request.rb +1 -1
  310. data/lib/cloudsmith-api/models/repository_webhook_request_patch.rb +1 -1
  311. data/lib/cloudsmith-api/models/repository_x509_ecdsa_certificate.rb +1 -1
  312. data/lib/cloudsmith-api/models/repository_x509_rsa_certificate.rb +1 -1
  313. data/lib/cloudsmith-api/models/resources_rate_check.rb +1 -1
  314. data/lib/cloudsmith-api/models/respository_geo_ip_enable_disable.rb +1 -1
  315. data/lib/cloudsmith-api/models/respository_geo_ip_enable_disable_request.rb +1 -1
  316. data/lib/cloudsmith-api/models/rpm_package_upload.rb +1 -1
  317. data/lib/cloudsmith-api/models/rpm_package_upload_request.rb +1 -1
  318. data/lib/cloudsmith-api/models/rpm_upstream.rb +1 -1
  319. data/lib/cloudsmith-api/models/rpm_upstream_request.rb +1 -1
  320. data/lib/cloudsmith-api/models/rpm_upstream_request_patch.rb +1 -1
  321. data/lib/cloudsmith-api/models/ruby_package_upload.rb +1 -1
  322. data/lib/cloudsmith-api/models/ruby_package_upload_request.rb +1 -1
  323. data/lib/cloudsmith-api/models/ruby_upstream.rb +1 -1
  324. data/lib/cloudsmith-api/models/ruby_upstream_request.rb +1 -1
  325. data/lib/cloudsmith-api/models/ruby_upstream_request_patch.rb +1 -1
  326. data/lib/cloudsmith-api/models/service.rb +2 -2
  327. data/lib/cloudsmith-api/models/service_request.rb +1 -1
  328. data/lib/cloudsmith-api/models/service_request_patch.rb +1 -1
  329. data/lib/cloudsmith-api/models/service_teams.rb +1 -1
  330. data/lib/cloudsmith-api/models/skills_package_upload.rb +1 -1
  331. data/lib/cloudsmith-api/models/skills_package_upload_request.rb +1 -1
  332. data/lib/cloudsmith-api/models/skills_upstream.rb +532 -0
  333. data/lib/cloudsmith-api/models/skills_upstream_request.rb +401 -0
  334. data/lib/cloudsmith-api/models/skills_upstream_request_patch.rb +391 -0
  335. data/lib/cloudsmith-api/models/skills_upstream_selection.rb +220 -0
  336. data/lib/cloudsmith-api/models/status_basic.rb +1 -1
  337. data/lib/cloudsmith-api/models/storage_allocated_limit.rb +1 -1
  338. data/lib/cloudsmith-api/models/storage_allocated_limit_raw.rb +1 -1
  339. data/lib/cloudsmith-api/models/storage_region.rb +1 -1
  340. data/lib/cloudsmith-api/models/storage_usage.rb +1 -1
  341. data/lib/cloudsmith-api/models/storage_usage_raw.rb +1 -1
  342. data/lib/cloudsmith-api/models/swift_package_upload.rb +1 -1
  343. data/lib/cloudsmith-api/models/swift_package_upload_request.rb +1 -1
  344. data/lib/cloudsmith-api/models/swift_upstream.rb +1 -1
  345. data/lib/cloudsmith-api/models/swift_upstream_request.rb +1 -1
  346. data/lib/cloudsmith-api/models/swift_upstream_request_patch.rb +1 -1
  347. data/lib/cloudsmith-api/models/tags.rb +1 -1
  348. data/lib/cloudsmith-api/models/terraform_package_upload.rb +1 -1
  349. data/lib/cloudsmith-api/models/terraform_package_upload_request.rb +1 -1
  350. data/lib/cloudsmith-api/models/usage.rb +1 -1
  351. data/lib/cloudsmith-api/models/usage_fieldset.rb +1 -1
  352. data/lib/cloudsmith-api/models/usage_limits.rb +1 -1
  353. data/lib/cloudsmith-api/models/usage_limits_raw.rb +1 -1
  354. data/lib/cloudsmith-api/models/usage_raw.rb +1 -1
  355. data/lib/cloudsmith-api/models/user_auth_token.rb +1 -1
  356. data/lib/cloudsmith-api/models/user_auth_token_request.rb +1 -1
  357. data/lib/cloudsmith-api/models/user_authentication_token.rb +1 -1
  358. data/lib/cloudsmith-api/models/user_brief.rb +1 -1
  359. data/lib/cloudsmith-api/models/user_profile.rb +1 -1
  360. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +1 -1
  361. data/lib/cloudsmith-api/models/vagrant_package_upload_request.rb +1 -1
  362. data/lib/cloudsmith-api/models/vsx_package_upload.rb +1 -1
  363. data/lib/cloudsmith-api/models/vsx_package_upload_request.rb +1 -1
  364. data/lib/cloudsmith-api/models/vulnerability.rb +1 -1
  365. data/lib/cloudsmith-api/models/vulnerability_scan.rb +1 -1
  366. data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +1 -1
  367. data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +1 -1
  368. data/lib/cloudsmith-api/models/vulnerability_scan_version.rb +1 -1
  369. data/lib/cloudsmith-api/models/web_osv_severity_counts.rb +1 -1
  370. data/lib/cloudsmith-api/models/webhook_template.rb +1 -1
  371. data/lib/cloudsmith-api/version.rb +2 -2
  372. data/lib/cloudsmith-api.rb +5 -1
  373. data/spec/api/audit_log_api_spec.rb +1 -1
  374. data/spec/api/badges_api_spec.rb +1 -1
  375. data/spec/api/broadcasts_api_spec.rb +1 -1
  376. data/spec/api/bulk_action_api_spec.rb +1 -1
  377. data/spec/api/distros_api_spec.rb +1 -1
  378. data/spec/api/entitlements_api_spec.rb +1 -1
  379. data/spec/api/files_api_spec.rb +1 -1
  380. data/spec/api/formats_api_spec.rb +1 -1
  381. data/spec/api/metrics_api_spec.rb +1 -1
  382. data/spec/api/namespaces_api_spec.rb +1 -1
  383. data/spec/api/openid_api_spec.rb +1 -1
  384. data/spec/api/orgs_api_spec.rb +1 -1
  385. data/spec/api/packages_api_spec.rb +1 -1
  386. data/spec/api/quota_api_spec.rb +1 -1
  387. data/spec/api/rates_api_spec.rb +1 -1
  388. data/spec/api/recycle_bin_api_spec.rb +1 -1
  389. data/spec/api/repos_api_spec.rb +88 -1
  390. data/spec/api/status_api_spec.rb +1 -1
  391. data/spec/api/storage_regions_api_spec.rb +1 -1
  392. data/spec/api/user_api_spec.rb +1 -1
  393. data/spec/api/users_api_spec.rb +1 -1
  394. data/spec/api/vulnerabilities_api_spec.rb +1 -1
  395. data/spec/api/webhooks_api_spec.rb +1 -1
  396. data/spec/api_client_spec.rb +1 -1
  397. data/spec/configuration_spec.rb +1 -1
  398. data/spec/models/allocated_limit_raw_spec.rb +1 -1
  399. data/spec/models/allocated_limit_spec.rb +1 -1
  400. data/spec/models/alpine_package_upload_request_spec.rb +1 -1
  401. data/spec/models/alpine_package_upload_spec.rb +1 -1
  402. data/spec/models/alpine_upstream_request_patch_spec.rb +1 -1
  403. data/spec/models/alpine_upstream_request_spec.rb +1 -1
  404. data/spec/models/alpine_upstream_spec.rb +1 -1
  405. data/spec/models/architecture_spec.rb +1 -1
  406. data/spec/models/broadcast_token_input_spec.rb +1 -1
  407. data/spec/models/broadcast_token_spec.rb +1 -1
  408. data/spec/models/cargo_package_upload_request_spec.rb +1 -1
  409. data/spec/models/cargo_package_upload_spec.rb +1 -1
  410. data/spec/models/cargo_upstream_request_patch_spec.rb +1 -1
  411. data/spec/models/cargo_upstream_request_spec.rb +1 -1
  412. data/spec/models/cargo_upstream_spec.rb +1 -1
  413. data/spec/models/cocoapods_package_upload_request_spec.rb +1 -1
  414. data/spec/models/cocoapods_package_upload_spec.rb +1 -1
  415. data/spec/models/common_bandwidth_metrics_spec.rb +1 -1
  416. data/spec/models/common_bandwidth_metrics_value_spec.rb +1 -1
  417. data/spec/models/common_downloads_metrics_spec.rb +1 -1
  418. data/spec/models/common_downloads_metrics_value_spec.rb +1 -1
  419. data/spec/models/common_metrics_spec.rb +1 -1
  420. data/spec/models/composer_package_upload_request_spec.rb +1 -1
  421. data/spec/models/composer_package_upload_spec.rb +1 -1
  422. data/spec/models/composer_upstream_request_patch_spec.rb +1 -1
  423. data/spec/models/composer_upstream_request_spec.rb +1 -1
  424. data/spec/models/composer_upstream_spec.rb +1 -1
  425. data/spec/models/conan_package_upload_request_spec.rb +1 -1
  426. data/spec/models/conan_package_upload_spec.rb +1 -1
  427. data/spec/models/conda_package_upload_request_spec.rb +1 -1
  428. data/spec/models/conda_package_upload_spec.rb +1 -1
  429. data/spec/models/conda_upstream_request_patch_spec.rb +1 -1
  430. data/spec/models/conda_upstream_request_spec.rb +1 -1
  431. data/spec/models/conda_upstream_spec.rb +1 -1
  432. data/spec/models/connected_repository_request_patch_spec.rb +1 -1
  433. data/spec/models/connected_repository_request_spec.rb +1 -1
  434. data/spec/models/connected_repository_spec.rb +1 -1
  435. data/spec/models/connected_repository_target_summary_spec.rb +1 -1
  436. data/spec/models/connected_repository_upstream_spec.rb +1 -1
  437. data/spec/models/cran_package_upload_request_spec.rb +1 -1
  438. data/spec/models/cran_package_upload_spec.rb +1 -1
  439. data/spec/models/cran_upstream_request_patch_spec.rb +1 -1
  440. data/spec/models/cran_upstream_request_spec.rb +1 -1
  441. data/spec/models/cran_upstream_spec.rb +1 -1
  442. data/spec/models/dart_package_upload_request_spec.rb +1 -1
  443. data/spec/models/dart_package_upload_spec.rb +1 -1
  444. data/spec/models/dart_upstream_request_patch_spec.rb +1 -1
  445. data/spec/models/dart_upstream_request_spec.rb +1 -1
  446. data/spec/models/dart_upstream_spec.rb +1 -1
  447. data/spec/models/deb_package_upload_request_spec.rb +1 -1
  448. data/spec/models/deb_package_upload_spec.rb +1 -1
  449. data/spec/models/deb_upstream_request_patch_spec.rb +1 -1
  450. data/spec/models/deb_upstream_request_spec.rb +1 -1
  451. data/spec/models/deb_upstream_spec.rb +1 -1
  452. data/spec/models/distribution_full_spec.rb +1 -1
  453. data/spec/models/distribution_spec.rb +1 -1
  454. data/spec/models/distribution_version_spec.rb +1 -1
  455. data/spec/models/docker_package_upload_request_spec.rb +1 -1
  456. data/spec/models/docker_package_upload_spec.rb +1 -1
  457. data/spec/models/docker_upstream_request_patch_spec.rb +1 -1
  458. data/spec/models/docker_upstream_request_spec.rb +1 -1
  459. data/spec/models/docker_upstream_spec.rb +1 -1
  460. data/spec/models/dynamic_mapping_spec.rb +1 -1
  461. data/spec/models/entitlement_usage_metrics_spec.rb +1 -1
  462. data/spec/models/error_detail_spec.rb +1 -1
  463. data/spec/models/eula_spec.rb +1 -1
  464. data/spec/models/format_spec.rb +1 -1
  465. data/spec/models/format_support_spec.rb +1 -1
  466. data/spec/models/format_support_upstream_spec.rb +1 -1
  467. data/spec/models/generic_package_upload_request_spec.rb +1 -1
  468. data/spec/models/generic_package_upload_spec.rb +1 -1
  469. data/spec/models/generic_upstream_request_patch_spec.rb +1 -1
  470. data/spec/models/generic_upstream_request_spec.rb +1 -1
  471. data/spec/models/generic_upstream_spec.rb +1 -1
  472. data/spec/models/geo_ip_location_spec.rb +1 -1
  473. data/spec/models/go_package_upload_request_spec.rb +1 -1
  474. data/spec/models/go_package_upload_spec.rb +1 -1
  475. data/spec/models/go_upstream_request_patch_spec.rb +1 -1
  476. data/spec/models/go_upstream_request_spec.rb +1 -1
  477. data/spec/models/go_upstream_spec.rb +1 -1
  478. data/spec/models/helm_package_upload_request_spec.rb +1 -1
  479. data/spec/models/helm_package_upload_spec.rb +1 -1
  480. data/spec/models/helm_upstream_request_patch_spec.rb +1 -1
  481. data/spec/models/helm_upstream_request_spec.rb +1 -1
  482. data/spec/models/helm_upstream_spec.rb +1 -1
  483. data/spec/models/hex_package_upload_request_spec.rb +1 -1
  484. data/spec/models/hex_package_upload_spec.rb +1 -1
  485. data/spec/models/hex_upstream_request_patch_spec.rb +1 -1
  486. data/spec/models/hex_upstream_request_spec.rb +1 -1
  487. data/spec/models/hex_upstream_spec.rb +1 -1
  488. data/spec/models/history_fieldset_raw_spec.rb +1 -1
  489. data/spec/models/history_fieldset_spec.rb +1 -1
  490. data/spec/models/history_spec.rb +1 -1
  491. data/spec/models/huggingface_package_upload_request_spec.rb +1 -1
  492. data/spec/models/huggingface_package_upload_spec.rb +1 -1
  493. data/spec/models/huggingface_upstream_request_patch_spec.rb +1 -1
  494. data/spec/models/huggingface_upstream_request_spec.rb +1 -1
  495. data/spec/models/huggingface_upstream_spec.rb +1 -1
  496. data/spec/models/inline_response_200_1_spec.rb +1 -1
  497. data/spec/models/inline_response_200_2_spec.rb +1 -1
  498. data/spec/models/inline_response_200_3_spec.rb +1 -1
  499. data/spec/models/inline_response_200_4_spec.rb +1 -1
  500. data/spec/models/inline_response_200_spec.rb +1 -1
  501. data/spec/models/luarocks_package_upload_request_spec.rb +1 -1
  502. data/spec/models/luarocks_package_upload_spec.rb +1 -1
  503. data/spec/models/maven_package_upload_request_spec.rb +1 -1
  504. data/spec/models/maven_package_upload_spec.rb +1 -1
  505. data/spec/models/maven_upstream_request_patch_spec.rb +1 -1
  506. data/spec/models/maven_upstream_request_spec.rb +1 -1
  507. data/spec/models/maven_upstream_spec.rb +1 -1
  508. data/spec/models/mcp_package_upload_request_spec.rb +1 -1
  509. data/spec/models/mcp_package_upload_spec.rb +1 -1
  510. data/spec/models/member_teams_spec.rb +1 -1
  511. data/spec/models/namespace_audit_log_spec.rb +1 -1
  512. data/spec/models/namespace_spec.rb +1 -1
  513. data/spec/models/nested_license_policy_spec.rb +1 -1
  514. data/spec/models/nested_vulnerability_policy_spec.rb +1 -1
  515. data/spec/models/nested_vulnerability_scan_results_spec.rb +1 -1
  516. data/spec/models/nix_package_upload_request_spec.rb +1 -1
  517. data/spec/models/nix_package_upload_spec.rb +1 -1
  518. data/spec/models/nix_upstream_request_patch_spec.rb +1 -1
  519. data/spec/models/nix_upstream_request_spec.rb +1 -1
  520. data/spec/models/nix_upstream_spec.rb +1 -1
  521. data/spec/models/npm_package_upload_request_spec.rb +1 -1
  522. data/spec/models/npm_package_upload_spec.rb +1 -1
  523. data/spec/models/npm_upstream_request_patch_spec.rb +1 -1
  524. data/spec/models/npm_upstream_request_spec.rb +1 -1
  525. data/spec/models/npm_upstream_spec.rb +1 -1
  526. data/spec/models/nuget_package_upload_request_spec.rb +1 -1
  527. data/spec/models/nuget_package_upload_spec.rb +1 -1
  528. data/spec/models/nuget_upstream_request_patch_spec.rb +1 -1
  529. data/spec/models/nuget_upstream_request_spec.rb +1 -1
  530. data/spec/models/nuget_upstream_spec.rb +1 -1
  531. data/spec/models/oidc_1_spec.rb +1 -1
  532. data/spec/models/oidc_request_spec.rb +1 -1
  533. data/spec/models/oidc_spec.rb +1 -1
  534. data/spec/models/organization_api_key_rule_request_patch_spec.rb +1 -1
  535. data/spec/models/organization_api_key_rule_request_spec.rb +1 -1
  536. data/spec/models/organization_api_key_rule_spec.rb +1 -1
  537. data/spec/models/organization_custom_domain_nested_repo_spec.rb +1 -1
  538. data/spec/models/organization_custom_domains_spec.rb +1 -1
  539. data/spec/models/organization_group_sync_request_spec.rb +1 -1
  540. data/spec/models/organization_group_sync_spec.rb +1 -1
  541. data/spec/models/organization_group_sync_status_spec.rb +1 -1
  542. data/spec/models/organization_invite_extend_spec.rb +1 -1
  543. data/spec/models/organization_invite_request_spec.rb +1 -1
  544. data/spec/models/organization_invite_spec.rb +1 -1
  545. data/spec/models/organization_invite_update_request_patch_spec.rb +1 -1
  546. data/spec/models/organization_invite_update_spec.rb +1 -1
  547. data/spec/models/organization_membership_request_patch_spec.rb +1 -1
  548. data/spec/models/organization_membership_role_update_request_patch_spec.rb +1 -1
  549. data/spec/models/organization_membership_role_update_spec.rb +1 -1
  550. data/spec/models/organization_membership_spec.rb +1 -1
  551. data/spec/models/organization_membership_visibility_update_request_patch_spec.rb +1 -1
  552. data/spec/models/organization_membership_visibility_update_spec.rb +1 -1
  553. data/spec/models/organization_package_license_policy_request_patch_spec.rb +1 -1
  554. data/spec/models/organization_package_license_policy_request_spec.rb +1 -1
  555. data/spec/models/organization_package_license_policy_spec.rb +1 -1
  556. data/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb +1 -1
  557. data/spec/models/organization_package_vulnerability_policy_request_spec.rb +1 -1
  558. data/spec/models/organization_package_vulnerability_policy_spec.rb +1 -1
  559. data/spec/models/organization_saml_auth_request_patch_spec.rb +1 -1
  560. data/spec/models/organization_saml_auth_spec.rb +1 -1
  561. data/spec/models/organization_spec.rb +1 -1
  562. data/spec/models/organization_team_invite_spec.rb +1 -1
  563. data/spec/models/organization_team_members_spec.rb +1 -1
  564. data/spec/models/organization_team_request_patch_spec.rb +1 -1
  565. data/spec/models/organization_team_request_spec.rb +1 -1
  566. data/spec/models/organization_team_service_member_spec.rb +1 -1
  567. data/spec/models/organization_team_spec.rb +1 -1
  568. data/spec/models/organization_usage_spec.rb +1 -1
  569. data/spec/models/organization_usage_update_request_patch_spec.rb +1 -1
  570. data/spec/models/organization_usage_update_spec.rb +1 -1
  571. data/spec/models/p2_package_upload_request_spec.rb +1 -1
  572. data/spec/models/p2_package_upload_spec.rb +1 -1
  573. data/spec/models/package_bulk_action_response_spec.rb +1 -1
  574. data/spec/models/package_bulk_action_spec.rb +1 -1
  575. data/spec/models/package_copy_request_spec.rb +1 -1
  576. data/spec/models/package_copy_spec.rb +1 -1
  577. data/spec/models/package_deny_policy_request_patch_spec.rb +1 -1
  578. data/spec/models/package_deny_policy_request_spec.rb +1 -1
  579. data/spec/models/package_deny_policy_spec.rb +1 -1
  580. data/spec/models/package_dependencies_spec.rb +1 -1
  581. data/spec/models/package_dependency_spec.rb +1 -1
  582. data/spec/models/package_detail_spec.rb +1 -1
  583. data/spec/models/package_file_parts_upload_spec.rb +1 -1
  584. data/spec/models/package_file_spec.rb +1 -1
  585. data/spec/models/package_file_upload_request_spec.rb +1 -1
  586. data/spec/models/package_file_upload_spec.rb +1 -1
  587. data/spec/models/package_group_spec.rb +1 -1
  588. data/spec/models/package_license_policy_evaluation_request_request_spec.rb +1 -1
  589. data/spec/models/package_license_policy_evaluation_request_spec.rb +1 -1
  590. data/spec/models/package_license_policy_violation_log_cursor_page_spec.rb +1 -1
  591. data/spec/models/package_license_policy_violation_log_spec.rb +1 -1
  592. data/spec/models/package_license_request_patch_spec.rb +1 -1
  593. data/spec/models/package_license_spec.rb +1 -1
  594. data/spec/models/package_move_request_spec.rb +1 -1
  595. data/spec/models/package_move_spec.rb +1 -1
  596. data/spec/models/package_quarantine_request_spec.rb +1 -1
  597. data/spec/models/package_quarantine_spec.rb +1 -1
  598. data/spec/models/package_recycle_bin_spec.rb +1 -1
  599. data/spec/models/package_resync_spec.rb +1 -1
  600. data/spec/models/package_spec.rb +1 -1
  601. data/spec/models/package_status_spec.rb +1 -1
  602. data/spec/models/package_tag_request_spec.rb +1 -1
  603. data/spec/models/package_tag_spec.rb +1 -1
  604. data/spec/models/package_usage_metrics_spec.rb +1 -1
  605. data/spec/models/package_version_badge_spec.rb +1 -1
  606. data/spec/models/package_vulnerability_policy_evaluation_request_request_spec.rb +1 -1
  607. data/spec/models/package_vulnerability_policy_evaluation_request_spec.rb +1 -1
  608. data/spec/models/package_vulnerability_policy_violation_log_cursor_page_spec.rb +1 -1
  609. data/spec/models/package_vulnerability_policy_violation_log_spec.rb +1 -1
  610. data/spec/models/package_vulnerability_spec.rb +1 -1
  611. data/spec/models/provider_settings_spec.rb +1 -1
  612. data/spec/models/provider_settings_write_request_patch_spec.rb +1 -1
  613. data/spec/models/provider_settings_write_request_spec.rb +1 -1
  614. data/spec/models/provider_settings_write_spec.rb +1 -1
  615. data/spec/models/python_package_upload_request_spec.rb +1 -1
  616. data/spec/models/python_package_upload_spec.rb +1 -1
  617. data/spec/models/python_upstream_request_patch_spec.rb +1 -1
  618. data/spec/models/python_upstream_request_spec.rb +1 -1
  619. data/spec/models/python_upstream_spec.rb +1 -1
  620. data/spec/models/quota_history_spec.rb +1 -1
  621. data/spec/models/quota_spec.rb +1 -1
  622. data/spec/models/rate_check_spec.rb +1 -1
  623. data/spec/models/raw_package_upload_request_spec.rb +1 -1
  624. data/spec/models/raw_package_upload_spec.rb +1 -1
  625. data/spec/models/recycle_bin_package_spec.rb +1 -1
  626. data/spec/models/repository_audit_log_spec.rb +1 -1
  627. data/spec/models/repository_create_request_spec.rb +1 -1
  628. data/spec/models/repository_create_spec.rb +1 -1
  629. data/spec/models/repository_ecdsa_key_create_spec.rb +1 -1
  630. data/spec/models/repository_ecdsa_key_spec.rb +1 -1
  631. data/spec/models/repository_ed25519_key_create_spec.rb +1 -1
  632. data/spec/models/repository_ed25519_key_spec.rb +1 -1
  633. data/spec/models/repository_geo_ip_cidr_spec.rb +1 -1
  634. data/spec/models/repository_geo_ip_country_code_spec.rb +1 -1
  635. data/spec/models/repository_geo_ip_rules_request_patch_spec.rb +1 -1
  636. data/spec/models/repository_geo_ip_rules_request_spec.rb +1 -1
  637. data/spec/models/repository_geo_ip_rules_spec.rb +1 -1
  638. data/spec/models/repository_geo_ip_status_spec.rb +1 -1
  639. data/spec/models/repository_geo_ip_test_address_response_dict_spec.rb +1 -1
  640. data/spec/models/repository_geo_ip_test_address_response_spec.rb +1 -1
  641. data/spec/models/repository_geo_ip_test_address_spec.rb +1 -1
  642. data/spec/models/repository_gpg_key_create_spec.rb +1 -1
  643. data/spec/models/repository_gpg_key_spec.rb +1 -1
  644. data/spec/models/repository_privilege_dict_spec.rb +1 -1
  645. data/spec/models/repository_privilege_input_request_patch_spec.rb +1 -1
  646. data/spec/models/repository_privilege_input_request_spec.rb +1 -1
  647. data/spec/models/repository_privilege_input_spec.rb +1 -1
  648. data/spec/models/repository_request_patch_spec.rb +1 -1
  649. data/spec/models/repository_retention_rules_request_patch_spec.rb +1 -1
  650. data/spec/models/repository_retention_rules_spec.rb +1 -1
  651. data/spec/models/repository_rsa_key_create_spec.rb +1 -1
  652. data/spec/models/repository_rsa_key_spec.rb +1 -1
  653. data/spec/models/repository_spec.rb +1 -1
  654. data/spec/models/repository_token_action_spec.rb +1 -1
  655. data/spec/models/repository_token_private_broadcasts_request_spec.rb +1 -1
  656. data/spec/models/repository_token_private_broadcasts_spec.rb +1 -1
  657. data/spec/models/repository_token_refresh_request_spec.rb +1 -1
  658. data/spec/models/repository_token_refresh_spec.rb +1 -1
  659. data/spec/models/repository_token_request_patch_spec.rb +1 -1
  660. data/spec/models/repository_token_request_spec.rb +1 -1
  661. data/spec/models/repository_token_spec.rb +1 -1
  662. data/spec/models/repository_token_sync_request_spec.rb +1 -1
  663. data/spec/models/repository_token_sync_spec.rb +1 -1
  664. data/spec/models/repository_transfer_region_request_spec.rb +1 -1
  665. data/spec/models/repository_transfer_region_spec.rb +1 -1
  666. data/spec/models/repository_webhook_request_patch_spec.rb +1 -1
  667. data/spec/models/repository_webhook_request_spec.rb +1 -1
  668. data/spec/models/repository_webhook_spec.rb +1 -1
  669. data/spec/models/repository_x509_ecdsa_certificate_spec.rb +1 -1
  670. data/spec/models/repository_x509_rsa_certificate_spec.rb +1 -1
  671. data/spec/models/resources_rate_check_spec.rb +1 -1
  672. data/spec/models/respository_geo_ip_enable_disable_request_spec.rb +1 -1
  673. data/spec/models/respository_geo_ip_enable_disable_spec.rb +1 -1
  674. data/spec/models/rpm_package_upload_request_spec.rb +1 -1
  675. data/spec/models/rpm_package_upload_spec.rb +1 -1
  676. data/spec/models/rpm_upstream_request_patch_spec.rb +1 -1
  677. data/spec/models/rpm_upstream_request_spec.rb +1 -1
  678. data/spec/models/rpm_upstream_spec.rb +1 -1
  679. data/spec/models/ruby_package_upload_request_spec.rb +1 -1
  680. data/spec/models/ruby_package_upload_spec.rb +1 -1
  681. data/spec/models/ruby_upstream_request_patch_spec.rb +1 -1
  682. data/spec/models/ruby_upstream_request_spec.rb +1 -1
  683. data/spec/models/ruby_upstream_spec.rb +1 -1
  684. data/spec/models/service_request_patch_spec.rb +1 -1
  685. data/spec/models/service_request_spec.rb +1 -1
  686. data/spec/models/service_spec.rb +1 -1
  687. data/spec/models/service_teams_spec.rb +1 -1
  688. data/spec/models/skills_package_upload_request_spec.rb +1 -1
  689. data/spec/models/skills_package_upload_spec.rb +1 -1
  690. data/spec/models/skills_upstream_request_patch_spec.rb +137 -0
  691. data/spec/models/skills_upstream_request_spec.rb +137 -0
  692. data/spec/models/skills_upstream_selection_spec.rb +53 -0
  693. data/spec/models/skills_upstream_spec.rb +213 -0
  694. data/spec/models/status_basic_spec.rb +1 -1
  695. data/spec/models/storage_allocated_limit_raw_spec.rb +1 -1
  696. data/spec/models/storage_allocated_limit_spec.rb +1 -1
  697. data/spec/models/storage_region_spec.rb +1 -1
  698. data/spec/models/storage_usage_raw_spec.rb +1 -1
  699. data/spec/models/storage_usage_spec.rb +1 -1
  700. data/spec/models/swift_package_upload_request_spec.rb +1 -1
  701. data/spec/models/swift_package_upload_spec.rb +1 -1
  702. data/spec/models/swift_upstream_request_patch_spec.rb +1 -1
  703. data/spec/models/swift_upstream_request_spec.rb +1 -1
  704. data/spec/models/swift_upstream_spec.rb +1 -1
  705. data/spec/models/tags_spec.rb +1 -1
  706. data/spec/models/terraform_package_upload_request_spec.rb +1 -1
  707. data/spec/models/terraform_package_upload_spec.rb +1 -1
  708. data/spec/models/usage_fieldset_spec.rb +1 -1
  709. data/spec/models/usage_limits_raw_spec.rb +1 -1
  710. data/spec/models/usage_limits_spec.rb +1 -1
  711. data/spec/models/usage_raw_spec.rb +1 -1
  712. data/spec/models/usage_spec.rb +1 -1
  713. data/spec/models/user_auth_token_request_spec.rb +1 -1
  714. data/spec/models/user_auth_token_spec.rb +1 -1
  715. data/spec/models/user_authentication_token_spec.rb +1 -1
  716. data/spec/models/user_brief_spec.rb +1 -1
  717. data/spec/models/user_profile_spec.rb +1 -1
  718. data/spec/models/vagrant_package_upload_request_spec.rb +1 -1
  719. data/spec/models/vagrant_package_upload_spec.rb +1 -1
  720. data/spec/models/vsx_package_upload_request_spec.rb +1 -1
  721. data/spec/models/vsx_package_upload_spec.rb +1 -1
  722. data/spec/models/vulnerability_scan_results_list_spec.rb +1 -1
  723. data/spec/models/vulnerability_scan_results_spec.rb +1 -1
  724. data/spec/models/vulnerability_scan_spec.rb +1 -1
  725. data/spec/models/vulnerability_scan_version_spec.rb +1 -1
  726. data/spec/models/vulnerability_spec.rb +1 -1
  727. data/spec/models/web_osv_severity_counts_spec.rb +1 -1
  728. data/spec/models/webhook_template_spec.rb +1 -1
  729. data/spec/spec_helper.rb +1 -1
  730. data/vendor/bundle/ruby/2.6.0/cache/rake-13.4.2.gem +0 -0
  731. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
  732. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.3/gem_make.out +2 -2
  733. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.3/mkmf.log +4 -4
  734. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
  735. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/mkmf.log +1 -1
  736. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
  737. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
  738. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.3/ext/bigdecimal/Makefile +2 -2
  739. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/ext/ffi_c/Makefile +2 -2
  740. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
  741. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
  742. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/History.rdoc +110 -0
  743. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/README.rdoc +19 -20
  744. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/command_line_usage.rdoc +17 -4
  745. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/rakefile.rdoc +14 -1
  746. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/application.rb +50 -27
  747. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/backtrace.rb +1 -0
  748. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/clean.rb +3 -3
  749. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/cpu_counter.rb +20 -5
  750. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/dsl_definition.rb +4 -3
  751. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/ext/string.rb +1 -1
  752. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/file_creation_task.rb +2 -2
  753. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/file_list.rb +3 -3
  754. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/file_task.rb +10 -6
  755. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/file_utils.rb +15 -15
  756. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/file_utils_ext.rb +8 -18
  757. data/vendor/bundle/ruby/2.6.0/gems/rake-13.4.2/lib/rake/options.rb +31 -0
  758. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/packagetask.rb +19 -4
  759. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/phony.rb +1 -1
  760. data/vendor/bundle/ruby/2.6.0/gems/rake-13.4.2/lib/rake/rake_test_loader.rb +27 -0
  761. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/task.rb +24 -3
  762. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/task_arguments.rb +4 -0
  763. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/task_manager.rb +27 -18
  764. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/tasklib.rb +1 -1
  765. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/testtask.rb +14 -46
  766. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/thread_history_display.rb +1 -1
  767. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/thread_pool.rb +3 -9
  768. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/version.rb +1 -1
  769. data/vendor/bundle/ruby/2.6.0/gems/rake-13.4.2/lib/rake/win32.rb +17 -0
  770. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake.rb +28 -30
  771. data/vendor/bundle/ruby/2.6.0/gems/rake-13.4.2/rake.gemspec +102 -0
  772. data/vendor/bundle/ruby/2.6.0/specifications/{rake-12.3.3.gemspec → rake-13.4.2.gemspec} +6 -23
  773. metadata +81 -74
  774. data/vendor/bundle/ruby/2.6.0/cache/rake-12.3.3.gem +0 -0
  775. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +0 -43
  776. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/Gemfile +0 -3
  777. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/Rakefile +0 -41
  778. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/azure-pipelines.yml +0 -11
  779. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/bundle +0 -105
  780. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/console +0 -7
  781. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rake +0 -29
  782. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rdoc +0 -29
  783. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rubocop +0 -29
  784. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/setup +0 -6
  785. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +0 -27
  786. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/win32.rb +0 -51
  787. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/rake.gemspec +0 -42
  788. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/MIT-LICENSE +0 -0
  789. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/example/Rakefile1 +0 -0
  790. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/example/Rakefile2 +0 -0
  791. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/example/a.c +0 -0
  792. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/example/b.c +0 -0
  793. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/example/main.c +0 -0
  794. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/glossary.rdoc +0 -0
  795. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/jamis.rb +0 -0
  796. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/proto_rake.rdoc +0 -0
  797. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/rake.1 +0 -0
  798. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/rational.rdoc +0 -0
  799. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/exe/rake +0 -0
  800. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/cloneable.rb +0 -0
  801. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/default_loader.rb +0 -0
  802. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/early_time.rb +0 -0
  803. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/ext/core.rb +0 -0
  804. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/invocation_chain.rb +0 -0
  805. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/invocation_exception_mixin.rb +0 -0
  806. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/late_time.rb +0 -0
  807. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/linked_list.rb +0 -0
  808. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/loaders/makefile.rb +0 -0
  809. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/multi_task.rb +0 -0
  810. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/name_space.rb +0 -0
  811. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/private_reader.rb +0 -0
  812. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/promise.rb +0 -0
  813. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/pseudo_status.rb +0 -0
  814. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/rake_module.rb +0 -0
  815. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/rule_recursion_overflow_error.rb +0 -0
  816. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/scope.rb +0 -0
  817. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/task_argument_error.rb +0 -0
  818. /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/trace_output.rb +0 -0
@@ -0,0 +1,391 @@
1
+ =begin
2
+ #Cloudsmith API (v1)
3
+
4
+ #The API to the Cloudsmith Service
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudsmith.io
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.52
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CloudsmithApi
16
+ class SkillsUpstreamRequestPatch
17
+ # The authentication mode to use when accessing this upstream.
18
+ attr_accessor :auth_mode
19
+
20
+ # Secret to provide with requests to upstream.
21
+ attr_accessor :auth_secret
22
+
23
+ # Username to provide with requests to upstream.
24
+ attr_accessor :auth_username
25
+
26
+ # The package types to serve from the upstream: skills, plugins, or both.
27
+ attr_accessor :contents
28
+
29
+ # The key for extra header #1 to send to upstream.
30
+ attr_accessor :extra_header_1
31
+
32
+ # The key for extra header #2 to send to upstream.
33
+ attr_accessor :extra_header_2
34
+
35
+ # The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.
36
+ attr_accessor :extra_value_1
37
+
38
+ # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.
39
+ attr_accessor :extra_value_2
40
+
41
+ # Whether or not this upstream is active and ready for requests.
42
+ attr_accessor :is_active
43
+
44
+ # The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode.
45
+ attr_accessor :mode
46
+
47
+ # A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream.
48
+ attr_accessor :name
49
+
50
+ # Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date.
51
+ attr_accessor :priority
52
+
53
+ # Exact ClawHub releases to cache.
54
+ attr_accessor :selections
55
+
56
+ # The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository.
57
+ attr_accessor :upstream_url
58
+
59
+ # If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams.
60
+ attr_accessor :verify_ssl
61
+
62
+ class EnumAttributeValidator
63
+ attr_reader :datatype
64
+ attr_reader :allowable_values
65
+
66
+ def initialize(datatype, allowable_values)
67
+ @allowable_values = allowable_values.map do |value|
68
+ case datatype.to_s
69
+ when /Integer/i
70
+ value.to_i
71
+ when /Float/i
72
+ value.to_f
73
+ else
74
+ value
75
+ end
76
+ end
77
+ end
78
+
79
+ def valid?(value)
80
+ !value || allowable_values.include?(value)
81
+ end
82
+ end
83
+
84
+ # Attribute mapping from ruby-style variable name to JSON key.
85
+ def self.attribute_map
86
+ {
87
+ :'auth_mode' => :'auth_mode',
88
+ :'auth_secret' => :'auth_secret',
89
+ :'auth_username' => :'auth_username',
90
+ :'contents' => :'contents',
91
+ :'extra_header_1' => :'extra_header_1',
92
+ :'extra_header_2' => :'extra_header_2',
93
+ :'extra_value_1' => :'extra_value_1',
94
+ :'extra_value_2' => :'extra_value_2',
95
+ :'is_active' => :'is_active',
96
+ :'mode' => :'mode',
97
+ :'name' => :'name',
98
+ :'priority' => :'priority',
99
+ :'selections' => :'selections',
100
+ :'upstream_url' => :'upstream_url',
101
+ :'verify_ssl' => :'verify_ssl'
102
+ }
103
+ end
104
+
105
+ # Attribute type mapping.
106
+ def self.swagger_types
107
+ {
108
+ :'auth_mode' => :'String',
109
+ :'auth_secret' => :'String',
110
+ :'auth_username' => :'String',
111
+ :'contents' => :'String',
112
+ :'extra_header_1' => :'String',
113
+ :'extra_header_2' => :'String',
114
+ :'extra_value_1' => :'String',
115
+ :'extra_value_2' => :'String',
116
+ :'is_active' => :'BOOLEAN',
117
+ :'mode' => :'String',
118
+ :'name' => :'String',
119
+ :'priority' => :'Integer',
120
+ :'selections' => :'Array<SkillsUpstreamSelection>',
121
+ :'upstream_url' => :'String',
122
+ :'verify_ssl' => :'BOOLEAN'
123
+ }
124
+ end
125
+
126
+ # Initializes the object
127
+ # @param [Hash] attributes Model attributes in the form of hash
128
+ def initialize(attributes = {})
129
+ return unless attributes.is_a?(Hash)
130
+
131
+ # convert string to symbol for hash key
132
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
133
+
134
+ if attributes.has_key?(:'auth_mode')
135
+ self.auth_mode = attributes[:'auth_mode']
136
+ else
137
+ self.auth_mode = 'None'
138
+ end
139
+
140
+ if attributes.has_key?(:'auth_secret')
141
+ self.auth_secret = attributes[:'auth_secret']
142
+ end
143
+
144
+ if attributes.has_key?(:'auth_username')
145
+ self.auth_username = attributes[:'auth_username']
146
+ end
147
+
148
+ if attributes.has_key?(:'contents')
149
+ self.contents = attributes[:'contents']
150
+ else
151
+ self.contents = 'Skills'
152
+ end
153
+
154
+ if attributes.has_key?(:'extra_header_1')
155
+ self.extra_header_1 = attributes[:'extra_header_1']
156
+ end
157
+
158
+ if attributes.has_key?(:'extra_header_2')
159
+ self.extra_header_2 = attributes[:'extra_header_2']
160
+ end
161
+
162
+ if attributes.has_key?(:'extra_value_1')
163
+ self.extra_value_1 = attributes[:'extra_value_1']
164
+ end
165
+
166
+ if attributes.has_key?(:'extra_value_2')
167
+ self.extra_value_2 = attributes[:'extra_value_2']
168
+ end
169
+
170
+ if attributes.has_key?(:'is_active')
171
+ self.is_active = attributes[:'is_active']
172
+ end
173
+
174
+ if attributes.has_key?(:'mode')
175
+ self.mode = attributes[:'mode']
176
+ else
177
+ self.mode = 'Proxy Only'
178
+ end
179
+
180
+ if attributes.has_key?(:'name')
181
+ self.name = attributes[:'name']
182
+ end
183
+
184
+ if attributes.has_key?(:'priority')
185
+ self.priority = attributes[:'priority']
186
+ end
187
+
188
+ if attributes.has_key?(:'selections')
189
+ if (value = attributes[:'selections']).is_a?(Array)
190
+ self.selections = value
191
+ end
192
+ end
193
+
194
+ if attributes.has_key?(:'upstream_url')
195
+ self.upstream_url = attributes[:'upstream_url']
196
+ end
197
+
198
+ if attributes.has_key?(:'verify_ssl')
199
+ self.verify_ssl = attributes[:'verify_ssl']
200
+ end
201
+ end
202
+
203
+ # Show invalid properties with the reasons. Usually used together with valid?
204
+ # @return Array for valid properties with the reasons
205
+ def list_invalid_properties
206
+ invalid_properties = Array.new
207
+ invalid_properties
208
+ end
209
+
210
+ # Check to see if the all the properties in the model are valid
211
+ # @return true if the model is valid
212
+ def valid?
213
+ auth_mode_validator = EnumAttributeValidator.new('String', ['None', 'Token'])
214
+ return false unless auth_mode_validator.valid?(@auth_mode)
215
+ contents_validator = EnumAttributeValidator.new('String', ['Skills', 'Plugins', 'Skills and plugins'])
216
+ return false unless contents_validator.valid?(@contents)
217
+ mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy', 'Cache Only'])
218
+ return false unless mode_validator.valid?(@mode)
219
+ true
220
+ end
221
+
222
+ # Custom attribute writer method checking allowed values (enum).
223
+ # @param [Object] auth_mode Object to be assigned
224
+ def auth_mode=(auth_mode)
225
+ validator = EnumAttributeValidator.new('String', ['None', 'Token'])
226
+ unless validator.valid?(auth_mode)
227
+ fail ArgumentError, 'invalid value for "auth_mode", must be one of #{validator.allowable_values}.'
228
+ end
229
+ @auth_mode = auth_mode
230
+ end
231
+
232
+ # Custom attribute writer method checking allowed values (enum).
233
+ # @param [Object] contents Object to be assigned
234
+ def contents=(contents)
235
+ validator = EnumAttributeValidator.new('String', ['Skills', 'Plugins', 'Skills and plugins'])
236
+ unless validator.valid?(contents)
237
+ fail ArgumentError, 'invalid value for "contents", must be one of #{validator.allowable_values}.'
238
+ end
239
+ @contents = contents
240
+ end
241
+
242
+ # Custom attribute writer method checking allowed values (enum).
243
+ # @param [Object] mode Object to be assigned
244
+ def mode=(mode)
245
+ validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy', 'Cache Only'])
246
+ unless validator.valid?(mode)
247
+ fail ArgumentError, 'invalid value for "mode", must be one of #{validator.allowable_values}.'
248
+ end
249
+ @mode = mode
250
+ end
251
+
252
+ # Checks equality by comparing each attribute.
253
+ # @param [Object] Object to be compared
254
+ def ==(o)
255
+ return true if self.equal?(o)
256
+ self.class == o.class &&
257
+ auth_mode == o.auth_mode &&
258
+ auth_secret == o.auth_secret &&
259
+ auth_username == o.auth_username &&
260
+ contents == o.contents &&
261
+ extra_header_1 == o.extra_header_1 &&
262
+ extra_header_2 == o.extra_header_2 &&
263
+ extra_value_1 == o.extra_value_1 &&
264
+ extra_value_2 == o.extra_value_2 &&
265
+ is_active == o.is_active &&
266
+ mode == o.mode &&
267
+ name == o.name &&
268
+ priority == o.priority &&
269
+ selections == o.selections &&
270
+ upstream_url == o.upstream_url &&
271
+ verify_ssl == o.verify_ssl
272
+ end
273
+
274
+ # @see the `==` method
275
+ # @param [Object] Object to be compared
276
+ def eql?(o)
277
+ self == o
278
+ end
279
+
280
+ # Calculates hash code according to all attributes.
281
+ # @return [Fixnum] Hash code
282
+ def hash
283
+ [auth_mode, auth_secret, auth_username, contents, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, priority, selections, upstream_url, verify_ssl].hash
284
+ end
285
+
286
+ # Builds the object from hash
287
+ # @param [Hash] attributes Model attributes in the form of hash
288
+ # @return [Object] Returns the model itself
289
+ def build_from_hash(attributes)
290
+ return nil unless attributes.is_a?(Hash)
291
+ self.class.swagger_types.each_pair do |key, type|
292
+ if type =~ /\AArray<(.*)>/i
293
+ # check to ensure the input is an array given that the attribute
294
+ # is documented as an array but the input is not
295
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
296
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
297
+ end
298
+ elsif !attributes[self.class.attribute_map[key]].nil?
299
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
300
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
301
+ end
302
+
303
+ self
304
+ end
305
+
306
+ # Deserializes the data based on type
307
+ # @param string type Data type
308
+ # @param string value Value to be deserialized
309
+ # @return [Object] Deserialized data
310
+ def _deserialize(type, value)
311
+ case type.to_sym
312
+ when :DateTime
313
+ DateTime.parse(value)
314
+ when :Date
315
+ Date.parse(value)
316
+ when :String
317
+ value.to_s
318
+ when :Integer
319
+ value.to_i
320
+ when :Float
321
+ value.to_f
322
+ when :BOOLEAN
323
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
324
+ true
325
+ else
326
+ false
327
+ end
328
+ when :Object
329
+ # generic object (usually a Hash), return directly
330
+ value
331
+ when /\AArray<(?<inner_type>.+)>\z/
332
+ inner_type = Regexp.last_match[:inner_type]
333
+ value.map { |v| _deserialize(inner_type, v) }
334
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
335
+ k_type = Regexp.last_match[:k_type]
336
+ v_type = Regexp.last_match[:v_type]
337
+ {}.tap do |hash|
338
+ value.each do |k, v|
339
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
340
+ end
341
+ end
342
+ else # model
343
+ temp_model = CloudsmithApi.const_get(type).new
344
+ temp_model.build_from_hash(value)
345
+ end
346
+ end
347
+
348
+ # Returns the string representation of the object
349
+ # @return [String] String presentation of the object
350
+ def to_s
351
+ to_hash.to_s
352
+ end
353
+
354
+ # to_body is an alias to to_hash (backward compatibility)
355
+ # @return [Hash] Returns the object in the form of hash
356
+ def to_body
357
+ to_hash
358
+ end
359
+
360
+ # Returns the object in the form of hash
361
+ # @return [Hash] Returns the object in the form of hash
362
+ def to_hash
363
+ hash = {}
364
+ self.class.attribute_map.each_pair do |attr, param|
365
+ value = self.send(attr)
366
+ next if value.nil?
367
+ hash[param] = _to_hash(value)
368
+ end
369
+ hash
370
+ end
371
+
372
+ # Outputs non-array value in the form of hash
373
+ # For object, use to_hash. Otherwise, just return the value
374
+ # @param [Object] value Any valid value
375
+ # @return [Hash] Returns the value in the form of hash
376
+ def _to_hash(value)
377
+ if value.is_a?(Array)
378
+ value.compact.map { |v| _to_hash(v) }
379
+ elsif value.is_a?(Hash)
380
+ {}.tap do |hash|
381
+ value.each { |k, v| hash[k] = _to_hash(v) }
382
+ end
383
+ elsif value.respond_to? :to_hash
384
+ value.to_hash
385
+ else
386
+ value
387
+ end
388
+ end
389
+
390
+ end
391
+ end
@@ -0,0 +1,220 @@
1
+ =begin
2
+ #Cloudsmith API (v1)
3
+
4
+ #The API to the Cloudsmith Service
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudsmith.io
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.52
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CloudsmithApi
16
+ class SkillsUpstreamSelection
17
+ # The skill's ClawHub slug.
18
+ attr_accessor :name
19
+
20
+ # The ClawHub owner handle that publishes the skill.
21
+ attr_accessor :publisher
22
+
23
+ # The exact semantic version of the release.
24
+ attr_accessor :version
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'name' => :'name',
30
+ :'publisher' => :'publisher',
31
+ :'version' => :'version'
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.swagger_types
37
+ {
38
+ :'name' => :'String',
39
+ :'publisher' => :'String',
40
+ :'version' => :'String'
41
+ }
42
+ end
43
+
44
+ # Initializes the object
45
+ # @param [Hash] attributes Model attributes in the form of hash
46
+ def initialize(attributes = {})
47
+ return unless attributes.is_a?(Hash)
48
+
49
+ # convert string to symbol for hash key
50
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
51
+
52
+ if attributes.has_key?(:'name')
53
+ self.name = attributes[:'name']
54
+ end
55
+
56
+ if attributes.has_key?(:'publisher')
57
+ self.publisher = attributes[:'publisher']
58
+ end
59
+
60
+ if attributes.has_key?(:'version')
61
+ self.version = attributes[:'version']
62
+ end
63
+ end
64
+
65
+ # Show invalid properties with the reasons. Usually used together with valid?
66
+ # @return Array for valid properties with the reasons
67
+ def list_invalid_properties
68
+ invalid_properties = Array.new
69
+ if @name.nil?
70
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
71
+ end
72
+
73
+ if @publisher.nil?
74
+ invalid_properties.push('invalid value for "publisher", publisher cannot be nil.')
75
+ end
76
+
77
+ if @version.nil?
78
+ invalid_properties.push('invalid value for "version", version cannot be nil.')
79
+ end
80
+
81
+ invalid_properties
82
+ end
83
+
84
+ # Check to see if the all the properties in the model are valid
85
+ # @return true if the model is valid
86
+ def valid?
87
+ return false if @name.nil?
88
+ return false if @publisher.nil?
89
+ return false if @version.nil?
90
+ true
91
+ end
92
+
93
+ # Checks equality by comparing each attribute.
94
+ # @param [Object] Object to be compared
95
+ def ==(o)
96
+ return true if self.equal?(o)
97
+ self.class == o.class &&
98
+ name == o.name &&
99
+ publisher == o.publisher &&
100
+ version == o.version
101
+ end
102
+
103
+ # @see the `==` method
104
+ # @param [Object] Object to be compared
105
+ def eql?(o)
106
+ self == o
107
+ end
108
+
109
+ # Calculates hash code according to all attributes.
110
+ # @return [Fixnum] Hash code
111
+ def hash
112
+ [name, publisher, version].hash
113
+ end
114
+
115
+ # Builds the object from hash
116
+ # @param [Hash] attributes Model attributes in the form of hash
117
+ # @return [Object] Returns the model itself
118
+ def build_from_hash(attributes)
119
+ return nil unless attributes.is_a?(Hash)
120
+ self.class.swagger_types.each_pair do |key, type|
121
+ if type =~ /\AArray<(.*)>/i
122
+ # check to ensure the input is an array given that the attribute
123
+ # is documented as an array but the input is not
124
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
125
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
126
+ end
127
+ elsif !attributes[self.class.attribute_map[key]].nil?
128
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
129
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
130
+ end
131
+
132
+ self
133
+ end
134
+
135
+ # Deserializes the data based on type
136
+ # @param string type Data type
137
+ # @param string value Value to be deserialized
138
+ # @return [Object] Deserialized data
139
+ def _deserialize(type, value)
140
+ case type.to_sym
141
+ when :DateTime
142
+ DateTime.parse(value)
143
+ when :Date
144
+ Date.parse(value)
145
+ when :String
146
+ value.to_s
147
+ when :Integer
148
+ value.to_i
149
+ when :Float
150
+ value.to_f
151
+ when :BOOLEAN
152
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
153
+ true
154
+ else
155
+ false
156
+ end
157
+ when :Object
158
+ # generic object (usually a Hash), return directly
159
+ value
160
+ when /\AArray<(?<inner_type>.+)>\z/
161
+ inner_type = Regexp.last_match[:inner_type]
162
+ value.map { |v| _deserialize(inner_type, v) }
163
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
164
+ k_type = Regexp.last_match[:k_type]
165
+ v_type = Regexp.last_match[:v_type]
166
+ {}.tap do |hash|
167
+ value.each do |k, v|
168
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
169
+ end
170
+ end
171
+ else # model
172
+ temp_model = CloudsmithApi.const_get(type).new
173
+ temp_model.build_from_hash(value)
174
+ end
175
+ end
176
+
177
+ # Returns the string representation of the object
178
+ # @return [String] String presentation of the object
179
+ def to_s
180
+ to_hash.to_s
181
+ end
182
+
183
+ # to_body is an alias to to_hash (backward compatibility)
184
+ # @return [Hash] Returns the object in the form of hash
185
+ def to_body
186
+ to_hash
187
+ end
188
+
189
+ # Returns the object in the form of hash
190
+ # @return [Hash] Returns the object in the form of hash
191
+ def to_hash
192
+ hash = {}
193
+ self.class.attribute_map.each_pair do |attr, param|
194
+ value = self.send(attr)
195
+ next if value.nil?
196
+ hash[param] = _to_hash(value)
197
+ end
198
+ hash
199
+ end
200
+
201
+ # Outputs non-array value in the form of hash
202
+ # For object, use to_hash. Otherwise, just return the value
203
+ # @param [Object] value Any valid value
204
+ # @return [Hash] Returns the value in the form of hash
205
+ def _to_hash(value)
206
+ if value.is_a?(Array)
207
+ value.compact.map { |v| _to_hash(v) }
208
+ elsif value.is_a?(Hash)
209
+ {}.tap do |hash|
210
+ value.each { |k, v| hash[k] = _to_hash(v) }
211
+ end
212
+ elsif value.respond_to? :to_hash
213
+ value.to_hash
214
+ else
215
+ value
216
+ end
217
+ end
218
+
219
+ end
220
+ end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.50
9
+ Swagger Codegen version: 2.4.52
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.50
9
+ Swagger Codegen version: 2.4.52
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.50
9
+ Swagger Codegen version: 2.4.52
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.50
9
+ Swagger Codegen version: 2.4.52
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.50
9
+ Swagger Codegen version: 2.4.52
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.50
9
+ Swagger Codegen version: 2.4.52
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.50
9
+ Swagger Codegen version: 2.4.52
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.50
9
+ Swagger Codegen version: 2.4.52
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.50
9
+ Swagger Codegen version: 2.4.52
10
10
 
11
11
  =end
12
12