b0VIM 8.2IaG8U?joshholtzJoshs-MacBook-Air.local~joshholtz/Developer/fastlane/fastlane/spaceship/lib/spaceship/connect_api/models/app.rb 3210#"! UtpqWrQg`ad'q~pED* iM | U * )  w m l N .  p f e K 1  ] = h g # " }kjV@65- %H#  wN5wRH>=wv4*)! # # App Info # end return client.patch_app(app_id: id, attributes: attributes, app_price_tier_id: app_price_tier_id, territory_ids: territory_ids) attributes = reverse_attr_mapping(attributes) client ||= Spaceship::ConnectAPI def update(client: nil, attributes: nil, app_price_tier_id: nil, territory_ids: nil) end return client.get_app(app_id: app_id, includes: includes).first client ||= Spaceship::ConnectAPI def self.get(client: nil, app_id: nil, includes: "appStoreVersions") end ) company_name: company_name platforms: platforms, bundle_id: bundle_id, primary_locale: primary_locale, sku: sku, version_string: version_string, name: name, client.post_app( client ||= Spaceship::ConnectAPI def self.create(client: nil, name: nil, version_string: nil, sku: nil, primary_locale: nil, bundle_id: nil, platforms: nil, company_name: nil) end end app.bundle_id == bundle_id return all(client: client, filter: { bundleId: bundle_id }).find do |app| client ||= Spaceship::ConnectAPI def self.find(bundle_id, client: nil) end return resps.flat_map(&:to_models) resps = client.get_apps(filter: filter, includes: includes, limit: limit, sort: sort).all_pages client ||= Spaceship::ConnectAPI def self.all(client: nil, filter: {}, includes: ESSENTIAL_INCLUDES, limit: nil, sort: nil) # # Apps # end return "apps" def self.type ].join(",") "prices" "appStoreVersions", ESSENTIAL_INCLUDES = [ }) "prices" => "prices" "appStoreVersions" => "app_store_versions", "contentRightsDeclaration" => "content_rights_declaration", "educationDiscountType" => "education_discount_type", "distributionType" => "distribution_type", "availableInNewTerritories" => "available_in_new_territories", "isAAG" => "is_aag", "removed" => "removed", "isOptedInToDistributeIosAppOnMacAppStore" => "is_opted_in_to_distribute_ios_app_on_mac_app_store", "primaryLocale" => "primary_locale", "sku" => "sku", "bundleId" => "bundle_id", "name" => "name", self.attr_mapping({ end NOT_DISCOUNTED = "NOT_DISCOUNTED" NOT_APPLICABLE = "NOT_APPLICABLE" DISCOUNTED = "DISCOUNTED" module EducationDiscountType end CUSTOM = "CUSTOM" APP_STORE = "APP_STORE" module DistributionType end DOES_NOT_USE_THIRD_PARTY_CONTENT = "DOES_NOT_USE_THIRD_PARTY_CONTENT" USES_THIRD_PARTY_CONTENT = "USES_THIRD_PARTY_CONTENT" module ContentRightsDeclaration attr_accessor :educationDiscountType attr_accessor :distribution_type # Only available with Apple ID auth attr_accessor :prices attr_accessor :app_store_versions attr_accessor :content_rights_declaration attr_accessor :available_in_new_territories attr_accessor :is_aag attr_accessor :removed attr_accessor :is_opted_in_to_distribute_ios_app_on_mac_app_store attr_accessor :primary_locale attr_accessor :sku attr_accessor :bundle_id attr_accessor :name include Spaceship::ConnectAPI::Model class App class ConnectAPImodule Spaceship# rubocop:disable Metrics/ClassLengthrequire_relative './build'require_relative '../model'adr`f\[[E# P <  P E ; :  y q p # w ` C 9 8 z Q > + u^A76Dndc({med4 V- rq# rubocop:enable Metrics/ClassLengthend end end end end client.delete_user_visible_apps(user_id: user_id, app_ids: [id]) user_ids.each do |user_id| client ||= Spaceship::ConnectAPI def remove_users(client: nil, user_ids: nil) end end client.add_user_visible_apps(user_id: user_id, app_ids: [id]) user_ids.each do |user_id| client ||= Spaceship::ConnectAPI def add_users(client: nil, user_ids: nil) # # Users # end return resp.to_models.first resp = client.post_review_submission(app_id: id, platform: platform) client ||= Spaceship::ConnectAPI def create_review_submission(client: nil, platform:) end return resps.flat_map(&:to_models) resps = client.get_review_submissions(app_id: id, filter: filter, includes: includes, limit: limit, sort: sort).all_pages client ||= Spaceship::ConnectAPI def get_review_submissions(client: nil, filter: {}, includes: nil, limit: nil, sort: nil) # appStoreVersionForReview,items end return get_review_submissions(client: client, filter: filter, includes: includes).first } platform: platform ].join(","), Spaceship::ConnectAPI::ReviewSubmission::ReviewSubmissionState::IN_REVIEW Spaceship::ConnectAPI::ReviewSubmission::ReviewSubmissionState::WAITING_FOR_REVIEW, state: [ filter = { client ||= Spaceship::ConnectAPI def get_in_progress_review_submission(client: nil, platform:, includes: nil) end return get_review_submissions(client: client, filter: filter, includes: includes).first } platform: platform ].join(","), Spaceship::ConnectAPI::ReviewSubmission::ReviewSubmissionState::READY_FOR_REVIEW state: [ filter = { client ||= Spaceship::ConnectAPI def get_ready_review_submission(client: nil, platform:, includes: nil) # # Review Submissions # end }) education_discount_type: EducationDiscountType::DISCOUNTED update(attributes: { def enable_educational_discount end }) education_discount_type: EducationDiscountType::NOT_DISCOUNTED update(attributes: { def disable_educational_discount # # Education # end return resps.flat_map(&:to_models).first ).all_pages public_link_limit_enabled: public_link_limit_enabled public_link_limit: public_link_limit, public_link_enabled: public_link_enabled, is_internal_group: is_internal_group, group_name: group_name, app_id: id, resps = client.create_beta_group( client ||= Spaceship::ConnectAPI def create_beta_group(client: nil, group_name: nil, is_internal_group: false, public_link_enabled: false, public_link_limit: 10_000, public_link_limit_enabled: false) end return resps.flat_map(&:to_models) resps = client.get_beta_groups(filter: filter, includes: includes, limit: limit, sort: sort).all_pages