eas-cli 0.55.1 → 0.58.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.
Files changed (113) hide show
  1. package/README.md +58 -49
  2. package/build/branch/queries.d.ts +5 -0
  3. package/build/branch/queries.js +87 -0
  4. package/build/build/android/build.js +17 -3
  5. package/build/build/android/graphql.js +2 -0
  6. package/build/build/android/prepareJob.js +5 -0
  7. package/build/build/android/syncProjectConfiguration.d.ts +3 -4
  8. package/build/build/android/syncProjectConfiguration.js +2 -3
  9. package/build/build/android/version.d.ts +16 -0
  10. package/build/build/android/version.js +86 -9
  11. package/build/build/build.js +8 -3
  12. package/build/build/context.d.ts +7 -3
  13. package/build/build/createContext.d.ts +5 -2
  14. package/build/build/createContext.js +9 -1
  15. package/build/build/ios/build.js +18 -17
  16. package/build/build/ios/graphql.js +2 -0
  17. package/build/build/ios/prepareJob.js +5 -0
  18. package/build/build/ios/syncProjectConfiguration.d.ts +5 -6
  19. package/build/build/ios/syncProjectConfiguration.js +3 -4
  20. package/build/build/ios/version.d.ts +23 -3
  21. package/build/build/ios/version.js +128 -28
  22. package/build/build/local.d.ts +2 -2
  23. package/build/build/local.js +7 -7
  24. package/build/build/metadata.d.ts +1 -0
  25. package/build/build/metadata.js +32 -6
  26. package/build/build/runBuildAndSubmit.d.ts +1 -0
  27. package/build/build/runBuildAndSubmit.js +29 -7
  28. package/build/build/utils/printBuildInfo.d.ts +1 -1
  29. package/build/build/utils/printBuildInfo.js +7 -13
  30. package/build/commandUtils/pagination.d.ts +13 -0
  31. package/build/commandUtils/pagination.js +42 -0
  32. package/build/commands/branch/list.d.ts +3 -4
  33. package/build/commands/branch/list.js +6 -69
  34. package/build/commands/branch/view.d.ts +3 -0
  35. package/build/commands/branch/view.js +15 -63
  36. package/build/commands/build/index.d.ts +1 -0
  37. package/build/commands/build/index.js +9 -0
  38. package/build/commands/build/version/set.d.ts +9 -0
  39. package/build/commands/build/version/set.js +81 -0
  40. package/build/commands/build/version/sync.d.ts +11 -0
  41. package/build/commands/build/version/sync.js +123 -0
  42. package/build/commands/submit.js +4 -1
  43. package/build/commands/update/index.d.ts +2 -2
  44. package/build/commands/update/index.js +24 -6
  45. package/build/commands/update/list.js +13 -18
  46. package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +2 -2
  47. package/build/credentials/ios/types.d.ts +2 -0
  48. package/build/devices/actions/create/action.d.ts +5 -2
  49. package/build/devices/actions/create/action.js +12 -2
  50. package/build/devices/actions/create/developerPortalMethod.d.ts +6 -0
  51. package/build/devices/actions/create/developerPortalMethod.js +90 -0
  52. package/build/devices/manager.js +4 -4
  53. package/build/graphql/generated.d.ts +501 -59
  54. package/build/graphql/generated.js +10 -1
  55. package/build/graphql/mutations/AppVersionMutation.d.ts +11 -0
  56. package/build/graphql/mutations/AppVersionMutation.js +28 -0
  57. package/build/graphql/mutations/PublishMutation.d.ts +2 -4
  58. package/build/graphql/queries/AppVersionQuery.d.ts +4 -0
  59. package/build/graphql/queries/AppVersionQuery.js +37 -0
  60. package/build/graphql/queries/BranchQuery.d.ts +2 -1
  61. package/build/graphql/queries/BranchQuery.js +26 -0
  62. package/build/graphql/queries/BuildQuery.d.ts +4 -1
  63. package/build/graphql/queries/BuildQuery.js +19 -0
  64. package/build/graphql/queries/PublishQuery.d.ts +2 -1
  65. package/build/graphql/queries/PublishQuery.js +16 -0
  66. package/build/graphql/queries/UpdateQuery.d.ts +6 -8
  67. package/build/graphql/queries/UpdateQuery.js +27 -23
  68. package/build/graphql/types/Build.d.ts +1 -0
  69. package/build/graphql/types/Build.js +16 -1
  70. package/build/metadata/apple/config/reader.d.ts +3 -2
  71. package/build/metadata/apple/config/reader.js +22 -5
  72. package/build/metadata/apple/config/writer.d.ts +3 -2
  73. package/build/metadata/apple/config/writer.js +22 -6
  74. package/build/metadata/apple/tasks/app-version.d.ts +5 -1
  75. package/build/metadata/apple/tasks/app-version.js +109 -8
  76. package/build/metadata/apple/tasks/index.d.ts +6 -1
  77. package/build/metadata/apple/tasks/index.js +7 -2
  78. package/build/metadata/apple/types.d.ts +3 -7
  79. package/build/metadata/upload.js +6 -1
  80. package/build/platform.d.ts +1 -0
  81. package/build/platform.js +17 -1
  82. package/build/project/android/applicationId.js +2 -2
  83. package/build/project/android/versions.d.ts +3 -0
  84. package/build/project/android/versions.js +23 -0
  85. package/build/project/applicationIdentifier.d.ts +4 -0
  86. package/build/project/applicationIdentifier.js +37 -0
  87. package/build/project/ios/bundleIdentifier.js +2 -2
  88. package/build/project/ios/target.js +14 -1
  89. package/build/project/ios/versions.d.ts +3 -0
  90. package/build/project/ios/versions.js +17 -0
  91. package/build/project/publish.d.ts +3 -2
  92. package/build/project/publish.js +23 -18
  93. package/build/project/remoteVersionSource.d.ts +8 -0
  94. package/build/project/remoteVersionSource.js +61 -0
  95. package/build/submit/submit.d.ts +2 -1
  96. package/build/submit/submit.js +3 -2
  97. package/build/submit/utils/files.d.ts +0 -6
  98. package/build/submit/utils/files.js +3 -16
  99. package/build/update/queries.d.ts +3 -0
  100. package/build/update/queries.js +72 -0
  101. package/build/update/utils.d.ts +14 -0
  102. package/build/update/utils.js +26 -9
  103. package/build/uploads.d.ts +8 -2
  104. package/build/uploads.js +19 -4
  105. package/build/utils/expodash/chunk.d.ts +1 -0
  106. package/build/utils/expodash/chunk.js +16 -0
  107. package/build/utils/queries.d.ts +25 -0
  108. package/build/utils/queries.js +67 -0
  109. package/build/vcs/clients/gitNoCommit.d.ts +1 -0
  110. package/build/vcs/clients/gitNoCommit.js +14 -0
  111. package/oclif.manifest.json +1 -1
  112. package/package.json +10 -5
  113. package/schema/metadata-0.json +38 -233
@@ -120,6 +120,8 @@ export declare type Account = {
120
120
  requiresAccessTokenForPushSecurity: Scalars['Boolean'];
121
121
  /** Snacks associated with this account */
122
122
  snacks: Array<Snack>;
123
+ /** SSO configuration for this account */
124
+ ssoConfiguration?: Maybe<AccountSsoConfiguration>;
123
125
  /** Subscription info visible to members that have VIEWER role */
124
126
  subscription?: Maybe<SubscriptionDetails>;
125
127
  /** @deprecated No longer needed */
@@ -334,6 +336,77 @@ export declare type AccountQueryByIdArgs = {
334
336
  export declare type AccountQueryByNameArgs = {
335
337
  accountName: Scalars['String'];
336
338
  };
339
+ /** Auth configuration data for an SSO account. */
340
+ export declare type AccountSsoConfiguration = {
341
+ __typename?: 'AccountSSOConfiguration';
342
+ authEndpoint?: Maybe<Scalars['String']>;
343
+ authProtocol: AuthProtocolType;
344
+ authProviderIdentifier: Scalars['String'];
345
+ clientIdentifier: Scalars['String'];
346
+ clientSecret: Scalars['String'];
347
+ createdAt: Scalars['DateTime'];
348
+ id: Scalars['ID'];
349
+ issuer?: Maybe<Scalars['String']>;
350
+ jwksEndpoint?: Maybe<Scalars['String']>;
351
+ redirectUri: Scalars['String'];
352
+ tokenEndpoint?: Maybe<Scalars['String']>;
353
+ updatedAt: Scalars['DateTime'];
354
+ userInfoEndpoint?: Maybe<Scalars['String']>;
355
+ };
356
+ export declare type AccountSsoConfigurationData = {
357
+ authEndpoint?: InputMaybe<Scalars['String']>;
358
+ authProtocol: AuthProtocolType;
359
+ authProviderIdentifier: Scalars['String'];
360
+ clientIdentifier: Scalars['String'];
361
+ clientSecret: Scalars['String'];
362
+ issuer?: InputMaybe<Scalars['String']>;
363
+ jwksEndpoint?: InputMaybe<Scalars['String']>;
364
+ redirectUri: Scalars['String'];
365
+ tokenEndpoint?: InputMaybe<Scalars['String']>;
366
+ userInfoEndpoint?: InputMaybe<Scalars['String']>;
367
+ };
368
+ export declare type AccountSsoConfigurationMutation = {
369
+ __typename?: 'AccountSSOConfigurationMutation';
370
+ /** Create an AccountSSOConfiguration for an Account */
371
+ createAccountSSOConfiguration: AccountSsoConfiguration;
372
+ /** Delete an AccountSSOConfiguration */
373
+ deleteAccountSSOConfiguration: DeleteAccountSsoConfigurationResult;
374
+ /** Update an AccountSSOConfiguration */
375
+ updateAccountSSOConfiguration: AccountSsoConfiguration;
376
+ };
377
+ export declare type AccountSsoConfigurationMutationCreateAccountSsoConfigurationArgs = {
378
+ accountId: Scalars['ID'];
379
+ accountSSOConfigurationData: AccountSsoConfigurationData;
380
+ };
381
+ export declare type AccountSsoConfigurationMutationDeleteAccountSsoConfigurationArgs = {
382
+ id: Scalars['ID'];
383
+ };
384
+ export declare type AccountSsoConfigurationMutationUpdateAccountSsoConfigurationArgs = {
385
+ accountSSOConfigurationData: AccountSsoConfigurationData;
386
+ id: Scalars['ID'];
387
+ };
388
+ /** Public auth configuration data for an SSO account. */
389
+ export declare type AccountSsoConfigurationPublicData = {
390
+ __typename?: 'AccountSSOConfigurationPublicData';
391
+ authEndpoint?: Maybe<Scalars['String']>;
392
+ authProtocol: AuthProtocolType;
393
+ authProviderIdentifier: Scalars['String'];
394
+ clientIdentifier: Scalars['String'];
395
+ id: Scalars['ID'];
396
+ issuer?: Maybe<Scalars['String']>;
397
+ jwksEndpoint?: Maybe<Scalars['String']>;
398
+ redirectUri: Scalars['String'];
399
+ tokenEndpoint?: Maybe<Scalars['String']>;
400
+ userInfoEndpoint?: Maybe<Scalars['String']>;
401
+ };
402
+ export declare type AccountSsoConfigurationPublicDataQuery = {
403
+ __typename?: 'AccountSSOConfigurationPublicDataQuery';
404
+ /** Get AccountSSOConfiguration public data by account name */
405
+ publicDataByAccountName: AccountSsoConfigurationPublicData;
406
+ };
407
+ export declare type AccountSsoConfigurationPublicDataQueryPublicDataByAccountNameArgs = {
408
+ accountName: Scalars['String'];
409
+ };
337
410
  export declare type AccountUsageMetric = {
338
411
  __typename?: 'AccountUsageMetric';
339
412
  id: Scalars['ID'];
@@ -362,6 +435,7 @@ export declare type AccountUsageMetricsByBillingPeriodArgs = {
362
435
  date: Scalars['DateTime'];
363
436
  };
364
437
  export declare type AccountUsageMetricsMetricsForServiceMetricArgs = {
438
+ filterParams?: InputMaybe<Scalars['JSONObject']>;
365
439
  granularity: UsageMetricsGranularity;
366
440
  serviceMetric: EasServiceMetric;
367
441
  timespan: UsageMetricsTimespan;
@@ -596,6 +670,7 @@ export declare type AndroidJobInput = {
596
670
  type: BuildWorkflow;
597
671
  updates?: InputMaybe<BuildUpdatesInput>;
598
672
  username?: InputMaybe<Scalars['String']>;
673
+ version?: InputMaybe<AndroidJobVersionInput>;
599
674
  };
600
675
  export declare type AndroidJobKeystoreInput = {
601
676
  dataBase64: Scalars['String'];
@@ -607,6 +682,9 @@ export declare type AndroidJobSecretsInput = {
607
682
  buildCredentials?: InputMaybe<AndroidJobBuildCredentialsInput>;
608
683
  environmentSecrets?: InputMaybe<Scalars['JSONObject']>;
609
684
  };
685
+ export declare type AndroidJobVersionInput = {
686
+ versionCode: Scalars['String'];
687
+ };
610
688
  export declare type AndroidKeystore = {
611
689
  __typename?: 'AndroidKeystore';
612
690
  account: Account;
@@ -677,6 +755,7 @@ export declare type App = Project & {
677
755
  androidAppCredentials: Array<AndroidAppCredentials>;
678
756
  /** ios.appStoreUrl field from most recent classic update manifest */
679
757
  appStoreUrl?: Maybe<Scalars['String']>;
758
+ assetLimitPerUpdateGroup: Scalars['Int'];
680
759
  buildJobs: Array<BuildJob>;
681
760
  /**
682
761
  * Coalesced Build (EAS) or BuildJob (Classic) items for this app.
@@ -709,6 +788,7 @@ export declare type App = Project & {
709
788
  isLikedByMe: Scalars['Boolean'];
710
789
  /** @deprecated No longer supported */
711
790
  lastPublishedTime: Scalars['DateTime'];
791
+ latestAppVersionByPlatformAndApplicationIdentifier?: Maybe<AppVersion>;
712
792
  latestReleaseForReleaseChannel?: Maybe<AppRelease>;
713
793
  /** ID of latest classic update release */
714
794
  latestReleaseId: Scalars['ID'];
@@ -812,6 +892,11 @@ export declare type AppIosAppCredentialsArgs = {
812
892
  filter?: InputMaybe<IosAppCredentialsFilter>;
813
893
  };
814
894
  /** Represents an Exponent App (or Experience in legacy terms) */
895
+ export declare type AppLatestAppVersionByPlatformAndApplicationIdentifierArgs = {
896
+ applicationIdentifier: Scalars['String'];
897
+ platform: AppPlatform;
898
+ };
899
+ /** Represents an Exponent App (or Experience in legacy terms) */
815
900
  export declare type AppLatestReleaseForReleaseChannelArgs = {
816
901
  platform: AppPlatform;
817
902
  releaseChannel: Scalars['String'];
@@ -1004,6 +1089,47 @@ export declare enum AppStoreConnectUserRole {
1004
1089
  Technical = "TECHNICAL",
1005
1090
  Unknown = "UNKNOWN"
1006
1091
  }
1092
+ /** Represents Play Store/App Store version of an application */
1093
+ export declare type AppVersion = {
1094
+ __typename?: 'AppVersion';
1095
+ /**
1096
+ * Store identifier for an application
1097
+ * - Android - applicationId
1098
+ * - iOS - bundle identifier
1099
+ */
1100
+ applicationIdentifier: Scalars['String'];
1101
+ /**
1102
+ * Value that identifies build in a store (it's visible to developers, but not to end users)
1103
+ * - Android - versionCode in build.gradle ("android.versionCode" field in app.json)
1104
+ * - iOS - CFBundleVersion in Info.plist ("ios.buildNumber" field in app.json)
1105
+ */
1106
+ buildVersion: Scalars['String'];
1107
+ id: Scalars['ID'];
1108
+ platform: AppPlatform;
1109
+ runtimeVersion?: Maybe<Scalars['String']>;
1110
+ /**
1111
+ * User-facing version in a store
1112
+ * - Android - versionName in build.gradle ("version" field in app.json)
1113
+ * - iOS - CFBundleShortVersionString in Info.plist ("version" field in app.json)
1114
+ */
1115
+ storeVersion: Scalars['String'];
1116
+ };
1117
+ export declare type AppVersionInput = {
1118
+ appId: Scalars['ID'];
1119
+ applicationIdentifier: Scalars['String'];
1120
+ buildVersion: Scalars['String'];
1121
+ platform: AppPlatform;
1122
+ runtimeVersion?: InputMaybe<Scalars['String']>;
1123
+ storeVersion: Scalars['String'];
1124
+ };
1125
+ export declare type AppVersionMutation = {
1126
+ __typename?: 'AppVersionMutation';
1127
+ /** Create an app version */
1128
+ createAppVersion: AppVersion;
1129
+ };
1130
+ export declare type AppVersionMutationCreateAppVersionArgs = {
1131
+ appVersionInput: AppVersionInput;
1132
+ };
1007
1133
  export declare type AppleAppIdentifier = {
1008
1134
  __typename?: 'AppleAppIdentifier';
1009
1135
  account: Account;
@@ -1181,7 +1307,7 @@ export declare type ApplePushKey = {
1181
1307
  updatedAt: Scalars['DateTime'];
1182
1308
  };
1183
1309
  export declare type ApplePushKeyInput = {
1184
- appleTeamId?: InputMaybe<Scalars['ID']>;
1310
+ appleTeamId: Scalars['ID'];
1185
1311
  keyIdentifier: Scalars['String'];
1186
1312
  keyP8: Scalars['String'];
1187
1313
  };
@@ -1278,6 +1404,9 @@ export declare type AssetQuery = {
1278
1404
  export declare type AssetQueryMetadataArgs = {
1279
1405
  storageKeys: Array<Scalars['String']>;
1280
1406
  };
1407
+ export declare enum AuthProtocolType {
1408
+ Oidc = "OIDC"
1409
+ }
1281
1410
  export declare type Billing = {
1282
1411
  __typename?: 'Billing';
1283
1412
  /** History of invoices */
@@ -1304,6 +1433,7 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
1304
1433
  canRetry: Scalars['Boolean'];
1305
1434
  cancelingActor?: Maybe<Actor>;
1306
1435
  channel?: Maybe<Scalars['String']>;
1436
+ childBuild?: Maybe<Build>;
1307
1437
  completedAt?: Maybe<Scalars['DateTime']>;
1308
1438
  createdAt: Scalars['DateTime'];
1309
1439
  distribution?: Maybe<DistributionType>;
@@ -1312,6 +1442,7 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
1312
1442
  estimatedWaitTimeLeftSeconds?: Maybe<Scalars['Int']>;
1313
1443
  expirationDate?: Maybe<Scalars['DateTime']>;
1314
1444
  gitCommitHash?: Maybe<Scalars['String']>;
1445
+ gitCommitMessage?: Maybe<Scalars['String']>;
1315
1446
  id: Scalars['ID'];
1316
1447
  /** Queue position is 1-indexed */
1317
1448
  initialQueuePosition?: Maybe<Scalars['Int']>;
@@ -1321,6 +1452,10 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
1321
1452
  iosEnterpriseProvisioning?: Maybe<BuildIosEnterpriseProvisioning>;
1322
1453
  isGitWorkingTreeDirty?: Maybe<Scalars['Boolean']>;
1323
1454
  logFiles: Array<Scalars['String']>;
1455
+ maxBuildTimeSeconds: Scalars['Int'];
1456
+ /** Retry time starts after completedAt */
1457
+ maxRetryTimeMinutes: Scalars['Int'];
1458
+ message?: Maybe<Scalars['String']>;
1324
1459
  metrics?: Maybe<BuildMetrics>;
1325
1460
  parentBuild?: Maybe<Build>;
1326
1461
  platform: AppPlatform;
@@ -1332,6 +1467,7 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
1332
1467
  reactNativeVersion?: Maybe<Scalars['String']>;
1333
1468
  releaseChannel?: Maybe<Scalars['String']>;
1334
1469
  resourceClass?: Maybe<BuildResourceClass>;
1470
+ runFromCI?: Maybe<Scalars['Boolean']>;
1335
1471
  runtimeVersion?: Maybe<Scalars['String']>;
1336
1472
  sdkVersion?: Maybe<Scalars['String']>;
1337
1473
  status: BuildStatus;
@@ -1458,10 +1594,14 @@ export declare type BuildMetadataInput = {
1458
1594
  credentialsSource?: InputMaybe<BuildCredentialsSource>;
1459
1595
  distribution?: InputMaybe<DistributionType>;
1460
1596
  gitCommitHash?: InputMaybe<Scalars['String']>;
1597
+ gitCommitMessage?: InputMaybe<Scalars['String']>;
1461
1598
  iosEnterpriseProvisioning?: InputMaybe<BuildIosEnterpriseProvisioning>;
1462
1599
  isGitWorkingTreeDirty?: InputMaybe<Scalars['Boolean']>;
1600
+ message?: InputMaybe<Scalars['String']>;
1463
1601
  reactNativeVersion?: InputMaybe<Scalars['String']>;
1464
1602
  releaseChannel?: InputMaybe<Scalars['String']>;
1603
+ runFromCI?: InputMaybe<Scalars['Boolean']>;
1604
+ runWithNoWaitFlag?: InputMaybe<Scalars['Boolean']>;
1465
1605
  runtimeVersion?: InputMaybe<Scalars['String']>;
1466
1606
  sdkVersion?: InputMaybe<Scalars['String']>;
1467
1607
  trackingContext?: InputMaybe<Scalars['JSONObject']>;
@@ -1521,7 +1661,8 @@ export declare type BuildParamsInput = {
1521
1661
  };
1522
1662
  export declare enum BuildPriority {
1523
1663
  High = "HIGH",
1524
- Normal = "NORMAL"
1664
+ Normal = "NORMAL",
1665
+ NormalPlus = "NORMAL_PLUS"
1525
1666
  }
1526
1667
  /** Publicly visible data for a Build. */
1527
1668
  export declare type BuildPublicData = {
@@ -1684,6 +1825,11 @@ export declare type CreateIosSubmissionInput = {
1684
1825
  config: IosSubmissionConfigInput;
1685
1826
  submittedBuildId?: InputMaybe<Scalars['ID']>;
1686
1827
  };
1828
+ export declare type CreateServerlessFunctionUploadUrlResult = {
1829
+ __typename?: 'CreateServerlessFunctionUploadUrlResult';
1830
+ formDataFields: Scalars['JSONObject'];
1831
+ url: Scalars['String'];
1832
+ };
1687
1833
  export declare type CreateSubmissionResult = {
1688
1834
  __typename?: 'CreateSubmissionResult';
1689
1835
  /** Created submission */
@@ -1697,6 +1843,10 @@ export declare type DeleteAccountResult = {
1697
1843
  __typename?: 'DeleteAccountResult';
1698
1844
  id: Scalars['ID'];
1699
1845
  };
1846
+ export declare type DeleteAccountSsoConfigurationResult = {
1847
+ __typename?: 'DeleteAccountSSOConfigurationResult';
1848
+ id: Scalars['ID'];
1849
+ };
1700
1850
  export declare type DeleteAndroidKeystoreResult = {
1701
1851
  __typename?: 'DeleteAndroidKeystoreResult';
1702
1852
  id: Scalars['ID'];
@@ -1776,7 +1926,9 @@ export declare enum EasBuildDeprecationInfoType {
1776
1926
  export declare enum EasServiceMetric {
1777
1927
  AssetsRequests = "ASSETS_REQUESTS",
1778
1928
  BandwidthUsage = "BANDWIDTH_USAGE",
1929
+ Builds = "BUILDS",
1779
1930
  ManifestRequests = "MANIFEST_REQUESTS",
1931
+ UniqueUpdaters = "UNIQUE_UPDATERS",
1780
1932
  UniqueUsers = "UNIQUE_USERS"
1781
1933
  }
1782
1934
  export declare type EditUpdateBranchInput = {
@@ -1851,6 +2003,14 @@ export declare enum Feature {
1851
2003
  /** Share access to projects */
1852
2004
  Teams = "TEAMS"
1853
2005
  }
2006
+ export declare type FutureSubscription = {
2007
+ __typename?: 'FutureSubscription';
2008
+ createdAt: Scalars['DateTime'];
2009
+ id: Scalars['ID'];
2010
+ meteredBillingStatus: MeteredBillingStatus;
2011
+ planId: Scalars['String'];
2012
+ startDate: Scalars['DateTime'];
2013
+ };
1854
2014
  export declare type GetSignedAssetUploadSpecificationsResult = {
1855
2015
  __typename?: 'GetSignedAssetUploadSpecificationsResult';
1856
2016
  specifications: Array<Scalars['String']>;
@@ -2078,6 +2238,7 @@ export declare type IosJobInput = {
2078
2238
  type: BuildWorkflow;
2079
2239
  updates?: InputMaybe<BuildUpdatesInput>;
2080
2240
  username?: InputMaybe<Scalars['String']>;
2241
+ version?: InputMaybe<IosJobVersionInput>;
2081
2242
  };
2082
2243
  export declare type IosJobSecretsInput = {
2083
2244
  buildCredentials?: InputMaybe<Array<InputMaybe<IosJobTargetCredentialsInput>>>;
@@ -2088,6 +2249,9 @@ export declare type IosJobTargetCredentialsInput = {
2088
2249
  provisioningProfileBase64: Scalars['String'];
2089
2250
  targetName: Scalars['String'];
2090
2251
  };
2252
+ export declare type IosJobVersionInput = {
2253
+ buildNumber: Scalars['String'];
2254
+ };
2091
2255
  /** @deprecated Use developmentClient option instead. */
2092
2256
  export declare enum IosManagedBuildType {
2093
2257
  DevelopmentClient = "DEVELOPMENT_CLIENT",
@@ -2226,6 +2390,10 @@ export declare type MeMutationUpdateAppArgs = {
2226
2390
  export declare type MeMutationUpdateProfileArgs = {
2227
2391
  userData: UserDataInput;
2228
2392
  };
2393
+ export declare type MeteredBillingStatus = {
2394
+ __typename?: 'MeteredBillingStatus';
2395
+ EAS_UPDATE: Scalars['Boolean'];
2396
+ };
2229
2397
  export declare type Offer = {
2230
2398
  __typename?: 'Offer';
2231
2399
  features?: Maybe<Array<Maybe<Feature>>>;
@@ -2408,6 +2576,8 @@ export declare type RootMutation = {
2408
2576
  accessToken: AccessTokenMutation;
2409
2577
  /** Mutations that modify an Account */
2410
2578
  account: AccountMutation;
2579
+ /** Mutations that create, update, and delete an AccountSSOConfiguration */
2580
+ accountSSOConfiguration: AccountSsoConfigurationMutation;
2411
2581
  /** Mutations that modify the build credentials for an Android app */
2412
2582
  androidAppBuildCredentials: AndroidAppBuildCredentialsMutation;
2413
2583
  /** Mutations that modify the credentials for an Android app */
@@ -2420,6 +2590,8 @@ export declare type RootMutation = {
2420
2590
  app?: Maybe<AppMutation>;
2421
2591
  /** Mutations that modify an App Store Connect Api Key */
2422
2592
  appStoreConnectApiKey: AppStoreConnectApiKeyMutation;
2593
+ /** Mutations that modify an AppVersion */
2594
+ appVersion: AppVersionMutation;
2423
2595
  /** Mutations that modify an Identifier for an iOS App */
2424
2596
  appleAppIdentifier: AppleAppIdentifierMutation;
2425
2597
  /** Mutations that modify an Apple Device */
@@ -2454,6 +2626,7 @@ export declare type RootMutation = {
2454
2626
  me: MeMutation;
2455
2627
  /** Mutations that create, update, and delete Robots */
2456
2628
  robot: RobotMutation;
2629
+ serverlessFunction: ServerlessFunctionMutation;
2457
2630
  /** Mutations that modify an EAS Submit submission */
2458
2631
  submission: SubmissionMutation;
2459
2632
  update: UpdateMutation;
@@ -2486,6 +2659,8 @@ export declare type RootQuery = {
2486
2659
  _doNotUse?: Maybe<Scalars['String']>;
2487
2660
  /** Top-level query object for querying Accounts. */
2488
2661
  account: AccountQuery;
2662
+ /** Top-level query object for querying AccountSSOConfigurationPublicData */
2663
+ accountSSOConfigurationPublicData: AccountSsoConfigurationPublicDataQuery;
2489
2664
  /** Top-level query object for querying Actors. */
2490
2665
  actor: ActorQuery;
2491
2666
  /**
@@ -2593,6 +2768,17 @@ export declare type SecondFactorRegenerateBackupCodesResult = {
2593
2768
  __typename?: 'SecondFactorRegenerateBackupCodesResult';
2594
2769
  plaintextBackupCodes: Array<Scalars['String']>;
2595
2770
  };
2771
+ export declare type ServerlessFunctionIdentifierInput = {
2772
+ gitCommitSHA1: Scalars['String'];
2773
+ };
2774
+ export declare type ServerlessFunctionMutation = {
2775
+ __typename?: 'ServerlessFunctionMutation';
2776
+ createUploadPresignedUrl: CreateServerlessFunctionUploadUrlResult;
2777
+ };
2778
+ export declare type ServerlessFunctionMutationCreateUploadPresignedUrlArgs = {
2779
+ appId: Scalars['ID'];
2780
+ serverlessFunctionIdentifierInput: ServerlessFunctionIdentifierInput;
2781
+ };
2596
2782
  export declare type Snack = Project & {
2597
2783
  __typename?: 'Snack';
2598
2784
  /** Description of the Snack */
@@ -2655,12 +2841,16 @@ export declare type Submission = ActivityTimelineProjectActivity & {
2655
2841
  archiveUrl?: Maybe<Scalars['String']>;
2656
2842
  canRetry: Scalars['Boolean'];
2657
2843
  cancelingActor?: Maybe<Actor>;
2844
+ childSubmission?: Maybe<Submission>;
2845
+ completedAt?: Maybe<Scalars['DateTime']>;
2658
2846
  createdAt: Scalars['DateTime'];
2659
2847
  error?: Maybe<SubmissionError>;
2660
2848
  id: Scalars['ID'];
2661
2849
  initiatingActor?: Maybe<Actor>;
2662
2850
  iosConfig?: Maybe<IosSubmissionConfig>;
2663
2851
  logsUrl?: Maybe<Scalars['String']>;
2852
+ /** Retry time starts after completedAt */
2853
+ maxRetryTimeMinutes: Scalars['Int'];
2664
2854
  parentSubmission?: Maybe<Submission>;
2665
2855
  platform: AppPlatform;
2666
2856
  status: SubmissionStatus;
@@ -2737,8 +2927,10 @@ export declare type SubscriptionDetails = {
2737
2927
  cancelledAt?: Maybe<Scalars['DateTime']>;
2738
2928
  concurrencies?: Maybe<Concurrencies>;
2739
2929
  endedAt?: Maybe<Scalars['DateTime']>;
2930
+ futureSubscription?: Maybe<FutureSubscription>;
2740
2931
  id: Scalars['ID'];
2741
2932
  isDowngrading?: Maybe<Scalars['Boolean']>;
2933
+ meteredBillingStatus: MeteredBillingStatus;
2742
2934
  name?: Maybe<Scalars['String']>;
2743
2935
  nextInvoice?: Maybe<Scalars['DateTime']>;
2744
2936
  planId?: Maybe<Scalars['String']>;
@@ -2897,7 +3089,9 @@ export declare type UsageMetricTotal = {
2897
3089
  };
2898
3090
  export declare enum UsageMetricType {
2899
3091
  Bandwidth = "BANDWIDTH",
3092
+ Build = "BUILD",
2900
3093
  Request = "REQUEST",
3094
+ Update = "UPDATE",
2901
3095
  User = "USER"
2902
3096
  }
2903
3097
  export declare enum UsageMetricsGranularity {
@@ -3234,43 +3428,6 @@ export declare type DeleteUpdateBranchMutation = {
3234
3428
  };
3235
3429
  };
3236
3430
  };
3237
- export declare type BranchesByAppQueryVariables = Exact<{
3238
- appId: Scalars['String'];
3239
- limit: Scalars['Int'];
3240
- }>;
3241
- export declare type BranchesByAppQuery = {
3242
- __typename?: 'RootQuery';
3243
- app: {
3244
- __typename?: 'AppQuery';
3245
- byId: {
3246
- __typename?: 'App';
3247
- id: string;
3248
- updateBranches: Array<{
3249
- __typename?: 'UpdateBranch';
3250
- id: string;
3251
- name: string;
3252
- updates: Array<{
3253
- __typename?: 'Update';
3254
- id: string;
3255
- createdAt: any;
3256
- message?: string | null;
3257
- runtimeVersion: string;
3258
- group: string;
3259
- platform: string;
3260
- actor?: {
3261
- __typename: 'Robot';
3262
- firstName?: string | null;
3263
- id: string;
3264
- } | {
3265
- __typename: 'User';
3266
- username: string;
3267
- id: string;
3268
- } | null;
3269
- }>;
3270
- }>;
3271
- };
3272
- };
3273
- };
3274
3431
  export declare type EditUpdateBranchMutationVariables = Exact<{
3275
3432
  input: EditUpdateBranchInput;
3276
3433
  }>;
@@ -5759,6 +5916,19 @@ export declare type CreateAppMutation = {
5759
5916
  };
5760
5917
  } | null;
5761
5918
  };
5919
+ export declare type CreateAppVersionMutationVariables = Exact<{
5920
+ appVersionInput: AppVersionInput;
5921
+ }>;
5922
+ export declare type CreateAppVersionMutation = {
5923
+ __typename?: 'RootMutation';
5924
+ appVersion: {
5925
+ __typename?: 'AppVersionMutation';
5926
+ createAppVersion: {
5927
+ __typename?: 'AppVersion';
5928
+ id: string;
5929
+ };
5930
+ };
5931
+ };
5762
5932
  export declare type CreateAndroidBuildMutationVariables = Exact<{
5763
5933
  appId: Scalars['ID'];
5764
5934
  job: AndroidJobInput;
@@ -6181,6 +6351,27 @@ export declare type DeleteWebhookMutation = {
6181
6351
  };
6182
6352
  };
6183
6353
  };
6354
+ export declare type LatestAppVersionQueryVariables = Exact<{
6355
+ appId: Scalars['String'];
6356
+ platform: AppPlatform;
6357
+ applicationIdentifier: Scalars['String'];
6358
+ }>;
6359
+ export declare type LatestAppVersionQuery = {
6360
+ __typename?: 'RootQuery';
6361
+ app: {
6362
+ __typename?: 'AppQuery';
6363
+ byId: {
6364
+ __typename?: 'App';
6365
+ id: string;
6366
+ latestAppVersionByPlatformAndApplicationIdentifier?: {
6367
+ __typename?: 'AppVersion';
6368
+ id: string;
6369
+ storeVersion: string;
6370
+ buildVersion: string;
6371
+ } | null;
6372
+ };
6373
+ };
6374
+ };
6184
6375
  export declare type ViewBranchQueryVariables = Exact<{
6185
6376
  appId: Scalars['String'];
6186
6377
  name: Scalars['String'];
@@ -6200,6 +6391,44 @@ export declare type ViewBranchQuery = {
6200
6391
  };
6201
6392
  };
6202
6393
  };
6394
+ export declare type BranchesByAppQueryVariables = Exact<{
6395
+ appId: Scalars['String'];
6396
+ limit: Scalars['Int'];
6397
+ offset: Scalars['Int'];
6398
+ }>;
6399
+ export declare type BranchesByAppQuery = {
6400
+ __typename?: 'RootQuery';
6401
+ app: {
6402
+ __typename?: 'AppQuery';
6403
+ byId: {
6404
+ __typename?: 'App';
6405
+ id: string;
6406
+ updateBranches: Array<{
6407
+ __typename?: 'UpdateBranch';
6408
+ id: string;
6409
+ name: string;
6410
+ updates: Array<{
6411
+ __typename?: 'Update';
6412
+ id: string;
6413
+ createdAt: any;
6414
+ message?: string | null;
6415
+ runtimeVersion: string;
6416
+ group: string;
6417
+ platform: string;
6418
+ actor?: {
6419
+ __typename: 'Robot';
6420
+ firstName?: string | null;
6421
+ id: string;
6422
+ } | {
6423
+ __typename: 'User';
6424
+ username: string;
6425
+ id: string;
6426
+ } | null;
6427
+ }>;
6428
+ }>;
6429
+ };
6430
+ };
6431
+ };
6203
6432
  export declare type BuildsByIdQueryVariables = Exact<{
6204
6433
  buildId: Scalars['ID'];
6205
6434
  }>;
@@ -6267,6 +6496,107 @@ export declare type BuildsByIdQuery = {
6267
6496
  };
6268
6497
  };
6269
6498
  };
6499
+ export declare type BuildsWithSubmissionsByIdQueryVariables = Exact<{
6500
+ buildId: Scalars['ID'];
6501
+ }>;
6502
+ export declare type BuildsWithSubmissionsByIdQuery = {
6503
+ __typename?: 'RootQuery';
6504
+ builds: {
6505
+ __typename?: 'BuildQuery';
6506
+ byId: {
6507
+ __typename?: 'Build';
6508
+ id: string;
6509
+ status: BuildStatus;
6510
+ platform: AppPlatform;
6511
+ channel?: string | null;
6512
+ releaseChannel?: string | null;
6513
+ distribution?: DistributionType | null;
6514
+ iosEnterpriseProvisioning?: BuildIosEnterpriseProvisioning | null;
6515
+ buildProfile?: string | null;
6516
+ sdkVersion?: string | null;
6517
+ appVersion?: string | null;
6518
+ appBuildVersion?: string | null;
6519
+ runtimeVersion?: string | null;
6520
+ gitCommitHash?: string | null;
6521
+ initialQueuePosition?: number | null;
6522
+ queuePosition?: number | null;
6523
+ estimatedWaitTimeLeftSeconds?: number | null;
6524
+ priority: BuildPriority;
6525
+ createdAt: any;
6526
+ updatedAt: any;
6527
+ submissions: Array<{
6528
+ __typename?: 'Submission';
6529
+ id: string;
6530
+ status: SubmissionStatus;
6531
+ platform: AppPlatform;
6532
+ logsUrl?: string | null;
6533
+ app: {
6534
+ __typename?: 'App';
6535
+ id: string;
6536
+ name: string;
6537
+ slug: string;
6538
+ ownerAccount: {
6539
+ __typename?: 'Account';
6540
+ id: string;
6541
+ name: string;
6542
+ };
6543
+ };
6544
+ androidConfig?: {
6545
+ __typename?: 'AndroidSubmissionConfig';
6546
+ applicationIdentifier?: string | null;
6547
+ track: SubmissionAndroidTrack;
6548
+ releaseStatus?: SubmissionAndroidReleaseStatus | null;
6549
+ } | null;
6550
+ iosConfig?: {
6551
+ __typename?: 'IosSubmissionConfig';
6552
+ ascAppIdentifier: string;
6553
+ appleIdUsername?: string | null;
6554
+ } | null;
6555
+ error?: {
6556
+ __typename?: 'SubmissionError';
6557
+ errorCode?: string | null;
6558
+ message?: string | null;
6559
+ } | null;
6560
+ }>;
6561
+ error?: {
6562
+ __typename?: 'BuildError';
6563
+ errorCode: string;
6564
+ message: string;
6565
+ docsUrl?: string | null;
6566
+ } | null;
6567
+ artifacts?: {
6568
+ __typename?: 'BuildArtifacts';
6569
+ buildUrl?: string | null;
6570
+ xcodeBuildLogsUrl?: string | null;
6571
+ } | null;
6572
+ initiatingActor?: {
6573
+ __typename: 'Robot';
6574
+ id: string;
6575
+ displayName: string;
6576
+ } | {
6577
+ __typename: 'User';
6578
+ id: string;
6579
+ displayName: string;
6580
+ } | null;
6581
+ project: {
6582
+ __typename: 'App';
6583
+ id: string;
6584
+ name: string;
6585
+ slug: string;
6586
+ ownerAccount: {
6587
+ __typename?: 'Account';
6588
+ id: string;
6589
+ name: string;
6590
+ };
6591
+ } | {
6592
+ __typename: 'Snack';
6593
+ id: string;
6594
+ name: string;
6595
+ slug: string;
6596
+ };
6597
+ };
6598
+ };
6599
+ };
6270
6600
  export declare type GetAllBuildsForAppQueryVariables = Exact<{
6271
6601
  appId: Scalars['String'];
6272
6602
  offset: Scalars['Int'];
@@ -6454,6 +6784,20 @@ export declare type GetAssetMetadataQuery = {
6454
6784
  }>;
6455
6785
  };
6456
6786
  };
6787
+ export declare type GetAssetLimitPerUpdateGroupForAppQueryVariables = Exact<{
6788
+ appId: Scalars['String'];
6789
+ }>;
6790
+ export declare type GetAssetLimitPerUpdateGroupForAppQuery = {
6791
+ __typename?: 'RootQuery';
6792
+ app: {
6793
+ __typename?: 'AppQuery';
6794
+ byId: {
6795
+ __typename?: 'App';
6796
+ id: string;
6797
+ assetLimitPerUpdateGroup: number;
6798
+ };
6799
+ };
6800
+ };
6457
6801
  export declare type SubmissionsByIdQueryVariables = Exact<{
6458
6802
  submissionId: Scalars['ID'];
6459
6803
  }>;
@@ -6551,6 +6895,7 @@ export declare type GetAllSubmissionsForAppQuery = {
6551
6895
  export declare type ViewAllUpdatesQueryVariables = Exact<{
6552
6896
  appId: Scalars['String'];
6553
6897
  limit: Scalars['Int'];
6898
+ offset: Scalars['Int'];
6554
6899
  }>;
6555
6900
  export declare type ViewAllUpdatesQuery = {
6556
6901
  __typename?: 'RootQuery';
@@ -6559,28 +6904,28 @@ export declare type ViewAllUpdatesQuery = {
6559
6904
  byId: {
6560
6905
  __typename?: 'App';
6561
6906
  id: string;
6562
- updateBranches: Array<{
6563
- __typename?: 'UpdateBranch';
6907
+ updates: Array<{
6908
+ __typename?: 'Update';
6564
6909
  id: string;
6565
- name: string;
6566
- updates: Array<{
6567
- __typename?: 'Update';
6910
+ group: string;
6911
+ message?: string | null;
6912
+ createdAt: any;
6913
+ runtimeVersion: string;
6914
+ platform: string;
6915
+ actor?: {
6916
+ __typename?: 'Robot';
6917
+ firstName?: string | null;
6568
6918
  id: string;
6569
- group: string;
6570
- message?: string | null;
6571
- createdAt: any;
6572
- runtimeVersion: string;
6573
- platform: string;
6574
- actor?: {
6575
- __typename?: 'Robot';
6576
- firstName?: string | null;
6577
- id: string;
6578
- } | {
6579
- __typename?: 'User';
6580
- username: string;
6581
- id: string;
6582
- } | null;
6583
- }>;
6919
+ } | {
6920
+ __typename?: 'User';
6921
+ username: string;
6922
+ id: string;
6923
+ } | null;
6924
+ branch: {
6925
+ __typename?: 'UpdateBranch';
6926
+ id: string;
6927
+ name: string;
6928
+ };
6584
6929
  }>;
6585
6930
  };
6586
6931
  };
@@ -6620,6 +6965,11 @@ export declare type ViewBranchUpdatesQuery = {
6620
6965
  username: string;
6621
6966
  id: string;
6622
6967
  } | null;
6968
+ branch: {
6969
+ __typename?: 'UpdateBranch';
6970
+ id: string;
6971
+ name: string;
6972
+ };
6623
6973
  }>;
6624
6974
  } | null;
6625
6975
  };
@@ -6755,6 +7105,98 @@ export declare type BuildFragment = {
6755
7105
  slug: string;
6756
7106
  };
6757
7107
  };
7108
+ export declare type BuildWithSubmissionsFragment = {
7109
+ __typename?: 'Build';
7110
+ id: string;
7111
+ status: BuildStatus;
7112
+ platform: AppPlatform;
7113
+ channel?: string | null;
7114
+ releaseChannel?: string | null;
7115
+ distribution?: DistributionType | null;
7116
+ iosEnterpriseProvisioning?: BuildIosEnterpriseProvisioning | null;
7117
+ buildProfile?: string | null;
7118
+ sdkVersion?: string | null;
7119
+ appVersion?: string | null;
7120
+ appBuildVersion?: string | null;
7121
+ runtimeVersion?: string | null;
7122
+ gitCommitHash?: string | null;
7123
+ initialQueuePosition?: number | null;
7124
+ queuePosition?: number | null;
7125
+ estimatedWaitTimeLeftSeconds?: number | null;
7126
+ priority: BuildPriority;
7127
+ createdAt: any;
7128
+ updatedAt: any;
7129
+ submissions: Array<{
7130
+ __typename?: 'Submission';
7131
+ id: string;
7132
+ status: SubmissionStatus;
7133
+ platform: AppPlatform;
7134
+ logsUrl?: string | null;
7135
+ app: {
7136
+ __typename?: 'App';
7137
+ id: string;
7138
+ name: string;
7139
+ slug: string;
7140
+ ownerAccount: {
7141
+ __typename?: 'Account';
7142
+ id: string;
7143
+ name: string;
7144
+ };
7145
+ };
7146
+ androidConfig?: {
7147
+ __typename?: 'AndroidSubmissionConfig';
7148
+ applicationIdentifier?: string | null;
7149
+ track: SubmissionAndroidTrack;
7150
+ releaseStatus?: SubmissionAndroidReleaseStatus | null;
7151
+ } | null;
7152
+ iosConfig?: {
7153
+ __typename?: 'IosSubmissionConfig';
7154
+ ascAppIdentifier: string;
7155
+ appleIdUsername?: string | null;
7156
+ } | null;
7157
+ error?: {
7158
+ __typename?: 'SubmissionError';
7159
+ errorCode?: string | null;
7160
+ message?: string | null;
7161
+ } | null;
7162
+ }>;
7163
+ error?: {
7164
+ __typename?: 'BuildError';
7165
+ errorCode: string;
7166
+ message: string;
7167
+ docsUrl?: string | null;
7168
+ } | null;
7169
+ artifacts?: {
7170
+ __typename?: 'BuildArtifacts';
7171
+ buildUrl?: string | null;
7172
+ xcodeBuildLogsUrl?: string | null;
7173
+ } | null;
7174
+ initiatingActor?: {
7175
+ __typename: 'Robot';
7176
+ id: string;
7177
+ displayName: string;
7178
+ } | {
7179
+ __typename: 'User';
7180
+ id: string;
7181
+ displayName: string;
7182
+ } | null;
7183
+ project: {
7184
+ __typename: 'App';
7185
+ id: string;
7186
+ name: string;
7187
+ slug: string;
7188
+ ownerAccount: {
7189
+ __typename?: 'Account';
7190
+ id: string;
7191
+ name: string;
7192
+ };
7193
+ } | {
7194
+ __typename: 'Snack';
7195
+ id: string;
7196
+ name: string;
7197
+ slug: string;
7198
+ };
7199
+ };
6758
7200
  export declare type EnvironmentSecretFragment = {
6759
7201
  __typename?: 'EnvironmentSecret';
6760
7202
  id: string;