fastlane 2.149.0 → 2.150.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +82 -82
- data/deliver/lib/deliver.rb +0 -1
- data/deliver/lib/deliver/app_screenshot.rb +26 -25
- data/deliver/lib/deliver/options.rb +6 -11
- data/deliver/lib/deliver/runner.rb +7 -21
- data/deliver/lib/deliver/setup.rb +5 -30
- data/deliver/lib/deliver/submit_for_review.rb +155 -90
- data/deliver/lib/deliver/upload_metadata.rb +355 -143
- data/deliver/lib/deliver/upload_price_tier.rb +22 -8
- data/deliver/lib/deliver/upload_screenshots.rb +134 -39
- data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +1 -1
- data/fastlane/lib/fastlane/actions/docs/upload_to_app_store.md.erb +77 -96
- data/fastlane/lib/fastlane/actions/docs/upload_to_play_store.md +3 -2
- data/fastlane/lib/fastlane/actions/download_dsyms.rb +7 -1
- data/fastlane/lib/fastlane/actions/google_play_track_release_names.rb +74 -0
- data/fastlane/lib/fastlane/actions/set_changelog.rb +23 -20
- data/fastlane/lib/fastlane/actions/slack.rb +1 -1
- data/fastlane/lib/fastlane/actions/spm.rb +7 -0
- data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +1 -32
- data/fastlane/lib/fastlane/lane.rb +3 -3
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +8 -4
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/ControlCommand.swift +1 -0
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/Fastlane.swift +48 -12
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme +3 -9
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/LaneFileProtocol.swift +2 -5
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/RubyCommand.swift +29 -6
- data/fastlane/swift/RubyCommandable.swift +1 -0
- data/fastlane/swift/Runner.swift +85 -13
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +1 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +3 -3
- data/fastlane/swift/SocketClient.swift +76 -45
- data/fastlane/swift/SocketClientDelegateProtocol.swift +1 -1
- data/fastlane/swift/SocketResponse.swift +1 -0
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +1 -3
- data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +89 -52
- data/fastlane_core/lib/fastlane_core/pkg_file_analyser.rb +7 -0
- data/fastlane_core/lib/fastlane_core/project.rb +0 -1
- data/frameit/lib/frameit/device_types.rb +100 -100
- data/produce/lib/produce/itunes_connect.rb +32 -21
- data/produce/lib/produce/options.rb +3 -3
- data/sigh/lib/assets/resign.sh +7 -7
- data/snapshot/lib/assets/SnapshotHelper.swift +5 -5
- data/snapshot/lib/assets/SnapshotHelperXcode8.swift +3 -3
- data/snapshot/lib/snapshot/options.rb +0 -1
- data/snapshot/lib/snapshot/reports_generator.rb +8 -1
- data/spaceship/lib/spaceship/.DS_Store +0 -0
- data/spaceship/lib/spaceship/client.rb +4 -3
- data/spaceship/lib/spaceship/connect_api.rb +25 -2
- data/spaceship/lib/spaceship/connect_api/client.rb +97 -31
- data/spaceship/lib/spaceship/connect_api/file_uploader.rb +98 -0
- data/spaceship/lib/spaceship/connect_api/model.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb +113 -0
- data/spaceship/lib/spaceship/connect_api/models/app.rb +120 -3
- data/spaceship/lib/spaceship/connect_api/models/app_category.rb +94 -0
- data/spaceship/lib/spaceship/connect_api/models/app_info.rb +67 -0
- data/spaceship/lib/spaceship/connect_api/models/app_info_localization.rb +38 -0
- data/spaceship/lib/spaceship/connect_api/models/app_preview.rb +129 -0
- data/spaceship/lib/spaceship/connect_api/models/app_preview_set.rb +71 -0
- data/spaceship/lib/spaceship/connect_api/models/app_price.rb +22 -0
- data/spaceship/lib/spaceship/connect_api/models/app_price_tier.rb +12 -0
- data/spaceship/lib/spaceship/connect_api/models/app_review_attachment.rb +71 -0
- data/spaceship/lib/spaceship/connect_api/models/app_screenshot.rb +93 -0
- data/spaceship/lib/spaceship/connect_api/models/app_screenshot_set.rb +101 -0
- data/spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb +51 -0
- data/spaceship/lib/spaceship/connect_api/models/app_store_version.rb +183 -0
- data/spaceship/lib/spaceship/connect_api/models/app_store_version_localization.rb +86 -0
- data/spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb +36 -0
- data/spaceship/lib/spaceship/connect_api/models/app_store_version_submission.rb +26 -0
- data/spaceship/lib/spaceship/connect_api/models/build.rb +4 -0
- data/spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb +40 -0
- data/spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb +26 -0
- data/spaceship/lib/spaceship/connect_api/models/territory.rb +27 -0
- data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +10 -3
- data/spaceship/lib/spaceship/connect_api/tunes/client.rb +33 -0
- data/spaceship/lib/spaceship/connect_api/tunes/tunes.rb +841 -0
- data/spaceship/lib/spaceship/spaceauth_runner.rb +2 -2
- data/supply/lib/supply/client.rb +19 -0
- data/supply/lib/supply/reader.rb +16 -0
- metadata +44 -39
- data/deliver/lib/deliver/upload_assets.rb +0 -27
- data/fastlane/lib/assets/.s3_html_template.erb.swp +0 -0
- data/fastlane/lib/fastlane/actions/.hipchat.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/.slack.rb.swp +0 -0
- data/scan/lib/scan/.options.rb.swp +0 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
require_relative '../model'
|
2
|
+
require_relative './app_review_attachment'
|
3
|
+
|
4
|
+
module Spaceship
|
5
|
+
class ConnectAPI
|
6
|
+
class AppStoreReviewDetail
|
7
|
+
include Spaceship::ConnectAPI::Model
|
8
|
+
|
9
|
+
attr_accessor :contact_first_name
|
10
|
+
attr_accessor :contact_last_name
|
11
|
+
attr_accessor :contact_phone
|
12
|
+
attr_accessor :contact_email
|
13
|
+
attr_accessor :demo_account_name
|
14
|
+
attr_accessor :demo_account_password
|
15
|
+
attr_accessor :demo_account_required
|
16
|
+
attr_accessor :notes
|
17
|
+
|
18
|
+
attr_mapping({
|
19
|
+
"contactFirstName" => "contact_first_name",
|
20
|
+
"contactLastName" => "contact_last_name",
|
21
|
+
"contactPhone" => "contact_phone",
|
22
|
+
"contactEmail" => "contact_email",
|
23
|
+
"demoAccountName" => "demo_account_name",
|
24
|
+
"demoAccountPassword" => "demo_account_password",
|
25
|
+
"demoAccountRequired" => "demo_account_required",
|
26
|
+
"notes" => "notes"
|
27
|
+
})
|
28
|
+
|
29
|
+
def self.type
|
30
|
+
return "appStoreReviewDetails"
|
31
|
+
end
|
32
|
+
|
33
|
+
#
|
34
|
+
# API
|
35
|
+
#
|
36
|
+
|
37
|
+
def fetch_app_review_attachments
|
38
|
+
resp = Spaceship::ConnectAPI.get_app_review_attachments(app_store_review_detail_id: id)
|
39
|
+
return resp.to_models
|
40
|
+
end
|
41
|
+
|
42
|
+
def update(attributes: nil)
|
43
|
+
return Spaceship::ConnectAPI.patch_app_store_review_detail(app_store_review_detail_id: id, attributes: attributes)
|
44
|
+
end
|
45
|
+
|
46
|
+
def upload_attachment(path: nil)
|
47
|
+
return Spaceship::ConnectAPI::AppReviewAttachment.create(app_store_review_detail_id: id, path: path)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,183 @@
|
|
1
|
+
require_relative '../model'
|
2
|
+
require_relative './app_store_version_localization'
|
3
|
+
|
4
|
+
module Spaceship
|
5
|
+
class ConnectAPI
|
6
|
+
class AppStoreVersion
|
7
|
+
include Spaceship::ConnectAPI::Model
|
8
|
+
|
9
|
+
attr_accessor :platform
|
10
|
+
attr_accessor :version_string
|
11
|
+
attr_accessor :app_store_state
|
12
|
+
attr_accessor :store_icon
|
13
|
+
attr_accessor :watch_store_icon
|
14
|
+
attr_accessor :copyright
|
15
|
+
attr_accessor :release_type
|
16
|
+
attr_accessor :earliest_release_date # 2020-06-17T12:00:00-07:00
|
17
|
+
attr_accessor :uses_idfa
|
18
|
+
attr_accessor :is_watch_only
|
19
|
+
attr_accessor :downloadable
|
20
|
+
attr_accessor :created_date
|
21
|
+
|
22
|
+
module AppStoreState
|
23
|
+
READY_FOR_SALE = "READY_FOR_SALE"
|
24
|
+
WAITING_FOR_REVIEW = "WAITING_FOR_REVIEW"
|
25
|
+
DEVELOPER_REJECTED = "DEVELOPER_REJECTED"
|
26
|
+
REJECTED = "REJECTED"
|
27
|
+
PREPARE_FOR_SUBMISSION = "PREPARE_FOR_SUBMISSION"
|
28
|
+
METADATA_REJECTED = "METADATA_REJECTED"
|
29
|
+
INVALID_BINARY = "INVALID_BINARY"
|
30
|
+
end
|
31
|
+
|
32
|
+
module ReleaseType
|
33
|
+
AFTER_APPROVAL = "AFTER_APPROVAL"
|
34
|
+
MANUAL = "MANUAL"
|
35
|
+
SCHEDULED = "SCHEDULED"
|
36
|
+
end
|
37
|
+
|
38
|
+
attr_mapping({
|
39
|
+
"platform" => "platform",
|
40
|
+
"versionString" => "version_string",
|
41
|
+
"appStoreState" => "app_store_state",
|
42
|
+
"storeIcon" => "store_icon",
|
43
|
+
"watchStoreIcon" => "watch_store_icon",
|
44
|
+
"copyright" => "copyright",
|
45
|
+
"releaseType" => "release_type",
|
46
|
+
"earliestReleaseDate" => "earliest_release_date",
|
47
|
+
"usesIdfa" => "uses_idfa",
|
48
|
+
"isWatchOnly" => "is_watch_only",
|
49
|
+
"downloadable" => "downloadable",
|
50
|
+
"createdDate" => "created_date"
|
51
|
+
})
|
52
|
+
|
53
|
+
def self.type
|
54
|
+
return "appStoreVersions"
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# API
|
59
|
+
#
|
60
|
+
|
61
|
+
# app,routingAppCoverage,resetRatingsRequest,appStoreVersionSubmission,appStoreVersionPhasedRelease,ageRatingDeclaration,appStoreReviewDetail,idfaDeclaration,gameCenterConfiguration
|
62
|
+
def self.get(app_store_version_id: nil, includes: nil, limit: nil, sort: nil)
|
63
|
+
return Spaceship::ConnectAPI.get_app_store_version(
|
64
|
+
app_store_version_id: app_store_version_id,
|
65
|
+
includes: includes
|
66
|
+
).first
|
67
|
+
end
|
68
|
+
|
69
|
+
def update(attributes: nil)
|
70
|
+
return Spaceship::ConnectAPI.patch_app_store_version(app_store_version_id: id, attributes: attributes).first
|
71
|
+
end
|
72
|
+
|
73
|
+
#
|
74
|
+
# Age Rating Delcaration
|
75
|
+
#
|
76
|
+
|
77
|
+
def fetch_age_rating_declaration
|
78
|
+
resp = Spaceship::ConnectAPI.get_age_rating_declaration(app_store_version_id: id)
|
79
|
+
return resp.to_models.first
|
80
|
+
end
|
81
|
+
|
82
|
+
#
|
83
|
+
# App Store Version Localizations
|
84
|
+
#
|
85
|
+
|
86
|
+
def create_app_store_version_localization(attributes: nil)
|
87
|
+
resp = Spaceship::ConnectAPI.post_app_store_version_localization(app_store_version_id: id, attributes: attributes)
|
88
|
+
return resp.to_models.first
|
89
|
+
end
|
90
|
+
|
91
|
+
# appScreenshotSets,appPreviewSets
|
92
|
+
def get_app_store_version_localizations(filter: {}, includes: "appScreenshotSets", limit: nil, sort: nil)
|
93
|
+
filter ||= {}
|
94
|
+
filter["appStoreVersion"] = id
|
95
|
+
return Spaceship::ConnectAPI::AppStoreVersionLocalization.all(filter: filter, includes: includes, limit: limit, sort: sort)
|
96
|
+
end
|
97
|
+
|
98
|
+
#
|
99
|
+
# App Store Review Detail
|
100
|
+
#
|
101
|
+
|
102
|
+
def create_app_store_review_detail(attributes: nil)
|
103
|
+
resp = Spaceship::ConnectAPI.post_app_store_review_detail(app_store_version_id: id, attributes: attributes)
|
104
|
+
return resp.to_models.first
|
105
|
+
end
|
106
|
+
|
107
|
+
def fetch_app_store_review_detail
|
108
|
+
resp = Spaceship::ConnectAPI.get_app_store_review_detail(app_store_version_id: id)
|
109
|
+
return resp.to_models.first
|
110
|
+
end
|
111
|
+
|
112
|
+
#
|
113
|
+
# App Store Version Phased Releases
|
114
|
+
#
|
115
|
+
|
116
|
+
def fetch_app_store_version_phased_release
|
117
|
+
resp = Spaceship::ConnectAPI.get_app_store_version_phased_release(app_store_version_id: id)
|
118
|
+
return resp.to_models.first
|
119
|
+
end
|
120
|
+
|
121
|
+
def create_app_store_version_phased_release(attributes: nil)
|
122
|
+
resp = Spaceship::ConnectAPI.post_app_store_version_phased_release(app_store_version_id: id, attributes: attributes)
|
123
|
+
return resp.to_models.first
|
124
|
+
end
|
125
|
+
|
126
|
+
#
|
127
|
+
# App Store Version Submissions
|
128
|
+
#
|
129
|
+
|
130
|
+
def fetch_app_store_version_submission
|
131
|
+
resp = Spaceship::ConnectAPI.get_app_store_version_submission(app_store_version_id: id)
|
132
|
+
return resp.to_models.first
|
133
|
+
end
|
134
|
+
|
135
|
+
def create_app_store_version_submission
|
136
|
+
resp = Spaceship::ConnectAPI.post_app_store_version_submission(app_store_version_id: id)
|
137
|
+
return resp.to_models.first
|
138
|
+
end
|
139
|
+
|
140
|
+
#
|
141
|
+
# Build
|
142
|
+
#
|
143
|
+
|
144
|
+
def get_build(build_id: nil)
|
145
|
+
resp = Spaceship::ConnectAPI.get_build(app_store_version_id: id, build_id: build_id)
|
146
|
+
return resp.to_models.first
|
147
|
+
end
|
148
|
+
|
149
|
+
def select_build(build_id: nil)
|
150
|
+
resp = Spaceship::ConnectAPI.patch_app_store_version_with_build(app_store_version_id: id, build_id: build_id)
|
151
|
+
return resp.to_models.first
|
152
|
+
end
|
153
|
+
|
154
|
+
#
|
155
|
+
# IDFA Declarations
|
156
|
+
#
|
157
|
+
|
158
|
+
def fetch_idfa_declaration
|
159
|
+
resp = Spaceship::ConnectAPI.get_idfa_declaration(app_store_version_id: id)
|
160
|
+
return resp.to_models.first
|
161
|
+
end
|
162
|
+
|
163
|
+
def create_idfa_declaration(attributes: nil)
|
164
|
+
resp = Spaceship::ConnectAPI.post_idfa_declaration(app_store_version_id: id, attributes: attributes)
|
165
|
+
return resp.to_models.first
|
166
|
+
end
|
167
|
+
|
168
|
+
#
|
169
|
+
# Reset Ratings Requests
|
170
|
+
#
|
171
|
+
|
172
|
+
def fetch_reset_ratings_request
|
173
|
+
resp = Spaceship::ConnectAPI.get_reset_ratings_request(app_store_version_id: id)
|
174
|
+
return resp.to_models.first
|
175
|
+
end
|
176
|
+
|
177
|
+
def create_reset_ratings_request
|
178
|
+
resp = Spaceship::ConnectAPI.post_reset_ratings_request(app_store_version_id: id)
|
179
|
+
return resp.to_models.first
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
@@ -0,0 +1,86 @@
|
|
1
|
+
require_relative '../model'
|
2
|
+
require_relative './app_preview_set'
|
3
|
+
require_relative './app_screenshot_set'
|
4
|
+
|
5
|
+
module Spaceship
|
6
|
+
class ConnectAPI
|
7
|
+
class AppStoreVersionLocalization
|
8
|
+
include Spaceship::ConnectAPI::Model
|
9
|
+
|
10
|
+
attr_accessor :description
|
11
|
+
attr_accessor :locale
|
12
|
+
attr_accessor :keywords
|
13
|
+
attr_accessor :marketing_url
|
14
|
+
attr_accessor :promotional_text
|
15
|
+
attr_accessor :support_url
|
16
|
+
attr_accessor :whats_new
|
17
|
+
|
18
|
+
attr_accessor :app_screenshot_sets
|
19
|
+
attr_accessor :app_preview_sets
|
20
|
+
|
21
|
+
attr_mapping({
|
22
|
+
"description" => "description",
|
23
|
+
"locale" => "locale",
|
24
|
+
"keywords" => "keywords",
|
25
|
+
"marketingUrl" => "marketing_url",
|
26
|
+
"promotionalText" => "promotional_text",
|
27
|
+
"supportUrl" => "support_url",
|
28
|
+
"whatsNew" => "whats_new",
|
29
|
+
|
30
|
+
"appScreenshotSets" => "app_screenshot_sets",
|
31
|
+
"appPreviewSets" => "app_preview_sets"
|
32
|
+
})
|
33
|
+
|
34
|
+
def self.type
|
35
|
+
return "appStoreVersionLocalizations"
|
36
|
+
end
|
37
|
+
|
38
|
+
#
|
39
|
+
# API
|
40
|
+
#
|
41
|
+
|
42
|
+
def self.all(filter: {}, includes: nil, limit: nil, sort: nil)
|
43
|
+
resp = Spaceship::ConnectAPI.get_app_store_version_localizations(filter: filter, includes: includes, limit: limit, sort: sort)
|
44
|
+
return resp.to_models
|
45
|
+
end
|
46
|
+
|
47
|
+
def update(attributes: nil)
|
48
|
+
Spaceship::ConnectAPI.patch_app_store_version_localization(app_store_version_localization_id: id, attributes: attributes)
|
49
|
+
end
|
50
|
+
|
51
|
+
def delete!(filter: {}, includes: nil, limit: nil, sort: nil)
|
52
|
+
Spaceship::ConnectAPI.delete_app_store_version_localization(app_store_version_localization_id: id)
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# App Preview Sets
|
57
|
+
#
|
58
|
+
|
59
|
+
def get_app_preview_sets(filter: {}, includes: "appPreviews", limit: nil, sort: nil)
|
60
|
+
filter ||= {}
|
61
|
+
filter["appStoreVersionLocalization"] = id
|
62
|
+
return Spaceship::ConnectAPI::AppPreviewSet.all(filter: filter, includes: includes, limit: limit, sort: sort)
|
63
|
+
end
|
64
|
+
|
65
|
+
def create_app_preview_set(attributes: nil)
|
66
|
+
resp = Spaceship::ConnectAPI.post_app_preview_set(app_store_version_localization_id: id, attributes: attributes)
|
67
|
+
return resp.to_models.first
|
68
|
+
end
|
69
|
+
|
70
|
+
#
|
71
|
+
# App Screenshot Sets
|
72
|
+
#
|
73
|
+
|
74
|
+
def get_app_screenshot_sets(filter: {}, includes: "appScreenshots", limit: nil, sort: nil)
|
75
|
+
filter ||= {}
|
76
|
+
filter["appStoreVersionLocalization"] = id
|
77
|
+
return Spaceship::ConnectAPI::AppScreenshotSet.all(filter: filter, includes: includes, limit: limit, sort: sort)
|
78
|
+
end
|
79
|
+
|
80
|
+
def create_app_screenshot_set(attributes: nil)
|
81
|
+
resp = Spaceship::ConnectAPI.post_app_screenshot_set(app_store_version_localization_id: id, attributes: attributes)
|
82
|
+
return resp.to_models.first
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
require_relative '../model'
|
2
|
+
module Spaceship
|
3
|
+
class ConnectAPI
|
4
|
+
class AppStoreVersionPhasedRelease
|
5
|
+
include Spaceship::ConnectAPI::Model
|
6
|
+
|
7
|
+
attr_accessor :phased_release_state
|
8
|
+
attr_accessor :start_date
|
9
|
+
attr_accessor :total_pause_duration
|
10
|
+
attr_accessor :current_day_number
|
11
|
+
|
12
|
+
module PhasedReleaseState
|
13
|
+
INACTIVE = "INACTIVE"
|
14
|
+
end
|
15
|
+
|
16
|
+
attr_mapping({
|
17
|
+
"phasedReleaseState" => "phased_release_state",
|
18
|
+
"startDate" => "start_date",
|
19
|
+
"totalPauseDuration" => "total_pause_duration",
|
20
|
+
"currentDayNumber" => "current_day_number"
|
21
|
+
})
|
22
|
+
|
23
|
+
def self.type
|
24
|
+
return "appStoreVersionPhasedReleases"
|
25
|
+
end
|
26
|
+
|
27
|
+
#
|
28
|
+
# API
|
29
|
+
#
|
30
|
+
|
31
|
+
def delete!(filter: {}, includes: nil, limit: nil, sort: nil)
|
32
|
+
Spaceship::ConnectAPI.delete_app_store_version_phased_release(app_store_version_phased_release_id: id)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require_relative '../model'
|
2
|
+
module Spaceship
|
3
|
+
class ConnectAPI
|
4
|
+
class AppStoreVersionSubmission
|
5
|
+
include Spaceship::ConnectAPI::Model
|
6
|
+
|
7
|
+
attr_accessor :can_reject
|
8
|
+
|
9
|
+
attr_mapping({
|
10
|
+
"canReject" => "can_reject"
|
11
|
+
})
|
12
|
+
|
13
|
+
def self.type
|
14
|
+
return "appStoreVersionSubmissions"
|
15
|
+
end
|
16
|
+
|
17
|
+
#
|
18
|
+
# API
|
19
|
+
#
|
20
|
+
|
21
|
+
def delete!(filter: {}, includes: nil, limit: nil, sort: nil)
|
22
|
+
Spaceship::ConnectAPI.delete_app_store_version_submission(app_store_version_submission_id: id)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -129,6 +129,10 @@ module Spaceship
|
|
129
129
|
return Spaceship::ConnectAPI.get_build(build_id: build_id, includes: includes).first
|
130
130
|
end
|
131
131
|
|
132
|
+
def update(attributes: nil)
|
133
|
+
return Spaceship::ConnectAPI.patch_builds(build_id: id, attributes: attributes).first
|
134
|
+
end
|
135
|
+
|
132
136
|
def add_beta_groups(beta_groups: nil)
|
133
137
|
beta_groups ||= []
|
134
138
|
beta_group_ids = beta_groups.map(&:id)
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative '../model'
|
2
|
+
module Spaceship
|
3
|
+
class ConnectAPI
|
4
|
+
class IdfaDeclaration
|
5
|
+
include Spaceship::ConnectAPI::Model
|
6
|
+
|
7
|
+
attr_accessor :serves_ads
|
8
|
+
attr_accessor :attributes_app_installation_to_previous_ad
|
9
|
+
attr_accessor :attributes_action_with_previous_ad
|
10
|
+
attr_accessor :honors_limited_ad_tracking
|
11
|
+
|
12
|
+
module AppStoreAgeRating
|
13
|
+
FOUR_PLUS = "FOUR_PLUS"
|
14
|
+
end
|
15
|
+
|
16
|
+
attr_mapping({
|
17
|
+
"servesAds" => "serves_ads",
|
18
|
+
"attributesAppInstallationToPreviousAd" => "attributes_app_installation_to_previous_ad",
|
19
|
+
"attributesActionWithPreviousAd" => "attributes_action_with_previous_ad",
|
20
|
+
"honorsLimitedAdTracking" => "honors_limited_ad_tracking"
|
21
|
+
})
|
22
|
+
|
23
|
+
def self.type
|
24
|
+
return "idfaDeclarations"
|
25
|
+
end
|
26
|
+
|
27
|
+
#
|
28
|
+
# API
|
29
|
+
#
|
30
|
+
|
31
|
+
def update(attributes: nil)
|
32
|
+
Spaceship::ConnectAPI.patch_idfa_declaration(idfa_declaration_id: id, attributes: attributes)
|
33
|
+
end
|
34
|
+
|
35
|
+
def delete!
|
36
|
+
Spaceship::ConnectAPI.delete_idfa_declaration(idfa_declaration_id: id)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require_relative '../model'
|
2
|
+
module Spaceship
|
3
|
+
class ConnectAPI
|
4
|
+
class ResetRatingsRequest
|
5
|
+
include Spaceship::ConnectAPI::Model
|
6
|
+
|
7
|
+
attr_accessor :reset_date
|
8
|
+
|
9
|
+
attr_mapping({
|
10
|
+
"resetDate" => "reset_date"
|
11
|
+
})
|
12
|
+
|
13
|
+
def self.type
|
14
|
+
return "resetRatingsRequests"
|
15
|
+
end
|
16
|
+
|
17
|
+
#
|
18
|
+
# API
|
19
|
+
#
|
20
|
+
|
21
|
+
def delete!(filter: {}, includes: nil, limit: nil, sort: nil)
|
22
|
+
Spaceship::ConnectAPI.delete_reset_ratings_request(reset_ratings_request_id: id)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|