eas-cli 2.1.0 → 2.2.1

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 (300) hide show
  1. package/README.md +179 -133
  2. package/build/branch/queries.d.ts +10 -2
  3. package/build/branch/queries.js +30 -30
  4. package/build/branch/utils.d.ts +4 -0
  5. package/build/branch/utils.js +15 -0
  6. package/build/build/android/build.js +3 -3
  7. package/build/build/android/prepareJob.js +1 -2
  8. package/build/build/android/syncProjectConfiguration.d.ts +2 -1
  9. package/build/build/android/syncProjectConfiguration.js +2 -2
  10. package/build/build/build.js +15 -4
  11. package/build/build/configure.js +2 -2
  12. package/build/build/createContext.d.ts +5 -1
  13. package/build/build/createContext.js +8 -14
  14. package/build/build/ios/build.js +2 -1
  15. package/build/build/ios/credentials.js +1 -1
  16. package/build/build/ios/prepareJob.js +1 -2
  17. package/build/build/ios/syncProjectConfiguration.d.ts +2 -1
  18. package/build/build/ios/syncProjectConfiguration.js +2 -2
  19. package/build/build/local.js +1 -1
  20. package/build/build/metadata.js +1 -2
  21. package/build/build/queries.d.ts +9 -0
  22. package/build/build/queries.js +51 -0
  23. package/build/build/runBuildAndSubmit.d.ts +3 -1
  24. package/build/build/runBuildAndSubmit.js +15 -7
  25. package/build/build/utils/repository.js +5 -1
  26. package/build/channel/queries.d.ts +17 -0
  27. package/build/channel/queries.js +137 -0
  28. package/build/channel/utils.d.ts +22 -0
  29. package/build/channel/utils.js +87 -0
  30. package/build/commandUtils/EasCommand.d.ts +68 -7
  31. package/build/commandUtils/EasCommand.js +60 -79
  32. package/build/commandUtils/context/ActorContextField.d.ts +5 -0
  33. package/build/commandUtils/context/ActorContextField.js +11 -0
  34. package/build/commandUtils/context/ContextField.d.ts +6 -0
  35. package/build/commandUtils/context/ContextField.js +5 -0
  36. package/build/commandUtils/context/DynamicProjectConfigContextField.d.ts +11 -0
  37. package/build/commandUtils/context/DynamicProjectConfigContextField.js +27 -0
  38. package/build/commandUtils/context/OptionalProjectConfigContextField.d.ts +13 -0
  39. package/build/commandUtils/context/OptionalProjectConfigContextField.js +37 -0
  40. package/build/commandUtils/context/ProjectConfigContextField.d.ts +13 -0
  41. package/build/commandUtils/context/ProjectConfigContextField.js +23 -0
  42. package/build/commandUtils/context/ProjectDirContextField.d.ts +4 -0
  43. package/build/commandUtils/context/ProjectDirContextField.js +11 -0
  44. package/build/commandUtils/context/contextUtils/ensureLoggedInAsync.d.ts +21 -0
  45. package/build/commandUtils/context/contextUtils/ensureLoggedInAsync.js +75 -0
  46. package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.d.ts +17 -0
  47. package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +102 -0
  48. package/build/commandUtils/context/contextUtils/getProjectIdAsync.d.ts +24 -0
  49. package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +108 -0
  50. package/build/commandUtils/flags.d.ts +10 -0
  51. package/build/commandUtils/flags.js +23 -0
  52. package/build/commandUtils/pagination.d.ts +7 -4
  53. package/build/commandUtils/pagination.js +11 -15
  54. package/build/commands/account/login.d.ts +0 -2
  55. package/build/commands/account/login.js +2 -7
  56. package/build/commands/account/logout.d.ts +0 -2
  57. package/build/commands/account/logout.js +0 -5
  58. package/build/commands/account/view.d.ts +0 -2
  59. package/build/commands/account/view.js +0 -5
  60. package/build/commands/analytics.d.ts +0 -1
  61. package/build/commands/analytics.js +0 -4
  62. package/build/commands/branch/create.d.ts +4 -0
  63. package/build/commands/branch/create.js +18 -18
  64. package/build/commands/branch/delete.d.ts +4 -0
  65. package/build/commands/branch/delete.js +29 -26
  66. package/build/commands/branch/list.d.ts +5 -2
  67. package/build/commands/branch/list.js +13 -8
  68. package/build/commands/branch/rename.d.ts +5 -1
  69. package/build/commands/branch/rename.js +15 -13
  70. package/build/commands/branch/view.d.ts +5 -2
  71. package/build/commands/branch/view.js +31 -13
  72. package/build/commands/build/cancel.d.ts +7 -0
  73. package/build/commands/build/cancel.js +50 -23
  74. package/build/commands/build/configure.d.ts +3 -0
  75. package/build/commands/build/configure.js +12 -7
  76. package/build/commands/build/index.d.ts +7 -2
  77. package/build/commands/build/index.js +31 -23
  78. package/build/commands/build/inspect.d.ts +5 -0
  79. package/build/commands/build/inspect.js +12 -3
  80. package/build/commands/build/list.d.ts +7 -2
  81. package/build/commands/build/list.js +36 -59
  82. package/build/commands/build/version/set.d.ts +5 -0
  83. package/build/commands/build/version/set.js +22 -14
  84. package/build/commands/build/version/sync.d.ts +5 -0
  85. package/build/commands/build/version/sync.js +22 -13
  86. package/build/commands/build/view.d.ts +3 -0
  87. package/build/commands/build/view.js +20 -14
  88. package/build/commands/channel/create.d.ts +4 -0
  89. package/build/commands/channel/create.js +32 -25
  90. package/build/commands/channel/delete.d.ts +3 -0
  91. package/build/commands/channel/delete.js +36 -59
  92. package/build/commands/channel/edit.d.ts +7 -7
  93. package/build/commands/channel/edit.js +39 -72
  94. package/build/commands/channel/list.d.ts +6 -0
  95. package/build/commands/channel/list.js +20 -76
  96. package/build/commands/channel/rollout.d.ts +5 -1
  97. package/build/commands/channel/rollout.js +34 -35
  98. package/build/commands/channel/view.d.ts +6 -33
  99. package/build/commands/channel/view.js +31 -132
  100. package/build/commands/config.d.ts +6 -2
  101. package/build/commands/config.js +22 -13
  102. package/build/commands/credentials.d.ts +4 -0
  103. package/build/commands/credentials.js +10 -1
  104. package/build/commands/device/create.d.ts +4 -0
  105. package/build/commands/device/create.js +15 -3
  106. package/build/commands/device/delete.d.ts +13 -8
  107. package/build/commands/device/delete.js +81 -130
  108. package/build/commands/device/list.d.ts +7 -0
  109. package/build/commands/device/list.js +42 -63
  110. package/build/commands/device/view.d.ts +3 -0
  111. package/build/commands/device/view.js +10 -5
  112. package/build/commands/diagnostics.d.ts +3 -1
  113. package/build/commands/diagnostics.js +10 -8
  114. package/build/commands/metadata/pull.d.ts +4 -0
  115. package/build/commands/metadata/pull.js +13 -8
  116. package/build/commands/metadata/push.d.ts +4 -0
  117. package/build/commands/metadata/push.js +13 -8
  118. package/build/commands/open.d.ts +3 -0
  119. package/build/commands/open.js +11 -9
  120. package/build/commands/project/info.d.ts +3 -0
  121. package/build/commands/project/info.js +9 -6
  122. package/build/commands/project/init.d.ts +12 -0
  123. package/build/commands/project/init.js +155 -8
  124. package/build/commands/secret/create.d.ts +6 -0
  125. package/build/commands/secret/create.js +88 -30
  126. package/build/commands/secret/delete.d.ts +4 -0
  127. package/build/commands/secret/delete.js +28 -19
  128. package/build/commands/secret/list.d.ts +3 -0
  129. package/build/commands/secret/list.js +19 -13
  130. package/build/commands/submit.d.ts +5 -0
  131. package/build/commands/submit.js +16 -7
  132. package/build/commands/update/configure.d.ts +3 -0
  133. package/build/commands/update/configure.js +22 -16
  134. package/build/commands/update/delete.d.ts +1 -0
  135. package/build/commands/update/delete.js +4 -7
  136. package/build/commands/update/index.d.ts +8 -12
  137. package/build/commands/update/index.js +90 -166
  138. package/build/commands/update/list.d.ts +8 -2
  139. package/build/commands/update/list.js +51 -81
  140. package/build/commands/update/view.d.ts +0 -4
  141. package/build/commands/update/view.js +14 -51
  142. package/build/commands/webhook/create.d.ts +4 -0
  143. package/build/commands/webhook/create.js +10 -5
  144. package/build/commands/webhook/delete.d.ts +6 -0
  145. package/build/commands/webhook/delete.js +26 -14
  146. package/build/commands/webhook/list.d.ts +3 -0
  147. package/build/commands/webhook/list.js +13 -9
  148. package/build/commands/webhook/update.d.ts +1 -0
  149. package/build/commands/webhook/update.js +3 -1
  150. package/build/credentials/android/actions/BuildCredentialsUtils.js +2 -6
  151. package/build/credentials/android/actions/CreateFcm.d.ts +2 -3
  152. package/build/credentials/android/actions/CreateGoogleServiceAccountKey.d.ts +2 -3
  153. package/build/credentials/android/actions/CreateKeystore.d.ts +2 -3
  154. package/build/credentials/android/actions/CreateKeystore.js +1 -2
  155. package/build/credentials/android/actions/RemoveGoogleServiceAccountKey.d.ts +2 -3
  156. package/build/credentials/android/actions/UseExistingGoogleServiceAccountKey.d.ts +2 -3
  157. package/build/credentials/android/api/GraphqlClient.d.ts +6 -7
  158. package/build/credentials/context.d.ts +8 -4
  159. package/build/credentials/context.js +8 -23
  160. package/build/credentials/ios/IosCredentialsProvider.js +11 -6
  161. package/build/credentials/ios/actions/AppleTeamFormatting.d.ts +2 -0
  162. package/build/credentials/ios/actions/AppleTeamFormatting.js +7 -0
  163. package/build/credentials/ios/actions/AppleTeamUtils.d.ts +1 -2
  164. package/build/credentials/ios/actions/AppleTeamUtils.js +1 -5
  165. package/build/credentials/ios/actions/AscApiKeyUtils.d.ts +3 -4
  166. package/build/credentials/ios/actions/AscApiKeyUtils.js +2 -2
  167. package/build/credentials/ios/actions/AssignAscApiKey.d.ts +1 -1
  168. package/build/credentials/ios/actions/AssignPushKey.d.ts +1 -1
  169. package/build/credentials/ios/actions/BuildCredentialsUtils.d.ts +3 -3
  170. package/build/credentials/ios/actions/BuildCredentialsUtils.js +8 -12
  171. package/build/credentials/ios/actions/ConfigureProvisioningProfile.d.ts +1 -1
  172. package/build/credentials/ios/actions/ConfigureProvisioningProfile.js +1 -1
  173. package/build/credentials/ios/actions/CreateAscApiKey.d.ts +2 -3
  174. package/build/credentials/ios/actions/CreateDistributionCertificate.d.ts +2 -2
  175. package/build/credentials/ios/actions/CreateProvisioningProfile.d.ts +1 -1
  176. package/build/credentials/ios/actions/CreatePushKey.d.ts +2 -3
  177. package/build/credentials/ios/actions/DeviceUtils.d.ts +0 -1
  178. package/build/credentials/ios/actions/DeviceUtils.js +3 -19
  179. package/build/credentials/ios/actions/DistributionCertificateUtils.d.ts +3 -4
  180. package/build/credentials/ios/actions/DistributionCertificateUtils.js +2 -2
  181. package/build/credentials/ios/actions/ProvisioningProfileUtils.js +1 -1
  182. package/build/credentials/ios/actions/PushKeyUtils.d.ts +2 -3
  183. package/build/credentials/ios/actions/PushKeyUtils.js +2 -2
  184. package/build/credentials/ios/actions/RemoveAscApiKey.d.ts +2 -3
  185. package/build/credentials/ios/actions/RemoveDistributionCertificate.d.ts +3 -4
  186. package/build/credentials/ios/actions/RemoveProvisioningProfile.d.ts +1 -1
  187. package/build/credentials/ios/actions/RemovePushKey.d.ts +2 -3
  188. package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.d.ts +1 -1
  189. package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +1 -1
  190. package/build/credentials/ios/actions/SetUpAscApiKey.d.ts +1 -1
  191. package/build/credentials/ios/actions/SetUpDistributionCertificate.d.ts +1 -1
  192. package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.d.ts +1 -1
  193. package/build/credentials/ios/actions/SetUpProvisioningProfile.d.ts +1 -1
  194. package/build/credentials/ios/actions/SetUpProvisioningProfile.js +1 -1
  195. package/build/credentials/ios/actions/SetUpPushKey.d.ts +1 -1
  196. package/build/credentials/ios/actions/SetUpSubmissionCredentials.d.ts +1 -1
  197. package/build/credentials/ios/actions/SetUpTargetBuildCredentials.d.ts +1 -1
  198. package/build/credentials/ios/actions/SetUpTargetBuildCredentialsFromCredentialsJson.d.ts +1 -1
  199. package/build/credentials/ios/api/GraphqlClient.d.ts +9 -15
  200. package/build/credentials/ios/api/graphql/mutations/AppleTeamMutation.d.ts +2 -3
  201. package/build/credentials/ios/api/graphql/mutations/AppleTeamMutation.js +3 -1
  202. package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.d.ts +3 -3
  203. package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.js +20 -6
  204. package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.d.ts +2 -2
  205. package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.js +8 -7
  206. package/build/credentials/ios/api/graphql/types/AppLookupParams.d.ts +7 -0
  207. package/build/credentials/ios/api/graphql/types/AppLookupParams.js +2 -0
  208. package/build/credentials/ios/types.d.ts +2 -3
  209. package/build/credentials/ios/utils/printCredentials.d.ts +1 -1
  210. package/build/credentials/ios/validators/validateProvisioningProfile.d.ts +1 -1
  211. package/build/credentials/ios/validators/validateProvisioningProfile.js +1 -1
  212. package/build/credentials/manager/HelperActions.d.ts +4 -1
  213. package/build/credentials/manager/ManageAndroid.js +4 -14
  214. package/build/credentials/manager/ManageIos.js +12 -15
  215. package/build/credentials/manager/SelectBuildProfileFromEasJson.d.ts +1 -1
  216. package/build/credentials/manager/SelectBuildProfileFromEasJson.js +3 -3
  217. package/build/credentials/manager/SelectPlatform.d.ts +5 -1
  218. package/build/credentials/manager/SelectPlatform.js +5 -3
  219. package/build/devices/actions/create/action.d.ts +2 -3
  220. package/build/devices/context.d.ts +3 -5
  221. package/build/devices/context.js +2 -11
  222. package/build/devices/manager.d.ts +4 -5
  223. package/build/devices/manager.js +9 -16
  224. package/build/devices/queries.d.ts +21 -0
  225. package/build/devices/queries.js +121 -0
  226. package/build/devices/utils/errors.d.ts +3 -0
  227. package/build/devices/utils/errors.js +9 -0
  228. package/build/devices/utils/formatDevice.d.ts +3 -3
  229. package/build/devices/utils/formatDevice.js +8 -3
  230. package/build/graphql/generated.d.ts +1101 -191
  231. package/build/graphql/generated.js +13 -2
  232. package/build/graphql/mutations/EnvironmentSecretMutation.d.ts +3 -1
  233. package/build/graphql/queries/AppQuery.d.ts +1 -0
  234. package/build/graphql/queries/AppQuery.js +19 -0
  235. package/build/graphql/queries/BranchQuery.d.ts +5 -6
  236. package/build/graphql/queries/BranchQuery.js +44 -3
  237. package/build/graphql/queries/BuildQuery.d.ts +2 -20
  238. package/build/graphql/queries/BuildQuery.js +2 -2
  239. package/build/graphql/queries/ChannelQuery.d.ts +5 -2
  240. package/build/graphql/queries/ChannelQuery.js +45 -19
  241. package/build/graphql/queries/EnvironmentSecretsQuery.d.ts +5 -3
  242. package/build/graphql/queries/EnvironmentSecretsQuery.js +14 -28
  243. package/build/graphql/queries/UpdateQuery.d.ts +4 -6
  244. package/build/graphql/queries/UpdateQuery.js +59 -50
  245. package/build/graphql/queries/UserQuery.js +8 -1
  246. package/build/graphql/types/Account.d.ts +1 -0
  247. package/build/graphql/types/Account.js +17 -0
  248. package/build/graphql/types/App.js +7 -0
  249. package/build/graphql/types/EnvironmentSecret.d.ts +7 -0
  250. package/build/graphql/types/EnvironmentSecret.js +16 -1
  251. package/build/graphql/types/Update.d.ts +1 -0
  252. package/build/graphql/types/Update.js +30 -0
  253. package/build/graphql/types/UpdateBranch.js +4 -15
  254. package/build/metadata/context.d.ts +1 -1
  255. package/build/metadata/context.js +7 -9
  256. package/build/project/android/applicationId.d.ts +2 -1
  257. package/build/project/android/applicationId.js +7 -7
  258. package/build/project/android/versions.js +1 -1
  259. package/build/project/applicationIdentifier.d.ts +2 -1
  260. package/build/project/applicationIdentifier.js +2 -2
  261. package/build/project/expoConfig.d.ts +3 -3
  262. package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.d.ts +22 -0
  263. package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.js +93 -0
  264. package/build/project/ios/bundleIdentifier.d.ts +2 -1
  265. package/build/project/ios/bundleIdentifier.js +7 -7
  266. package/build/project/ios/scheme.d.ts +1 -1
  267. package/build/project/ios/target.d.ts +17 -2
  268. package/build/project/ios/target.js +51 -4
  269. package/build/project/projectUtils.d.ts +4 -31
  270. package/build/project/projectUtils.js +13 -123
  271. package/build/project/remoteVersionSource.d.ts +2 -2
  272. package/build/project/remoteVersionSource.js +8 -7
  273. package/build/submit/android/ServiceAccountSource.js +1 -2
  274. package/build/submit/context.d.ts +3 -1
  275. package/build/submit/context.js +12 -14
  276. package/build/submit/ios/CredentialsServiceSource.js +1 -2
  277. package/build/submit/utils/builds.js +3 -1
  278. package/build/update/android/UpdatesModule.d.ts +1 -1
  279. package/build/update/android/UpdatesModule.js +2 -3
  280. package/build/update/ios/UpdatesModule.d.ts +1 -1
  281. package/build/update/ios/UpdatesModule.js +2 -3
  282. package/build/update/queries.d.ts +16 -1
  283. package/build/update/queries.js +96 -30
  284. package/build/update/utils.d.ts +21 -8
  285. package/build/update/utils.js +75 -14
  286. package/build/user/actions.d.ts +2 -8
  287. package/build/user/actions.js +4 -63
  288. package/build/utils/profiles.d.ts +3 -3
  289. package/build/utils/profiles.js +6 -5
  290. package/build/vcs/clients/git.d.ts +1 -1
  291. package/build/vcs/clients/git.js +1 -1
  292. package/build/vcs/vcs.d.ts +1 -1
  293. package/build/webhooks/input.d.ts +2 -1
  294. package/build/webhooks/input.js +10 -1
  295. package/oclif.manifest.json +1 -1
  296. package/package.json +4 -4
  297. package/build/project/ensureProjectExists.d.ts +0 -21
  298. package/build/project/ensureProjectExists.js +0 -88
  299. package/build/user/Account.d.ts +0 -3
  300. package/build/user/Account.js +0 -7
@@ -158,6 +158,8 @@ export declare type AccountAppleAppIdentifiersArgs = {
158
158
  */
159
159
  export declare type AccountAppleDevicesArgs = {
160
160
  identifier?: InputMaybe<Scalars['String']>;
161
+ limit?: InputMaybe<Scalars['Int']>;
162
+ offset?: InputMaybe<Scalars['Int']>;
161
163
  };
162
164
  /**
163
165
  * An account is a container owning projects, credentials, billing and other organization
@@ -172,6 +174,8 @@ export declare type AccountAppleProvisioningProfilesArgs = {
172
174
  */
173
175
  export declare type AccountAppleTeamsArgs = {
174
176
  appleTeamIdentifier?: InputMaybe<Scalars['String']>;
177
+ limit?: InputMaybe<Scalars['Int']>;
178
+ offset?: InputMaybe<Scalars['Int']>;
175
179
  };
176
180
  /**
177
181
  * An account is a container owning projects, credentials, billing and other organization
@@ -790,6 +794,8 @@ export declare type App = Project & {
790
794
  /** Environment secrets for an app */
791
795
  environmentSecrets: Array<EnvironmentSecret>;
792
796
  fullName: Scalars['String'];
797
+ githubRepository?: Maybe<GitHubRepository>;
798
+ githubRepositorySettings?: Maybe<GitHubRepositorySettings>;
793
799
  /** githubUrl field from most recent classic update manifest */
794
800
  githubUrl?: Maybe<Scalars['String']>;
795
801
  /** Info about the icon specified in the most recent classic update manifest */
@@ -1366,6 +1372,10 @@ export declare type AppleTeam = {
1366
1372
  export declare type AppleTeamAppleAppIdentifiersArgs = {
1367
1373
  bundleIdentifier?: InputMaybe<Scalars['String']>;
1368
1374
  };
1375
+ export declare type AppleTeamAppleDevicesArgs = {
1376
+ limit?: InputMaybe<Scalars['Int']>;
1377
+ offset?: InputMaybe<Scalars['Int']>;
1378
+ };
1369
1379
  export declare type AppleTeamAppleProvisioningProfilesArgs = {
1370
1380
  appleAppIdentifierId?: InputMaybe<Scalars['ID']>;
1371
1381
  };
@@ -1438,6 +1448,7 @@ export declare type Billing = {
1438
1448
  /** History of invoices */
1439
1449
  charges?: Maybe<Array<Maybe<Charge>>>;
1440
1450
  id: Scalars['ID'];
1451
+ /** @deprecated No longer used */
1441
1452
  payment?: Maybe<PaymentDetails>;
1442
1453
  subscription?: Maybe<SubscriptionDetails>;
1443
1454
  };
@@ -1699,6 +1710,14 @@ export declare type BuildMutationRetryIosBuildArgs = {
1699
1710
  export declare type BuildOrBuildJob = {
1700
1711
  id: Scalars['ID'];
1701
1712
  };
1713
+ export declare type BuildOrBuildJobQuery = {
1714
+ __typename?: 'BuildOrBuildJobQuery';
1715
+ /** Look up EAS Build or Classic Build Job by ID */
1716
+ byId: EasBuildOrClassicBuildJob;
1717
+ };
1718
+ export declare type BuildOrBuildJobQueryByIdArgs = {
1719
+ buildOrBuildJobId: Scalars['ID'];
1720
+ };
1702
1721
  export declare type BuildParamsInput = {
1703
1722
  resourceClass: BuildResourceClass;
1704
1723
  };
@@ -1860,12 +1879,23 @@ export declare type CreateBuildResult = {
1860
1879
  };
1861
1880
  export declare type CreateEnvironmentSecretInput = {
1862
1881
  name: Scalars['String'];
1882
+ type?: InputMaybe<EnvironmentSecretType>;
1863
1883
  value: Scalars['String'];
1864
1884
  };
1865
1885
  export declare type CreateGitHubAppInstallationInput = {
1866
1886
  accountId: Scalars['ID'];
1867
1887
  installationIdentifier: Scalars['Int'];
1868
1888
  };
1889
+ export declare type CreateGitHubRepositoryInput = {
1890
+ appId: Scalars['ID'];
1891
+ githubAppInstallationId: Scalars['ID'];
1892
+ githubRepositoryIdentifier: Scalars['Int'];
1893
+ };
1894
+ export declare type CreateGitHubRepositorySettingsInput = {
1895
+ appId: Scalars['ID'];
1896
+ /** The base directory is the directory to change to before starting a build. This string should be a properly formatted Unix path starting with '/', './', or the name of the directory relative to the root of the repository. Valid examples include: '/apps/expo-app', './apps/expo-app', and 'apps/expo-app'. This is intended for monorepos or apps that live in a subdirectory of a repository. */
1897
+ baseDirectory: Scalars['String'];
1898
+ };
1869
1899
  export declare type CreateIosSubmissionInput = {
1870
1900
  appId: Scalars['ID'];
1871
1901
  archiveUrl?: InputMaybe<Scalars['String']>;
@@ -1974,6 +2004,7 @@ export declare enum EasBuildDeprecationInfoType {
1974
2004
  Internal = "INTERNAL",
1975
2005
  UserFacing = "USER_FACING"
1976
2006
  }
2007
+ export declare type EasBuildOrClassicBuildJob = Build | BuildJob;
1977
2008
  export declare enum EasServiceMetric {
1978
2009
  AssetsRequests = "ASSETS_REQUESTS",
1979
2010
  BandwidthUsage = "BANDWIDTH_USAGE",
@@ -2000,6 +2031,7 @@ export declare type EnvironmentSecret = {
2000
2031
  createdAt: Scalars['DateTime'];
2001
2032
  id: Scalars['ID'];
2002
2033
  name: Scalars['String'];
2034
+ type: EnvironmentSecretType;
2003
2035
  updatedAt: Scalars['DateTime'];
2004
2036
  };
2005
2037
  export declare type EnvironmentSecretMutation = {
@@ -2022,6 +2054,10 @@ export declare type EnvironmentSecretMutationCreateEnvironmentSecretForAppArgs =
2022
2054
  export declare type EnvironmentSecretMutationDeleteEnvironmentSecretArgs = {
2023
2055
  id: Scalars['String'];
2024
2056
  };
2057
+ export declare enum EnvironmentSecretType {
2058
+ FileBase64 = "FILE_BASE64",
2059
+ String = "STRING"
2060
+ }
2025
2061
  export declare type ExperimentationQuery = {
2026
2062
  __typename?: 'ExperimentationQuery';
2027
2063
  /** Get device experimentation config */
@@ -2068,10 +2104,32 @@ export declare type GetSignedAssetUploadSpecificationsResult = {
2068
2104
  };
2069
2105
  export declare type GitHubAppInstallation = {
2070
2106
  __typename?: 'GitHubAppInstallation';
2107
+ accessibleRepositories: Array<GitHubAppInstallationAccessibleRepository>;
2071
2108
  account: Account;
2072
2109
  actor?: Maybe<Actor>;
2073
2110
  id: Scalars['ID'];
2074
2111
  installationIdentifier: Scalars['Int'];
2112
+ metadata: GitHubAppInstallationMetadata;
2113
+ };
2114
+ export declare type GitHubAppInstallationAccessibleRepositoriesArgs = {
2115
+ page?: InputMaybe<Scalars['Int']>;
2116
+ perPage?: InputMaybe<Scalars['Int']>;
2117
+ };
2118
+ export declare type GitHubAppInstallationAccessibleRepository = {
2119
+ __typename?: 'GitHubAppInstallationAccessibleRepository';
2120
+ defaultBranch: Scalars['String'];
2121
+ description?: Maybe<Scalars['String']>;
2122
+ id: Scalars['Int'];
2123
+ name: Scalars['String'];
2124
+ owner: GitHubRepositoryOwner;
2125
+ private: Scalars['Boolean'];
2126
+ url: Scalars['String'];
2127
+ };
2128
+ export declare type GitHubAppInstallationMetadata = {
2129
+ __typename?: 'GitHubAppInstallationMetadata';
2130
+ githubAccountAvatarUrl?: Maybe<Scalars['String']>;
2131
+ githubAccountName?: Maybe<Scalars['String']>;
2132
+ installationStatus: GitHubAppInstallationStatus;
2075
2133
  };
2076
2134
  export declare type GitHubAppInstallationMutation = {
2077
2135
  __typename?: 'GitHubAppInstallationMutation';
@@ -2086,10 +2144,85 @@ export declare type GitHubAppInstallationMutationCreateGitHubAppInstallationForA
2086
2144
  export declare type GitHubAppInstallationMutationDeleteGitHubAppInstallationArgs = {
2087
2145
  githubAppInstallationId: Scalars['ID'];
2088
2146
  };
2147
+ export declare enum GitHubAppInstallationStatus {
2148
+ Active = "ACTIVE",
2149
+ NotInstalled = "NOT_INSTALLED",
2150
+ Suspended = "SUSPENDED"
2151
+ }
2089
2152
  export declare type GitHubAppQuery = {
2090
2153
  __typename?: 'GitHubAppQuery';
2091
2154
  appIdentifier: Scalars['String'];
2092
2155
  clientIdentifier: Scalars['String'];
2156
+ searchRepositories: Array<GitHubAppInstallationAccessibleRepository>;
2157
+ };
2158
+ export declare type GitHubAppQuerySearchRepositoriesArgs = {
2159
+ githubAppInstallationId: Scalars['ID'];
2160
+ page?: InputMaybe<Scalars['Int']>;
2161
+ perPage?: InputMaybe<Scalars['Int']>;
2162
+ query: Scalars['String'];
2163
+ };
2164
+ export declare type GitHubRepository = {
2165
+ __typename?: 'GitHubRepository';
2166
+ app: App;
2167
+ githubAppInstallation: GitHubAppInstallation;
2168
+ githubRepositoryIdentifier: Scalars['Int'];
2169
+ id: Scalars['ID'];
2170
+ metadata?: Maybe<GitHubRepositoryMetadata>;
2171
+ };
2172
+ export declare type GitHubRepositoryMetadata = {
2173
+ __typename?: 'GitHubRepositoryMetadata';
2174
+ githubRepoDescription?: Maybe<Scalars['String']>;
2175
+ githubRepoName: Scalars['String'];
2176
+ githubRepoOwnerName: Scalars['String'];
2177
+ githubRepoUrl: Scalars['String'];
2178
+ lastPushed: Scalars['DateTime'];
2179
+ lastUpdated: Scalars['DateTime'];
2180
+ private: Scalars['Boolean'];
2181
+ };
2182
+ export declare type GitHubRepositoryMutation = {
2183
+ __typename?: 'GitHubRepositoryMutation';
2184
+ /** Create a GitHub repository for an App */
2185
+ createGitHubRepository: GitHubRepository;
2186
+ /** Delete a GitHub repository by ID */
2187
+ deleteGitHubRepository: GitHubRepository;
2188
+ };
2189
+ export declare type GitHubRepositoryMutationCreateGitHubRepositoryArgs = {
2190
+ githubRepositoryData: CreateGitHubRepositoryInput;
2191
+ };
2192
+ export declare type GitHubRepositoryMutationDeleteGitHubRepositoryArgs = {
2193
+ githubRepositoryId: Scalars['ID'];
2194
+ };
2195
+ export declare type GitHubRepositoryOwner = {
2196
+ __typename?: 'GitHubRepositoryOwner';
2197
+ avatarUrl: Scalars['String'];
2198
+ id: Scalars['Int'];
2199
+ login: Scalars['String'];
2200
+ url: Scalars['String'];
2201
+ };
2202
+ export declare type GitHubRepositorySettings = {
2203
+ __typename?: 'GitHubRepositorySettings';
2204
+ app: App;
2205
+ baseDirectory: Scalars['String'];
2206
+ id: Scalars['ID'];
2207
+ };
2208
+ export declare type GitHubRepositorySettingsMutation = {
2209
+ __typename?: 'GitHubRepositorySettingsMutation';
2210
+ /** Create GitHub repository settings for an App */
2211
+ createGitHubRepositorySettings: GitHubRepositorySettings;
2212
+ /** Delete GitHub repository settings by ID */
2213
+ deleteGitHubRepositorySettings: GitHubRepositorySettings;
2214
+ /** Update GitHub repository settings */
2215
+ updateGitHubRepositorySettings: GitHubRepositorySettings;
2216
+ };
2217
+ export declare type GitHubRepositorySettingsMutationCreateGitHubRepositorySettingsArgs = {
2218
+ githubRepositorySettingsData: CreateGitHubRepositorySettingsInput;
2219
+ };
2220
+ export declare type GitHubRepositorySettingsMutationDeleteGitHubRepositorySettingsArgs = {
2221
+ githubRepositorySettingsId: Scalars['ID'];
2222
+ };
2223
+ export declare type GitHubRepositorySettingsMutationUpdateGitHubRepositorySettingsArgs = {
2224
+ githubRepositorySettingsData: UpdateGitHubRepositorySettingsInput;
2225
+ githubRepositorySettingsId: Scalars['ID'];
2093
2226
  };
2094
2227
  export declare type GoogleServiceAccountKey = {
2095
2228
  __typename?: 'GoogleServiceAccountKey';
@@ -2718,6 +2851,10 @@ export declare type RootMutation = {
2718
2851
  environmentSecret: EnvironmentSecretMutation;
2719
2852
  /** Mutations for GitHub App installations */
2720
2853
  githubAppInstallation: GitHubAppInstallationMutation;
2854
+ /** Mutations for GitHub repositories */
2855
+ githubRepository: GitHubRepositoryMutation;
2856
+ /** Mutations for GitHub repository settings */
2857
+ githubRepositorySettings: GitHubRepositorySettingsMutation;
2721
2858
  /** Mutations that modify a Google Service Account Key */
2722
2859
  googleServiceAccountKey: GoogleServiceAccountKeyMutation;
2723
2860
  /** Mutations that modify the build credentials for an iOS app */
@@ -2783,6 +2920,7 @@ export declare type RootQuery = {
2783
2920
  appleTeam: AppleTeamQuery;
2784
2921
  asset: AssetQuery;
2785
2922
  buildJobs: BuildJobQuery;
2923
+ buildOrBuildJob: BuildOrBuildJobQuery;
2786
2924
  /** Top-level query object for querying BuildPublicData publicly. */
2787
2925
  buildPublicData: BuildPublicDataQuery;
2788
2926
  builds: BuildQuery;
@@ -3255,6 +3393,9 @@ export declare type UpdateChannelMutationEditUpdateChannelArgs = {
3255
3393
  branchMapping: Scalars['String'];
3256
3394
  channelId: Scalars['ID'];
3257
3395
  };
3396
+ export declare type UpdateGitHubRepositorySettingsInput = {
3397
+ baseDirectory: Scalars['String'];
3398
+ };
3258
3399
  export declare type UpdateInfoGroup = {
3259
3400
  android?: InputMaybe<PartialManifest>;
3260
3401
  ios?: InputMaybe<PartialManifest>;
@@ -3685,25 +3826,6 @@ export declare type CreateUpdateChannelOnAppMutation = {
3685
3826
  };
3686
3827
  };
3687
3828
  };
3688
- export declare type GetChannelInfoQueryVariables = Exact<{
3689
- appId: Scalars['String'];
3690
- name: Scalars['String'];
3691
- }>;
3692
- export declare type GetChannelInfoQuery = {
3693
- __typename?: 'RootQuery';
3694
- app: {
3695
- __typename?: 'AppQuery';
3696
- byId: {
3697
- __typename?: 'App';
3698
- id: string;
3699
- updateChannelByName?: {
3700
- __typename?: 'UpdateChannel';
3701
- id: string;
3702
- name: string;
3703
- } | null;
3704
- };
3705
- };
3706
- };
3707
3829
  export declare type DeleteUpdateChannelMutationVariables = Exact<{
3708
3830
  channelId: Scalars['ID'];
3709
3831
  }>;
@@ -3717,30 +3839,6 @@ export declare type DeleteUpdateChannelMutation = {
3717
3839
  };
3718
3840
  };
3719
3841
  };
3720
- export declare type GetChannelByNameToEditQueryVariables = Exact<{
3721
- appId: Scalars['String'];
3722
- channelName: Scalars['String'];
3723
- }>;
3724
- export declare type GetChannelByNameToEditQuery = {
3725
- __typename?: 'RootQuery';
3726
- app: {
3727
- __typename?: 'AppQuery';
3728
- byId: {
3729
- __typename?: 'App';
3730
- id: string;
3731
- updateChannelByName?: {
3732
- __typename?: 'UpdateChannel';
3733
- id: string;
3734
- name: string;
3735
- updateBranches: Array<{
3736
- __typename?: 'UpdateBranch';
3737
- id: string;
3738
- name: string;
3739
- }>;
3740
- } | null;
3741
- };
3742
- };
3743
- };
3744
3842
  export declare type UpdateChannelBranchMappingMutationVariables = Exact<{
3745
3843
  channelId: Scalars['ID'];
3746
3844
  branchMapping: Scalars['String'];
@@ -3757,50 +3855,6 @@ export declare type UpdateChannelBranchMappingMutation = {
3757
3855
  };
3758
3856
  };
3759
3857
  };
3760
- export declare type GetAllChannelsForAppQueryVariables = Exact<{
3761
- appId: Scalars['String'];
3762
- offset: Scalars['Int'];
3763
- limit: Scalars['Int'];
3764
- }>;
3765
- export declare type GetAllChannelsForAppQuery = {
3766
- __typename?: 'RootQuery';
3767
- app: {
3768
- __typename?: 'AppQuery';
3769
- byId: {
3770
- __typename?: 'App';
3771
- id: string;
3772
- updateChannels: Array<{
3773
- __typename?: 'UpdateChannel';
3774
- id: string;
3775
- name: string;
3776
- branchMapping: string;
3777
- updateBranches: Array<{
3778
- __typename?: 'UpdateBranch';
3779
- id: string;
3780
- name: string;
3781
- updates: Array<{
3782
- __typename?: 'Update';
3783
- id: string;
3784
- group: string;
3785
- message?: string | null;
3786
- runtimeVersion: string;
3787
- createdAt: any;
3788
- platform: string;
3789
- actor?: {
3790
- __typename?: 'Robot';
3791
- firstName?: string | null;
3792
- id: string;
3793
- } | {
3794
- __typename?: 'User';
3795
- username: string;
3796
- id: string;
3797
- } | null;
3798
- }>;
3799
- }>;
3800
- }>;
3801
- };
3802
- };
3803
- };
3804
3858
  export declare type AppInfoQueryVariables = Exact<{
3805
3859
  appId: Scalars['String'];
3806
3860
  }>;
@@ -3828,45 +3882,6 @@ export declare type DeleteUpdateGroupMutation = {
3828
3882
  };
3829
3883
  };
3830
3884
  };
3831
- export declare type GetUpdateGroupAsyncQueryVariables = Exact<{
3832
- group: Scalars['ID'];
3833
- }>;
3834
- export declare type GetUpdateGroupAsyncQuery = {
3835
- __typename?: 'RootQuery';
3836
- updatesByGroup: Array<{
3837
- __typename?: 'Update';
3838
- id: string;
3839
- group: string;
3840
- runtimeVersion: string;
3841
- manifestFragment: string;
3842
- platform: string;
3843
- message?: string | null;
3844
- }>;
3845
- };
3846
- export declare type UpdatesByGroupQueryVariables = Exact<{
3847
- groupId: Scalars['ID'];
3848
- }>;
3849
- export declare type UpdatesByGroupQuery = {
3850
- __typename?: 'RootQuery';
3851
- updatesByGroup: Array<{
3852
- __typename?: 'Update';
3853
- id: string;
3854
- group: string;
3855
- runtimeVersion: string;
3856
- platform: string;
3857
- message?: string | null;
3858
- createdAt: any;
3859
- actor?: {
3860
- __typename?: 'Robot';
3861
- firstName?: string | null;
3862
- id: string;
3863
- } | {
3864
- __typename?: 'User';
3865
- username: string;
3866
- id: string;
3867
- } | null;
3868
- }>;
3869
- };
3870
3885
  export declare type CreateAndroidAppBuildCredentialsMutationVariables = Exact<{
3871
3886
  androidAppBuildCredentialsInput: AndroidAppBuildCredentialsInput;
3872
3887
  androidAppCredentialsId: Scalars['ID'];
@@ -3948,6 +3963,22 @@ export declare type CreateAndroidAppCredentialsMutation = {
3948
3963
  id: string;
3949
3964
  fullName: string;
3950
3965
  slug: string;
3966
+ ownerAccount: {
3967
+ __typename?: 'Account';
3968
+ id: string;
3969
+ name: string;
3970
+ users: Array<{
3971
+ __typename?: 'UserPermission';
3972
+ role?: Role | null;
3973
+ actor: {
3974
+ __typename?: 'Robot';
3975
+ id: string;
3976
+ } | {
3977
+ __typename?: 'User';
3978
+ id: string;
3979
+ };
3980
+ }>;
3981
+ };
3951
3982
  };
3952
3983
  androidFcm?: {
3953
3984
  __typename?: 'AndroidFcm';
@@ -4020,6 +4051,22 @@ export declare type SetFcmMutation = {
4020
4051
  id: string;
4021
4052
  fullName: string;
4022
4053
  slug: string;
4054
+ ownerAccount: {
4055
+ __typename?: 'Account';
4056
+ id: string;
4057
+ name: string;
4058
+ users: Array<{
4059
+ __typename?: 'UserPermission';
4060
+ role?: Role | null;
4061
+ actor: {
4062
+ __typename?: 'Robot';
4063
+ id: string;
4064
+ } | {
4065
+ __typename?: 'User';
4066
+ id: string;
4067
+ };
4068
+ }>;
4069
+ };
4023
4070
  };
4024
4071
  androidFcm?: {
4025
4072
  __typename?: 'AndroidFcm';
@@ -4092,6 +4139,22 @@ export declare type SetGoogleServiceAccountKeyForSubmissionsMutation = {
4092
4139
  id: string;
4093
4140
  fullName: string;
4094
4141
  slug: string;
4142
+ ownerAccount: {
4143
+ __typename?: 'Account';
4144
+ id: string;
4145
+ name: string;
4146
+ users: Array<{
4147
+ __typename?: 'UserPermission';
4148
+ role?: Role | null;
4149
+ actor: {
4150
+ __typename?: 'Robot';
4151
+ id: string;
4152
+ } | {
4153
+ __typename?: 'User';
4154
+ id: string;
4155
+ };
4156
+ }>;
4157
+ };
4095
4158
  };
4096
4159
  androidFcm?: {
4097
4160
  __typename?: 'AndroidFcm';
@@ -4280,6 +4343,22 @@ export declare type CommonAndroidAppCredentialsWithBuildCredentialsByApplication
4280
4343
  id: string;
4281
4344
  fullName: string;
4282
4345
  slug: string;
4346
+ ownerAccount: {
4347
+ __typename?: 'Account';
4348
+ id: string;
4349
+ name: string;
4350
+ users: Array<{
4351
+ __typename?: 'UserPermission';
4352
+ role?: Role | null;
4353
+ actor: {
4354
+ __typename?: 'Robot';
4355
+ id: string;
4356
+ } | {
4357
+ __typename?: 'User';
4358
+ id: string;
4359
+ };
4360
+ }>;
4361
+ };
4283
4362
  };
4284
4363
  androidFcm?: {
4285
4364
  __typename?: 'AndroidFcm';
@@ -4492,6 +4571,22 @@ export declare type CreateAppleDistributionCertificateMutation = {
4492
4571
  id: string;
4493
4572
  fullName: string;
4494
4573
  slug: string;
4574
+ ownerAccount: {
4575
+ __typename?: 'Account';
4576
+ id: string;
4577
+ name: string;
4578
+ users: Array<{
4579
+ __typename?: 'UserPermission';
4580
+ role?: Role | null;
4581
+ actor: {
4582
+ __typename?: 'Robot';
4583
+ id: string;
4584
+ } | {
4585
+ __typename?: 'User';
4586
+ id: string;
4587
+ };
4588
+ }>;
4589
+ };
4495
4590
  };
4496
4591
  appleAppIdentifier: {
4497
4592
  __typename?: 'AppleAppIdentifier';
@@ -4628,6 +4723,22 @@ export declare type CreateApplePushKeyMutation = {
4628
4723
  id: string;
4629
4724
  fullName: string;
4630
4725
  slug: string;
4726
+ ownerAccount: {
4727
+ __typename?: 'Account';
4728
+ id: string;
4729
+ name: string;
4730
+ users: Array<{
4731
+ __typename?: 'UserPermission';
4732
+ role?: Role | null;
4733
+ actor: {
4734
+ __typename?: 'Robot';
4735
+ id: string;
4736
+ } | {
4737
+ __typename?: 'User';
4738
+ id: string;
4739
+ };
4740
+ }>;
4741
+ };
4631
4742
  };
4632
4743
  appleAppIdentifier: {
4633
4744
  __typename?: 'AppleAppIdentifier';
@@ -4668,6 +4779,17 @@ export declare type CreateAppleTeamMutation = {
4668
4779
  __typename?: 'Account';
4669
4780
  id: string;
4670
4781
  name: string;
4782
+ users: Array<{
4783
+ __typename?: 'UserPermission';
4784
+ role?: Role | null;
4785
+ actor: {
4786
+ __typename?: 'Robot';
4787
+ id: string;
4788
+ } | {
4789
+ __typename?: 'User';
4790
+ id: string;
4791
+ };
4792
+ }>;
4671
4793
  };
4672
4794
  };
4673
4795
  };
@@ -4711,6 +4833,22 @@ export declare type CreateIosAppBuildCredentialsMutation = {
4711
4833
  id: string;
4712
4834
  fullName: string;
4713
4835
  slug: string;
4836
+ ownerAccount: {
4837
+ __typename?: 'Account';
4838
+ id: string;
4839
+ name: string;
4840
+ users: Array<{
4841
+ __typename?: 'UserPermission';
4842
+ role?: Role | null;
4843
+ actor: {
4844
+ __typename?: 'Robot';
4845
+ id: string;
4846
+ } | {
4847
+ __typename?: 'User';
4848
+ id: string;
4849
+ };
4850
+ }>;
4851
+ };
4714
4852
  };
4715
4853
  appleAppIdentifier: {
4716
4854
  __typename?: 'AppleAppIdentifier';
@@ -4790,6 +4928,22 @@ export declare type SetDistributionCertificateMutation = {
4790
4928
  id: string;
4791
4929
  fullName: string;
4792
4930
  slug: string;
4931
+ ownerAccount: {
4932
+ __typename?: 'Account';
4933
+ id: string;
4934
+ name: string;
4935
+ users: Array<{
4936
+ __typename?: 'UserPermission';
4937
+ role?: Role | null;
4938
+ actor: {
4939
+ __typename?: 'Robot';
4940
+ id: string;
4941
+ } | {
4942
+ __typename?: 'User';
4943
+ id: string;
4944
+ };
4945
+ }>;
4946
+ };
4793
4947
  };
4794
4948
  appleAppIdentifier: {
4795
4949
  __typename?: 'AppleAppIdentifier';
@@ -4869,6 +5023,22 @@ export declare type SetProvisioningProfileMutation = {
4869
5023
  id: string;
4870
5024
  fullName: string;
4871
5025
  slug: string;
5026
+ ownerAccount: {
5027
+ __typename?: 'Account';
5028
+ id: string;
5029
+ name: string;
5030
+ users: Array<{
5031
+ __typename?: 'UserPermission';
5032
+ role?: Role | null;
5033
+ actor: {
5034
+ __typename?: 'Robot';
5035
+ id: string;
5036
+ } | {
5037
+ __typename?: 'User';
5038
+ id: string;
5039
+ };
5040
+ }>;
5041
+ };
4872
5042
  };
4873
5043
  appleAppIdentifier: {
4874
5044
  __typename?: 'AppleAppIdentifier';
@@ -4952,6 +5122,22 @@ export declare type CreateIosAppCredentialsMutation = {
4952
5122
  id: string;
4953
5123
  fullName: string;
4954
5124
  slug: string;
5125
+ ownerAccount: {
5126
+ __typename?: 'Account';
5127
+ id: string;
5128
+ name: string;
5129
+ users: Array<{
5130
+ __typename?: 'UserPermission';
5131
+ role?: Role | null;
5132
+ actor: {
5133
+ __typename?: 'Robot';
5134
+ id: string;
5135
+ } | {
5136
+ __typename?: 'User';
5137
+ id: string;
5138
+ };
5139
+ }>;
5140
+ };
4955
5141
  };
4956
5142
  appleAppIdentifier: {
4957
5143
  __typename?: 'AppleAppIdentifier';
@@ -4995,6 +5181,22 @@ export declare type CreateIosAppCredentialsMutation = {
4995
5181
  id: string;
4996
5182
  fullName: string;
4997
5183
  slug: string;
5184
+ ownerAccount: {
5185
+ __typename?: 'Account';
5186
+ id: string;
5187
+ name: string;
5188
+ users: Array<{
5189
+ __typename?: 'UserPermission';
5190
+ role?: Role | null;
5191
+ actor: {
5192
+ __typename?: 'Robot';
5193
+ id: string;
5194
+ } | {
5195
+ __typename?: 'User';
5196
+ id: string;
5197
+ };
5198
+ }>;
5199
+ };
4998
5200
  };
4999
5201
  appleTeam?: {
5000
5202
  __typename?: 'AppleTeam';
@@ -5026,6 +5228,22 @@ export declare type CreateIosAppCredentialsMutation = {
5026
5228
  id: string;
5027
5229
  fullName: string;
5028
5230
  slug: string;
5231
+ ownerAccount: {
5232
+ __typename?: 'Account';
5233
+ id: string;
5234
+ name: string;
5235
+ users: Array<{
5236
+ __typename?: 'UserPermission';
5237
+ role?: Role | null;
5238
+ actor: {
5239
+ __typename?: 'Robot';
5240
+ id: string;
5241
+ } | {
5242
+ __typename?: 'User';
5243
+ id: string;
5244
+ };
5245
+ }>;
5246
+ };
5029
5247
  };
5030
5248
  appleAppIdentifier: {
5031
5249
  __typename?: 'AppleAppIdentifier';
@@ -5095,6 +5313,22 @@ export declare type SetPushKeyMutation = {
5095
5313
  id: string;
5096
5314
  fullName: string;
5097
5315
  slug: string;
5316
+ ownerAccount: {
5317
+ __typename?: 'Account';
5318
+ id: string;
5319
+ name: string;
5320
+ users: Array<{
5321
+ __typename?: 'UserPermission';
5322
+ role?: Role | null;
5323
+ actor: {
5324
+ __typename?: 'Robot';
5325
+ id: string;
5326
+ } | {
5327
+ __typename?: 'User';
5328
+ id: string;
5329
+ };
5330
+ }>;
5331
+ };
5098
5332
  };
5099
5333
  appleAppIdentifier: {
5100
5334
  __typename?: 'AppleAppIdentifier';
@@ -5138,6 +5372,22 @@ export declare type SetPushKeyMutation = {
5138
5372
  id: string;
5139
5373
  fullName: string;
5140
5374
  slug: string;
5375
+ ownerAccount: {
5376
+ __typename?: 'Account';
5377
+ id: string;
5378
+ name: string;
5379
+ users: Array<{
5380
+ __typename?: 'UserPermission';
5381
+ role?: Role | null;
5382
+ actor: {
5383
+ __typename?: 'Robot';
5384
+ id: string;
5385
+ } | {
5386
+ __typename?: 'User';
5387
+ id: string;
5388
+ };
5389
+ }>;
5390
+ };
5141
5391
  };
5142
5392
  appleTeam?: {
5143
5393
  __typename?: 'AppleTeam';
@@ -5169,6 +5419,22 @@ export declare type SetPushKeyMutation = {
5169
5419
  id: string;
5170
5420
  fullName: string;
5171
5421
  slug: string;
5422
+ ownerAccount: {
5423
+ __typename?: 'Account';
5424
+ id: string;
5425
+ name: string;
5426
+ users: Array<{
5427
+ __typename?: 'UserPermission';
5428
+ role?: Role | null;
5429
+ actor: {
5430
+ __typename?: 'Robot';
5431
+ id: string;
5432
+ } | {
5433
+ __typename?: 'User';
5434
+ id: string;
5435
+ };
5436
+ }>;
5437
+ };
5172
5438
  };
5173
5439
  appleAppIdentifier: {
5174
5440
  __typename?: 'AppleAppIdentifier';
@@ -5238,6 +5504,22 @@ export declare type SetAppStoreConnectApiKeyForSubmissionsMutation = {
5238
5504
  id: string;
5239
5505
  fullName: string;
5240
5506
  slug: string;
5507
+ ownerAccount: {
5508
+ __typename?: 'Account';
5509
+ id: string;
5510
+ name: string;
5511
+ users: Array<{
5512
+ __typename?: 'UserPermission';
5513
+ role?: Role | null;
5514
+ actor: {
5515
+ __typename?: 'Robot';
5516
+ id: string;
5517
+ } | {
5518
+ __typename?: 'User';
5519
+ id: string;
5520
+ };
5521
+ }>;
5522
+ };
5241
5523
  };
5242
5524
  appleAppIdentifier: {
5243
5525
  __typename?: 'AppleAppIdentifier';
@@ -5281,6 +5563,22 @@ export declare type SetAppStoreConnectApiKeyForSubmissionsMutation = {
5281
5563
  id: string;
5282
5564
  fullName: string;
5283
5565
  slug: string;
5566
+ ownerAccount: {
5567
+ __typename?: 'Account';
5568
+ id: string;
5569
+ name: string;
5570
+ users: Array<{
5571
+ __typename?: 'UserPermission';
5572
+ role?: Role | null;
5573
+ actor: {
5574
+ __typename?: 'Robot';
5575
+ id: string;
5576
+ } | {
5577
+ __typename?: 'User';
5578
+ id: string;
5579
+ };
5580
+ }>;
5581
+ };
5284
5582
  };
5285
5583
  appleTeam?: {
5286
5584
  __typename?: 'AppleTeam';
@@ -5312,6 +5610,22 @@ export declare type SetAppStoreConnectApiKeyForSubmissionsMutation = {
5312
5610
  id: string;
5313
5611
  fullName: string;
5314
5612
  slug: string;
5613
+ ownerAccount: {
5614
+ __typename?: 'Account';
5615
+ id: string;
5616
+ name: string;
5617
+ users: Array<{
5618
+ __typename?: 'UserPermission';
5619
+ role?: Role | null;
5620
+ actor: {
5621
+ __typename?: 'Robot';
5622
+ id: string;
5623
+ } | {
5624
+ __typename?: 'User';
5625
+ id: string;
5626
+ };
5627
+ }>;
5628
+ };
5315
5629
  };
5316
5630
  appleAppIdentifier: {
5317
5631
  __typename?: 'AppleAppIdentifier';
@@ -5420,6 +5734,8 @@ export declare type AppleDevicesByAppleTeamQuery = {
5420
5734
  export declare type AppleDevicesByTeamIdentifierQueryVariables = Exact<{
5421
5735
  accountName: Scalars['String'];
5422
5736
  appleTeamIdentifier: Scalars['String'];
5737
+ offset?: InputMaybe<Scalars['Int']>;
5738
+ limit?: InputMaybe<Scalars['Int']>;
5423
5739
  }>;
5424
5740
  export declare type AppleDevicesByTeamIdentifierQuery = {
5425
5741
  __typename?: 'RootQuery';
@@ -5440,6 +5756,7 @@ export declare type AppleDevicesByTeamIdentifierQuery = {
5440
5756
  name?: string | null;
5441
5757
  deviceClass?: AppleDeviceClass | null;
5442
5758
  enabled?: boolean | null;
5759
+ model?: string | null;
5443
5760
  }>;
5444
5761
  }>;
5445
5762
  };
@@ -5459,6 +5776,7 @@ export declare type AppleDevicesByIdentifierQuery = {
5459
5776
  appleDevices: Array<{
5460
5777
  __typename?: 'AppleDevice';
5461
5778
  id: string;
5779
+ model?: string | null;
5462
5780
  identifier: string;
5463
5781
  name?: string | null;
5464
5782
  deviceClass?: AppleDeviceClass | null;
@@ -5518,6 +5836,22 @@ export declare type AppleDistributionCertificateByAppQuery = {
5518
5836
  id: string;
5519
5837
  fullName: string;
5520
5838
  slug: string;
5839
+ ownerAccount: {
5840
+ __typename?: 'Account';
5841
+ id: string;
5842
+ name: string;
5843
+ users: Array<{
5844
+ __typename?: 'UserPermission';
5845
+ role?: Role | null;
5846
+ actor: {
5847
+ __typename?: 'Robot';
5848
+ id: string;
5849
+ } | {
5850
+ __typename?: 'User';
5851
+ id: string;
5852
+ };
5853
+ }>;
5854
+ };
5521
5855
  };
5522
5856
  appleAppIdentifier: {
5523
5857
  __typename?: 'AppleAppIdentifier';
@@ -5574,6 +5908,22 @@ export declare type AppleDistributionCertificateByAccountQuery = {
5574
5908
  id: string;
5575
5909
  fullName: string;
5576
5910
  slug: string;
5911
+ ownerAccount: {
5912
+ __typename?: 'Account';
5913
+ id: string;
5914
+ name: string;
5915
+ users: Array<{
5916
+ __typename?: 'UserPermission';
5917
+ role?: Role | null;
5918
+ actor: {
5919
+ __typename?: 'Robot';
5920
+ id: string;
5921
+ } | {
5922
+ __typename?: 'User';
5923
+ id: string;
5924
+ };
5925
+ }>;
5926
+ };
5577
5927
  };
5578
5928
  appleAppIdentifier: {
5579
5929
  __typename?: 'AppleAppIdentifier';
@@ -5671,6 +6021,22 @@ export declare type ApplePushKeyByAccountQuery = {
5671
6021
  id: string;
5672
6022
  fullName: string;
5673
6023
  slug: string;
6024
+ ownerAccount: {
6025
+ __typename?: 'Account';
6026
+ id: string;
6027
+ name: string;
6028
+ users: Array<{
6029
+ __typename?: 'UserPermission';
6030
+ role?: Role | null;
6031
+ actor: {
6032
+ __typename?: 'Robot';
6033
+ id: string;
6034
+ } | {
6035
+ __typename?: 'User';
6036
+ id: string;
6037
+ };
6038
+ }>;
6039
+ };
5674
6040
  };
5675
6041
  appleAppIdentifier: {
5676
6042
  __typename?: 'AppleAppIdentifier';
@@ -5684,6 +6050,8 @@ export declare type ApplePushKeyByAccountQuery = {
5684
6050
  };
5685
6051
  export declare type AppleTeamsByAccountNameQueryVariables = Exact<{
5686
6052
  accountName: Scalars['String'];
6053
+ offset?: InputMaybe<Scalars['Int']>;
6054
+ limit?: InputMaybe<Scalars['Int']>;
5687
6055
  }>;
5688
6056
  export declare type AppleTeamsByAccountNameQuery = {
5689
6057
  __typename?: 'RootQuery';
@@ -5695,8 +6063,8 @@ export declare type AppleTeamsByAccountNameQuery = {
5695
6063
  appleTeams: Array<{
5696
6064
  __typename?: 'AppleTeam';
5697
6065
  id: string;
5698
- appleTeamName?: string | null;
5699
6066
  appleTeamIdentifier: string;
6067
+ appleTeamName?: string | null;
5700
6068
  }>;
5701
6069
  };
5702
6070
  };
@@ -5763,6 +6131,22 @@ export declare type IosAppBuildCredentialsByAppleAppIdentiferAndDistributionQuer
5763
6131
  id: string;
5764
6132
  fullName: string;
5765
6133
  slug: string;
6134
+ ownerAccount: {
6135
+ __typename?: 'Account';
6136
+ id: string;
6137
+ name: string;
6138
+ users: Array<{
6139
+ __typename?: 'UserPermission';
6140
+ role?: Role | null;
6141
+ actor: {
6142
+ __typename?: 'Robot';
6143
+ id: string;
6144
+ } | {
6145
+ __typename?: 'User';
6146
+ id: string;
6147
+ };
6148
+ }>;
6149
+ };
5766
6150
  };
5767
6151
  appleAppIdentifier: {
5768
6152
  __typename?: 'AppleAppIdentifier';
@@ -5851,6 +6235,22 @@ export declare type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery
5851
6235
  id: string;
5852
6236
  fullName: string;
5853
6237
  slug: string;
6238
+ ownerAccount: {
6239
+ __typename?: 'Account';
6240
+ id: string;
6241
+ name: string;
6242
+ users: Array<{
6243
+ __typename?: 'UserPermission';
6244
+ role?: Role | null;
6245
+ actor: {
6246
+ __typename?: 'Robot';
6247
+ id: string;
6248
+ } | {
6249
+ __typename?: 'User';
6250
+ id: string;
6251
+ };
6252
+ }>;
6253
+ };
5854
6254
  };
5855
6255
  appleAppIdentifier: {
5856
6256
  __typename?: 'AppleAppIdentifier';
@@ -5894,6 +6294,22 @@ export declare type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery
5894
6294
  id: string;
5895
6295
  fullName: string;
5896
6296
  slug: string;
6297
+ ownerAccount: {
6298
+ __typename?: 'Account';
6299
+ id: string;
6300
+ name: string;
6301
+ users: Array<{
6302
+ __typename?: 'UserPermission';
6303
+ role?: Role | null;
6304
+ actor: {
6305
+ __typename?: 'Robot';
6306
+ id: string;
6307
+ } | {
6308
+ __typename?: 'User';
6309
+ id: string;
6310
+ };
6311
+ }>;
6312
+ };
5897
6313
  };
5898
6314
  appleTeam?: {
5899
6315
  __typename?: 'AppleTeam';
@@ -5925,6 +6341,22 @@ export declare type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery
5925
6341
  id: string;
5926
6342
  fullName: string;
5927
6343
  slug: string;
6344
+ ownerAccount: {
6345
+ __typename?: 'Account';
6346
+ id: string;
6347
+ name: string;
6348
+ users: Array<{
6349
+ __typename?: 'UserPermission';
6350
+ role?: Role | null;
6351
+ actor: {
6352
+ __typename?: 'Robot';
6353
+ id: string;
6354
+ } | {
6355
+ __typename?: 'User';
6356
+ id: string;
6357
+ };
6358
+ }>;
6359
+ };
5928
6360
  };
5929
6361
  appleAppIdentifier: {
5930
6362
  __typename?: 'AppleAppIdentifier';
@@ -5998,6 +6430,22 @@ export declare type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierId
5998
6430
  id: string;
5999
6431
  fullName: string;
6000
6432
  slug: string;
6433
+ ownerAccount: {
6434
+ __typename?: 'Account';
6435
+ id: string;
6436
+ name: string;
6437
+ users: Array<{
6438
+ __typename?: 'UserPermission';
6439
+ role?: Role | null;
6440
+ actor: {
6441
+ __typename?: 'Robot';
6442
+ id: string;
6443
+ } | {
6444
+ __typename?: 'User';
6445
+ id: string;
6446
+ };
6447
+ }>;
6448
+ };
6001
6449
  };
6002
6450
  appleAppIdentifier: {
6003
6451
  __typename?: 'AppleAppIdentifier';
@@ -6041,6 +6489,22 @@ export declare type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierId
6041
6489
  id: string;
6042
6490
  fullName: string;
6043
6491
  slug: string;
6492
+ ownerAccount: {
6493
+ __typename?: 'Account';
6494
+ id: string;
6495
+ name: string;
6496
+ users: Array<{
6497
+ __typename?: 'UserPermission';
6498
+ role?: Role | null;
6499
+ actor: {
6500
+ __typename?: 'Robot';
6501
+ id: string;
6502
+ } | {
6503
+ __typename?: 'User';
6504
+ id: string;
6505
+ };
6506
+ }>;
6507
+ };
6044
6508
  };
6045
6509
  appleTeam?: {
6046
6510
  __typename?: 'AppleTeam';
@@ -6072,6 +6536,22 @@ export declare type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierId
6072
6536
  id: string;
6073
6537
  fullName: string;
6074
6538
  slug: string;
6539
+ ownerAccount: {
6540
+ __typename?: 'Account';
6541
+ id: string;
6542
+ name: string;
6543
+ users: Array<{
6544
+ __typename?: 'UserPermission';
6545
+ role?: Role | null;
6546
+ actor: {
6547
+ __typename?: 'Robot';
6548
+ id: string;
6549
+ } | {
6550
+ __typename?: 'User';
6551
+ id: string;
6552
+ };
6553
+ }>;
6554
+ };
6075
6555
  };
6076
6556
  appleAppIdentifier: {
6077
6557
  __typename?: 'AppleAppIdentifier';
@@ -6294,6 +6774,7 @@ export declare type CreateEnvironmentSecretForAccountMutation = {
6294
6774
  __typename?: 'EnvironmentSecret';
6295
6775
  id: string;
6296
6776
  name: string;
6777
+ type: EnvironmentSecretType;
6297
6778
  createdAt: any;
6298
6779
  };
6299
6780
  };
@@ -6310,6 +6791,7 @@ export declare type CreateEnvironmentSecretForAppMutation = {
6310
6791
  __typename?: 'EnvironmentSecret';
6311
6792
  id: string;
6312
6793
  name: string;
6794
+ type: EnvironmentSecretType;
6313
6795
  createdAt: any;
6314
6796
  };
6315
6797
  };
@@ -6548,6 +7030,37 @@ export declare type DeleteWebhookMutation = {
6548
7030
  };
6549
7031
  };
6550
7032
  };
7033
+ export declare type AppByIdQueryVariables = Exact<{
7034
+ appId: Scalars['String'];
7035
+ }>;
7036
+ export declare type AppByIdQuery = {
7037
+ __typename?: 'RootQuery';
7038
+ app: {
7039
+ __typename?: 'AppQuery';
7040
+ byId: {
7041
+ __typename?: 'App';
7042
+ id: string;
7043
+ fullName: string;
7044
+ slug: string;
7045
+ ownerAccount: {
7046
+ __typename?: 'Account';
7047
+ id: string;
7048
+ name: string;
7049
+ users: Array<{
7050
+ __typename?: 'UserPermission';
7051
+ role?: Role | null;
7052
+ actor: {
7053
+ __typename?: 'Robot';
7054
+ id: string;
7055
+ } | {
7056
+ __typename?: 'User';
7057
+ id: string;
7058
+ };
7059
+ }>;
7060
+ };
7061
+ };
7062
+ };
7063
+ };
6551
7064
  export declare type AppByFullNameQueryVariables = Exact<{
6552
7065
  fullName: Scalars['String'];
6553
7066
  }>;
@@ -6560,6 +7073,22 @@ export declare type AppByFullNameQuery = {
6560
7073
  id: string;
6561
7074
  fullName: string;
6562
7075
  slug: string;
7076
+ ownerAccount: {
7077
+ __typename?: 'Account';
7078
+ id: string;
7079
+ name: string;
7080
+ users: Array<{
7081
+ __typename?: 'UserPermission';
7082
+ role?: Role | null;
7083
+ actor: {
7084
+ __typename?: 'Robot';
7085
+ id: string;
7086
+ } | {
7087
+ __typename?: 'User';
7088
+ id: string;
7089
+ };
7090
+ }>;
7091
+ };
6563
7092
  };
6564
7093
  };
6565
7094
  };
@@ -6622,11 +7151,12 @@ export declare type BranchesByAppQuery = {
6622
7151
  updates: Array<{
6623
7152
  __typename?: 'Update';
6624
7153
  id: string;
6625
- createdAt: any;
7154
+ group: string;
6626
7155
  message?: string | null;
7156
+ createdAt: any;
6627
7157
  runtimeVersion: string;
6628
- group: string;
6629
7158
  platform: string;
7159
+ manifestFragment: string;
6630
7160
  actor?: {
6631
7161
  __typename: 'Robot';
6632
7162
  firstName?: string | null;
@@ -6636,11 +7166,65 @@ export declare type BranchesByAppQuery = {
6636
7166
  username: string;
6637
7167
  id: string;
6638
7168
  } | null;
7169
+ branch: {
7170
+ __typename?: 'UpdateBranch';
7171
+ id: string;
7172
+ name: string;
7173
+ };
6639
7174
  }>;
6640
7175
  }>;
6641
7176
  };
6642
7177
  };
6643
7178
  };
7179
+ export declare type ViewBranchesOnUpdateChannelQueryVariables = Exact<{
7180
+ appId: Scalars['String'];
7181
+ channelName: Scalars['String'];
7182
+ offset: Scalars['Int'];
7183
+ limit: Scalars['Int'];
7184
+ }>;
7185
+ export declare type ViewBranchesOnUpdateChannelQuery = {
7186
+ __typename?: 'RootQuery';
7187
+ app: {
7188
+ __typename?: 'AppQuery';
7189
+ byId: {
7190
+ __typename?: 'App';
7191
+ id: string;
7192
+ updateChannelByName?: {
7193
+ __typename?: 'UpdateChannel';
7194
+ id: string;
7195
+ updateBranches: Array<{
7196
+ __typename?: 'UpdateBranch';
7197
+ id: string;
7198
+ name: string;
7199
+ updateGroups: Array<Array<{
7200
+ __typename?: 'Update';
7201
+ id: string;
7202
+ group: string;
7203
+ message?: string | null;
7204
+ createdAt: any;
7205
+ runtimeVersion: string;
7206
+ platform: string;
7207
+ manifestFragment: string;
7208
+ actor?: {
7209
+ __typename: 'Robot';
7210
+ firstName?: string | null;
7211
+ id: string;
7212
+ } | {
7213
+ __typename: 'User';
7214
+ username: string;
7215
+ id: string;
7216
+ } | null;
7217
+ branch: {
7218
+ __typename?: 'UpdateBranch';
7219
+ id: string;
7220
+ name: string;
7221
+ };
7222
+ }>>;
7223
+ }>;
7224
+ } | null;
7225
+ };
7226
+ };
7227
+ };
6644
7228
  export declare type BuildsByIdQueryVariables = Exact<{
6645
7229
  buildId: Scalars['ID'];
6646
7230
  }>;
@@ -6809,13 +7393,13 @@ export declare type BuildsWithSubmissionsByIdQuery = {
6809
7393
  };
6810
7394
  };
6811
7395
  };
6812
- export declare type GetAllBuildsForAppQueryVariables = Exact<{
7396
+ export declare type ViewBuildsOnAppQueryVariables = Exact<{
6813
7397
  appId: Scalars['String'];
6814
7398
  offset: Scalars['Int'];
6815
7399
  limit: Scalars['Int'];
6816
7400
  filter?: InputMaybe<BuildFilter>;
6817
7401
  }>;
6818
- export declare type GetAllBuildsForAppQuery = {
7402
+ export declare type ViewBuildsOnAppQuery = {
6819
7403
  __typename?: 'RootQuery';
6820
7404
  app: {
6821
7405
  __typename?: 'AppQuery';
@@ -6883,11 +7467,11 @@ export declare type GetAllBuildsForAppQuery = {
6883
7467
  };
6884
7468
  };
6885
7469
  };
6886
- export declare type GetChannelByNameForAppQueryVariables = Exact<{
7470
+ export declare type ViewUpdateChannelOnAppQueryVariables = Exact<{
6887
7471
  appId: Scalars['String'];
6888
7472
  channelName: Scalars['String'];
6889
7473
  }>;
6890
- export declare type GetChannelByNameForAppQuery = {
7474
+ export declare type ViewUpdateChannelOnAppQuery = {
6891
7475
  __typename?: 'RootQuery';
6892
7476
  app: {
6893
7477
  __typename?: 'AppQuery';
@@ -6904,44 +7488,81 @@ export declare type GetChannelByNameForAppQuery = {
6904
7488
  __typename?: 'UpdateBranch';
6905
7489
  id: string;
6906
7490
  name: string;
6907
- updates: Array<{
7491
+ updateGroups: Array<Array<{
6908
7492
  __typename?: 'Update';
6909
7493
  id: string;
6910
7494
  group: string;
6911
7495
  message?: string | null;
6912
- runtimeVersion: string;
6913
7496
  createdAt: any;
7497
+ runtimeVersion: string;
6914
7498
  platform: string;
7499
+ manifestFragment: string;
6915
7500
  actor?: {
6916
- __typename?: 'Robot';
7501
+ __typename: 'Robot';
6917
7502
  firstName?: string | null;
6918
7503
  id: string;
6919
7504
  } | {
6920
- __typename?: 'User';
7505
+ __typename: 'User';
6921
7506
  username: string;
6922
7507
  id: string;
6923
7508
  } | null;
6924
- }>;
7509
+ branch: {
7510
+ __typename?: 'UpdateBranch';
7511
+ id: string;
7512
+ name: string;
7513
+ };
7514
+ }>>;
6925
7515
  }>;
6926
7516
  } | null;
6927
7517
  };
6928
7518
  };
6929
7519
  };
6930
- export declare type EnvironmentSecretsByAccountNameQueryVariables = Exact<{
6931
- accountName: Scalars['String'];
7520
+ export declare type ViewUpdateChannelsOnAppQueryVariables = Exact<{
7521
+ appId: Scalars['String'];
7522
+ offset: Scalars['Int'];
7523
+ limit: Scalars['Int'];
6932
7524
  }>;
6933
- export declare type EnvironmentSecretsByAccountNameQuery = {
7525
+ export declare type ViewUpdateChannelsOnAppQuery = {
6934
7526
  __typename?: 'RootQuery';
6935
- account: {
6936
- __typename?: 'AccountQuery';
6937
- byName: {
6938
- __typename?: 'Account';
7527
+ app: {
7528
+ __typename?: 'AppQuery';
7529
+ byId: {
7530
+ __typename?: 'App';
6939
7531
  id: string;
6940
- environmentSecrets: Array<{
6941
- __typename?: 'EnvironmentSecret';
7532
+ updateChannels: Array<{
7533
+ __typename?: 'UpdateChannel';
6942
7534
  id: string;
6943
7535
  name: string;
6944
- createdAt: any;
7536
+ branchMapping: string;
7537
+ updateBranches: Array<{
7538
+ __typename?: 'UpdateBranch';
7539
+ id: string;
7540
+ name: string;
7541
+ updateGroups: Array<Array<{
7542
+ __typename?: 'Update';
7543
+ id: string;
7544
+ group: string;
7545
+ message?: string | null;
7546
+ createdAt: any;
7547
+ runtimeVersion: string;
7548
+ platform: string;
7549
+ manifestFragment: string;
7550
+ actor?: {
7551
+ __typename: 'Robot';
7552
+ firstName?: string | null;
7553
+ id: string;
7554
+ } | {
7555
+ __typename: 'User';
7556
+ username: string;
7557
+ id: string;
7558
+ } | null;
7559
+ branch: {
7560
+ __typename?: 'UpdateBranch';
7561
+ id: string;
7562
+ name: string;
7563
+ };
7564
+ }>>;
7565
+ }>;
6945
7566
  }>;
6946
7567
  };
6947
7568
  };
@@ -6956,10 +7577,22 @@ export declare type EnvironmentSecretsByAppIdQuery = {
6956
7577
  byId: {
6957
7578
  __typename?: 'App';
6958
7579
  id: string;
7580
+ ownerAccount: {
7581
+ __typename?: 'Account';
7582
+ id: string;
7583
+ environmentSecrets: Array<{
7584
+ __typename?: 'EnvironmentSecret';
7585
+ id: string;
7586
+ name: string;
7587
+ type: EnvironmentSecretType;
7588
+ createdAt: any;
7589
+ }>;
7590
+ };
6959
7591
  environmentSecrets: Array<{
6960
7592
  __typename?: 'EnvironmentSecret';
6961
7593
  id: string;
6962
7594
  name: string;
7595
+ type: EnvironmentSecretType;
6963
7596
  createdAt: any;
6964
7597
  }>;
6965
7598
  };
@@ -7110,51 +7743,44 @@ export declare type GetAllSubmissionsForAppQuery = {
7110
7743
  };
7111
7744
  };
7112
7745
  };
7113
- export declare type ViewAllUpdatesQueryVariables = Exact<{
7114
- appId: Scalars['String'];
7115
- limit: Scalars['Int'];
7116
- offset: Scalars['Int'];
7746
+ export declare type ViewUpdatesByGroupQueryVariables = Exact<{
7747
+ groupId: Scalars['ID'];
7117
7748
  }>;
7118
- export declare type ViewAllUpdatesQuery = {
7749
+ export declare type ViewUpdatesByGroupQuery = {
7119
7750
  __typename?: 'RootQuery';
7120
- app: {
7121
- __typename?: 'AppQuery';
7122
- byId: {
7123
- __typename?: 'App';
7751
+ updatesByGroup: Array<{
7752
+ __typename?: 'Update';
7753
+ id: string;
7754
+ group: string;
7755
+ message?: string | null;
7756
+ createdAt: any;
7757
+ runtimeVersion: string;
7758
+ platform: string;
7759
+ manifestFragment: string;
7760
+ actor?: {
7761
+ __typename: 'Robot';
7762
+ firstName?: string | null;
7124
7763
  id: string;
7125
- updates: Array<{
7126
- __typename?: 'Update';
7127
- id: string;
7128
- group: string;
7129
- message?: string | null;
7130
- createdAt: any;
7131
- runtimeVersion: string;
7132
- platform: string;
7133
- actor?: {
7134
- __typename?: 'Robot';
7135
- firstName?: string | null;
7136
- id: string;
7137
- } | {
7138
- __typename?: 'User';
7139
- username: string;
7140
- id: string;
7141
- } | null;
7142
- branch: {
7143
- __typename?: 'UpdateBranch';
7144
- id: string;
7145
- name: string;
7146
- };
7147
- }>;
7764
+ } | {
7765
+ __typename: 'User';
7766
+ username: string;
7767
+ id: string;
7768
+ } | null;
7769
+ branch: {
7770
+ __typename?: 'UpdateBranch';
7771
+ id: string;
7772
+ name: string;
7148
7773
  };
7149
- };
7774
+ }>;
7150
7775
  };
7151
- export declare type ViewBranchUpdatesQueryVariables = Exact<{
7776
+ export declare type ViewUpdateGroupsOnBranchQueryVariables = Exact<{
7152
7777
  appId: Scalars['String'];
7153
- name: Scalars['String'];
7778
+ branchName: Scalars['String'];
7154
7779
  limit: Scalars['Int'];
7155
7780
  offset: Scalars['Int'];
7781
+ filter?: InputMaybe<UpdatesFilter>;
7156
7782
  }>;
7157
- export declare type ViewBranchUpdatesQuery = {
7783
+ export declare type ViewUpdateGroupsOnBranchQuery = {
7158
7784
  __typename?: 'RootQuery';
7159
7785
  app: {
7160
7786
  __typename?: 'AppQuery';
@@ -7164,8 +7790,7 @@ export declare type ViewBranchUpdatesQuery = {
7164
7790
  updateBranchByName?: {
7165
7791
  __typename?: 'UpdateBranch';
7166
7792
  id: string;
7167
- name: string;
7168
- updates: Array<{
7793
+ updateGroups: Array<Array<{
7169
7794
  __typename?: 'Update';
7170
7795
  id: string;
7171
7796
  group: string;
@@ -7175,11 +7800,11 @@ export declare type ViewBranchUpdatesQuery = {
7175
7800
  platform: string;
7176
7801
  manifestFragment: string;
7177
7802
  actor?: {
7178
- __typename?: 'Robot';
7803
+ __typename: 'Robot';
7179
7804
  firstName?: string | null;
7180
7805
  id: string;
7181
7806
  } | {
7182
- __typename?: 'User';
7807
+ __typename: 'User';
7183
7808
  username: string;
7184
7809
  id: string;
7185
7810
  } | null;
@@ -7188,11 +7813,51 @@ export declare type ViewBranchUpdatesQuery = {
7188
7813
  id: string;
7189
7814
  name: string;
7190
7815
  };
7191
- }>;
7816
+ }>>;
7192
7817
  } | null;
7193
7818
  };
7194
7819
  };
7195
7820
  };
7821
+ export declare type ViewUpdateGroupsOnAppQueryVariables = Exact<{
7822
+ appId: Scalars['String'];
7823
+ limit: Scalars['Int'];
7824
+ offset: Scalars['Int'];
7825
+ filter?: InputMaybe<UpdatesFilter>;
7826
+ }>;
7827
+ export declare type ViewUpdateGroupsOnAppQuery = {
7828
+ __typename?: 'RootQuery';
7829
+ app: {
7830
+ __typename?: 'AppQuery';
7831
+ byId: {
7832
+ __typename?: 'App';
7833
+ id: string;
7834
+ updateGroups: Array<Array<{
7835
+ __typename?: 'Update';
7836
+ id: string;
7837
+ group: string;
7838
+ message?: string | null;
7839
+ createdAt: any;
7840
+ runtimeVersion: string;
7841
+ platform: string;
7842
+ manifestFragment: string;
7843
+ actor?: {
7844
+ __typename: 'Robot';
7845
+ firstName?: string | null;
7846
+ id: string;
7847
+ } | {
7848
+ __typename: 'User';
7849
+ username: string;
7850
+ id: string;
7851
+ } | null;
7852
+ branch: {
7853
+ __typename?: 'UpdateBranch';
7854
+ id: string;
7855
+ name: string;
7856
+ };
7857
+ }>>;
7858
+ };
7859
+ };
7860
+ };
7196
7861
  export declare type CurrentUserQueryVariables = Exact<{
7197
7862
  [key: string]: never;
7198
7863
  }>;
@@ -7207,16 +7872,54 @@ export declare type CurrentUserQuery = {
7207
7872
  __typename?: 'Account';
7208
7873
  id: string;
7209
7874
  name: string;
7875
+ users: Array<{
7876
+ __typename?: 'UserPermission';
7877
+ role?: Role | null;
7878
+ actor: {
7879
+ __typename?: 'Robot';
7880
+ id: string;
7881
+ } | {
7882
+ __typename?: 'User';
7883
+ id: string;
7884
+ };
7885
+ }>;
7210
7886
  }>;
7211
7887
  } | {
7212
7888
  __typename: 'User';
7213
7889
  username: string;
7214
7890
  id: string;
7215
7891
  isExpoAdmin: boolean;
7892
+ primaryAccount: {
7893
+ __typename?: 'Account';
7894
+ id: string;
7895
+ name: string;
7896
+ users: Array<{
7897
+ __typename?: 'UserPermission';
7898
+ role?: Role | null;
7899
+ actor: {
7900
+ __typename?: 'Robot';
7901
+ id: string;
7902
+ } | {
7903
+ __typename?: 'User';
7904
+ id: string;
7905
+ };
7906
+ }>;
7907
+ };
7216
7908
  accounts: Array<{
7217
7909
  __typename?: 'Account';
7218
7910
  id: string;
7219
7911
  name: string;
7912
+ users: Array<{
7913
+ __typename?: 'UserPermission';
7914
+ role?: Role | null;
7915
+ actor: {
7916
+ __typename?: 'Robot';
7917
+ id: string;
7918
+ } | {
7919
+ __typename?: 'User';
7920
+ id: string;
7921
+ };
7922
+ }>;
7220
7923
  }>;
7221
7924
  } | null;
7222
7925
  };
@@ -7259,11 +7962,43 @@ export declare type WebhookByIdQuery = {
7259
7962
  };
7260
7963
  };
7261
7964
  };
7965
+ export declare type AccountFragment = {
7966
+ __typename?: 'Account';
7967
+ id: string;
7968
+ name: string;
7969
+ users: Array<{
7970
+ __typename?: 'UserPermission';
7971
+ role?: Role | null;
7972
+ actor: {
7973
+ __typename?: 'Robot';
7974
+ id: string;
7975
+ } | {
7976
+ __typename?: 'User';
7977
+ id: string;
7978
+ };
7979
+ }>;
7980
+ };
7262
7981
  export declare type AppFragment = {
7263
7982
  __typename?: 'App';
7264
7983
  id: string;
7265
7984
  fullName: string;
7266
7985
  slug: string;
7986
+ ownerAccount: {
7987
+ __typename?: 'Account';
7988
+ id: string;
7989
+ name: string;
7990
+ users: Array<{
7991
+ __typename?: 'UserPermission';
7992
+ role?: Role | null;
7993
+ actor: {
7994
+ __typename?: 'Robot';
7995
+ id: string;
7996
+ } | {
7997
+ __typename?: 'User';
7998
+ id: string;
7999
+ };
8000
+ }>;
8001
+ };
7267
8002
  };
7268
8003
  export declare type BuildFragment = {
7269
8004
  __typename?: 'Build';
@@ -7419,6 +8154,7 @@ export declare type EnvironmentSecretFragment = {
7419
8154
  __typename?: 'EnvironmentSecret';
7420
8155
  id: string;
7421
8156
  name: string;
8157
+ type: EnvironmentSecretType;
7422
8158
  createdAt: any;
7423
8159
  };
7424
8160
  export declare type StatuspageServiceFragment = {
@@ -7469,6 +8205,30 @@ export declare type SubmissionFragment = {
7469
8205
  message?: string | null;
7470
8206
  } | null;
7471
8207
  };
8208
+ export declare type UpdateFragment = {
8209
+ __typename?: 'Update';
8210
+ id: string;
8211
+ group: string;
8212
+ message?: string | null;
8213
+ createdAt: any;
8214
+ runtimeVersion: string;
8215
+ platform: string;
8216
+ manifestFragment: string;
8217
+ actor?: {
8218
+ __typename: 'Robot';
8219
+ firstName?: string | null;
8220
+ id: string;
8221
+ } | {
8222
+ __typename: 'User';
8223
+ username: string;
8224
+ id: string;
8225
+ } | null;
8226
+ branch: {
8227
+ __typename?: 'UpdateBranch';
8228
+ id: string;
8229
+ name: string;
8230
+ };
8231
+ };
7472
8232
  export declare type UpdateBranchFragment = {
7473
8233
  __typename?: 'UpdateBranch';
7474
8234
  id: string;
@@ -7476,11 +8236,12 @@ export declare type UpdateBranchFragment = {
7476
8236
  updates: Array<{
7477
8237
  __typename?: 'Update';
7478
8238
  id: string;
7479
- createdAt: any;
8239
+ group: string;
7480
8240
  message?: string | null;
8241
+ createdAt: any;
7481
8242
  runtimeVersion: string;
7482
- group: string;
7483
8243
  platform: string;
8244
+ manifestFragment: string;
7484
8245
  actor?: {
7485
8246
  __typename: 'Robot';
7486
8247
  firstName?: string | null;
@@ -7490,6 +8251,11 @@ export declare type UpdateBranchFragment = {
7490
8251
  username: string;
7491
8252
  id: string;
7492
8253
  } | null;
8254
+ branch: {
8255
+ __typename?: 'UpdateBranch';
8256
+ id: string;
8257
+ name: string;
8258
+ };
7493
8259
  }>;
7494
8260
  };
7495
8261
  export declare type WebhookFragment = {
@@ -7531,6 +8297,22 @@ export declare type CommonAndroidAppCredentialsFragment = {
7531
8297
  id: string;
7532
8298
  fullName: string;
7533
8299
  slug: string;
8300
+ ownerAccount: {
8301
+ __typename?: 'Account';
8302
+ id: string;
8303
+ name: string;
8304
+ users: Array<{
8305
+ __typename?: 'UserPermission';
8306
+ role?: Role | null;
8307
+ actor: {
8308
+ __typename?: 'Robot';
8309
+ id: string;
8310
+ } | {
8311
+ __typename?: 'User';
8312
+ id: string;
8313
+ };
8314
+ }>;
8315
+ };
7534
8316
  };
7535
8317
  androidFcm?: {
7536
8318
  __typename?: 'AndroidFcm';
@@ -7676,6 +8458,22 @@ export declare type AppleDistributionCertificateFragment = {
7676
8458
  id: string;
7677
8459
  fullName: string;
7678
8460
  slug: string;
8461
+ ownerAccount: {
8462
+ __typename?: 'Account';
8463
+ id: string;
8464
+ name: string;
8465
+ users: Array<{
8466
+ __typename?: 'UserPermission';
8467
+ role?: Role | null;
8468
+ actor: {
8469
+ __typename?: 'Robot';
8470
+ id: string;
8471
+ } | {
8472
+ __typename?: 'User';
8473
+ id: string;
8474
+ };
8475
+ }>;
8476
+ };
7679
8477
  };
7680
8478
  appleAppIdentifier: {
7681
8479
  __typename?: 'AppleAppIdentifier';
@@ -7737,6 +8535,22 @@ export declare type ApplePushKeyFragment = {
7737
8535
  id: string;
7738
8536
  fullName: string;
7739
8537
  slug: string;
8538
+ ownerAccount: {
8539
+ __typename?: 'Account';
8540
+ id: string;
8541
+ name: string;
8542
+ users: Array<{
8543
+ __typename?: 'UserPermission';
8544
+ role?: Role | null;
8545
+ actor: {
8546
+ __typename?: 'Robot';
8547
+ id: string;
8548
+ } | {
8549
+ __typename?: 'User';
8550
+ id: string;
8551
+ };
8552
+ }>;
8553
+ };
7740
8554
  };
7741
8555
  appleAppIdentifier: {
7742
8556
  __typename?: 'AppleAppIdentifier';
@@ -7792,6 +8606,22 @@ export declare type IosAppBuildCredentialsFragment = {
7792
8606
  id: string;
7793
8607
  fullName: string;
7794
8608
  slug: string;
8609
+ ownerAccount: {
8610
+ __typename?: 'Account';
8611
+ id: string;
8612
+ name: string;
8613
+ users: Array<{
8614
+ __typename?: 'UserPermission';
8615
+ role?: Role | null;
8616
+ actor: {
8617
+ __typename?: 'Robot';
8618
+ id: string;
8619
+ } | {
8620
+ __typename?: 'User';
8621
+ id: string;
8622
+ };
8623
+ }>;
8624
+ };
7795
8625
  };
7796
8626
  appleAppIdentifier: {
7797
8627
  __typename?: 'AppleAppIdentifier';
@@ -7838,6 +8668,22 @@ export declare type CommonIosAppCredentialsWithoutBuildCredentialsFragment = {
7838
8668
  id: string;
7839
8669
  fullName: string;
7840
8670
  slug: string;
8671
+ ownerAccount: {
8672
+ __typename?: 'Account';
8673
+ id: string;
8674
+ name: string;
8675
+ users: Array<{
8676
+ __typename?: 'UserPermission';
8677
+ role?: Role | null;
8678
+ actor: {
8679
+ __typename?: 'Robot';
8680
+ id: string;
8681
+ } | {
8682
+ __typename?: 'User';
8683
+ id: string;
8684
+ };
8685
+ }>;
8686
+ };
7841
8687
  };
7842
8688
  appleTeam?: {
7843
8689
  __typename?: 'AppleTeam';
@@ -7869,6 +8715,22 @@ export declare type CommonIosAppCredentialsWithoutBuildCredentialsFragment = {
7869
8715
  id: string;
7870
8716
  fullName: string;
7871
8717
  slug: string;
8718
+ ownerAccount: {
8719
+ __typename?: 'Account';
8720
+ id: string;
8721
+ name: string;
8722
+ users: Array<{
8723
+ __typename?: 'UserPermission';
8724
+ role?: Role | null;
8725
+ actor: {
8726
+ __typename?: 'Robot';
8727
+ id: string;
8728
+ } | {
8729
+ __typename?: 'User';
8730
+ id: string;
8731
+ };
8732
+ }>;
8733
+ };
7872
8734
  };
7873
8735
  appleAppIdentifier: {
7874
8736
  __typename?: 'AppleAppIdentifier';
@@ -7928,6 +8790,22 @@ export declare type CommonIosAppCredentialsFragment = {
7928
8790
  id: string;
7929
8791
  fullName: string;
7930
8792
  slug: string;
8793
+ ownerAccount: {
8794
+ __typename?: 'Account';
8795
+ id: string;
8796
+ name: string;
8797
+ users: Array<{
8798
+ __typename?: 'UserPermission';
8799
+ role?: Role | null;
8800
+ actor: {
8801
+ __typename?: 'Robot';
8802
+ id: string;
8803
+ } | {
8804
+ __typename?: 'User';
8805
+ id: string;
8806
+ };
8807
+ }>;
8808
+ };
7931
8809
  };
7932
8810
  appleAppIdentifier: {
7933
8811
  __typename?: 'AppleAppIdentifier';
@@ -7971,6 +8849,22 @@ export declare type CommonIosAppCredentialsFragment = {
7971
8849
  id: string;
7972
8850
  fullName: string;
7973
8851
  slug: string;
8852
+ ownerAccount: {
8853
+ __typename?: 'Account';
8854
+ id: string;
8855
+ name: string;
8856
+ users: Array<{
8857
+ __typename?: 'UserPermission';
8858
+ role?: Role | null;
8859
+ actor: {
8860
+ __typename?: 'Robot';
8861
+ id: string;
8862
+ } | {
8863
+ __typename?: 'User';
8864
+ id: string;
8865
+ };
8866
+ }>;
8867
+ };
7974
8868
  };
7975
8869
  appleTeam?: {
7976
8870
  __typename?: 'AppleTeam';
@@ -8002,6 +8896,22 @@ export declare type CommonIosAppCredentialsFragment = {
8002
8896
  id: string;
8003
8897
  fullName: string;
8004
8898
  slug: string;
8899
+ ownerAccount: {
8900
+ __typename?: 'Account';
8901
+ id: string;
8902
+ name: string;
8903
+ users: Array<{
8904
+ __typename?: 'UserPermission';
8905
+ role?: Role | null;
8906
+ actor: {
8907
+ __typename?: 'Robot';
8908
+ id: string;
8909
+ } | {
8910
+ __typename?: 'User';
8911
+ id: string;
8912
+ };
8913
+ }>;
8914
+ };
8005
8915
  };
8006
8916
  appleAppIdentifier: {
8007
8917
  __typename?: 'AppleAppIdentifier';