app_store_connect 0.11.0 → 0.12.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2dcb0baeec6115b19cceb61065868ea2a8df22bc38ddfa7119cebc302be7ffb
4
- data.tar.gz: ac6daafc5325d9c092d8db0e4f4540261ed70df222f930306d108fd5bf69e61b
3
+ metadata.gz: c55138bfee943e1f6657d6e985cf736bbaac4a5f8ca467a90e9b7b33667cf711
4
+ data.tar.gz: 2f9fd8a6c712c37dfe7ece6bed224530ddbeeb30ac532006ec55daa488422904
5
5
  SHA512:
6
- metadata.gz: ea23fccdf0a8484e89a51ab75b1b072162916b49b0c874e2868c94b30d8e7b45ab57ff8295f46c0a75257251ef7dce8fa3e51e09cc4a472a333d330224cedfad
7
- data.tar.gz: d820dc77c974d603129ad684aa31b06bb79482a03600c023f33b0e6f953576e529a4b54c375b172255a676fd43832e72a00444ad3bc1344f23c1fc0761934110
6
+ metadata.gz: e650da2622712b8bb6c909ff5af45df53f0b88c98004b305b60696dd02c96a5ac824f58b91a9c20760cd62f255b6d82d8884ef3a9fa13604172ce88162b2aa07
7
+ data.tar.gz: 9f9aa9dc382972a342357c97adceed047eb93450de66d076207321a0b7febcb99e0eb0904226e6aeff6ff0318ab9d2a7867d5b64b85d7b31c279eee01012b91f
data/Gemfile.lock CHANGED
@@ -1,9 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_store_connect (0.11.0)
4
+ app_store_connect (0.12.0)
5
5
  activesupport (>= 5.1.7)
6
6
  jwt (>= 1.4)
7
+ mixpanel-ruby
7
8
 
8
9
  GEM
9
10
  remote: https://rubygems.org/
@@ -53,6 +54,7 @@ GEM
53
54
  lumberjack (1.0.13)
54
55
  method_source (0.9.2)
55
56
  minitest (5.11.3)
57
+ mixpanel-ruby (2.2.1)
56
58
  nenv (0.3.0)
57
59
  notiffany (0.1.1)
58
60
  nenv (~> 0.1)
data/README.md CHANGED
@@ -36,14 +36,214 @@ app_store_connect.app(id: '1234')
36
36
  app_store_connect.builds(id: '1234')
37
37
  ```
38
38
 
39
- ### Register Device
39
+ ## Web Service Endpoints
40
+
41
+
42
+ ### Users
43
+ - [X] List Users
44
+ - [X] Read User Information
45
+ - [X] Remove a User Account
46
+ - [X] Modify a User Account
47
+ - [X] Get All Visible App Resource IDs for a User
48
+ - [X] List All Apps Visible to a User
49
+ - [X] Remove Visible Apps from a User
50
+ - [X] Add Visible Apps to a User
51
+ - [X] Replace the List of Visible Apps for a User
52
+
53
+ ### Bundle IDs
54
+ - [X] Register a New Bundle ID
55
+ - [X] Modify a Bundle ID
56
+ - [X] Delete a Bundle ID
57
+ - [X] Read Bundle ID Information
58
+ - [X] List Bundle IDs
59
+ - [X] Get All Profile IDs for a Bundle ID
60
+ - [X] Get All Capabilility IDs for a Bundle ID
61
+ - [X] List All Profiles for a Bundle ID
62
+ - [X] List All Capabilities for a Bundle ID
63
+
64
+ ### Certificates
65
+ - [X] List and Download Certificates
66
+ - [X] Create a Certificate
67
+ - [X] Read and Download Certificate Information
68
+ - [X] Revoke a Certificate
69
+
70
+ ### User Invitations
71
+ - [X] Read User Invitation Information
72
+ - [X] List Invited Users
73
+ - [X] Invite a User
74
+ - [X] Cancel a User Invitation
75
+ - [X] Get All App Resource IDs Visible to an Invited User
76
+ - [X] List All Apps Visible to an Invited User
77
+
78
+ ### Bundle ID Capabilities
79
+ - [ ] Enable a Capability
80
+ - [X] Disable a Capability
81
+ - [X] Modify a Capability Configuration
82
+
83
+ ### Devices
84
+ - [X] List Devices
85
+ - [X] Read Device Information
86
+ - [X] Register a New Device
87
+ - [X] Modify a Registered Device
88
+
89
+ ### Sales and Finance Reports
90
+ - [X] Download Sales and Trends Reports
91
+ - [X] Download Finance Reports
92
+
93
+ ### Profiles
94
+ - [X] Create a Profile
95
+ - [X] Delete a Profile
96
+ - [X] List and Download Profiles
97
+ - [X] Get the Bundle Resource ID in a Profile
98
+ - [X] Read the Bundle ID in a Profile
99
+ - [X] Read and Download Profile Information
100
+ - [X] List All Certificates in a Profile
101
+ - [X] Get All Certificate IDs in a Profile
102
+ - [X] Get All Device Resource IDs in a Profile
103
+ - [X] List All Devices in a Profile
104
+
105
+ ### Beta Testers
106
+ - [X] Create a Beta Tester
107
+ - [X] Delete a Beta Tester
108
+ - [X] Add a Beta Tester to Beta Groups
109
+ - [X] List Beta Testers
110
+ - [X] Read Beta Tester Information
111
+ - [X] Individually Assign a Beta Tester to Builds
112
+ - [X] Remove a Beta Tester from Beta Groups
113
+ - [X] Remove a Beta Tester’s Access to Apps
114
+ - [X] Get All App Resource IDs for a Beta Tester
115
+ - [X] List All Builds Individually Assigned to a Beta Tester
116
+ - [X] List All Apps for a Beta Tester
117
+ - [X] Get All IDs of Builds Individually Assigned to a Beta Tester
118
+ - [X] List All Beta Groups to Which a Beta Tester Belongs
119
+ - [X] Get All Beta Group IDs of a Beta Tester's Groups
120
+ - [X] Individually Unassign a Beta Tester from Builds
121
+
122
+ ### Beta Tester Invitations
123
+ - [ ] Send an Invitation to a Beta Tester
124
+
125
+ ### Apps
126
+ - [X] Remove Beta Testers from All Groups and Builds of an App
127
+ - [X] Read App Information
128
+ - [X] List All Beta Groups for an App
129
+ - [X] List Apps
130
+ - [X] Get All Build IDs of an App
131
+ - [X] List All Builds of an App
132
+ - [X] Get All Beta Group IDs for an App
133
+ - [X] Get All Prerelease Version IDs for an App
134
+ - [X] List All Prerelease Versions for an App
135
+ - [X] Get the Beta App Review Details Resource ID for an App
136
+ - [X] Read the Beta App Review Details Resource of an App
137
+ - [X] List All Beta App Localizations of an App
138
+ - [X] Read the Beta License Agreement of an App
139
+ - [X] Get the Beta License Agreement ID for an App
140
+ - [X] Get All Beta App Localization IDs of an App
141
+
142
+ ### Beta Groups
143
+ - [X] Create a Beta Group
144
+ - [X] Modify a Beta Group
145
+ - [X] List Beta Groups
146
+ - [X] Read Beta Group Information
147
+ - [X] Delete a Beta Group
148
+ - [X] Read the App Information of a Beta Group
149
+ - [X] Get the App Resource ID for a Beta Group
150
+ - [X] Add Beta Testers to a Beta Group
151
+ - [X] Remove Beta Testers from a Beta Group
152
+ - [X] Remove Builds from a Beta Group
153
+ - [X] List All Builds for a BetaGroup
154
+ - [X] Add Builds to a Beta Group
155
+ - [X] Get All Build IDs in a Beta Group
156
+ - [X] Get All Beta Tester IDs in a Beta Group
157
+ - [X] List All Beta Testers in a BetaGroup
158
+
159
+ ### Prerelease Versions
160
+ - [X] List Prerelease Versions
161
+ - [X] Get the App Resource ID for a Prerelease Version
162
+ - [X] Read Prerelease Version Information
163
+ - [X] Read the App Information of a Prerelease Version
164
+ - [X] List All Builds of a Prerelease Version
165
+ - [X] Get All Build IDs of a Prerelease Version
166
+
167
+ ### Beta App Localizations
168
+ - [X] List Beta App Localizations
169
+ - [X] Read Beta App Localization Information
170
+ - [X] Read the App Information of a Beta App Localization
171
+ - [X] Get the App Resource ID for a Beta App Localization
172
+ - [X] Create a Beta App Localization
173
+ - [X] Modify a Beta App Localization
174
+ - [X] Delete a Beta App Localization
175
+
176
+ ### App Encryption Declarations
177
+ - [X] List App Encryption Declarations
178
+ - [X] Read App Encryption Declaration Information
179
+ - [X] Get the App Resource ID for an App Encryption Declaration
180
+ - [X] Read the App Information of an App Encryption Declaration
181
+ - [ ] Assign Builds to an App Encryption Declaration
182
+
183
+ ### Build Beta Details
184
+ - [X] Read Build Beta Detail Information
185
+ - [X] List Build Beta Details
186
+ - [X] Get the Build ID for a Build Beta Detail
187
+ - [X] Modify a Build Beta Detail
188
+ - [X] Read the Build Information of a Build Beta Detail
189
+
190
+ ### Beta Build Localizations
191
+ - [X] List Beta Build Localizations
192
+ - [X] Read Beta Build Localization Information
193
+ - [X] Read the Build Information of a Beta Build Localization
194
+ - [X] Create a Beta Build Localization
195
+ - [X] Delete a Beta Build Localization
196
+ - [X] Modify a Beta Build Localization
197
+ - [X] Get the Build ID for a Beta Build Localization
198
+
199
+ ### Builds
200
+ - [X] Read Build Information
201
+ - [X] Get the App Resource ID for a Build
202
+ - [X] List Builds
203
+ - [X] Read the App Information of a Build
204
+ - [X] Modify a Build
205
+ - [X] Read the Prerelease Version of a Build
206
+ - [X] Get All Resource IDs of Prerelease Versions for a Build
207
+ - [X] Assign the App Encryption Declaration for a Build
208
+ - [X] Remove Individual Testers from a Build
209
+ - [X] Add Access for Beta Groups to a Build
210
+ - [X] Remove Access for Beta Groups to a Build
211
+ - [X] List All Individual Testers for a Build
212
+ - [X] Assign Individual Testers to a Build
213
+ - [X] Get All Resource IDs of Individual Testers for a Build
214
+ - [X] Get the Beta App Review Submission ID of a Build
215
+ - [X] Read the Beta App Review Submission of a Build
216
+ - [X] Read the Build Beta Details Information of a Build
217
+ - [X] Get the Build Beta Details Resource ID for a Build
218
+ - [X] Get the App Encryption Declaration ID for a Build
219
+ - [X] Get All Beta Build Localization IDs of a Build
220
+ - [X] Read the App Encryption Declaration of a Build
221
+ - [X] List All Beta Build Localizations of a Build
222
+
223
+ ### Beta App Review Detail
224
+ - [X] List Beta App Review Details
225
+ - [X] Read Beta App Review Detail Information
226
+ - [X] Read the App Information of a Beta App Review Detail
227
+ - [X] Get the App Resource ID for a Beta App Review Details Resource
228
+ - [X] Modify a Beta App Review Detail
229
+
230
+ ### Beta App Review Submissions
231
+ - [X] Read Beta App Review Submission Information
232
+ - [X] Submit an App for Beta Review
233
+ - [X] Read the Build Information of a Beta App Review Submission
234
+ - [X] List Beta App Review Submissions
235
+ - [X] Get the Build ID for a Beta App Review Submission
236
+
237
+ ### Build Beta Notifications
238
+ - [ ] Send Notification of an Available Build
239
+
240
+ ### Beta License Agreements
241
+ - [X] Read Beta License Agreement Information
242
+ - [X] Read the App Information of a Beta License Agreement
243
+ - [X] Get the App Resource ID for a Beta License Agreement
244
+ - [X] Modify a Beta License Agreement
245
+ - [X] List Beta License Agreements
40
246
 
41
- ```ruby
42
- app_store_connect.create_device(
43
- name: 'Kyle Decot\'s iPhone',
44
- udid: '...'
45
- )
46
- ```
47
247
 
48
248
  ### Create Bundle ID
49
249
 
@@ -55,6 +255,19 @@ app_store_connect.create_bundle_id(
55
255
  )
56
256
  ```
57
257
 
258
+ ### Sales Reports
259
+
260
+ ```ruby
261
+ app_store_connect.sales_reports(
262
+ filter: {
263
+ report_type: 'SALES',
264
+ report_sub_type: 'SUMMARY',
265
+ frequency: 'DAILY',
266
+ vendor_number: '123456'
267
+ }
268
+ )
269
+ ```
270
+
58
271
  ## Development
59
272
 
60
273
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_runtime_dependency 'activesupport', '>= 5.1.7'
24
24
  spec.add_runtime_dependency 'jwt', '>= 1.4'
25
+ spec.add_runtime_dependency 'mixpanel-ruby'
25
26
 
26
27
  spec.add_development_dependency 'bundler', '~> 2.0'
27
28
  spec.add_development_dependency 'factory_bot', '~> 5.0.2'
@@ -1,6 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'active_support/all'
4
+ require 'mixpanel-ruby'
5
+ require 'securerandom'
4
6
 
5
7
  require 'app_store_connect/request'
6
8
  require 'app_store_connect/authorization'
@@ -19,6 +21,8 @@ module AppStoreConnect
19
21
  .web_service_endpoints
20
22
  .map { |s| [s.alias, s] }
21
23
  .to_h
24
+ @distinct_id = SecureRandom.uuid
25
+ @tracker = Mixpanel::Tracker.new('1213f2b88b9b10b13d321f4c67a55ca8')
22
26
  end
23
27
 
24
28
  def respond_to_missing?(method_name, include_private = false)
@@ -43,6 +47,8 @@ module AppStoreConnect
43
47
  raise "invalid http method: #{web_service_endpoint.http_method}" unless %i[get delete post].include?(web_service_endpoint.http_method)
44
48
 
45
49
  request = build_request(web_service_endpoint, **kwargs)
50
+
51
+ @tracker.track(@distinct_id, web_service_endpoint.alias) if @options[:analytics_enabled]
46
52
  response = request.execute
47
53
 
48
54
  JSON.parse(response.body) if response.body
@@ -71,7 +77,10 @@ module AppStoreConnect
71
77
  end
72
78
 
73
79
  def options(**kwargs)
74
- AppStoreConnect.config.merge(kwargs.merge(env_options)).tap do |options|
80
+ defaults = {
81
+ analytics_enabled: true
82
+ }
83
+ AppStoreConnect.config.merge(kwargs.merge(env_options.merge(defaults))).tap do |options|
75
84
  %i[key_id issuer_id private_key].each do |key|
76
85
  raise ArgumentError, "missing #{key}" unless options.keys.include?(key)
77
86
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppStoreConnect
4
- VERSION = '0.11.0'
4
+ VERSION = '0.12.0'
5
5
  end
@@ -1,115 +1,664 @@
1
1
  {
2
2
  "web_service_endpoints": [
3
- {
4
- "alias": "sales_reports",
5
- "http_method": "get",
6
- "url": "https://api.appstoreconnect.apple.com/v1/salesReports"
7
- },
8
- {
9
- "alias": "create_certificate",
10
- "http_method": "post",
11
- "url": "https://api.appstoreconnect.apple.com/v1/certificates",
12
- "http_body_type": "CertificateCreateRequest"
13
- },
14
- {
15
- "alias": "certificate",
16
- "http_method": "get",
17
- "url": "https://api.appstoreconnect.apple.com/v1/certificates/{id}"
18
- },
19
- {
20
- "alias": "certificates",
21
- "http_method": "get",
22
- "url": "https://api.appstoreconnect.apple.com/v1/certificates"
23
- },
24
- {
25
- "alias": "create_profile",
26
- "http_method": "post",
27
- "url": "https://api.appstoreconnect.apple.com/v1/profiles",
28
- "http_body_type": "ProfileCreateRequest"
29
- },
30
- {
31
- "alias": "profile",
32
- "http_method": "get",
33
- "url": "https://api.appstoreconnect.apple.com/v1/profiles/{id}"
34
- },
35
- {
36
- "alias": "profiles",
37
- "http_method": "get",
38
- "url": "https://api.appstoreconnect.apple.com/v1/profiles"
39
- },
40
- {
41
- "alias": "create_device",
42
- "http_method": "post",
43
- "url": "https://api.appstoreconnect.apple.com/v1/devices",
44
- "http_body_type": "DeviceCreateRequest"
45
- },
46
- {
47
- "alias": "device",
48
- "http_method": "get",
49
- "url": "https://api.appstoreconnect.apple.com/v1/devices/{id}"
50
- },
51
- {
52
- "alias": "devices",
53
- "http_method": "get",
54
- "url": "https://api.appstoreconnect.apple.com/v1/devices"
55
- },
56
- {
57
- "alias": "delete_user_invitation",
58
- "http_method": "delete",
59
- "url": "https://api.appstoreconnect.apple.com/v1/userInvitations/{id}"
60
- },
61
- {
62
- "alias": "delete_bundle_id",
63
- "http_method": "delete",
64
- "url": "https://api.appstoreconnect.apple.com/v1/bundleIds"
65
- },
66
- {
67
- "alias": "bundle_ids",
68
- "http_method": "get",
69
- "url": "https://api.appstoreconnect.apple.com/v1/bundleIds"
70
- },
71
- {
72
- "alias": "apps",
73
- "http_method": "get",
74
- "url": "https://api.appstoreconnect.apple.com/v1/apps"
75
- },
76
- {
77
- "alias": "app",
78
- "http_method": "get",
79
- "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}"
80
- },
81
- {
82
- "alias": "builds",
83
- "http_method": "get",
84
- "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/builds"
85
- },
86
- {
87
- "alias": "build",
88
- "http_method": "get",
89
- "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}"
90
- },
91
- {
92
- "alias": "create_user_invitation",
93
- "url": "https://api.appstoreconnect.apple.com/v1/userInvitations",
94
- "http_body_type": "UserInvitationCreateRequest",
95
- "http_method": "post"
96
- },
97
- {
98
- "alias": "create_bundle_id",
99
- "url": "https://api.appstoreconnect.apple.com/v1/bundleIds",
100
- "http_body_type": "BundleIdCreateRequest",
101
- "http_method": "post"
102
- },
103
- {
104
- "alias": "users",
105
- "url": "https://api.appstoreconnect.apple.com/v1/users",
106
- "http_method": "get"
107
- },
108
- {
109
- "alias": "user_invitations",
110
- "http_method": "get",
111
- "url": "https://api.appstoreconnect.apple.com/v1/userInvitations"
112
- }
3
+ {
4
+ "http_method": "delete",
5
+ "url": "https://api.appstoreconnect.apple.com/v1/users/{id}",
6
+ "alias": "delete_user"
7
+ },
8
+ {
9
+ "http_method": "delete",
10
+ "url": "https://api.appstoreconnect.apple.com/v1/users/{id}/relationships/visibleApps",
11
+ "alias": "delete_visible_app"
12
+ },
13
+ {
14
+ "http_method": "delete",
15
+ "url": "https://api.appstoreconnect.apple.com/v1/bundleIdCapabilities/{id}",
16
+ "alias": "delete_bundle_id_capability"
17
+ },
18
+ {
19
+ "http_method": "delete",
20
+ "url": "https://api.appstoreconnect.apple.com/v1/userInvitations/{id}",
21
+ "alias": "delete_user_invitation"
22
+ },
23
+ {
24
+ "http_method": "delete",
25
+ "url": "https://api.appstoreconnect.apple.com/v1/certificates/{id}",
26
+ "alias": "delete_certificate"
27
+ },
28
+ {
29
+ "http_method": "delete",
30
+ "url": "https://api.appstoreconnect.apple.com/v1/bundleIds/{id}",
31
+ "alias": "delete_bundle_id"
32
+ },
33
+ {
34
+ "http_method": "delete",
35
+ "url": "https://api.appstoreconnect.apple.com/v1/profiles/{id}",
36
+ "alias": "delete_profile"
37
+ },
38
+ {
39
+ "http_method": "delete",
40
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters/{id}",
41
+ "alias": "delete_beta_tester"
42
+ },
43
+ {
44
+ "http_method": "delete",
45
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters/{id}/relationships/betaGroups",
46
+ "alias": "delete_beta_tester_beta"
47
+ },
48
+ {
49
+ "http_method": "delete",
50
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters/{id}/relationships/builds",
51
+ "alias": "delete_beta_tester_builds"
52
+ },
53
+ {
54
+ "http_method": "delete",
55
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters/{id}/relationships/apps",
56
+ "alias": "delete_beta_tester_apps"
57
+ },
58
+ {
59
+ "http_method": "delete",
60
+ "url": "https://api.appstoreconnect.apple.com/v1/betaGroups/{id}",
61
+ "alias": "delete_beta_group"
62
+ },
63
+ {
64
+ "http_method": "delete",
65
+ "url": "https://api.appstoreconnect.apple.com/v1/betaGroups/{id}/relationships/betaTesters",
66
+ "alias": "delete_beta_group_beta_testers"
67
+ },
68
+ {
69
+ "http_method": "delete",
70
+ "url": "https://api.appstoreconnect.apple.com/v1/betaGroups/{id}/relationships/builds",
71
+ "alias": "delete_beta_group_builds"
72
+ },
73
+ {
74
+ "http_method": "delete",
75
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/relationships/betaTesters",
76
+ "alias": "delete_app_beta_testers"
77
+ },
78
+ {
79
+ "http_method": "delete",
80
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppLocalizations/{id}",
81
+ "alias": "delete_beta_app_localization"
82
+ },
83
+ {
84
+ "http_method": "delete",
85
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/relationships/betaGroups",
86
+ "alias": "delete_build_beta_group"
87
+ },
88
+ {
89
+ "http_method": "delete",
90
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/relationships/individualTesters",
91
+ "alias": "delete_build_individual_testers"
92
+ },
93
+ {
94
+ "http_method": "delete",
95
+ "url": "https://api.appstoreconnect.apple.com/v1/betaBuildLocalizations/{id}",
96
+ "alias": "delete_beta_build_localizations"
97
+ },
98
+ {
99
+ "alias": "create_certificate",
100
+ "http_method": "post",
101
+ "url": "https://api.appstoreconnect.apple.com/v1/certificates",
102
+ "http_body_type": "CertificateCreateRequest"
103
+ },
104
+ {
105
+ "alias": "create_profile",
106
+ "http_method": "post",
107
+ "url": "https://api.appstoreconnect.apple.com/v1/profiles",
108
+ "http_body_type": "ProfileCreateRequest"
109
+ },
110
+ {
111
+ "alias": "create_device",
112
+ "http_method": "post",
113
+ "url": "https://api.appstoreconnect.apple.com/v1/devices",
114
+ "http_body_type": "DeviceCreateRequest"
115
+ },
116
+ {
117
+ "alias": "create_user_invitation",
118
+ "url": "https://api.appstoreconnect.apple.com/v1/userInvitations",
119
+ "http_body_type": "UserInvitationCreateRequest",
120
+ "http_method": "post"
121
+ },
122
+ {
123
+ "http_method": "get",
124
+ "url": "https://api.appstoreconnect.apple.com/v1/users",
125
+ "alias": "users"
126
+ },
127
+ {
128
+ "http_method": "get",
129
+ "url": "https://api.appstoreconnect.apple.com/v1/users/{id}",
130
+ "alias": "user"
131
+ },
132
+ {
133
+ "http_method": "get",
134
+ "url": "https://api.appstoreconnect.apple.com/v1/users/{id}/visibleApps",
135
+ "alias": "user_visible_apps"
136
+ },
137
+ {
138
+ "http_method": "get",
139
+ "url": "https://api.appstoreconnect.apple.com/v1/users/{id}/relationships/visibleApps",
140
+ "alias": "user_relationships_visible_apps"
141
+ },
142
+ {
143
+ "http_method": "get",
144
+ "url": "https://api.appstoreconnect.apple.com/v1/userInvitations/{id}",
145
+ "alias": "user_invitation"
146
+ },
147
+ {
148
+ "http_method": "get",
149
+ "url": "https://api.appstoreconnect.apple.com/v1/userInvitations",
150
+ "alias": "user_invitations"
151
+ },
152
+ {
153
+ "http_method": "get",
154
+ "url": "https://api.appstoreconnect.apple.com/v1/userInvitations/{id}/visibleApps",
155
+ "alias": "user_invitation_visible_apps"
156
+ },
157
+ {
158
+ "http_method": "get",
159
+ "url": "https://api.appstoreconnect.apple.com/v1/userInvitations/{id}/relationships/visibleApps",
160
+ "alias": "user_invitation_relationships_visible_apps"
161
+ },
162
+ {
163
+ "http_method": "get",
164
+ "url": "https://api.appstoreconnect.apple.com/v1/bundleIds/{id}",
165
+ "alias": "bundle_id"
166
+ },
167
+ {
168
+ "http_method": "get",
169
+ "url": "https://api.appstoreconnect.apple.com/v1/bundleIds",
170
+ "alias": "bundle_ids"
171
+ },
172
+ {
173
+ "http_method": "get",
174
+ "url": "https://api.appstoreconnect.apple.com/v1/bundleIds/{id}/relationships/profiles",
175
+ "alias": "bundle_id_relationships_profiles"
176
+ },
177
+ {
178
+ "http_method": "get",
179
+ "url": "https://api.appstoreconnect.apple.com/v1/bundleIds/{id}/bundleIdCapabilities",
180
+ "alias": "bundle_id_bundle_id_capabilities"
181
+ },
182
+ {
183
+ "http_method": "get",
184
+ "url": "https://api.appstoreconnect.apple.com/v1/bundleIds/{id}/profiles",
185
+ "alias": "bundle_id_profiles"
186
+ },
187
+ {
188
+ "http_method": "get",
189
+ "url": "https://api.appstoreconnect.apple.com/v1/bundleIds/{id}/relationships/bundleIdCapabilities",
190
+ "alias": "bundle_id_relationships_bundle_id_capabilities"
191
+ },
192
+ {
193
+ "http_method": "get",
194
+ "url": "https://api.appstoreconnect.apple.com/v1/certificates",
195
+ "alias": "certificates"
196
+ },
197
+ {
198
+ "http_method": "get",
199
+ "url": "https://api.appstoreconnect.apple.com/v1/certificates/{id}",
200
+ "alias": "certificate"
201
+ },
202
+ {
203
+ "http_method": "get",
204
+ "url": "https://api.appstoreconnect.apple.com/v1/devices",
205
+ "alias": "devices"
206
+ },
207
+ {
208
+ "http_method": "get",
209
+ "url": "https://api.appstoreconnect.apple.com/v1/devices/{id}",
210
+ "alias": "device"
211
+ },
212
+ {
213
+ "http_method": "get",
214
+ "url": "https://api.appstoreconnect.apple.com/v1/financeReports",
215
+ "alias": "financial_reports"
216
+ },
217
+ {
218
+ "http_method": "get",
219
+ "url": "https://api.appstoreconnect.apple.com/v1/salesReports",
220
+ "alias": "sales_reports"
221
+ },
222
+ {
223
+ "http_method": "get",
224
+ "url": "https://api.appstoreconnect.apple.com/v1/profiles",
225
+ "alias": "profiles"
226
+ },
227
+ {
228
+ "http_method": "get",
229
+ "url": "https://api.appstoreconnect.apple.com/v1/profiles/{id}",
230
+ "alias": "profile"
231
+ },
232
+ {
233
+ "http_method": "get",
234
+ "url": "https://api.appstoreconnect.apple.com/v1/profiles/{id}/bundleId",
235
+ "alias": "profile_bundle_id"
236
+ },
237
+ {
238
+ "http_method": "get",
239
+ "url": "https://api.appstoreconnect.apple.com/v1/profiles/{id}/relationships/bundleId",
240
+ "alias": "profile_relationships_bundle_id"
241
+ },
242
+ {
243
+ "http_method": "get",
244
+ "url": "https://api.appstoreconnect.apple.com/v1/profiles/{id}/relationships/certificates",
245
+ "alias": "profile_relationships_certificates"
246
+ },
247
+ {
248
+ "http_method": "get",
249
+ "url": "https://api.appstoreconnect.apple.com/v1/profiles/{id}/devices",
250
+ "alias": "profile_devices"
251
+ },
252
+ {
253
+ "http_method": "get",
254
+ "url": "https://api.appstoreconnect.apple.com/v1/profiles/{id}/certificates",
255
+ "alias": "profile_certificates"
256
+ },
257
+ {
258
+ "http_method": "get",
259
+ "url": "https://api.appstoreconnect.apple.com/v1/profiles/{id}/relationships/devices",
260
+ "alias": "profile_relationships_devices"
261
+ },
262
+ {
263
+ "http_method": "get",
264
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters",
265
+ "alias": "beta_testers"
266
+ },
267
+ {
268
+ "http_method": "get",
269
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters/{id}",
270
+ "alias": "beta_tester"
271
+ },
272
+ {
273
+ "http_method": "get",
274
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters/{id}/apps",
275
+ "alias": "beta_tester_apps"
276
+ },
277
+ {
278
+ "http_method": "get",
279
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters/{id}/builds",
280
+ "alias": "beta_tester_builds"
281
+ },
282
+ {
283
+ "http_method": "get",
284
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters/{id}/relationships/builds",
285
+ "alias": "beta_tester_relationships_builds"
286
+ },
287
+ {
288
+ "http_method": "get",
289
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters/{id}/relationships/apps",
290
+ "alias": "beta_tester_relationships_apps"
291
+ },
292
+ {
293
+ "http_method": "get",
294
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters/{id}/betaGroups",
295
+ "alias": "beta_tester_beta_groups"
296
+ },
297
+ {
298
+ "http_method": "get",
299
+ "url": "https://api.appstoreconnect.apple.com/v1/betaTesters/{id}/relationships/betaGroups",
300
+ "alias": "beta_tester_relationships_beta_groups"
301
+ },
302
+ {
303
+ "http_method": "get",
304
+ "url": "https://api.appstoreconnect.apple.com/v1/apps",
305
+ "alias": "apps"
306
+ },
307
+ {
308
+ "http_method": "get",
309
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}",
310
+ "alias": "app"
311
+ },
312
+ {
313
+ "http_method": "get",
314
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/betaGroups",
315
+ "alias": "app_beta_groups"
316
+ },
317
+ {
318
+ "http_method": "get",
319
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/relationships/betaGroups",
320
+ "alias": "app_relationships_beta_groups"
321
+ },
322
+ {
323
+ "http_method": "get",
324
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/builds",
325
+ "alias": "app_builds"
326
+ },
327
+ {
328
+ "http_method": "get",
329
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/relationships/builds",
330
+ "alias": "app_relationships_builds"
331
+ },
332
+ {
333
+ "http_method": "get",
334
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/preReleaseVersions",
335
+ "alias": "app_pre_release_versions"
336
+ },
337
+ {
338
+ "http_method": "get",
339
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/relationships/preReleaseVersions",
340
+ "alias": "app_relationships_pre_release_versions"
341
+ },
342
+ {
343
+ "http_method": "get",
344
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/betaAppReviewDetail",
345
+ "alias": "app_beta_app_review_detail"
346
+ },
347
+ {
348
+ "http_method": "get",
349
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/betaLicenseAgreement",
350
+ "alias": "app_beta_license_agreement"
351
+ },
352
+ {
353
+ "http_method": "get",
354
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/betaAppLocalizations",
355
+ "alias": "app_beta_app_localizations"
356
+ },
357
+ {
358
+ "http_method": "get",
359
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/relationships/betaAppReviewDetail",
360
+ "alias": "app_relationships_beta_app_review_detail"
361
+ },
362
+ {
363
+ "http_method": "get",
364
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/relationships/betaLicenseAgreement",
365
+ "alias": "app_relationships_beta_license_agreement"
366
+ },
367
+ {
368
+ "http_method": "get",
369
+ "url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/relationships/betaAppLocalizations",
370
+ "alias": "app_relationships_beta_app_localizations"
371
+ },
372
+ {
373
+ "http_method": "get",
374
+ "url": "https://api.appstoreconnect.apple.com/v1/preReleaseVersions",
375
+ "alias": "pre_release_versions"
376
+ },
377
+ {
378
+ "http_method": "get",
379
+ "url": "https://api.appstoreconnect.apple.com/v1/preReleaseVersions/{id}",
380
+ "alias": "pre_release_version"
381
+ },
382
+ {
383
+ "http_method": "get",
384
+ "url": "https://api.appstoreconnect.apple.com/v1/preReleaseVersions/{id}/relationships/app",
385
+ "alias": "pre_release_version_relationships_app"
386
+ },
387
+ {
388
+ "http_method": "get",
389
+ "url": "https://api.appstoreconnect.apple.com/v1/preReleaseVersions/{id}/builds",
390
+ "alias": "pre_release_version_builds"
391
+ },
392
+ {
393
+ "http_method": "get",
394
+ "url": "https://api.appstoreconnect.apple.com/v1/preReleaseVersions/{id}/app",
395
+ "alias": "pre_release_version_app"
396
+ },
397
+ {
398
+ "http_method": "get",
399
+ "url": "https://api.appstoreconnect.apple.com/v1/preReleaseVersions/{id}/relationships/builds",
400
+ "alias": "pre_release_version_relationships_builds"
401
+ },
402
+ {
403
+ "http_method": "get",
404
+ "url": "https://api.appstoreconnect.apple.com/v1/betaGroups",
405
+ "alias": "beta_groups"
406
+ },
407
+ {
408
+ "http_method": "get",
409
+ "url": "https://api.appstoreconnect.apple.com/v1/betaGroups/{id}",
410
+ "alias": "beta_group"
411
+ },
412
+ {
413
+ "http_method": "get",
414
+ "url": "https://api.appstoreconnect.apple.com/v1/betaGroups/{id}/app",
415
+ "alias": "beta_group_apps"
416
+ },
417
+ {
418
+ "http_method": "get",
419
+ "url": "https://api.appstoreconnect.apple.com/v1/betaGroups/{id}/relationships/app",
420
+ "alias": "beta_group_relationships_app"
421
+ },
422
+ {
423
+ "http_method": "get",
424
+ "url": "https://api.appstoreconnect.apple.com/v1/betaGroups/{id}/betaTesters",
425
+ "alias": "beta_group_beta_testers"
426
+ },
427
+ {
428
+ "http_method": "get",
429
+ "url": "https://api.appstoreconnect.apple.com/v1/betaGroups/{id}/relationships/builds",
430
+ "alias": "beta_group_relationships_builds"
431
+ },
432
+ {
433
+ "http_method": "get",
434
+ "url": "https://api.appstoreconnect.apple.com/v1/betaGroups/{id}/relationships/betaTesters",
435
+ "alias": "beta_group_relationships_beta_testers"
436
+ },
437
+ {
438
+ "http_method": "get",
439
+ "url": "https://api.appstoreconnect.apple.com/v1/builds",
440
+ "alias": "builds"
441
+ },
442
+ {
443
+ "http_method": "get",
444
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}",
445
+ "alias": "build"
446
+ },
447
+ {
448
+ "http_method": "get",
449
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/app",
450
+ "alias": "build_app"
451
+ },
452
+ {
453
+ "http_method": "get",
454
+ "url": "https://api.appstoreconnect.apple.com/v1/betaGroups/{id}/builds",
455
+ "alias": "beta_group_builds"
456
+ },
457
+ {
458
+ "http_method": "get",
459
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/preReleaseVersion",
460
+ "alias": "build_pre_release_version"
461
+ },
462
+ {
463
+ "http_method": "get",
464
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/relationships/preReleaseVersion",
465
+ "alias": "build_relationships_pre_release_version"
466
+ },
467
+ {
468
+ "http_method": "get",
469
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/relationships/app",
470
+ "alias": "build_relationships_app"
471
+ },
472
+ {
473
+ "http_method": "get",
474
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/individualTesters",
475
+ "alias": "build_individual_testers"
476
+ },
477
+ {
478
+ "http_method": "get",
479
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/relationships/betaAppReviewSubmission",
480
+ "alias": "build_relationships_beta_app_review_submission"
481
+ },
482
+ {
483
+ "http_method": "get",
484
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/relationships/individualTesters",
485
+ "alias": "build_relationships_individual_testers"
486
+ },
487
+ {
488
+ "http_method": "get",
489
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/buildBetaDetail",
490
+ "alias": "build_build_beta_detail"
491
+ },
492
+ {
493
+ "http_method": "get",
494
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/relationships/buildBetaDetail",
495
+ "alias": "build_relationships_build_beta_detail"
496
+ },
497
+ {
498
+ "http_method": "get",
499
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/betaAppReviewSubmission",
500
+ "alias": "build_beta_app_review_submission"
501
+ },
502
+ {
503
+ "http_method": "get",
504
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/relationships/appEncryptionDeclaration",
505
+ "alias": "build_relationships_app_encryption_declaration"
506
+ },
507
+ {
508
+ "http_method": "get",
509
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/betaBuildLocalizations",
510
+ "alias": "build_beta_build_localizations"
511
+ },
512
+ {
513
+ "http_method": "get",
514
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/relationships/betaBuildLocalizations",
515
+ "alias": "build_relationships_beta_build_localizations"
516
+ },
517
+ {
518
+ "http_method": "get",
519
+ "url": "https://api.appstoreconnect.apple.com/v1/builds/{id}/appEncryptionDeclaration",
520
+ "alias": "build_app_encryption_declaration"
521
+ },
522
+ {
523
+ "http_method": "get",
524
+ "url": "https://api.appstoreconnect.apple.com/v1/appEncryptionDeclarations",
525
+ "alias": "app_encryption_declarations"
526
+ },
527
+ {
528
+ "http_method": "get",
529
+ "url": "https://api.appstoreconnect.apple.com/v1/appEncryptionDeclarations/{id}",
530
+ "alias": "app_encryption_declaration"
531
+ },
532
+ {
533
+ "http_method": "get",
534
+ "url": "https://api.appstoreconnect.apple.com/v1/appEncryptionDeclarations/{id}/app",
535
+ "alias": "app_encryption_declaration_app"
536
+ },
537
+ {
538
+ "http_method": "get",
539
+ "url": "https://api.appstoreconnect.apple.com/v1/appEncryptionDeclarations/{id}/relationships/app",
540
+ "alias": "app_encryption_declaration_relationships_app"
541
+ },
542
+ {
543
+ "http_method": "get",
544
+ "url": "https://api.appstoreconnect.apple.com/v1/buildBetaDetails",
545
+ "alias": "build_beta_details"
546
+ },
547
+ {
548
+ "http_method": "get",
549
+ "url": "https://api.appstoreconnect.apple.com/v1/buildBetaDetails/{id}",
550
+ "alias": "build_beta_detail"
551
+ },
552
+ {
553
+ "http_method": "get",
554
+ "url": "https://api.appstoreconnect.apple.com/v1/buildBetaDetails/{id}/build",
555
+ "alias": "build_beta_detail_build"
556
+ },
557
+ {
558
+ "http_method": "get",
559
+ "url": "https://api.appstoreconnect.apple.com/v1/buildBetaDetails/{id}/relationships/build",
560
+ "alias": "build_beta_detail_relationships_build"
561
+ },
562
+ {
563
+ "http_method": "get",
564
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppLocalizations",
565
+ "alias": "beta_app_localizations"
566
+ },
567
+ {
568
+ "http_method": "get",
569
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppLocalizations/{id}/app",
570
+ "alias": "beta_app_localization_app"
571
+ },
572
+ {
573
+ "http_method": "get",
574
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppLocalizations/{id}",
575
+ "alias": "beta_app_localization"
576
+ },
577
+ {
578
+ "http_method": "get",
579
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppLocalizations/{id}/relationships/app",
580
+ "alias": "beta_app_localization_relationships_app"
581
+ },
582
+ {
583
+ "http_method": "get",
584
+ "url": "https://api.appstoreconnect.apple.com/v1/betaLicenseAgreements",
585
+ "alias": "beta_license_agreements"
586
+ },
587
+ {
588
+ "http_method": "get",
589
+ "url": "https://api.appstoreconnect.apple.com/v1/betaLicenseAgreements/{id}/relationships/app",
590
+ "alias": "beta_license_agreement_relationships_app"
591
+ },
592
+ {
593
+ "http_method": "get",
594
+ "url": "https://api.appstoreconnect.apple.com/v1/betaLicenseAgreements/{id}/app",
595
+ "alias": "beta_license_agreement_app"
596
+ },
597
+ {
598
+ "http_method": "get",
599
+ "url": "https://api.appstoreconnect.apple.com/v1/betaLicenseAgreements/{id}",
600
+ "alias": "beta_license_agreement"
601
+ },
602
+ {
603
+ "http_method": "get",
604
+ "url": "https://api.appstoreconnect.apple.com/v1/betaBuildLocalizations/{id}/relationships/build",
605
+ "alias": "beta_build_localization_relationships_build"
606
+ },
607
+ {
608
+ "http_method": "get",
609
+ "url": "https://api.appstoreconnect.apple.com/v1/betaBuildLocalizations/{id}/build",
610
+ "alias": "beta_build_localization_build"
611
+ },
612
+ {
613
+ "http_method": "get",
614
+ "url": "https://api.appstoreconnect.apple.com/v1/betaBuildLocalizations",
615
+ "alias": "beta_build_localizations"
616
+ },
617
+ {
618
+ "http_method": "get",
619
+ "url": "https://api.appstoreconnect.apple.com/v1/betaBuildLocalizations/{id}",
620
+ "alias": "beta_build_localization"
621
+ },
622
+ {
623
+ "http_method": "get",
624
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppReviewDetails",
625
+ "alias": "beta_app_review_details"
626
+ },
627
+ {
628
+ "http_method": "get",
629
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppReviewDetails/{id}",
630
+ "alias": "beta_app_review_detail"
631
+ },
632
+ {
633
+ "http_method": "get",
634
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppReviewDetails/{id}/relationships/app",
635
+ "alias": "beta_app_review_detail_relationships_app"
636
+ },
637
+ {
638
+ "http_method": "get",
639
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppReviewDetails/{id}/app",
640
+ "alias": "beta_app_review_detail_app"
641
+ },
642
+ {
643
+ "http_method": "get",
644
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppReviewSubmissions",
645
+ "alias": "beta_app_review_submissions"
646
+ },
647
+ {
648
+ "http_method": "get",
649
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppReviewSubmissions/{id}",
650
+ "alias": "beta_app_review_submission"
651
+ },
652
+ {
653
+ "http_method": "get",
654
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppReviewSubmissions/{id}/relationships/build",
655
+ "alias": "beta_app_review_submission_relationships_build"
656
+ },
657
+ {
658
+ "http_method": "get",
659
+ "url": "https://api.appstoreconnect.apple.com/v1/betaAppReviewSubmissions/{id}/build",
660
+ "alias": "beta_app_review_submission_build"
661
+ }
113
662
  ],
114
663
  "types": [
115
664
  {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_store_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Decot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-23 00:00:00.000000000 Z
11
+ date: 2019-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: mixpanel-ruby
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: bundler
43
57
  requirement: !ruby/object:Gem::Requirement