eas-cli 0.56.0 → 0.59.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 (93) hide show
  1. package/README.md +98 -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 +11 -0
  10. package/build/build/android/version.js +71 -1
  11. package/build/build/build.js +1 -1
  12. package/build/build/context.d.ts +5 -0
  13. package/build/build/createContext.d.ts +3 -1
  14. package/build/build/createContext.js +8 -1
  15. package/build/build/ios/build.js +17 -1
  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 +3 -4
  19. package/build/build/ios/syncProjectConfiguration.js +2 -3
  20. package/build/build/ios/version.d.ts +13 -0
  21. package/build/build/ios/version.js +72 -1
  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 +24 -3
  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 +0 -1
  39. package/build/commands/build/version/set.js +2 -3
  40. package/build/commands/build/version/sync.d.ts +0 -1
  41. package/build/commands/build/version/sync.js +2 -3
  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 +22 -6
  45. package/build/commands/update/list.js +13 -18
  46. package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +2 -2
  47. package/build/devices/actions/create/action.d.ts +5 -2
  48. package/build/devices/actions/create/action.js +12 -2
  49. package/build/devices/actions/create/developerPortalMethod.d.ts +6 -0
  50. package/build/devices/actions/create/developerPortalMethod.js +90 -0
  51. package/build/devices/manager.js +4 -4
  52. package/build/graphql/generated.d.ts +424 -61
  53. package/build/graphql/generated.js +9 -1
  54. package/build/graphql/mutations/PublishMutation.d.ts +2 -4
  55. package/build/graphql/queries/BranchQuery.d.ts +2 -1
  56. package/build/graphql/queries/BranchQuery.js +26 -0
  57. package/build/graphql/queries/BuildQuery.d.ts +4 -1
  58. package/build/graphql/queries/BuildQuery.js +19 -0
  59. package/build/graphql/queries/PublishQuery.d.ts +2 -1
  60. package/build/graphql/queries/PublishQuery.js +16 -0
  61. package/build/graphql/queries/UpdateQuery.d.ts +6 -8
  62. package/build/graphql/queries/UpdateQuery.js +27 -23
  63. package/build/graphql/types/Build.d.ts +1 -0
  64. package/build/graphql/types/Build.js +16 -1
  65. package/build/metadata/apple/config/reader.d.ts +3 -2
  66. package/build/metadata/apple/config/reader.js +22 -5
  67. package/build/metadata/apple/config/writer.d.ts +3 -2
  68. package/build/metadata/apple/config/writer.js +22 -6
  69. package/build/metadata/apple/tasks/app-version.d.ts +5 -1
  70. package/build/metadata/apple/tasks/app-version.js +109 -8
  71. package/build/metadata/apple/tasks/index.d.ts +6 -1
  72. package/build/metadata/apple/tasks/index.js +7 -2
  73. package/build/metadata/apple/types.d.ts +3 -7
  74. package/build/metadata/upload.js +6 -1
  75. package/build/project/publish.d.ts +3 -1
  76. package/build/project/publish.js +17 -8
  77. package/build/project/remoteVersionSource.d.ts +5 -3
  78. package/build/project/remoteVersionSource.js +18 -9
  79. package/build/submit/submit.d.ts +2 -1
  80. package/build/submit/submit.js +3 -2
  81. package/build/update/queries.d.ts +3 -0
  82. package/build/update/queries.js +72 -0
  83. package/build/update/utils.d.ts +14 -0
  84. package/build/update/utils.js +26 -9
  85. package/build/utils/expodash/chunk.d.ts +1 -0
  86. package/build/utils/expodash/chunk.js +16 -0
  87. package/build/utils/queries.d.ts +25 -0
  88. package/build/utils/queries.js +67 -0
  89. package/build/vcs/clients/gitNoCommit.d.ts +1 -0
  90. package/build/vcs/clients/gitNoCommit.js +14 -0
  91. package/oclif.manifest.json +1 -1
  92. package/package.json +27 -25
  93. package/schema/metadata-0.json +38 -233
@@ -24,13 +24,9 @@ export declare type Scalars = {
24
24
  Boolean: boolean;
25
25
  Int: number;
26
26
  Float: number;
27
- /** Date custom scalar type */
28
27
  DateTime: any;
29
- /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
30
28
  JSON: any;
31
- /** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
32
29
  JSONObject: any;
33
- /** The `Upload` scalar type represents a file upload. */
34
30
  Upload: any;
35
31
  };
36
32
  export declare type AcceptUserInvitationResult = {
@@ -120,6 +116,8 @@ export declare type Account = {
120
116
  requiresAccessTokenForPushSecurity: Scalars['Boolean'];
121
117
  /** Snacks associated with this account */
122
118
  snacks: Array<Snack>;
119
+ /** SSO configuration for this account */
120
+ ssoConfiguration?: Maybe<AccountSsoConfiguration>;
123
121
  /** Subscription info visible to members that have VIEWER role */
124
122
  subscription?: Maybe<SubscriptionDetails>;
125
123
  /** @deprecated No longer needed */
@@ -334,6 +332,77 @@ export declare type AccountQueryByIdArgs = {
334
332
  export declare type AccountQueryByNameArgs = {
335
333
  accountName: Scalars['String'];
336
334
  };
335
+ /** Auth configuration data for an SSO account. */
336
+ export declare type AccountSsoConfiguration = {
337
+ __typename?: 'AccountSSOConfiguration';
338
+ authEndpoint?: Maybe<Scalars['String']>;
339
+ authProtocol: AuthProtocolType;
340
+ authProviderIdentifier: Scalars['String'];
341
+ clientIdentifier: Scalars['String'];
342
+ clientSecret: Scalars['String'];
343
+ createdAt: Scalars['DateTime'];
344
+ id: Scalars['ID'];
345
+ issuer?: Maybe<Scalars['String']>;
346
+ jwksEndpoint?: Maybe<Scalars['String']>;
347
+ redirectUri: Scalars['String'];
348
+ tokenEndpoint?: Maybe<Scalars['String']>;
349
+ updatedAt: Scalars['DateTime'];
350
+ userInfoEndpoint?: Maybe<Scalars['String']>;
351
+ };
352
+ export declare type AccountSsoConfigurationData = {
353
+ authEndpoint?: InputMaybe<Scalars['String']>;
354
+ authProtocol: AuthProtocolType;
355
+ authProviderIdentifier: Scalars['String'];
356
+ clientIdentifier: Scalars['String'];
357
+ clientSecret: Scalars['String'];
358
+ issuer?: InputMaybe<Scalars['String']>;
359
+ jwksEndpoint?: InputMaybe<Scalars['String']>;
360
+ redirectUri: Scalars['String'];
361
+ tokenEndpoint?: InputMaybe<Scalars['String']>;
362
+ userInfoEndpoint?: InputMaybe<Scalars['String']>;
363
+ };
364
+ export declare type AccountSsoConfigurationMutation = {
365
+ __typename?: 'AccountSSOConfigurationMutation';
366
+ /** Create an AccountSSOConfiguration for an Account */
367
+ createAccountSSOConfiguration: AccountSsoConfiguration;
368
+ /** Delete an AccountSSOConfiguration */
369
+ deleteAccountSSOConfiguration: DeleteAccountSsoConfigurationResult;
370
+ /** Update an AccountSSOConfiguration */
371
+ updateAccountSSOConfiguration: AccountSsoConfiguration;
372
+ };
373
+ export declare type AccountSsoConfigurationMutationCreateAccountSsoConfigurationArgs = {
374
+ accountId: Scalars['ID'];
375
+ accountSSOConfigurationData: AccountSsoConfigurationData;
376
+ };
377
+ export declare type AccountSsoConfigurationMutationDeleteAccountSsoConfigurationArgs = {
378
+ id: Scalars['ID'];
379
+ };
380
+ export declare type AccountSsoConfigurationMutationUpdateAccountSsoConfigurationArgs = {
381
+ accountSSOConfigurationData: AccountSsoConfigurationData;
382
+ id: Scalars['ID'];
383
+ };
384
+ /** Public auth configuration data for an SSO account. */
385
+ export declare type AccountSsoConfigurationPublicData = {
386
+ __typename?: 'AccountSSOConfigurationPublicData';
387
+ authEndpoint?: Maybe<Scalars['String']>;
388
+ authProtocol: AuthProtocolType;
389
+ authProviderIdentifier: Scalars['String'];
390
+ clientIdentifier: Scalars['String'];
391
+ id: Scalars['ID'];
392
+ issuer?: Maybe<Scalars['String']>;
393
+ jwksEndpoint?: Maybe<Scalars['String']>;
394
+ redirectUri: Scalars['String'];
395
+ tokenEndpoint?: Maybe<Scalars['String']>;
396
+ userInfoEndpoint?: Maybe<Scalars['String']>;
397
+ };
398
+ export declare type AccountSsoConfigurationPublicDataQuery = {
399
+ __typename?: 'AccountSSOConfigurationPublicDataQuery';
400
+ /** Get AccountSSOConfiguration public data by account name */
401
+ publicDataByAccountName: AccountSsoConfigurationPublicData;
402
+ };
403
+ export declare type AccountSsoConfigurationPublicDataQueryPublicDataByAccountNameArgs = {
404
+ accountName: Scalars['String'];
405
+ };
337
406
  export declare type AccountUsageMetric = {
338
407
  __typename?: 'AccountUsageMetric';
339
408
  id: Scalars['ID'];
@@ -362,6 +431,7 @@ export declare type AccountUsageMetricsByBillingPeriodArgs = {
362
431
  date: Scalars['DateTime'];
363
432
  };
364
433
  export declare type AccountUsageMetricsMetricsForServiceMetricArgs = {
434
+ filterParams?: InputMaybe<Scalars['JSONObject']>;
365
435
  granularity: UsageMetricsGranularity;
366
436
  serviceMetric: EasServiceMetric;
367
437
  timespan: UsageMetricsTimespan;
@@ -596,6 +666,7 @@ export declare type AndroidJobInput = {
596
666
  type: BuildWorkflow;
597
667
  updates?: InputMaybe<BuildUpdatesInput>;
598
668
  username?: InputMaybe<Scalars['String']>;
669
+ version?: InputMaybe<AndroidJobVersionInput>;
599
670
  };
600
671
  export declare type AndroidJobKeystoreInput = {
601
672
  dataBase64: Scalars['String'];
@@ -607,6 +678,9 @@ export declare type AndroidJobSecretsInput = {
607
678
  buildCredentials?: InputMaybe<AndroidJobBuildCredentialsInput>;
608
679
  environmentSecrets?: InputMaybe<Scalars['JSONObject']>;
609
680
  };
681
+ export declare type AndroidJobVersionInput = {
682
+ versionCode: Scalars['String'];
683
+ };
610
684
  export declare type AndroidKeystore = {
611
685
  __typename?: 'AndroidKeystore';
612
686
  account: Account;
@@ -677,6 +751,7 @@ export declare type App = Project & {
677
751
  androidAppCredentials: Array<AndroidAppCredentials>;
678
752
  /** ios.appStoreUrl field from most recent classic update manifest */
679
753
  appStoreUrl?: Maybe<Scalars['String']>;
754
+ assetLimitPerUpdateGroup: Scalars['Int'];
680
755
  buildJobs: Array<BuildJob>;
681
756
  /**
682
757
  * Coalesced Build (EAS) or BuildJob (Classic) items for this app.
@@ -1325,6 +1400,9 @@ export declare type AssetQuery = {
1325
1400
  export declare type AssetQueryMetadataArgs = {
1326
1401
  storageKeys: Array<Scalars['String']>;
1327
1402
  };
1403
+ export declare enum AuthProtocolType {
1404
+ Oidc = "OIDC"
1405
+ }
1328
1406
  export declare type Billing = {
1329
1407
  __typename?: 'Billing';
1330
1408
  /** History of invoices */
@@ -1351,6 +1429,7 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
1351
1429
  canRetry: Scalars['Boolean'];
1352
1430
  cancelingActor?: Maybe<Actor>;
1353
1431
  channel?: Maybe<Scalars['String']>;
1432
+ childBuild?: Maybe<Build>;
1354
1433
  completedAt?: Maybe<Scalars['DateTime']>;
1355
1434
  createdAt: Scalars['DateTime'];
1356
1435
  distribution?: Maybe<DistributionType>;
@@ -1359,6 +1438,7 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
1359
1438
  estimatedWaitTimeLeftSeconds?: Maybe<Scalars['Int']>;
1360
1439
  expirationDate?: Maybe<Scalars['DateTime']>;
1361
1440
  gitCommitHash?: Maybe<Scalars['String']>;
1441
+ gitCommitMessage?: Maybe<Scalars['String']>;
1362
1442
  id: Scalars['ID'];
1363
1443
  /** Queue position is 1-indexed */
1364
1444
  initialQueuePosition?: Maybe<Scalars['Int']>;
@@ -1369,6 +1449,9 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
1369
1449
  isGitWorkingTreeDirty?: Maybe<Scalars['Boolean']>;
1370
1450
  logFiles: Array<Scalars['String']>;
1371
1451
  maxBuildTimeSeconds: Scalars['Int'];
1452
+ /** Retry time starts after completedAt */
1453
+ maxRetryTimeMinutes: Scalars['Int'];
1454
+ message?: Maybe<Scalars['String']>;
1372
1455
  metrics?: Maybe<BuildMetrics>;
1373
1456
  parentBuild?: Maybe<Build>;
1374
1457
  platform: AppPlatform;
@@ -1380,6 +1463,7 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
1380
1463
  reactNativeVersion?: Maybe<Scalars['String']>;
1381
1464
  releaseChannel?: Maybe<Scalars['String']>;
1382
1465
  resourceClass?: Maybe<BuildResourceClass>;
1466
+ runFromCI?: Maybe<Scalars['Boolean']>;
1383
1467
  runtimeVersion?: Maybe<Scalars['String']>;
1384
1468
  sdkVersion?: Maybe<Scalars['String']>;
1385
1469
  status: BuildStatus;
@@ -1506,10 +1590,14 @@ export declare type BuildMetadataInput = {
1506
1590
  credentialsSource?: InputMaybe<BuildCredentialsSource>;
1507
1591
  distribution?: InputMaybe<DistributionType>;
1508
1592
  gitCommitHash?: InputMaybe<Scalars['String']>;
1593
+ gitCommitMessage?: InputMaybe<Scalars['String']>;
1509
1594
  iosEnterpriseProvisioning?: InputMaybe<BuildIosEnterpriseProvisioning>;
1510
1595
  isGitWorkingTreeDirty?: InputMaybe<Scalars['Boolean']>;
1596
+ message?: InputMaybe<Scalars['String']>;
1511
1597
  reactNativeVersion?: InputMaybe<Scalars['String']>;
1512
1598
  releaseChannel?: InputMaybe<Scalars['String']>;
1599
+ runFromCI?: InputMaybe<Scalars['Boolean']>;
1600
+ runWithNoWaitFlag?: InputMaybe<Scalars['Boolean']>;
1513
1601
  runtimeVersion?: InputMaybe<Scalars['String']>;
1514
1602
  sdkVersion?: InputMaybe<Scalars['String']>;
1515
1603
  trackingContext?: InputMaybe<Scalars['JSONObject']>;
@@ -1733,6 +1821,11 @@ export declare type CreateIosSubmissionInput = {
1733
1821
  config: IosSubmissionConfigInput;
1734
1822
  submittedBuildId?: InputMaybe<Scalars['ID']>;
1735
1823
  };
1824
+ export declare type CreateServerlessFunctionUploadUrlResult = {
1825
+ __typename?: 'CreateServerlessFunctionUploadUrlResult';
1826
+ formDataFields: Scalars['JSONObject'];
1827
+ url: Scalars['String'];
1828
+ };
1736
1829
  export declare type CreateSubmissionResult = {
1737
1830
  __typename?: 'CreateSubmissionResult';
1738
1831
  /** Created submission */
@@ -1746,6 +1839,10 @@ export declare type DeleteAccountResult = {
1746
1839
  __typename?: 'DeleteAccountResult';
1747
1840
  id: Scalars['ID'];
1748
1841
  };
1842
+ export declare type DeleteAccountSsoConfigurationResult = {
1843
+ __typename?: 'DeleteAccountSSOConfigurationResult';
1844
+ id: Scalars['ID'];
1845
+ };
1749
1846
  export declare type DeleteAndroidKeystoreResult = {
1750
1847
  __typename?: 'DeleteAndroidKeystoreResult';
1751
1848
  id: Scalars['ID'];
@@ -1825,7 +1922,9 @@ export declare enum EasBuildDeprecationInfoType {
1825
1922
  export declare enum EasServiceMetric {
1826
1923
  AssetsRequests = "ASSETS_REQUESTS",
1827
1924
  BandwidthUsage = "BANDWIDTH_USAGE",
1925
+ Builds = "BUILDS",
1828
1926
  ManifestRequests = "MANIFEST_REQUESTS",
1927
+ UniqueUpdaters = "UNIQUE_UPDATERS",
1829
1928
  UniqueUsers = "UNIQUE_USERS"
1830
1929
  }
1831
1930
  export declare type EditUpdateBranchInput = {
@@ -1900,6 +1999,14 @@ export declare enum Feature {
1900
1999
  /** Share access to projects */
1901
2000
  Teams = "TEAMS"
1902
2001
  }
2002
+ export declare type FutureSubscription = {
2003
+ __typename?: 'FutureSubscription';
2004
+ createdAt: Scalars['DateTime'];
2005
+ id: Scalars['ID'];
2006
+ meteredBillingStatus: MeteredBillingStatus;
2007
+ planId: Scalars['String'];
2008
+ startDate: Scalars['DateTime'];
2009
+ };
1903
2010
  export declare type GetSignedAssetUploadSpecificationsResult = {
1904
2011
  __typename?: 'GetSignedAssetUploadSpecificationsResult';
1905
2012
  specifications: Array<Scalars['String']>;
@@ -2127,6 +2234,7 @@ export declare type IosJobInput = {
2127
2234
  type: BuildWorkflow;
2128
2235
  updates?: InputMaybe<BuildUpdatesInput>;
2129
2236
  username?: InputMaybe<Scalars['String']>;
2237
+ version?: InputMaybe<IosJobVersionInput>;
2130
2238
  };
2131
2239
  export declare type IosJobSecretsInput = {
2132
2240
  buildCredentials?: InputMaybe<Array<InputMaybe<IosJobTargetCredentialsInput>>>;
@@ -2137,6 +2245,9 @@ export declare type IosJobTargetCredentialsInput = {
2137
2245
  provisioningProfileBase64: Scalars['String'];
2138
2246
  targetName: Scalars['String'];
2139
2247
  };
2248
+ export declare type IosJobVersionInput = {
2249
+ buildNumber: Scalars['String'];
2250
+ };
2140
2251
  /** @deprecated Use developmentClient option instead. */
2141
2252
  export declare enum IosManagedBuildType {
2142
2253
  DevelopmentClient = "DEVELOPMENT_CLIENT",
@@ -2275,6 +2386,10 @@ export declare type MeMutationUpdateAppArgs = {
2275
2386
  export declare type MeMutationUpdateProfileArgs = {
2276
2387
  userData: UserDataInput;
2277
2388
  };
2389
+ export declare type MeteredBillingStatus = {
2390
+ __typename?: 'MeteredBillingStatus';
2391
+ EAS_UPDATE: Scalars['Boolean'];
2392
+ };
2278
2393
  export declare type Offer = {
2279
2394
  __typename?: 'Offer';
2280
2395
  features?: Maybe<Array<Maybe<Feature>>>;
@@ -2457,6 +2572,8 @@ export declare type RootMutation = {
2457
2572
  accessToken: AccessTokenMutation;
2458
2573
  /** Mutations that modify an Account */
2459
2574
  account: AccountMutation;
2575
+ /** Mutations that create, update, and delete an AccountSSOConfiguration */
2576
+ accountSSOConfiguration: AccountSsoConfigurationMutation;
2460
2577
  /** Mutations that modify the build credentials for an Android app */
2461
2578
  androidAppBuildCredentials: AndroidAppBuildCredentialsMutation;
2462
2579
  /** Mutations that modify the credentials for an Android app */
@@ -2505,6 +2622,7 @@ export declare type RootMutation = {
2505
2622
  me: MeMutation;
2506
2623
  /** Mutations that create, update, and delete Robots */
2507
2624
  robot: RobotMutation;
2625
+ serverlessFunction: ServerlessFunctionMutation;
2508
2626
  /** Mutations that modify an EAS Submit submission */
2509
2627
  submission: SubmissionMutation;
2510
2628
  update: UpdateMutation;
@@ -2537,6 +2655,8 @@ export declare type RootQuery = {
2537
2655
  _doNotUse?: Maybe<Scalars['String']>;
2538
2656
  /** Top-level query object for querying Accounts. */
2539
2657
  account: AccountQuery;
2658
+ /** Top-level query object for querying AccountSSOConfigurationPublicData */
2659
+ accountSSOConfigurationPublicData: AccountSsoConfigurationPublicDataQuery;
2540
2660
  /** Top-level query object for querying Actors. */
2541
2661
  actor: ActorQuery;
2542
2662
  /**
@@ -2644,6 +2764,17 @@ export declare type SecondFactorRegenerateBackupCodesResult = {
2644
2764
  __typename?: 'SecondFactorRegenerateBackupCodesResult';
2645
2765
  plaintextBackupCodes: Array<Scalars['String']>;
2646
2766
  };
2767
+ export declare type ServerlessFunctionIdentifierInput = {
2768
+ gitCommitSHA1: Scalars['String'];
2769
+ };
2770
+ export declare type ServerlessFunctionMutation = {
2771
+ __typename?: 'ServerlessFunctionMutation';
2772
+ createUploadPresignedUrl: CreateServerlessFunctionUploadUrlResult;
2773
+ };
2774
+ export declare type ServerlessFunctionMutationCreateUploadPresignedUrlArgs = {
2775
+ appId: Scalars['ID'];
2776
+ serverlessFunctionIdentifierInput: ServerlessFunctionIdentifierInput;
2777
+ };
2647
2778
  export declare type Snack = Project & {
2648
2779
  __typename?: 'Snack';
2649
2780
  /** Description of the Snack */
@@ -2696,6 +2827,15 @@ export declare enum StandardOffer {
2696
2827
  /** $348 USD per year, 30 day trial */
2697
2828
  YearlySub = "YEARLY_SUB"
2698
2829
  }
2830
+ export declare type StripeCoupon = {
2831
+ __typename?: 'StripeCoupon';
2832
+ amountOff?: Maybe<Scalars['String']>;
2833
+ appliesTo?: Maybe<Scalars['String']>;
2834
+ id: Scalars['ID'];
2835
+ name: Scalars['String'];
2836
+ percentOff?: Maybe<Scalars['Float']>;
2837
+ valid: Scalars['Boolean'];
2838
+ };
2699
2839
  /** Represents an EAS Submission */
2700
2840
  export declare type Submission = ActivityTimelineProjectActivity & {
2701
2841
  __typename?: 'Submission';
@@ -2706,12 +2846,16 @@ export declare type Submission = ActivityTimelineProjectActivity & {
2706
2846
  archiveUrl?: Maybe<Scalars['String']>;
2707
2847
  canRetry: Scalars['Boolean'];
2708
2848
  cancelingActor?: Maybe<Actor>;
2849
+ childSubmission?: Maybe<Submission>;
2850
+ completedAt?: Maybe<Scalars['DateTime']>;
2709
2851
  createdAt: Scalars['DateTime'];
2710
2852
  error?: Maybe<SubmissionError>;
2711
2853
  id: Scalars['ID'];
2712
2854
  initiatingActor?: Maybe<Actor>;
2713
2855
  iosConfig?: Maybe<IosSubmissionConfig>;
2714
2856
  logsUrl?: Maybe<Scalars['String']>;
2857
+ /** Retry time starts after completedAt */
2858
+ maxRetryTimeMinutes: Scalars['Int'];
2715
2859
  parentSubmission?: Maybe<Submission>;
2716
2860
  platform: AppPlatform;
2717
2861
  status: SubmissionStatus;
@@ -2787,9 +2931,12 @@ export declare type SubscriptionDetails = {
2787
2931
  addons: Array<AddonDetails>;
2788
2932
  cancelledAt?: Maybe<Scalars['DateTime']>;
2789
2933
  concurrencies?: Maybe<Concurrencies>;
2934
+ coupon?: Maybe<StripeCoupon>;
2790
2935
  endedAt?: Maybe<Scalars['DateTime']>;
2936
+ futureSubscription?: Maybe<FutureSubscription>;
2791
2937
  id: Scalars['ID'];
2792
2938
  isDowngrading?: Maybe<Scalars['Boolean']>;
2939
+ meteredBillingStatus: MeteredBillingStatus;
2793
2940
  name?: Maybe<Scalars['String']>;
2794
2941
  nextInvoice?: Maybe<Scalars['DateTime']>;
2795
2942
  planId?: Maybe<Scalars['String']>;
@@ -2948,7 +3095,9 @@ export declare type UsageMetricTotal = {
2948
3095
  };
2949
3096
  export declare enum UsageMetricType {
2950
3097
  Bandwidth = "BANDWIDTH",
3098
+ Build = "BUILD",
2951
3099
  Request = "REQUEST",
3100
+ Update = "UPDATE",
2952
3101
  User = "USER"
2953
3102
  }
2954
3103
  export declare enum UsageMetricsGranularity {
@@ -3285,43 +3434,6 @@ export declare type DeleteUpdateBranchMutation = {
3285
3434
  };
3286
3435
  };
3287
3436
  };
3288
- export declare type BranchesByAppQueryVariables = Exact<{
3289
- appId: Scalars['String'];
3290
- limit: Scalars['Int'];
3291
- }>;
3292
- export declare type BranchesByAppQuery = {
3293
- __typename?: 'RootQuery';
3294
- app: {
3295
- __typename?: 'AppQuery';
3296
- byId: {
3297
- __typename?: 'App';
3298
- id: string;
3299
- updateBranches: Array<{
3300
- __typename?: 'UpdateBranch';
3301
- id: string;
3302
- name: string;
3303
- updates: Array<{
3304
- __typename?: 'Update';
3305
- id: string;
3306
- createdAt: any;
3307
- message?: string | null;
3308
- runtimeVersion: string;
3309
- group: string;
3310
- platform: string;
3311
- actor?: {
3312
- __typename: 'Robot';
3313
- firstName?: string | null;
3314
- id: string;
3315
- } | {
3316
- __typename: 'User';
3317
- username: string;
3318
- id: string;
3319
- } | null;
3320
- }>;
3321
- }>;
3322
- };
3323
- };
3324
- };
3325
3437
  export declare type EditUpdateBranchMutationVariables = Exact<{
3326
3438
  input: EditUpdateBranchInput;
3327
3439
  }>;
@@ -6285,6 +6397,44 @@ export declare type ViewBranchQuery = {
6285
6397
  };
6286
6398
  };
6287
6399
  };
6400
+ export declare type BranchesByAppQueryVariables = Exact<{
6401
+ appId: Scalars['String'];
6402
+ limit: Scalars['Int'];
6403
+ offset: Scalars['Int'];
6404
+ }>;
6405
+ export declare type BranchesByAppQuery = {
6406
+ __typename?: 'RootQuery';
6407
+ app: {
6408
+ __typename?: 'AppQuery';
6409
+ byId: {
6410
+ __typename?: 'App';
6411
+ id: string;
6412
+ updateBranches: Array<{
6413
+ __typename?: 'UpdateBranch';
6414
+ id: string;
6415
+ name: string;
6416
+ updates: Array<{
6417
+ __typename?: 'Update';
6418
+ id: string;
6419
+ createdAt: any;
6420
+ message?: string | null;
6421
+ runtimeVersion: string;
6422
+ group: string;
6423
+ platform: string;
6424
+ actor?: {
6425
+ __typename: 'Robot';
6426
+ firstName?: string | null;
6427
+ id: string;
6428
+ } | {
6429
+ __typename: 'User';
6430
+ username: string;
6431
+ id: string;
6432
+ } | null;
6433
+ }>;
6434
+ }>;
6435
+ };
6436
+ };
6437
+ };
6288
6438
  export declare type BuildsByIdQueryVariables = Exact<{
6289
6439
  buildId: Scalars['ID'];
6290
6440
  }>;
@@ -6352,6 +6502,107 @@ export declare type BuildsByIdQuery = {
6352
6502
  };
6353
6503
  };
6354
6504
  };
6505
+ export declare type BuildsWithSubmissionsByIdQueryVariables = Exact<{
6506
+ buildId: Scalars['ID'];
6507
+ }>;
6508
+ export declare type BuildsWithSubmissionsByIdQuery = {
6509
+ __typename?: 'RootQuery';
6510
+ builds: {
6511
+ __typename?: 'BuildQuery';
6512
+ byId: {
6513
+ __typename?: 'Build';
6514
+ id: string;
6515
+ status: BuildStatus;
6516
+ platform: AppPlatform;
6517
+ channel?: string | null;
6518
+ releaseChannel?: string | null;
6519
+ distribution?: DistributionType | null;
6520
+ iosEnterpriseProvisioning?: BuildIosEnterpriseProvisioning | null;
6521
+ buildProfile?: string | null;
6522
+ sdkVersion?: string | null;
6523
+ appVersion?: string | null;
6524
+ appBuildVersion?: string | null;
6525
+ runtimeVersion?: string | null;
6526
+ gitCommitHash?: string | null;
6527
+ initialQueuePosition?: number | null;
6528
+ queuePosition?: number | null;
6529
+ estimatedWaitTimeLeftSeconds?: number | null;
6530
+ priority: BuildPriority;
6531
+ createdAt: any;
6532
+ updatedAt: any;
6533
+ submissions: Array<{
6534
+ __typename?: 'Submission';
6535
+ id: string;
6536
+ status: SubmissionStatus;
6537
+ platform: AppPlatform;
6538
+ logsUrl?: string | null;
6539
+ app: {
6540
+ __typename?: 'App';
6541
+ id: string;
6542
+ name: string;
6543
+ slug: string;
6544
+ ownerAccount: {
6545
+ __typename?: 'Account';
6546
+ id: string;
6547
+ name: string;
6548
+ };
6549
+ };
6550
+ androidConfig?: {
6551
+ __typename?: 'AndroidSubmissionConfig';
6552
+ applicationIdentifier?: string | null;
6553
+ track: SubmissionAndroidTrack;
6554
+ releaseStatus?: SubmissionAndroidReleaseStatus | null;
6555
+ } | null;
6556
+ iosConfig?: {
6557
+ __typename?: 'IosSubmissionConfig';
6558
+ ascAppIdentifier: string;
6559
+ appleIdUsername?: string | null;
6560
+ } | null;
6561
+ error?: {
6562
+ __typename?: 'SubmissionError';
6563
+ errorCode?: string | null;
6564
+ message?: string | null;
6565
+ } | null;
6566
+ }>;
6567
+ error?: {
6568
+ __typename?: 'BuildError';
6569
+ errorCode: string;
6570
+ message: string;
6571
+ docsUrl?: string | null;
6572
+ } | null;
6573
+ artifacts?: {
6574
+ __typename?: 'BuildArtifacts';
6575
+ buildUrl?: string | null;
6576
+ xcodeBuildLogsUrl?: string | null;
6577
+ } | null;
6578
+ initiatingActor?: {
6579
+ __typename: 'Robot';
6580
+ id: string;
6581
+ displayName: string;
6582
+ } | {
6583
+ __typename: 'User';
6584
+ id: string;
6585
+ displayName: string;
6586
+ } | null;
6587
+ project: {
6588
+ __typename: 'App';
6589
+ id: string;
6590
+ name: string;
6591
+ slug: string;
6592
+ ownerAccount: {
6593
+ __typename?: 'Account';
6594
+ id: string;
6595
+ name: string;
6596
+ };
6597
+ } | {
6598
+ __typename: 'Snack';
6599
+ id: string;
6600
+ name: string;
6601
+ slug: string;
6602
+ };
6603
+ };
6604
+ };
6605
+ };
6355
6606
  export declare type GetAllBuildsForAppQueryVariables = Exact<{
6356
6607
  appId: Scalars['String'];
6357
6608
  offset: Scalars['Int'];
@@ -6539,6 +6790,20 @@ export declare type GetAssetMetadataQuery = {
6539
6790
  }>;
6540
6791
  };
6541
6792
  };
6793
+ export declare type GetAssetLimitPerUpdateGroupForAppQueryVariables = Exact<{
6794
+ appId: Scalars['String'];
6795
+ }>;
6796
+ export declare type GetAssetLimitPerUpdateGroupForAppQuery = {
6797
+ __typename?: 'RootQuery';
6798
+ app: {
6799
+ __typename?: 'AppQuery';
6800
+ byId: {
6801
+ __typename?: 'App';
6802
+ id: string;
6803
+ assetLimitPerUpdateGroup: number;
6804
+ };
6805
+ };
6806
+ };
6542
6807
  export declare type SubmissionsByIdQueryVariables = Exact<{
6543
6808
  submissionId: Scalars['ID'];
6544
6809
  }>;
@@ -6636,6 +6901,7 @@ export declare type GetAllSubmissionsForAppQuery = {
6636
6901
  export declare type ViewAllUpdatesQueryVariables = Exact<{
6637
6902
  appId: Scalars['String'];
6638
6903
  limit: Scalars['Int'];
6904
+ offset: Scalars['Int'];
6639
6905
  }>;
6640
6906
  export declare type ViewAllUpdatesQuery = {
6641
6907
  __typename?: 'RootQuery';
@@ -6644,28 +6910,28 @@ export declare type ViewAllUpdatesQuery = {
6644
6910
  byId: {
6645
6911
  __typename?: 'App';
6646
6912
  id: string;
6647
- updateBranches: Array<{
6648
- __typename?: 'UpdateBranch';
6913
+ updates: Array<{
6914
+ __typename?: 'Update';
6649
6915
  id: string;
6650
- name: string;
6651
- updates: Array<{
6652
- __typename?: 'Update';
6916
+ group: string;
6917
+ message?: string | null;
6918
+ createdAt: any;
6919
+ runtimeVersion: string;
6920
+ platform: string;
6921
+ actor?: {
6922
+ __typename?: 'Robot';
6923
+ firstName?: string | null;
6653
6924
  id: string;
6654
- group: string;
6655
- message?: string | null;
6656
- createdAt: any;
6657
- runtimeVersion: string;
6658
- platform: string;
6659
- actor?: {
6660
- __typename?: 'Robot';
6661
- firstName?: string | null;
6662
- id: string;
6663
- } | {
6664
- __typename?: 'User';
6665
- username: string;
6666
- id: string;
6667
- } | null;
6668
- }>;
6925
+ } | {
6926
+ __typename?: 'User';
6927
+ username: string;
6928
+ id: string;
6929
+ } | null;
6930
+ branch: {
6931
+ __typename?: 'UpdateBranch';
6932
+ id: string;
6933
+ name: string;
6934
+ };
6669
6935
  }>;
6670
6936
  };
6671
6937
  };
@@ -6705,6 +6971,11 @@ export declare type ViewBranchUpdatesQuery = {
6705
6971
  username: string;
6706
6972
  id: string;
6707
6973
  } | null;
6974
+ branch: {
6975
+ __typename?: 'UpdateBranch';
6976
+ id: string;
6977
+ name: string;
6978
+ };
6708
6979
  }>;
6709
6980
  } | null;
6710
6981
  };
@@ -6840,6 +7111,98 @@ export declare type BuildFragment = {
6840
7111
  slug: string;
6841
7112
  };
6842
7113
  };
7114
+ export declare type BuildWithSubmissionsFragment = {
7115
+ __typename?: 'Build';
7116
+ id: string;
7117
+ status: BuildStatus;
7118
+ platform: AppPlatform;
7119
+ channel?: string | null;
7120
+ releaseChannel?: string | null;
7121
+ distribution?: DistributionType | null;
7122
+ iosEnterpriseProvisioning?: BuildIosEnterpriseProvisioning | null;
7123
+ buildProfile?: string | null;
7124
+ sdkVersion?: string | null;
7125
+ appVersion?: string | null;
7126
+ appBuildVersion?: string | null;
7127
+ runtimeVersion?: string | null;
7128
+ gitCommitHash?: string | null;
7129
+ initialQueuePosition?: number | null;
7130
+ queuePosition?: number | null;
7131
+ estimatedWaitTimeLeftSeconds?: number | null;
7132
+ priority: BuildPriority;
7133
+ createdAt: any;
7134
+ updatedAt: any;
7135
+ submissions: Array<{
7136
+ __typename?: 'Submission';
7137
+ id: string;
7138
+ status: SubmissionStatus;
7139
+ platform: AppPlatform;
7140
+ logsUrl?: string | null;
7141
+ app: {
7142
+ __typename?: 'App';
7143
+ id: string;
7144
+ name: string;
7145
+ slug: string;
7146
+ ownerAccount: {
7147
+ __typename?: 'Account';
7148
+ id: string;
7149
+ name: string;
7150
+ };
7151
+ };
7152
+ androidConfig?: {
7153
+ __typename?: 'AndroidSubmissionConfig';
7154
+ applicationIdentifier?: string | null;
7155
+ track: SubmissionAndroidTrack;
7156
+ releaseStatus?: SubmissionAndroidReleaseStatus | null;
7157
+ } | null;
7158
+ iosConfig?: {
7159
+ __typename?: 'IosSubmissionConfig';
7160
+ ascAppIdentifier: string;
7161
+ appleIdUsername?: string | null;
7162
+ } | null;
7163
+ error?: {
7164
+ __typename?: 'SubmissionError';
7165
+ errorCode?: string | null;
7166
+ message?: string | null;
7167
+ } | null;
7168
+ }>;
7169
+ error?: {
7170
+ __typename?: 'BuildError';
7171
+ errorCode: string;
7172
+ message: string;
7173
+ docsUrl?: string | null;
7174
+ } | null;
7175
+ artifacts?: {
7176
+ __typename?: 'BuildArtifacts';
7177
+ buildUrl?: string | null;
7178
+ xcodeBuildLogsUrl?: string | null;
7179
+ } | null;
7180
+ initiatingActor?: {
7181
+ __typename: 'Robot';
7182
+ id: string;
7183
+ displayName: string;
7184
+ } | {
7185
+ __typename: 'User';
7186
+ id: string;
7187
+ displayName: string;
7188
+ } | null;
7189
+ project: {
7190
+ __typename: 'App';
7191
+ id: string;
7192
+ name: string;
7193
+ slug: string;
7194
+ ownerAccount: {
7195
+ __typename?: 'Account';
7196
+ id: string;
7197
+ name: string;
7198
+ };
7199
+ } | {
7200
+ __typename: 'Snack';
7201
+ id: string;
7202
+ name: string;
7203
+ slug: string;
7204
+ };
7205
+ };
6843
7206
  export declare type EnvironmentSecretFragment = {
6844
7207
  __typename?: 'EnvironmentSecret';
6845
7208
  id: string;