spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb in fastlane-2.190.0 vs spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb in fastlane-2.191.0
- old
+ new
@@ -52,9 +52,14 @@
def get_bundle_id_capabilities(bundle_id_id:, includes: nil, limit: nil, sort: nil)
params = provisioning_request_client.build_params(filter: nil, includes: includes, limit: limit, sort: sort)
provisioning_request_client.get("bundleIds/#{bundle_id_id}/bundleIdCapabilities", params)
end
+ def get_available_bundle_id_capabilities(bundle_id_id:)
+ params = provisioning_request_client.build_params(filter: { bundleId: bundle_id_id })
+ provisioning_request_client.get("capabilities", params)
+ end
+
def post_bundle_id_capability(bundle_id_id:, capability_type:, settings: [])
body = {
data: {
attributes: {
capabilityType: capability_type,