eas-cli 24.14.0 → 25.1.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 (39) hide show
  1. package/README.md +208 -158
  2. package/build/billing/resolveAccount.js +38 -14
  3. package/build/build/utils/url.d.ts +1 -0
  4. package/build/build/utils/url.js +4 -0
  5. package/build/commandUtils/EasCommand.js +11 -5
  6. package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +1 -1
  7. package/build/commandUtils/new/configs.d.ts +2 -2
  8. package/build/commandUtils/new/configs.js +8 -20
  9. package/build/commandUtils/usageUtils.d.ts +14 -0
  10. package/build/commandUtils/usageUtils.js +40 -2
  11. package/build/commands/account/usage.js +55 -2
  12. package/build/commands/account/view.d.ts +6 -1
  13. package/build/commands/account/view.js +38 -8
  14. package/build/commands/simulator/get.js +5 -2
  15. package/build/commands/simulator/index.d.ts +3 -0
  16. package/build/commands/simulator/index.js +37 -2
  17. package/build/easSelect.d.ts +30 -0
  18. package/build/easSelect.js +57 -0
  19. package/build/graphql/generated.d.ts +370 -946
  20. package/build/graphql/generated.js +5 -74
  21. package/build/graphql/queries/AccountQuery.js +27 -1
  22. package/build/graphql/queries/DeviceRunSessionQuery.js +1 -0
  23. package/build/graphql/types/Account.js +8 -2
  24. package/build/project/accountSelection.d.ts +2 -3
  25. package/build/project/accountSelection.js +12 -15
  26. package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.js +4 -4
  27. package/build/project/projectInitialization.js +7 -6
  28. package/build/prompts.d.ts +2 -1
  29. package/build/prompts.js +2 -0
  30. package/build/simulator/frameAncestors.d.ts +9 -0
  31. package/build/simulator/frameAncestors.js +66 -0
  32. package/build/simulator/utils.d.ts +20 -5
  33. package/build/simulator/utils.js +105 -20
  34. package/build/user/User.d.ts +17 -1
  35. package/build/user/User.js +37 -2
  36. package/build/user/roles.d.ts +6 -0
  37. package/build/user/roles.js +35 -0
  38. package/oclif.manifest.json +23 -3
  39. package/package.json +6 -6
@@ -224,8 +224,6 @@ export type Account = {
224
224
  /** Simulator sessions for all apps associated with this account, sorted newest first. */
225
225
  deviceRunSessionsPaginated: AccountDeviceRunSessionsConnection;
226
226
  displayName?: Maybe<Scalars['String']['output']>;
227
- /** Echo projects for this account (paginated, most recent first) */
228
- echoProjects: EchoProjectConnection;
229
227
  /** Environment secrets for an account */
230
228
  environmentSecrets: Array<EnvironmentSecret>;
231
229
  environmentVariableEnvironments: Array<Scalars['EnvironmentVariableEnvironment']['output']>;
@@ -310,8 +308,13 @@ export type Account = {
310
308
  vexoAccountConnection?: Maybe<VexoAccountConnection>;
311
309
  /** Notification preferences of the viewer for this account */
312
310
  viewerNotificationPreferences: Array<NotificationPreferenceItem>;
313
- /** Permission info for the viewer on this account */
311
+ /**
312
+ * Permission info for the viewer on this account
313
+ * @deprecated Use viewerUserPermission2 instead
314
+ */
314
315
  viewerUserPermission: UserPermission;
316
+ /** Permission info for the viewer on this account, including their effective permissions */
317
+ viewerUserPermission2: ViewerUserPermission;
315
318
  };
316
319
  /**
317
320
  * An account is a container owning projects, credentials, billing and other organization
@@ -470,14 +473,6 @@ export type Account_DeviceRunSessionsPaginatedArgs = {
470
473
  first?: InputMaybe<Scalars['Int']['input']>;
471
474
  last?: InputMaybe<Scalars['Int']['input']>;
472
475
  };
473
- /**
474
- * An account is a container owning projects, credentials, billing and other organization
475
- * data and settings. Actors may own and be members of accounts.
476
- */
477
- export type Account_EchoProjectsArgs = {
478
- after?: InputMaybe<Scalars['String']['input']>;
479
- first?: InputMaybe<Scalars['Int']['input']>;
480
- };
481
476
  /**
482
477
  * An account is a container owning projects, credentials, billing and other organization
483
478
  * data and settings. Actors may own and be members of accounts.
@@ -2025,12 +2020,6 @@ export type AppNotificationPreferenceInput = {
2025
2020
  export type AppObserve = {
2026
2021
  __typename?: 'AppObserve';
2027
2022
  appVersions: Array<AppObserveAppVersion>;
2028
- /**
2029
- * A single custom event by the `id` of an `AppObserveCustomEvent`. Null when the app has no
2030
- * such event, including when it has aged out of retention.
2031
- * @deprecated Use userEvents.event, errors.error, or log instead.
2032
- */
2033
- customEvent?: Maybe<AppObserveCustomEvent>;
2034
2023
  /** @deprecated Use userEvents.list (or errors.occurrences for exceptions) instead. */
2035
2024
  customEventList: AppObserveCustomEventListConnection;
2036
2025
  /** @deprecated Use userEvents.names instead. */
@@ -2038,11 +2027,6 @@ export type AppObserve = {
2038
2027
  /** Namespaced successor API (ENG-26160). Prefer over the flat `updates` field. */
2039
2028
  easUpdates: AppObserveEasUpdates;
2040
2029
  environments: Array<Scalars['String']['output']>;
2041
- /**
2042
- * Breaks a single error group down by app version, OS, device, or country (detail page bars).
2043
- * @deprecated Use errors.breakdown instead.
2044
- */
2045
- errorGroupBreakdown: AppObserveErrorGroupBreakdown;
2046
2030
  /**
2047
2031
  * Distinct unhandled-JS-error groups (the issues list), grouped by fingerprint.
2048
2032
  * @deprecated Use errors.groups instead.
@@ -2053,29 +2037,15 @@ export type AppObserve = {
2053
2037
  * @deprecated Use errors.stats instead.
2054
2038
  */
2055
2039
  errorStats: AppObserveErrorStats;
2056
- /**
2057
- * Time-bucketed exception counts split into fatal vs non-fatal, for the stacked-bar chart.
2058
- * @deprecated Use errors.timeSeries instead.
2059
- */
2060
- errorTimeSeries: AppObserveErrorTimeSeries;
2061
- /** Namespaced successor API (ENG-26160). Prefer over the flat `errorGroups`/`errorStats`/`errorTimeSeries`/`errorGroupBreakdown` fields. */
2040
+ /** Namespaced successor API (ENG-26160). Prefer over the flat `errorGroups`/`errorStats` fields. */
2062
2041
  errors: AppObserveErrors;
2063
- /**
2064
- * A single metric event by the `id` of an `AppObserveEvent`. Null when the app has no such
2065
- * event, including when it has aged out of retention or the id is not one this API issued.
2066
- *
2067
- * `sessionEventCount` and `userEventCount` are always null here: they are aggregates over a
2068
- * time range, and a single event does not supply one.
2069
- * @deprecated Use metrics.metric instead.
2070
- */
2071
- event?: Maybe<AppObserveEvent>;
2072
2042
  /** @deprecated Use metrics.list instead. */
2073
2043
  events: AppObserveEventsConnection;
2074
2044
  /** Highest Expo SDK version seen in telemetry over the trailing 30 days; null when none was reported. */
2075
2045
  latestExpoSdkVersion?: Maybe<Scalars['String']['output']>;
2076
2046
  /** A single log (user-defined event or error) by `event_id`. Null when missing or aged out of retention. */
2077
2047
  log?: Maybe<AppObserveLog>;
2078
- /** Namespaced successor API (ENG-26160). Prefer over the flat `timeSeries`/`events`/`event` fields. */
2048
+ /** Namespaced successor API (ENG-26160). Prefer over the flat `timeSeries`/`events` fields. */
2079
2049
  metrics: AppObserveMetrics;
2080
2050
  /** Namespaced successor API (ENG-26160). Prefer over the flat `navigationRoutes` field. */
2081
2051
  navigation: AppObserveNavigation;
@@ -2093,11 +2063,6 @@ export type AppObserve = {
2093
2063
  * @deprecated Use overview.stability instead.
2094
2064
  */
2095
2065
  overviewStability: AppObserveOverviewStability;
2096
- /**
2097
- * Per-update comparison within one app version: the embedded bundle plus each OTA update.
2098
- * @deprecated Use overview.updateComparison instead.
2099
- */
2100
- overviewUpdateComparison: AppObserveOverviewUpdateComparison;
2101
2066
  /**
2102
2067
  * Per-version, per-platform metric summaries for the Overview version-comparison matrix.
2103
2068
  * @deprecated Use overview.versionComparison instead.
@@ -2122,15 +2087,12 @@ export type AppObserve = {
2122
2087
  * @deprecated Use easUpdates.list instead.
2123
2088
  */
2124
2089
  updates: AppObserveUpdatesConnection;
2125
- /** Namespaced successor API (ENG-26160). Prefer over the flat `customEventNames`/`customEventList`/`customEvent` fields. */
2090
+ /** Namespaced successor API (ENG-26160). Prefer over the flat `customEventNames`/`customEventList` fields. */
2126
2091
  userEvents: AppObserveUserEvents;
2127
2092
  };
2128
2093
  export type AppObserve_AppVersionsArgs = {
2129
2094
  input: AppObserveReleasesInput;
2130
2095
  };
2131
- export type AppObserve_CustomEventArgs = {
2132
- id: Scalars['ID']['input'];
2133
- };
2134
2096
  export type AppObserve_CustomEventListArgs = {
2135
2097
  after?: InputMaybe<Scalars['String']['input']>;
2136
2098
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2158,21 +2120,12 @@ export type AppObserve_EnvironmentsArgs = {
2158
2120
  platforms?: InputMaybe<Array<AppObservePlatform>>;
2159
2121
  startTime?: InputMaybe<Scalars['DateTime']['input']>;
2160
2122
  };
2161
- export type AppObserve_ErrorGroupBreakdownArgs = {
2162
- input: AppObserveErrorGroupBreakdownInput;
2163
- };
2164
2123
  export type AppObserve_ErrorGroupsArgs = {
2165
2124
  input: AppObserveErrorGroupsInput;
2166
2125
  };
2167
2126
  export type AppObserve_ErrorStatsArgs = {
2168
2127
  input: AppObserveErrorStatsInput;
2169
2128
  };
2170
- export type AppObserve_ErrorTimeSeriesArgs = {
2171
- input: AppObserveErrorTimeSeriesInput;
2172
- };
2173
- export type AppObserve_EventArgs = {
2174
- id: Scalars['ID']['input'];
2175
- };
2176
2129
  export type AppObserve_EventsArgs = {
2177
2130
  after?: InputMaybe<Scalars['String']['input']>;
2178
2131
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2198,9 +2151,6 @@ export type AppObserve_OverviewEngagementArgs = {
2198
2151
  export type AppObserve_OverviewStabilityArgs = {
2199
2152
  input: AppObserveOverviewStabilityInput;
2200
2153
  };
2201
- export type AppObserve_OverviewUpdateComparisonArgs = {
2202
- input: AppObserveOverviewUpdateComparisonInput;
2203
- };
2204
2154
  export type AppObserve_OverviewVersionComparisonArgs = {
2205
2155
  input: AppObserveOverviewVersionComparisonInput;
2206
2156
  };
@@ -5082,11 +5032,6 @@ export type BuildMutation = {
5082
5032
  createLocalBuild: CreateBuildResult;
5083
5033
  /** Delete an EAS Build build */
5084
5034
  deleteBuild: Build;
5085
- /**
5086
- * Generate a token for subscribing to an EAS Build log channel
5087
- * @deprecated Use realtimeLogs.generateCentrifugoSubscriptionToken instead.
5088
- */
5089
- generateLogsCentrifugoSubscriptionToken: RealtimeLogsCentrifugoSubscriptionToken;
5090
5035
  /** Retry an Android EAS Build */
5091
5036
  retryAndroidBuild: Build;
5092
5037
  /** Retry an iOS EAS Build */
@@ -5118,10 +5063,6 @@ export type BuildMutation_CreateLocalBuildArgs = {
5118
5063
  export type BuildMutation_DeleteBuildArgs = {
5119
5064
  buildId: Scalars['ID']['input'];
5120
5065
  };
5121
- export type BuildMutation_GenerateLogsCentrifugoSubscriptionTokenArgs = {
5122
- buildId: Scalars['ID']['input'];
5123
- thread?: InputMaybe<Scalars['String']['input']>;
5124
- };
5125
5066
  export type BuildMutation_RetryAndroidBuildArgs = {
5126
5067
  buildId: Scalars['ID']['input'];
5127
5068
  jobOverrides?: InputMaybe<AndroidJobOverridesInput>;
@@ -5597,6 +5538,14 @@ export type CreateDeviceRunSessionInput = {
5597
5538
  * and applicationArchiveUrl.
5598
5539
  */
5599
5540
  expoGo?: InputMaybe<Scalars['Boolean']['input']>;
5541
+ /**
5542
+ * Origins of pages that may embed the session's preview host in a frame, next to expo.dev.
5543
+ * Each value is an https origin such as https://app.example.com or a subdomain wildcard such
5544
+ * as https://*.example.com; plain http is accepted for localhost only. At most 10. The
5545
+ * embedding page still needs the preview token from remoteConfig, and whoever embeds the
5546
+ * preview can also control the device. If omitted, only expo.dev may embed the preview.
5547
+ */
5548
+ frameAncestors?: InputMaybe<Array<Scalars['String']['input']>>;
5600
5549
  /** iOS Simulator options. Only supported when platform is IOS. */
5601
5550
  ios?: InputMaybe<CreateIosDeviceRunSessionInput>;
5602
5551
  /**
@@ -5648,6 +5597,11 @@ export type CreateDeviceRunSessionInput = {
5648
5597
  */
5649
5598
  packageVersion?: InputMaybe<Scalars['String']['input']>;
5650
5599
  platform: AppPlatform;
5600
+ /**
5601
+ * Prefer public preview links and show the preview host's Share button. Defaults to false.
5602
+ * This is a presentation preference and does not change access to bearer links.
5603
+ */
5604
+ publicPreview?: InputMaybe<Scalars['Boolean']['input']>;
5651
5605
  /**
5652
5606
  * The client sending this request, recorded for analytics only. Omit it when the
5653
5607
  * client is not one of the listed values; the session is then reported as unknown.
@@ -5663,85 +5617,6 @@ export type CreateDeviceRunSessionInput = {
5663
5617
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
5664
5618
  type: DeviceRunSessionType;
5665
5619
  };
5666
- export type CreateEchoChatInput = {
5667
- agentMetadata?: InputMaybe<Scalars['JSONObject']['input']>;
5668
- agentType?: InputMaybe<EchoAgentType>;
5669
- echoProjectId: Scalars['ID']['input'];
5670
- state?: InputMaybe<EchoChatState>;
5671
- title?: InputMaybe<Scalars['String']['input']>;
5672
- };
5673
- export type CreateEchoMessageInput = {
5674
- echoChatId: Scalars['ID']['input'];
5675
- echoTurnId?: InputMaybe<Scalars['ID']['input']>;
5676
- id?: InputMaybe<Scalars['ID']['input']>;
5677
- metadata?: InputMaybe<Scalars['JSONObject']['input']>;
5678
- parentEchoMessageId?: InputMaybe<Scalars['ID']['input']>;
5679
- role: EchoMessageRole;
5680
- /** Legacy alias for echoTurnId. Must be a valid UUIDv7. Provide exactly one of echoTurnId or turnId. */
5681
- turnId?: InputMaybe<Scalars['ID']['input']>;
5682
- userId?: InputMaybe<Scalars['ID']['input']>;
5683
- };
5684
- export type CreateEchoMessagePartInput = {
5685
- data: Scalars['JSONObject']['input'];
5686
- echoMessageId: Scalars['ID']['input'];
5687
- id?: InputMaybe<Scalars['ID']['input']>;
5688
- index?: InputMaybe<Scalars['Int']['input']>;
5689
- type: EchoMessagePartType;
5690
- };
5691
- export type CreateEchoProjectIconInput = {
5692
- accentColor?: InputMaybe<Scalars['String']['input']>;
5693
- model?: InputMaybe<Scalars['String']['input']>;
5694
- prompt?: InputMaybe<Scalars['String']['input']>;
5695
- source: EchoProjectIconSource;
5696
- url: Scalars['String']['input'];
5697
- };
5698
- export type CreateEchoProjectInput = {
5699
- accountId: Scalars['ID']['input'];
5700
- currentPreviewEchoVersionId?: InputMaybe<Scalars['ID']['input']>;
5701
- description?: InputMaybe<Scalars['String']['input']>;
5702
- displayName?: InputMaybe<Scalars['String']['input']>;
5703
- githubInfo?: InputMaybe<EchoProjectGitHubInfoInput>;
5704
- icon?: InputMaybe<EchoProjectIconInput>;
5705
- initFromEchoProjectId?: InputMaybe<Scalars['ID']['input']>;
5706
- initFromGitHubUrl?: InputMaybe<Scalars['String']['input']>;
5707
- slug?: InputMaybe<Scalars['String']['input']>;
5708
- thumbnail?: InputMaybe<EchoProjectThumbnailInput>;
5709
- visibility?: InputMaybe<EchoProjectVisibility>;
5710
- };
5711
- export type CreateEchoRepositoryInput = {
5712
- description?: InputMaybe<Scalars['String']['input']>;
5713
- echoProjectId: Scalars['ID']['input'];
5714
- /**
5715
- * When true, allows creating a new repository even if the Echo project already has a linked repository.
5716
- * The existing link will be replaced.
5717
- */
5718
- force?: InputMaybe<Scalars['Boolean']['input']>;
5719
- /**
5720
- * Whether the repository should be private. Defaults to true.
5721
- * Must be true (or unset) for shared organization repositories.
5722
- */
5723
- isPrivate?: InputMaybe<Scalars['Boolean']['input']>;
5724
- orgName: Scalars['String']['input'];
5725
- provider: Scalars['String']['input'];
5726
- repoName: Scalars['String']['input'];
5727
- };
5728
- export type CreateEchoVersionInput = {
5729
- buildError?: InputMaybe<Scalars['String']['input']>;
5730
- buildStatus: EchoBuildStatus;
5731
- diffs: Scalars['JSON']['input'];
5732
- echoChatId?: InputMaybe<Scalars['ID']['input']>;
5733
- echoProjectId: Scalars['ID']['input'];
5734
- echoTurnId?: InputMaybe<Scalars['ID']['input']>;
5735
- gitBranch?: InputMaybe<Scalars['String']['input']>;
5736
- gitCommitHash?: InputMaybe<Scalars['String']['input']>;
5737
- gitCommitMessage?: InputMaybe<Scalars['String']['input']>;
5738
- previewDeployment?: InputMaybe<Scalars['JSONObject']['input']>;
5739
- revertedFromEchoVersionId?: InputMaybe<Scalars['ID']['input']>;
5740
- source: EchoVersionSource;
5741
- thumbnail?: InputMaybe<EchoVersionThumbnailInput>;
5742
- /** Legacy alias for echoTurnId. Must be a valid UUIDv7. Provide exactly one of echoTurnId or turnId. */
5743
- turnId?: InputMaybe<Scalars['ID']['input']>;
5744
- };
5745
5620
  export type CreateEnvironmentSecretInput = {
5746
5621
  name: Scalars['String']['input'];
5747
5622
  type?: InputMaybe<EnvironmentSecretType>;
@@ -5800,6 +5675,13 @@ export type CreateGitHubRepositorySettingsInput = {
5800
5675
  baseDirectory: Scalars['String']['input'];
5801
5676
  };
5802
5677
  export type CreateIosDeviceRunSessionInput = {
5678
+ /**
5679
+ * Origins of pages that may call the session's preview host API cross-origin, for example to
5680
+ * render the device with @expo/hub-client. Framing the preview does not need this. Same value
5681
+ * rules as frameAncestors. At most 10. The page still needs the preview token from remoteConfig.
5682
+ * If omitted, only expo.dev may call the preview API cross-origin.
5683
+ */
5684
+ corsOrigins?: InputMaybe<Array<Scalars['String']['input']>>;
5803
5685
  /** Simulator device name or UDID to use for the session (e.g. "iPhone 16 Pro"). */
5804
5686
  deviceIdentifier?: InputMaybe<Scalars['String']['input']>;
5805
5687
  };
@@ -6231,6 +6113,11 @@ export type DeviceRunSession = {
6231
6113
  */
6232
6114
  packageVersion?: Maybe<Scalars['String']['output']>;
6233
6115
  platform: AppPlatform;
6116
+ /**
6117
+ * Whether this session prefers public preview links and the preview host's Share button.
6118
+ * This preference does not change access to bearer links.
6119
+ */
6120
+ publicPreview: Scalars['Boolean']['output'];
6234
6121
  remoteConfig?: Maybe<DeviceRunSessionRemoteConfig>;
6235
6122
  startedAt?: Maybe<Scalars['DateTime']['output']>;
6236
6123
  status: DeviceRunSessionStatus;
@@ -6482,550 +6369,6 @@ export declare enum EasTotalPlanEnablementUnit {
6482
6369
  Updater = "UPDATER",
6483
6370
  User = "USER"
6484
6371
  }
6485
- export declare enum EchoAgentType {
6486
- ClaudeCode = "CLAUDE_CODE",
6487
- Codex = "CODEX",
6488
- Gemini = "GEMINI"
6489
- }
6490
- export declare enum EchoBuildStatus {
6491
- Building = "BUILDING",
6492
- Failed = "FAILED",
6493
- Pending = "PENDING",
6494
- Success = "SUCCESS"
6495
- }
6496
- export declare enum EchoChangeType {
6497
- Added = "ADDED",
6498
- Deleted = "DELETED",
6499
- Modified = "MODIFIED",
6500
- Renamed = "RENAMED"
6501
- }
6502
- export type EchoChat = {
6503
- __typename?: 'EchoChat';
6504
- agentMetadata?: Maybe<Scalars['JSONObject']['output']>;
6505
- agentType?: Maybe<EchoAgentType>;
6506
- /** Messages belonging to this chat (paginated, most recent first) */
6507
- echoMessages: EchoMessageConnection;
6508
- /** Parent project */
6509
- echoProject: EchoProject;
6510
- id: Scalars['ID']['output'];
6511
- state: EchoChatState;
6512
- stats?: Maybe<Scalars['JSONObject']['output']>;
6513
- title?: Maybe<Scalars['String']['output']>;
6514
- };
6515
- export type EchoChat_EchoMessagesArgs = {
6516
- after?: InputMaybe<Scalars['String']['input']>;
6517
- first?: InputMaybe<Scalars['Int']['input']>;
6518
- };
6519
- export type EchoChatConnection = {
6520
- __typename?: 'EchoChatConnection';
6521
- edges: Array<EchoChatEdge>;
6522
- pageInfo: PageInfo;
6523
- };
6524
- export type EchoChatEdge = {
6525
- __typename?: 'EchoChatEdge';
6526
- cursor: Scalars['String']['output'];
6527
- node: EchoChat;
6528
- };
6529
- export type EchoChatMutation = {
6530
- __typename?: 'EchoChatMutation';
6531
- /** Create a new chat */
6532
- createChat: EchoChat;
6533
- /** Delete a chat and all its messages/parts */
6534
- deleteChat: EchoChat;
6535
- /** Update a chat */
6536
- updateChat: EchoChat;
6537
- };
6538
- export type EchoChatMutation_CreateChatArgs = {
6539
- input: CreateEchoChatInput;
6540
- };
6541
- export type EchoChatMutation_DeleteChatArgs = {
6542
- id: Scalars['ID']['input'];
6543
- };
6544
- export type EchoChatMutation_UpdateChatArgs = {
6545
- id: Scalars['ID']['input'];
6546
- input: UpdateEchoChatInput;
6547
- };
6548
- export type EchoChatQuery = {
6549
- __typename?: 'EchoChatQuery';
6550
- /** Get chat by ID - entry point to the graph */
6551
- byId?: Maybe<EchoChat>;
6552
- };
6553
- export type EchoChatQuery_ByIdArgs = {
6554
- id: Scalars['ID']['input'];
6555
- };
6556
- export declare enum EchoChatState {
6557
- Active = "ACTIVE",
6558
- Archived = "ARCHIVED"
6559
- }
6560
- export type EchoMessage = {
6561
- __typename?: 'EchoMessage';
6562
- completedAt?: Maybe<Scalars['DateTime']['output']>;
6563
- /** Parent chat */
6564
- echoChat: EchoChat;
6565
- /** Message parts (text, tool calls, etc.) ordered by index */
6566
- echoMessageParts: Array<EchoMessagePart>;
6567
- /** Turn entity for grouping user message + assistant response */
6568
- echoTurn?: Maybe<EchoTurn>;
6569
- id: Scalars['ID']['output'];
6570
- metadata?: Maybe<Scalars['JSONObject']['output']>;
6571
- /** Parent message (for conversation branching) */
6572
- parentEchoMessage?: Maybe<EchoMessage>;
6573
- role: EchoMessageRole;
6574
- /** Turn ID (legacy alias for echoTurn.id, prefer echoTurn) */
6575
- turnId?: Maybe<Scalars['ID']['output']>;
6576
- /** User who sent the message (for user messages) */
6577
- user?: Maybe<User>;
6578
- };
6579
- export type EchoMessageConnection = {
6580
- __typename?: 'EchoMessageConnection';
6581
- edges: Array<EchoMessageEdge>;
6582
- pageInfo: PageInfo;
6583
- totalCount?: Maybe<Scalars['Int']['output']>;
6584
- };
6585
- export type EchoMessageEdge = {
6586
- __typename?: 'EchoMessageEdge';
6587
- cursor: Scalars['String']['output'];
6588
- node: EchoMessage;
6589
- };
6590
- export type EchoMessageMutation = {
6591
- __typename?: 'EchoMessageMutation';
6592
- /**
6593
- * Mark a message as completed (sets completedAt).
6594
- * metadata is accepted for backward compatibility but ignored — use echoTurn.completeTurn instead.
6595
- */
6596
- completeMessage: EchoMessage;
6597
- /** Create a new message */
6598
- createMessage: EchoMessage;
6599
- };
6600
- export type EchoMessageMutation_CompleteMessageArgs = {
6601
- id: Scalars['ID']['input'];
6602
- metadata?: InputMaybe<Scalars['JSONObject']['input']>;
6603
- };
6604
- export type EchoMessageMutation_CreateMessageArgs = {
6605
- input: CreateEchoMessageInput;
6606
- };
6607
- export type EchoMessagePart = {
6608
- __typename?: 'EchoMessagePart';
6609
- data: Scalars['JSONObject']['output'];
6610
- /** Parent message */
6611
- echoMessage: EchoMessage;
6612
- id: Scalars['ID']['output'];
6613
- index: Scalars['Int']['output'];
6614
- type: EchoMessagePartType;
6615
- };
6616
- export type EchoMessagePartMutation = {
6617
- __typename?: 'EchoMessagePartMutation';
6618
- /** Create a new message part */
6619
- createPart: EchoMessagePart;
6620
- /** Create multiple message parts in batch */
6621
- createParts: Array<EchoMessagePart>;
6622
- /** Update a message part (for streaming updates) */
6623
- updatePart: EchoMessagePart;
6624
- };
6625
- export type EchoMessagePartMutation_CreatePartArgs = {
6626
- input: CreateEchoMessagePartInput;
6627
- };
6628
- export type EchoMessagePartMutation_CreatePartsArgs = {
6629
- inputs: Array<CreateEchoMessagePartInput>;
6630
- };
6631
- export type EchoMessagePartMutation_UpdatePartArgs = {
6632
- id: Scalars['ID']['input'];
6633
- input: UpdateEchoMessagePartInput;
6634
- };
6635
- export type EchoMessagePartQuery = {
6636
- __typename?: 'EchoMessagePartQuery';
6637
- /** Get all parts for a message (sorted by index ascending) */
6638
- byEchoMessageId: Array<EchoMessagePart>;
6639
- /** Get part by ID - entry point to the graph */
6640
- byId?: Maybe<EchoMessagePart>;
6641
- };
6642
- export type EchoMessagePartQuery_ByEchoMessageIdArgs = {
6643
- echoMessageId: Scalars['ID']['input'];
6644
- };
6645
- export type EchoMessagePartQuery_ByIdArgs = {
6646
- id: Scalars['ID']['input'];
6647
- };
6648
- export declare enum EchoMessagePartType {
6649
- Compaction = "COMPACTION",
6650
- Data = "DATA",
6651
- File = "FILE",
6652
- Reasoning = "REASONING",
6653
- Source = "SOURCE",
6654
- Step = "STEP",
6655
- Subtask = "SUBTASK",
6656
- Text = "TEXT",
6657
- Tool = "TOOL"
6658
- }
6659
- export type EchoMessageQuery = {
6660
- __typename?: 'EchoMessageQuery';
6661
- /** Get message by ID - entry point to the graph */
6662
- byId?: Maybe<EchoMessage>;
6663
- };
6664
- export type EchoMessageQuery_ByIdArgs = {
6665
- id: Scalars['ID']['input'];
6666
- };
6667
- /** Echo message role */
6668
- export declare enum EchoMessageRole {
6669
- Assistant = "ASSISTANT",
6670
- User = "USER"
6671
- }
6672
- export type EchoProject = {
6673
- __typename?: 'EchoProject';
6674
- account: Account;
6675
- createdByActor?: Maybe<Actor>;
6676
- currentPreviewEchoVersion?: Maybe<EchoVersion>;
6677
- description?: Maybe<Scalars['String']['output']>;
6678
- displayName?: Maybe<Scalars['String']['output']>;
6679
- echoChats: EchoChatConnection;
6680
- echoProjectIcon?: Maybe<EchoProjectIconGalleryItem>;
6681
- echoVersions: EchoVersionConnection;
6682
- /** Environment variables for this Echo project */
6683
- environmentVariables: Array<EnvironmentVariable>;
6684
- /**
6685
- * Environment variables for this Echo project with decrypted secret values.
6686
- * Used by the frontend to show secret values and for sandbox injection.
6687
- */
6688
- environmentVariablesIncludingSensitive: Array<EnvironmentVariableWithSecret>;
6689
- githubInfo?: Maybe<EchoProjectGithubInfo>;
6690
- icon?: Maybe<EchoProjectIcon>;
6691
- iconGallery: Array<EchoProjectIconGalleryItem>;
6692
- id: Scalars['ID']['output'];
6693
- images: Array<EchoProjectImage>;
6694
- initFromEchoProject?: Maybe<EchoProject>;
6695
- initFromGitHubUrl?: Maybe<Scalars['String']['output']>;
6696
- lastMessageAt?: Maybe<Scalars['DateTime']['output']>;
6697
- slug?: Maybe<Scalars['String']['output']>;
6698
- thumbnail?: Maybe<EchoProjectThumbnail>;
6699
- updatedAt: Scalars['DateTime']['output'];
6700
- visibility: EchoProjectVisibility;
6701
- };
6702
- export type EchoProject_EchoChatsArgs = {
6703
- after?: InputMaybe<Scalars['String']['input']>;
6704
- first?: InputMaybe<Scalars['Int']['input']>;
6705
- };
6706
- export type EchoProject_EchoVersionsArgs = {
6707
- after?: InputMaybe<Scalars['String']['input']>;
6708
- first?: InputMaybe<Scalars['Int']['input']>;
6709
- };
6710
- export type EchoProject_EnvironmentVariablesArgs = {
6711
- environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
6712
- filterNames?: InputMaybe<Array<Scalars['String']['input']>>;
6713
- };
6714
- export type EchoProject_EnvironmentVariablesIncludingSensitiveArgs = {
6715
- environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
6716
- filterNames?: InputMaybe<Array<Scalars['String']['input']>>;
6717
- };
6718
- export type EchoProjectConnection = {
6719
- __typename?: 'EchoProjectConnection';
6720
- edges: Array<EchoProjectEdge>;
6721
- pageInfo: PageInfo;
6722
- };
6723
- export type EchoProjectEdge = {
6724
- __typename?: 'EchoProjectEdge';
6725
- cursor: Scalars['String']['output'];
6726
- node: EchoProject;
6727
- };
6728
- export type EchoProjectGitHubInfoInput = {
6729
- accountType?: InputMaybe<Scalars['String']['input']>;
6730
- branch: Scalars['String']['input'];
6731
- installationId: Scalars['Int']['input'];
6732
- repoName: Scalars['String']['input'];
6733
- repoOwner: Scalars['String']['input'];
6734
- repoUrl: Scalars['String']['input'];
6735
- };
6736
- export type EchoProjectGithubInfo = {
6737
- __typename?: 'EchoProjectGithubInfo';
6738
- accountType?: Maybe<Scalars['String']['output']>;
6739
- branch: Scalars['String']['output'];
6740
- installationId: Scalars['Int']['output'];
6741
- repoName: Scalars['String']['output'];
6742
- repoOwner: Scalars['String']['output'];
6743
- repoUrl: Scalars['String']['output'];
6744
- };
6745
- export type EchoProjectIcon = {
6746
- __typename?: 'EchoProjectIcon';
6747
- accentColor?: Maybe<Scalars['String']['output']>;
6748
- url: Scalars['String']['output'];
6749
- };
6750
- export type EchoProjectIconGalleryItem = {
6751
- __typename?: 'EchoProjectIconGalleryItem';
6752
- accentColor?: Maybe<Scalars['String']['output']>;
6753
- createdAt: Scalars['DateTime']['output'];
6754
- id: Scalars['ID']['output'];
6755
- model?: Maybe<Scalars['String']['output']>;
6756
- prompt?: Maybe<Scalars['String']['output']>;
6757
- source: EchoProjectIconSource;
6758
- url: Scalars['String']['output'];
6759
- };
6760
- export type EchoProjectIconInput = {
6761
- accentColor?: InputMaybe<Scalars['String']['input']>;
6762
- url: Scalars['String']['input'];
6763
- };
6764
- export declare enum EchoProjectIconSource {
6765
- AiGenerated = "AI_GENERATED",
6766
- UserUploaded = "USER_UPLOADED"
6767
- }
6768
- export type EchoProjectImage = {
6769
- __typename?: 'EchoProjectImage';
6770
- createdAt: Scalars['DateTime']['output'];
6771
- id: Scalars['ID']['output'];
6772
- url: Scalars['String']['output'];
6773
- };
6774
- export type EchoProjectMutation = {
6775
- __typename?: 'EchoProjectMutation';
6776
- /** Create a new Echo project */
6777
- createEchoProject: EchoProject;
6778
- /**
6779
- * Add one or more icons to the project's icon gallery.
6780
- * Used for both AI-generated batches and user uploads.
6781
- */
6782
- createEchoProjectIcons: Array<EchoProjectIconGalleryItem>;
6783
- /** Delete an Echo project by ID */
6784
- deleteEchoProject: EchoProject;
6785
- /** Delete an icon from the gallery. If it is the active icon, clears the project's icon. */
6786
- deleteEchoProjectIcon: EchoProjectIconGalleryItem;
6787
- /** Select an icon from the gallery as the project's active icon. */
6788
- selectEchoProjectIcon: EchoProject;
6789
- /** Update an Echo project */
6790
- updateEchoProject: EchoProject;
6791
- };
6792
- export type EchoProjectMutation_CreateEchoProjectArgs = {
6793
- input: CreateEchoProjectInput;
6794
- };
6795
- export type EchoProjectMutation_CreateEchoProjectIconsArgs = {
6796
- echoProjectId: Scalars['ID']['input'];
6797
- icons: Array<CreateEchoProjectIconInput>;
6798
- };
6799
- export type EchoProjectMutation_DeleteEchoProjectArgs = {
6800
- id: Scalars['ID']['input'];
6801
- };
6802
- export type EchoProjectMutation_DeleteEchoProjectIconArgs = {
6803
- echoProjectIconId: Scalars['ID']['input'];
6804
- echoProjectId: Scalars['ID']['input'];
6805
- };
6806
- export type EchoProjectMutation_SelectEchoProjectIconArgs = {
6807
- echoProjectIconId: Scalars['ID']['input'];
6808
- echoProjectId: Scalars['ID']['input'];
6809
- };
6810
- export type EchoProjectMutation_UpdateEchoProjectArgs = {
6811
- id: Scalars['ID']['input'];
6812
- input: UpdateEchoProjectInput;
6813
- };
6814
- export type EchoProjectQuery = {
6815
- __typename?: 'EchoProjectQuery';
6816
- /** Get an Echo project by ID */
6817
- byId?: Maybe<EchoProject>;
6818
- /** Get an Echo project by slug (globally unique) */
6819
- bySlug?: Maybe<EchoProject>;
6820
- /** Get PUBLIC Echo projects for an account by account name (username). */
6821
- publicByAccountName: EchoProjectConnection;
6822
- };
6823
- export type EchoProjectQuery_ByIdArgs = {
6824
- id: Scalars['ID']['input'];
6825
- };
6826
- export type EchoProjectQuery_BySlugArgs = {
6827
- slug: Scalars['String']['input'];
6828
- };
6829
- export type EchoProjectQuery_PublicByAccountNameArgs = {
6830
- accountName: Scalars['String']['input'];
6831
- after?: InputMaybe<Scalars['String']['input']>;
6832
- first?: InputMaybe<Scalars['Int']['input']>;
6833
- };
6834
- export type EchoProjectThumbnail = {
6835
- __typename?: 'EchoProjectThumbnail';
6836
- accentColor?: Maybe<Scalars['String']['output']>;
6837
- height?: Maybe<Scalars['Int']['output']>;
6838
- url: Scalars['String']['output'];
6839
- visualHash?: Maybe<Scalars['String']['output']>;
6840
- width?: Maybe<Scalars['Int']['output']>;
6841
- };
6842
- export type EchoProjectThumbnailInput = {
6843
- accentColor?: InputMaybe<Scalars['String']['input']>;
6844
- height?: InputMaybe<Scalars['Int']['input']>;
6845
- url: Scalars['String']['input'];
6846
- visualHash?: InputMaybe<Scalars['String']['input']>;
6847
- width?: InputMaybe<Scalars['Int']['input']>;
6848
- };
6849
- export declare enum EchoProjectUploadSessionType {
6850
- ImageUpload = "IMAGE_UPLOAD"
6851
- }
6852
- export declare enum EchoProjectVisibility {
6853
- Private = "PRIVATE",
6854
- Public = "PUBLIC"
6855
- }
6856
- export type EchoRepositoryAccessTokenResult = {
6857
- __typename?: 'EchoRepositoryAccessTokenResult';
6858
- expiresAt: Scalars['DateTime']['output'];
6859
- gitCommitterEmail: Scalars['String']['output'];
6860
- gitCommitterName: Scalars['String']['output'];
6861
- gitUrl: Scalars['String']['output'];
6862
- token: Scalars['String']['output'];
6863
- };
6864
- export type EchoRepositoryMutation = {
6865
- __typename?: 'EchoRepositoryMutation';
6866
- /**
6867
- * Create a repository under a given org using the Expo GitHub App installation for Echo.
6868
- * Links the created repository to the specified Echo project.
6869
- */
6870
- createEchoRepository: EchoRepositoryResult;
6871
- /** Generate a scoped installation access token for the repository linked to the specified Echo project. */
6872
- generateEchoRepositoryAccessToken: EchoRepositoryAccessTokenResult;
6873
- };
6874
- export type EchoRepositoryMutation_CreateEchoRepositoryArgs = {
6875
- input: CreateEchoRepositoryInput;
6876
- };
6877
- export type EchoRepositoryMutation_GenerateEchoRepositoryAccessTokenArgs = {
6878
- input: GenerateEchoRepositoryAccessTokenInput;
6879
- };
6880
- export type EchoRepositoryResult = {
6881
- __typename?: 'EchoRepositoryResult';
6882
- defaultBranch: Scalars['String']['output'];
6883
- githubRepositoryIdentifier: Scalars['Int']['output'];
6884
- name: Scalars['String']['output'];
6885
- nodeIdentifier: Scalars['String']['output'];
6886
- owner: Scalars['String']['output'];
6887
- status: Scalars['String']['output'];
6888
- url: Scalars['String']['output'];
6889
- };
6890
- export type EchoTurn = {
6891
- __typename?: 'EchoTurn';
6892
- completedAt?: Maybe<Scalars['DateTime']['output']>;
6893
- /** Terminal status of the turn (null if still in progress) */
6894
- completionStatus?: Maybe<EchoTurnCompletionStatus>;
6895
- createdAt: Scalars['DateTime']['output'];
6896
- /** Parent chat */
6897
- echoChat: EchoChat;
6898
- /** Messages in this turn */
6899
- echoMessages: Array<EchoMessage>;
6900
- /** Error message when completionStatus is ERROR */
6901
- error?: Maybe<Scalars['String']['output']>;
6902
- id: Scalars['ID']['output'];
6903
- };
6904
- /** Breakdown of cache write input tokens by cache TTL. */
6905
- export type EchoTurnCacheWriteInput = {
6906
- ttl1h?: InputMaybe<Scalars['Int']['input']>;
6907
- ttl5m?: InputMaybe<Scalars['Int']['input']>;
6908
- ttl24h?: InputMaybe<Scalars['Int']['input']>;
6909
- };
6910
- export declare enum EchoTurnCompletionStatus {
6911
- Cancelled = "CANCELLED",
6912
- Completed = "COMPLETED",
6913
- Error = "ERROR"
6914
- }
6915
- export type EchoTurnMutation = {
6916
- __typename?: 'EchoTurnMutation';
6917
- /**
6918
- * Mark a turn as completed and create a billing ledger entry.
6919
- *
6920
- * completionStatus defaults to COMPLETED for backward compatibility with
6921
- * clients that do not yet send a status. error may be set when
6922
- * completionStatus is ERROR to record the failure reason.
6923
- */
6924
- completeTurn: EchoTurn;
6925
- };
6926
- export type EchoTurnMutation_CompleteTurnArgs = {
6927
- completionStatus?: InputMaybe<EchoTurnCompletionStatus>;
6928
- error?: InputMaybe<Scalars['String']['input']>;
6929
- id: Scalars['ID']['input'];
6930
- usage: EchoTurnUsageInput;
6931
- };
6932
- /** Token usage for billing. Tracks input/output tokens and cache usage. */
6933
- export type EchoTurnTokenUsageInput = {
6934
- cacheRead?: InputMaybe<Scalars['Int']['input']>;
6935
- cacheWrite?: InputMaybe<Scalars['Int']['input']>;
6936
- cacheWriteBreakdown?: InputMaybe<EchoTurnCacheWriteInput>;
6937
- input: Scalars['Int']['input'];
6938
- output: Scalars['Int']['input'];
6939
- reasoning?: InputMaybe<Scalars['Int']['input']>;
6940
- };
6941
- /** Cumulative usage data for a completed turn. */
6942
- export type EchoTurnUsageInput = {
6943
- agent?: InputMaybe<Scalars['String']['input']>;
6944
- cost?: InputMaybe<Scalars['Float']['input']>;
6945
- finishReason?: InputMaybe<Scalars['String']['input']>;
6946
- model?: InputMaybe<Scalars['String']['input']>;
6947
- provider?: InputMaybe<Scalars['String']['input']>;
6948
- sdkCost?: InputMaybe<Scalars['Float']['input']>;
6949
- tokens?: InputMaybe<EchoTurnTokenUsageInput>;
6950
- };
6951
- export type EchoVersion = {
6952
- __typename?: 'EchoVersion';
6953
- buildError?: Maybe<Scalars['String']['output']>;
6954
- buildStatus: EchoBuildStatus;
6955
- diffs: Scalars['JSON']['output'];
6956
- /** Chat that created this version (optional) */
6957
- echoChat?: Maybe<EchoChat>;
6958
- /** Parent project */
6959
- echoProject: EchoProject;
6960
- /** Turn that created this version */
6961
- echoTurn?: Maybe<EchoTurn>;
6962
- gitBranch: Scalars['String']['output'];
6963
- gitCommitHash?: Maybe<Scalars['String']['output']>;
6964
- gitCommitMessage?: Maybe<Scalars['String']['output']>;
6965
- id: Scalars['ID']['output'];
6966
- previewDeployment?: Maybe<Scalars['JSONObject']['output']>;
6967
- /** Version this was reverted from (if applicable) */
6968
- revertedFromEchoVersion?: Maybe<EchoVersion>;
6969
- source: EchoVersionSource;
6970
- thumbnail?: Maybe<EchoVersionThumbnail>;
6971
- /** Turn ID (legacy alias for echoTurn.id, prefer echoTurn) */
6972
- turnId?: Maybe<Scalars['ID']['output']>;
6973
- };
6974
- export type EchoVersionConnection = {
6975
- __typename?: 'EchoVersionConnection';
6976
- edges: Array<EchoVersionEdge>;
6977
- pageInfo: PageInfo;
6978
- totalCount?: Maybe<Scalars['Int']['output']>;
6979
- };
6980
- export type EchoVersionEdge = {
6981
- __typename?: 'EchoVersionEdge';
6982
- cursor: Scalars['String']['output'];
6983
- node: EchoVersion;
6984
- };
6985
- export type EchoVersionMutation = {
6986
- __typename?: 'EchoVersionMutation';
6987
- /** Create a new version */
6988
- createVersion: EchoVersion;
6989
- /** Update a version */
6990
- updateVersion: EchoVersion;
6991
- };
6992
- export type EchoVersionMutation_CreateVersionArgs = {
6993
- input: CreateEchoVersionInput;
6994
- };
6995
- export type EchoVersionMutation_UpdateVersionArgs = {
6996
- id: Scalars['ID']['input'];
6997
- input: UpdateEchoVersionInput;
6998
- };
6999
- export type EchoVersionQuery = {
7000
- __typename?: 'EchoVersionQuery';
7001
- /** Get version by ID - entry point to the graph */
7002
- byId?: Maybe<EchoVersion>;
7003
- };
7004
- export type EchoVersionQuery_ByIdArgs = {
7005
- id: Scalars['ID']['input'];
7006
- };
7007
- export declare enum EchoVersionSource {
7008
- Agent = "AGENT",
7009
- Github = "GITHUB",
7010
- Manual = "MANUAL",
7011
- Revert = "REVERT"
7012
- }
7013
- /** Visual metadata for version screenshots (thumbnail) */
7014
- export type EchoVersionThumbnail = {
7015
- __typename?: 'EchoVersionThumbnail';
7016
- accentColor?: Maybe<Scalars['String']['output']>;
7017
- height?: Maybe<Scalars['Int']['output']>;
7018
- url: Scalars['String']['output'];
7019
- visualHash?: Maybe<Scalars['String']['output']>;
7020
- width?: Maybe<Scalars['Int']['output']>;
7021
- };
7022
- export type EchoVersionThumbnailInput = {
7023
- accentColor?: InputMaybe<Scalars['String']['input']>;
7024
- height?: InputMaybe<Scalars['Int']['input']>;
7025
- url: Scalars['String']['input'];
7026
- visualHash?: InputMaybe<Scalars['String']['input']>;
7027
- width?: InputMaybe<Scalars['Int']['input']>;
7028
- };
7029
6372
  export type EditUpdateBranchInput = {
7030
6373
  appId?: InputMaybe<Scalars['ID']['input']>;
7031
6374
  id?: InputMaybe<Scalars['ID']['input']>;
@@ -7220,14 +6563,10 @@ export type EnvironmentVariableMutation = {
7220
6563
  createBulkEnvironmentVariablesForAccount: Array<EnvironmentVariable>;
7221
6564
  /** Create bulk env variables for an App */
7222
6565
  createBulkEnvironmentVariablesForApp: Array<EnvironmentVariable>;
7223
- /** Create bulk env variables for an Echo project */
7224
- createBulkEnvironmentVariablesForEchoProject: Array<EnvironmentVariable>;
7225
6566
  /** Create an environment variable for an Account */
7226
6567
  createEnvironmentVariableForAccount: EnvironmentVariable;
7227
6568
  /** Create an environment variable for an App */
7228
6569
  createEnvironmentVariableForApp: EnvironmentVariable;
7229
- /** Create an environment variable for an Echo project */
7230
- createEnvironmentVariableForEchoProject: EnvironmentVariable;
7231
6570
  /** Bulk delete environment variables */
7232
6571
  deleteBulkEnvironmentVariables: Array<DeleteEnvironmentVariableResult>;
7233
6572
  /** Delete an environment variable */
@@ -7245,10 +6584,6 @@ export type EnvironmentVariableMutation_CreateBulkEnvironmentVariablesForAppArgs
7245
6584
  appId: Scalars['ID']['input'];
7246
6585
  environmentVariablesData: Array<CreateEnvironmentVariableInput>;
7247
6586
  };
7248
- export type EnvironmentVariableMutation_CreateBulkEnvironmentVariablesForEchoProjectArgs = {
7249
- echoProjectId: Scalars['ID']['input'];
7250
- environmentVariablesData: Array<CreateEnvironmentVariableInput>;
7251
- };
7252
6587
  export type EnvironmentVariableMutation_CreateEnvironmentVariableForAccountArgs = {
7253
6588
  accountId: Scalars['ID']['input'];
7254
6589
  environmentVariableData: CreateSharedEnvironmentVariableInput;
@@ -7257,10 +6592,6 @@ export type EnvironmentVariableMutation_CreateEnvironmentVariableForAppArgs = {
7257
6592
  appId: Scalars['ID']['input'];
7258
6593
  environmentVariableData: CreateEnvironmentVariableInput;
7259
6594
  };
7260
- export type EnvironmentVariableMutation_CreateEnvironmentVariableForEchoProjectArgs = {
7261
- echoProjectId: Scalars['ID']['input'];
7262
- environmentVariableData: CreateEnvironmentVariableInput;
7263
- };
7264
6595
  export type EnvironmentVariableMutation_DeleteBulkEnvironmentVariablesArgs = {
7265
6596
  ids: Array<Scalars['ID']['input']>;
7266
6597
  };
@@ -7274,7 +6605,6 @@ export type EnvironmentVariableMutation_UpdateEnvironmentVariableArgs = {
7274
6605
  environmentVariableData: UpdateEnvironmentVariableInput;
7275
6606
  };
7276
6607
  export declare enum EnvironmentVariableScope {
7277
- EchoProject = "ECHO_PROJECT",
7278
6608
  Project = "PROJECT",
7279
6609
  Shared = "SHARED"
7280
6610
  }
@@ -7604,10 +6934,6 @@ export type FutureSubscription = {
7604
6934
  recurringCents?: Maybe<Scalars['Int']['output']>;
7605
6935
  startDate: Scalars['DateTime']['output'];
7606
6936
  };
7607
- export type GenerateEchoRepositoryAccessTokenInput = {
7608
- echoProjectId: Scalars['ID']['input'];
7609
- provider: Scalars['String']['input'];
7610
- };
7611
6937
  export type GenerateLogRocketOrganizationLinkResult = {
7612
6938
  __typename?: 'GenerateLogRocketOrganizationLinkResult';
7613
6939
  url: Scalars['String']['output'];
@@ -8080,19 +7406,12 @@ export type InvoiceLineItem = {
8080
7406
  id: Scalars['ID']['output'];
8081
7407
  metadata: Scalars['JSONObject']['output'];
8082
7408
  period: InvoicePeriod;
8083
- /** @deprecated Use 'price' instead */
8084
- plan: InvoiceLineItemPlan;
8085
7409
  price?: Maybe<StripePrice>;
8086
7410
  proration: Scalars['Boolean']['output'];
8087
7411
  quantity: Scalars['Int']['output'];
8088
7412
  /** The unit amount excluding tax, in cents */
8089
7413
  unitAmountExcludingTax?: Maybe<Scalars['Float']['output']>;
8090
7414
  };
8091
- export type InvoiceLineItemPlan = {
8092
- __typename?: 'InvoiceLineItemPlan';
8093
- id: Scalars['ID']['output'];
8094
- name?: Maybe<Scalars['String']['output']>;
8095
- };
8096
7415
  export type InvoicePeriod = {
8097
7416
  __typename?: 'InvoicePeriod';
8098
7417
  end: Scalars['DateTime']['output'];
@@ -8399,19 +7718,10 @@ export type JobRunMutation = {
8399
7718
  __typename?: 'JobRunMutation';
8400
7719
  /** Cancel an EAS Job Run */
8401
7720
  cancelJobRun: JobRun;
8402
- /**
8403
- * Generate a token for subscribing to an EAS Job Run log channel
8404
- * @deprecated Use realtimeLogs.generateCentrifugoSubscriptionToken instead.
8405
- */
8406
- generateLogsCentrifugoSubscriptionToken: RealtimeLogsCentrifugoSubscriptionToken;
8407
7721
  };
8408
7722
  export type JobRunMutation_CancelJobRunArgs = {
8409
7723
  jobRunId: Scalars['ID']['input'];
8410
7724
  };
8411
- export type JobRunMutation_GenerateLogsCentrifugoSubscriptionTokenArgs = {
8412
- jobRunId: Scalars['ID']['input'];
8413
- thread?: InputMaybe<Scalars['String']['input']>;
8414
- };
8415
7725
  export declare enum JobRunPriority {
8416
7726
  High = "HIGH",
8417
7727
  Normal = "NORMAL"
@@ -8823,6 +8133,7 @@ export declare enum Permission {
8823
8133
  Own = "OWN",
8824
8134
  Publish = "PUBLISH",
8825
8135
  PublishProtected = "PUBLISH_PROTECTED",
8136
+ Run = "RUN",
8826
8137
  View = "VIEW"
8827
8138
  }
8828
8139
  export type PinnedDashboardView = {
@@ -9170,6 +8481,7 @@ export declare enum Role {
9170
8481
  NotAdmin = "NOT_ADMIN",
9171
8482
  Owner = "OWNER",
9172
8483
  ReleaseManager = "RELEASE_MANAGER",
8484
+ Runner = "RUNNER",
9173
8485
  ViewOnly = "VIEW_ONLY"
9174
8486
  }
9175
8487
  export type RootMutation = {
@@ -9234,20 +8546,6 @@ export type RootMutation = {
9234
8546
  deviceRunSession: DeviceRunSessionMutation;
9235
8547
  /** Mutations for Discord users */
9236
8548
  discordUser: DiscordUserMutation;
9237
- /** Mutations for Echo chats */
9238
- echoChat: EchoChatMutation;
9239
- /** Mutations for Echo messages */
9240
- echoMessage: EchoMessageMutation;
9241
- /** Mutations for Echo message parts */
9242
- echoMessagePart: EchoMessagePartMutation;
9243
- /** Mutations for Echo projects */
9244
- echoProject: EchoProjectMutation;
9245
- /** Mutations for Echo repository management via the GitHub App */
9246
- echoRepository: EchoRepositoryMutation;
9247
- /** Mutations for Echo turns */
9248
- echoTurn: EchoTurnMutation;
9249
- /** Mutations for Echo versions */
9250
- echoVersion: EchoVersionMutation;
9251
8549
  /** Mutations that register embedded update bundles for bundle diffing. */
9252
8550
  embeddedUpdate: EmbeddedUpdateMutation;
9253
8551
  embeddedUpdateAsset: EmbeddedUpdateAssetMutation;
@@ -9394,16 +8692,6 @@ export type RootQuery = {
9394
8692
  deployments: DeploymentQuery;
9395
8693
  deviceRunSessionArtifacts: DeviceRunSessionArtifactQuery;
9396
8694
  deviceRunSessions: DeviceRunSessionQuery;
9397
- /** Top-level query object for querying Echo chats. */
9398
- echoChat: EchoChatQuery;
9399
- /** Top-level query object for querying Echo messages. */
9400
- echoMessage: EchoMessageQuery;
9401
- /** Top-level query object for querying Echo message parts. */
9402
- echoMessagePart: EchoMessagePartQuery;
9403
- /** Top-level query object for querying Echo projects. */
9404
- echoProject: EchoProjectQuery;
9405
- /** Top-level query object for querying Echo versions. */
9406
- echoVersion: EchoVersionQuery;
9407
8695
  embeddedUpdates: EmbeddedUpdateQuery;
9408
8696
  /** Top-level query object for querying Experimentation configuration. */
9409
8697
  experimentation: ExperimentationQuery;
@@ -10799,37 +10087,6 @@ export declare enum UpdateDiffReceiptStateValue {
10799
10087
  Success = "SUCCESS",
10800
10088
  WontCompute = "WONT_COMPUTE"
10801
10089
  }
10802
- export type UpdateEchoChatInput = {
10803
- agentMetadata?: InputMaybe<Scalars['JSONObject']['input']>;
10804
- agentType?: InputMaybe<EchoAgentType>;
10805
- state?: InputMaybe<EchoChatState>;
10806
- stats?: InputMaybe<Scalars['JSONObject']['input']>;
10807
- title?: InputMaybe<Scalars['String']['input']>;
10808
- };
10809
- export type UpdateEchoMessagePartInput = {
10810
- data: Scalars['JSONObject']['input'];
10811
- };
10812
- export type UpdateEchoProjectInput = {
10813
- currentPreviewEchoVersionId?: InputMaybe<Scalars['ID']['input']>;
10814
- description?: InputMaybe<Scalars['String']['input']>;
10815
- displayName?: InputMaybe<Scalars['String']['input']>;
10816
- githubInfo?: InputMaybe<EchoProjectGitHubInfoInput>;
10817
- icon?: InputMaybe<EchoProjectIconInput>;
10818
- initFromEchoProjectId?: InputMaybe<Scalars['ID']['input']>;
10819
- initFromGitHubUrl?: InputMaybe<Scalars['String']['input']>;
10820
- slug?: InputMaybe<Scalars['String']['input']>;
10821
- thumbnail?: InputMaybe<EchoProjectThumbnailInput>;
10822
- visibility?: InputMaybe<EchoProjectVisibility>;
10823
- };
10824
- export type UpdateEchoVersionInput = {
10825
- buildError?: InputMaybe<Scalars['String']['input']>;
10826
- buildStatus?: InputMaybe<EchoBuildStatus>;
10827
- gitBranch?: InputMaybe<Scalars['String']['input']>;
10828
- gitCommitHash?: InputMaybe<Scalars['String']['input']>;
10829
- gitCommitMessage?: InputMaybe<Scalars['String']['input']>;
10830
- previewDeployment?: InputMaybe<Scalars['JSONObject']['input']>;
10831
- thumbnail?: InputMaybe<EchoVersionThumbnailInput>;
10832
- };
10833
10090
  export type UpdateEnvironmentVariableInput = {
10834
10091
  environments?: InputMaybe<Array<Scalars['EnvironmentVariableEnvironment']['input']>>;
10835
10092
  fileName?: InputMaybe<Scalars['String']['input']>;
@@ -11011,8 +10268,6 @@ export type UploadSession = {
11011
10268
  createAccountScopedUploadSession: Scalars['JSONObject']['output'];
11012
10269
  /** Create an Upload Session for a specific app */
11013
10270
  createAppScopedUploadSession: Scalars['JSONObject']['output'];
11014
- /** Create an Upload Session for a specific Echo project */
11015
- createEchoProjectScopedUploadSession: Scalars['JSONObject']['output'];
11016
10271
  /** Create an Upload Session */
11017
10272
  createUploadSession: Scalars['JSONObject']['output'];
11018
10273
  };
@@ -11024,10 +10279,6 @@ export type UploadSession_CreateAppScopedUploadSessionArgs = {
11024
10279
  appID: Scalars['ID']['input'];
11025
10280
  type: AppUploadSessionType;
11026
10281
  };
11027
- export type UploadSession_CreateEchoProjectScopedUploadSessionArgs = {
11028
- echoProjectID: Scalars['ID']['input'];
11029
- type: EchoProjectUploadSessionType;
11030
- };
11031
10282
  export type UploadSession_CreateUploadSessionArgs = {
11032
10283
  filename?: InputMaybe<Scalars['String']['input']>;
11033
10284
  type: UploadSessionType;
@@ -11708,6 +10959,27 @@ export type VexoIntegrationQuery = {
11708
10959
  __typename?: 'VexoIntegrationQuery';
11709
10960
  clientIdentifier: Scalars['String']['output'];
11710
10961
  };
10962
+ /** Permission info for the viewer on this account, including their effective permissions */
10963
+ export type ViewerUserPermission = {
10964
+ __typename?: 'ViewerUserPermission';
10965
+ actor: Actor;
10966
+ /**
10967
+ * Permissions the viewer can use on this account with the credential used for the request. This
10968
+ * includes the implicit permissions of the owner of a personal account. For a scoped credential
10969
+ * (scoped session, scoped access token, or scoped JWT), the credential's scopes cap these.
10970
+ */
10971
+ effectivePermissions: Array<Permission>;
10972
+ /** Composite identifier for this viewer account membership (accountId:actorId) */
10973
+ id: Scalars['ID']['output'];
10974
+ /**
10975
+ * Permissions the viewer's actor holds on this account, regardless of the scopes of the
10976
+ * credential used for the request. This includes the implicit permissions of the owner of a
10977
+ * personal account, unlike UserPermission.permissions. A permission in this list but not in
10978
+ * effectivePermissions is held by the actor but not allowed by the credential's scopes.
10979
+ */
10980
+ permissions: Array<Permission>;
10981
+ userActor?: Maybe<UserActor>;
10982
+ };
11711
10983
  export type WebNotificationUpdateReadStateInput = {
11712
10984
  id: Scalars['ID']['input'];
11713
10985
  isRead: Scalars['Boolean']['input'];
@@ -13449,9 +12721,10 @@ export type CreateAndroidAppCredentialsMutation = {
13449
12721
  id: string;
13450
12722
  username: string;
13451
12723
  } | null;
13452
- viewerUserPermission: {
13453
- __typename?: 'UserPermission';
13454
- role: Role;
12724
+ viewerUserPermission2: {
12725
+ __typename?: 'ViewerUserPermission';
12726
+ permissions: Array<Permission>;
12727
+ effectivePermissions: Array<Permission>;
13455
12728
  };
13456
12729
  };
13457
12730
  githubRepository?: {
@@ -13560,9 +12833,10 @@ export type SetFcmMutation = {
13560
12833
  id: string;
13561
12834
  username: string;
13562
12835
  } | null;
13563
- viewerUserPermission: {
13564
- __typename?: 'UserPermission';
13565
- role: Role;
12836
+ viewerUserPermission2: {
12837
+ __typename?: 'ViewerUserPermission';
12838
+ permissions: Array<Permission>;
12839
+ effectivePermissions: Array<Permission>;
13566
12840
  };
13567
12841
  };
13568
12842
  githubRepository?: {
@@ -13671,9 +12945,10 @@ export type SetGoogleServiceAccountKeyForSubmissionsMutation = {
13671
12945
  id: string;
13672
12946
  username: string;
13673
12947
  } | null;
13674
- viewerUserPermission: {
13675
- __typename?: 'UserPermission';
13676
- role: Role;
12948
+ viewerUserPermission2: {
12949
+ __typename?: 'ViewerUserPermission';
12950
+ permissions: Array<Permission>;
12951
+ effectivePermissions: Array<Permission>;
13677
12952
  };
13678
12953
  };
13679
12954
  githubRepository?: {
@@ -13782,9 +13057,10 @@ export type SetGoogleServiceAccountKeyForFcmV1Mutation = {
13782
13057
  id: string;
13783
13058
  username: string;
13784
13059
  } | null;
13785
- viewerUserPermission: {
13786
- __typename?: 'UserPermission';
13787
- role: Role;
13060
+ viewerUserPermission2: {
13061
+ __typename?: 'ViewerUserPermission';
13062
+ permissions: Array<Permission>;
13063
+ effectivePermissions: Array<Permission>;
13788
13064
  };
13789
13065
  };
13790
13066
  githubRepository?: {
@@ -14009,9 +13285,10 @@ export type CommonAndroidAppCredentialsWithBuildCredentialsByApplicationIdentifi
14009
13285
  id: string;
14010
13286
  username: string;
14011
13287
  } | null;
14012
- viewerUserPermission: {
14013
- __typename?: 'UserPermission';
14014
- role: Role;
13288
+ viewerUserPermission2: {
13289
+ __typename?: 'ViewerUserPermission';
13290
+ permissions: Array<Permission>;
13291
+ effectivePermissions: Array<Permission>;
14015
13292
  };
14016
13293
  };
14017
13294
  githubRepository?: {
@@ -14298,9 +13575,10 @@ export type CreateAppleDistributionCertificateMutation = {
14298
13575
  id: string;
14299
13576
  username: string;
14300
13577
  } | null;
14301
- viewerUserPermission: {
14302
- __typename?: 'UserPermission';
14303
- role: Role;
13578
+ viewerUserPermission2: {
13579
+ __typename?: 'ViewerUserPermission';
13580
+ permissions: Array<Permission>;
13581
+ effectivePermissions: Array<Permission>;
14304
13582
  };
14305
13583
  };
14306
13584
  githubRepository?: {
@@ -14465,9 +13743,10 @@ export type CreateApplePushKeyMutation = {
14465
13743
  id: string;
14466
13744
  username: string;
14467
13745
  } | null;
14468
- viewerUserPermission: {
14469
- __typename?: 'UserPermission';
14470
- role: Role;
13746
+ viewerUserPermission2: {
13747
+ __typename?: 'ViewerUserPermission';
13748
+ permissions: Array<Permission>;
13749
+ effectivePermissions: Array<Permission>;
14471
13750
  };
14472
13751
  };
14473
13752
  githubRepository?: {
@@ -14588,9 +13867,10 @@ export type CreateIosAppBuildCredentialsMutation = {
14588
13867
  id: string;
14589
13868
  username: string;
14590
13869
  } | null;
14591
- viewerUserPermission: {
14592
- __typename?: 'UserPermission';
14593
- role: Role;
13870
+ viewerUserPermission2: {
13871
+ __typename?: 'ViewerUserPermission';
13872
+ permissions: Array<Permission>;
13873
+ effectivePermissions: Array<Permission>;
14594
13874
  };
14595
13875
  };
14596
13876
  githubRepository?: {
@@ -14697,9 +13977,10 @@ export type SetDistributionCertificateMutation = {
14697
13977
  id: string;
14698
13978
  username: string;
14699
13979
  } | null;
14700
- viewerUserPermission: {
14701
- __typename?: 'UserPermission';
14702
- role: Role;
13980
+ viewerUserPermission2: {
13981
+ __typename?: 'ViewerUserPermission';
13982
+ permissions: Array<Permission>;
13983
+ effectivePermissions: Array<Permission>;
14703
13984
  };
14704
13985
  };
14705
13986
  githubRepository?: {
@@ -14806,9 +14087,10 @@ export type SetProvisioningProfileMutation = {
14806
14087
  id: string;
14807
14088
  username: string;
14808
14089
  } | null;
14809
- viewerUserPermission: {
14810
- __typename?: 'UserPermission';
14811
- role: Role;
14090
+ viewerUserPermission2: {
14091
+ __typename?: 'ViewerUserPermission';
14092
+ permissions: Array<Permission>;
14093
+ effectivePermissions: Array<Permission>;
14812
14094
  };
14813
14095
  };
14814
14096
  githubRepository?: {
@@ -14919,9 +14201,10 @@ export type CreateIosAppCredentialsMutation = {
14919
14201
  id: string;
14920
14202
  username: string;
14921
14203
  } | null;
14922
- viewerUserPermission: {
14923
- __typename?: 'UserPermission';
14924
- role: Role;
14204
+ viewerUserPermission2: {
14205
+ __typename?: 'ViewerUserPermission';
14206
+ permissions: Array<Permission>;
14207
+ effectivePermissions: Array<Permission>;
14925
14208
  };
14926
14209
  };
14927
14210
  githubRepository?: {
@@ -14992,9 +14275,10 @@ export type CreateIosAppCredentialsMutation = {
14992
14275
  id: string;
14993
14276
  username: string;
14994
14277
  } | null;
14995
- viewerUserPermission: {
14996
- __typename?: 'UserPermission';
14997
- role: Role;
14278
+ viewerUserPermission2: {
14279
+ __typename?: 'ViewerUserPermission';
14280
+ permissions: Array<Permission>;
14281
+ effectivePermissions: Array<Permission>;
14998
14282
  };
14999
14283
  };
15000
14284
  githubRepository?: {
@@ -15052,9 +14336,10 @@ export type CreateIosAppCredentialsMutation = {
15052
14336
  id: string;
15053
14337
  username: string;
15054
14338
  } | null;
15055
- viewerUserPermission: {
15056
- __typename?: 'UserPermission';
15057
- role: Role;
14339
+ viewerUserPermission2: {
14340
+ __typename?: 'ViewerUserPermission';
14341
+ permissions: Array<Permission>;
14342
+ effectivePermissions: Array<Permission>;
15058
14343
  };
15059
14344
  };
15060
14345
  githubRepository?: {
@@ -15150,9 +14435,10 @@ export type SetPushKeyMutation = {
15150
14435
  id: string;
15151
14436
  username: string;
15152
14437
  } | null;
15153
- viewerUserPermission: {
15154
- __typename?: 'UserPermission';
15155
- role: Role;
14438
+ viewerUserPermission2: {
14439
+ __typename?: 'ViewerUserPermission';
14440
+ permissions: Array<Permission>;
14441
+ effectivePermissions: Array<Permission>;
15156
14442
  };
15157
14443
  };
15158
14444
  githubRepository?: {
@@ -15223,9 +14509,10 @@ export type SetPushKeyMutation = {
15223
14509
  id: string;
15224
14510
  username: string;
15225
14511
  } | null;
15226
- viewerUserPermission: {
15227
- __typename?: 'UserPermission';
15228
- role: Role;
14512
+ viewerUserPermission2: {
14513
+ __typename?: 'ViewerUserPermission';
14514
+ permissions: Array<Permission>;
14515
+ effectivePermissions: Array<Permission>;
15229
14516
  };
15230
14517
  };
15231
14518
  githubRepository?: {
@@ -15283,9 +14570,10 @@ export type SetPushKeyMutation = {
15283
14570
  id: string;
15284
14571
  username: string;
15285
14572
  } | null;
15286
- viewerUserPermission: {
15287
- __typename?: 'UserPermission';
15288
- role: Role;
14573
+ viewerUserPermission2: {
14574
+ __typename?: 'ViewerUserPermission';
14575
+ permissions: Array<Permission>;
14576
+ effectivePermissions: Array<Permission>;
15289
14577
  };
15290
14578
  };
15291
14579
  githubRepository?: {
@@ -15381,9 +14669,10 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
15381
14669
  id: string;
15382
14670
  username: string;
15383
14671
  } | null;
15384
- viewerUserPermission: {
15385
- __typename?: 'UserPermission';
15386
- role: Role;
14672
+ viewerUserPermission2: {
14673
+ __typename?: 'ViewerUserPermission';
14674
+ permissions: Array<Permission>;
14675
+ effectivePermissions: Array<Permission>;
15387
14676
  };
15388
14677
  };
15389
14678
  githubRepository?: {
@@ -15454,9 +14743,10 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
15454
14743
  id: string;
15455
14744
  username: string;
15456
14745
  } | null;
15457
- viewerUserPermission: {
15458
- __typename?: 'UserPermission';
15459
- role: Role;
14746
+ viewerUserPermission2: {
14747
+ __typename?: 'ViewerUserPermission';
14748
+ permissions: Array<Permission>;
14749
+ effectivePermissions: Array<Permission>;
15460
14750
  };
15461
14751
  };
15462
14752
  githubRepository?: {
@@ -15514,9 +14804,10 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
15514
14804
  id: string;
15515
14805
  username: string;
15516
14806
  } | null;
15517
- viewerUserPermission: {
15518
- __typename?: 'UserPermission';
15519
- role: Role;
14807
+ viewerUserPermission2: {
14808
+ __typename?: 'ViewerUserPermission';
14809
+ permissions: Array<Permission>;
14810
+ effectivePermissions: Array<Permission>;
15520
14811
  };
15521
14812
  };
15522
14813
  githubRepository?: {
@@ -15766,9 +15057,10 @@ export type AppleDistributionCertificateByAppQuery = {
15766
15057
  id: string;
15767
15058
  username: string;
15768
15059
  } | null;
15769
- viewerUserPermission: {
15770
- __typename?: 'UserPermission';
15771
- role: Role;
15060
+ viewerUserPermission2: {
15061
+ __typename?: 'ViewerUserPermission';
15062
+ permissions: Array<Permission>;
15063
+ effectivePermissions: Array<Permission>;
15772
15064
  };
15773
15065
  };
15774
15066
  githubRepository?: {
@@ -15860,9 +15152,10 @@ export type AppleDistributionCertificatesPaginatedByAccountQuery = {
15860
15152
  id: string;
15861
15153
  username: string;
15862
15154
  } | null;
15863
- viewerUserPermission: {
15864
- __typename?: 'UserPermission';
15865
- role: Role;
15155
+ viewerUserPermission2: {
15156
+ __typename?: 'ViewerUserPermission';
15157
+ permissions: Array<Permission>;
15158
+ effectivePermissions: Array<Permission>;
15866
15159
  };
15867
15160
  };
15868
15161
  githubRepository?: {
@@ -16005,9 +15298,10 @@ export type ApplePushKeysPaginatedByAccountQuery = {
16005
15298
  id: string;
16006
15299
  username: string;
16007
15300
  } | null;
16008
- viewerUserPermission: {
16009
- __typename?: 'UserPermission';
16010
- role: Role;
15301
+ viewerUserPermission2: {
15302
+ __typename?: 'ViewerUserPermission';
15303
+ permissions: Array<Permission>;
15304
+ effectivePermissions: Array<Permission>;
16011
15305
  };
16012
15306
  };
16013
15307
  githubRepository?: {
@@ -16154,9 +15448,10 @@ export type IosAppBuildCredentialsByAppleAppIdentiferAndDistributionQuery = {
16154
15448
  id: string;
16155
15449
  username: string;
16156
15450
  } | null;
16157
- viewerUserPermission: {
16158
- __typename?: 'UserPermission';
16159
- role: Role;
15451
+ viewerUserPermission2: {
15452
+ __typename?: 'ViewerUserPermission';
15453
+ permissions: Array<Permission>;
15454
+ effectivePermissions: Array<Permission>;
16160
15455
  };
16161
15456
  };
16162
15457
  githubRepository?: {
@@ -16272,9 +15567,10 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
16272
15567
  id: string;
16273
15568
  username: string;
16274
15569
  } | null;
16275
- viewerUserPermission: {
16276
- __typename?: 'UserPermission';
16277
- role: Role;
15570
+ viewerUserPermission2: {
15571
+ __typename?: 'ViewerUserPermission';
15572
+ permissions: Array<Permission>;
15573
+ effectivePermissions: Array<Permission>;
16278
15574
  };
16279
15575
  };
16280
15576
  githubRepository?: {
@@ -16345,9 +15641,10 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
16345
15641
  id: string;
16346
15642
  username: string;
16347
15643
  } | null;
16348
- viewerUserPermission: {
16349
- __typename?: 'UserPermission';
16350
- role: Role;
15644
+ viewerUserPermission2: {
15645
+ __typename?: 'ViewerUserPermission';
15646
+ permissions: Array<Permission>;
15647
+ effectivePermissions: Array<Permission>;
16351
15648
  };
16352
15649
  };
16353
15650
  githubRepository?: {
@@ -16405,9 +15702,10 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
16405
15702
  id: string;
16406
15703
  username: string;
16407
15704
  } | null;
16408
- viewerUserPermission: {
16409
- __typename?: 'UserPermission';
16410
- role: Role;
15705
+ viewerUserPermission2: {
15706
+ __typename?: 'ViewerUserPermission';
15707
+ permissions: Array<Permission>;
15708
+ effectivePermissions: Array<Permission>;
16411
15709
  };
16412
15710
  };
16413
15711
  githubRepository?: {
@@ -16507,9 +15805,10 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
16507
15805
  id: string;
16508
15806
  username: string;
16509
15807
  } | null;
16510
- viewerUserPermission: {
16511
- __typename?: 'UserPermission';
16512
- role: Role;
15808
+ viewerUserPermission2: {
15809
+ __typename?: 'ViewerUserPermission';
15810
+ permissions: Array<Permission>;
15811
+ effectivePermissions: Array<Permission>;
16513
15812
  };
16514
15813
  };
16515
15814
  githubRepository?: {
@@ -16580,9 +15879,10 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
16580
15879
  id: string;
16581
15880
  username: string;
16582
15881
  } | null;
16583
- viewerUserPermission: {
16584
- __typename?: 'UserPermission';
16585
- role: Role;
15882
+ viewerUserPermission2: {
15883
+ __typename?: 'ViewerUserPermission';
15884
+ permissions: Array<Permission>;
15885
+ effectivePermissions: Array<Permission>;
16586
15886
  };
16587
15887
  };
16588
15888
  githubRepository?: {
@@ -16640,9 +15940,10 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
16640
15940
  id: string;
16641
15941
  username: string;
16642
15942
  } | null;
16643
- viewerUserPermission: {
16644
- __typename?: 'UserPermission';
16645
- role: Role;
15943
+ viewerUserPermission2: {
15944
+ __typename?: 'ViewerUserPermission';
15945
+ permissions: Array<Permission>;
15946
+ effectivePermissions: Array<Permission>;
16646
15947
  };
16647
15948
  };
16648
15949
  githubRepository?: {
@@ -18424,10 +17725,11 @@ export type AccountByNameQuery = {
18424
17725
  __typename?: 'Account';
18425
17726
  id: string;
18426
17727
  name: string;
18427
- viewerUserPermission: {
18428
- __typename?: 'UserPermission';
17728
+ viewerUserPermission2: {
17729
+ __typename?: 'ViewerUserPermission';
18429
17730
  id: string;
18430
17731
  permissions: Array<Permission>;
17732
+ effectivePermissions: Array<Permission>;
18431
17733
  };
18432
17734
  };
18433
17735
  };
@@ -18553,6 +17855,12 @@ export type AccountFullUsageQuery = {
18553
17855
  limit: number;
18554
17856
  };
18555
17857
  } | null;
17858
+ jobTypeBreakdown?: {
17859
+ __typename?: 'EstimatedUsageJobTypeBreakdown';
17860
+ workflows: number;
17861
+ simulator: number;
17862
+ other: number;
17863
+ } | null;
18556
17864
  }>;
18557
17865
  overageMetrics: Array<{
18558
17866
  __typename?: 'EstimatedOverageAndCost';
@@ -18602,6 +17910,12 @@ export type AccountFullUsageQuery = {
18602
17910
  limit: number;
18603
17911
  };
18604
17912
  } | null;
17913
+ jobTypeBreakdown?: {
17914
+ __typename?: 'EstimatedUsageJobTypeBreakdown';
17915
+ workflows: number;
17916
+ simulator: number;
17917
+ other: number;
17918
+ } | null;
18605
17919
  }>;
18606
17920
  overageMetrics: Array<{
18607
17921
  __typename?: 'EstimatedOverageAndCost';
@@ -18619,6 +17933,79 @@ export type AccountFullUsageQuery = {
18619
17933
  } | null;
18620
17934
  }>;
18621
17935
  };
17936
+ EAS_SIMULATOR: {
17937
+ __typename?: 'UsageMetricTotal';
17938
+ id: string;
17939
+ totalCost: number;
17940
+ unavailableServiceUsageMetrics: Array<{
17941
+ __typename?: 'UnavailableServiceUsageMetric';
17942
+ service: EasService;
17943
+ }>;
17944
+ billingPeriod: {
17945
+ __typename?: 'BillingPeriod';
17946
+ id: string;
17947
+ start: any;
17948
+ end: any;
17949
+ anchor: any;
17950
+ };
17951
+ planMetrics: Array<{
17952
+ __typename?: 'EstimatedUsage';
17953
+ id: string;
17954
+ service: EasService;
17955
+ serviceMetric: EasServiceMetric;
17956
+ metricType: UsageMetricType;
17957
+ value: number;
17958
+ limit: number;
17959
+ platformBreakdown?: {
17960
+ __typename?: 'EstimatedUsagePlatformBreakdown';
17961
+ ios: {
17962
+ __typename?: 'EstimatedUsagePlatformDetail';
17963
+ value: number;
17964
+ limit: number;
17965
+ };
17966
+ android: {
17967
+ __typename?: 'EstimatedUsagePlatformDetail';
17968
+ value: number;
17969
+ limit: number;
17970
+ };
17971
+ } | null;
17972
+ jobTypeBreakdown?: {
17973
+ __typename?: 'EstimatedUsageJobTypeBreakdown';
17974
+ workflows: number;
17975
+ simulator: number;
17976
+ other: number;
17977
+ } | null;
17978
+ }>;
17979
+ overageMetrics: Array<{
17980
+ __typename?: 'EstimatedOverageAndCost';
17981
+ id: string;
17982
+ service: EasService;
17983
+ serviceMetric: EasServiceMetric;
17984
+ metricType: UsageMetricType;
17985
+ value: number;
17986
+ limit: number;
17987
+ totalCost: number;
17988
+ metadata?: {
17989
+ __typename?: 'AccountUsageEASBuildMetadata';
17990
+ billingResourceClass?: EasBuildBillingResourceClass | null;
17991
+ platform?: AppPlatform | null;
17992
+ } | null;
17993
+ }>;
17994
+ };
17995
+ IOS_SIMULATOR_MINUTES: Array<{
17996
+ __typename?: 'AccountUsageMetric';
17997
+ id: string;
17998
+ serviceMetric: EasServiceMetric;
17999
+ metricType: UsageMetricType;
18000
+ value: number;
18001
+ }>;
18002
+ ANDROID_SIMULATOR_MINUTES: Array<{
18003
+ __typename?: 'AccountUsageMetric';
18004
+ id: string;
18005
+ serviceMetric: EasServiceMetric;
18006
+ metricType: UsageMetricType;
18007
+ value: number;
18008
+ }>;
18622
18009
  };
18623
18010
  };
18624
18011
  };
@@ -18735,9 +18122,10 @@ export type AppByIdQuery = {
18735
18122
  id: string;
18736
18123
  username: string;
18737
18124
  } | null;
18738
- viewerUserPermission: {
18739
- __typename?: 'UserPermission';
18740
- role: Role;
18125
+ viewerUserPermission2: {
18126
+ __typename?: 'ViewerUserPermission';
18127
+ permissions: Array<Permission>;
18128
+ effectivePermissions: Array<Permission>;
18741
18129
  };
18742
18130
  };
18743
18131
  githubRepository?: {
@@ -18779,9 +18167,10 @@ export type AppByFullNameQuery = {
18779
18167
  id: string;
18780
18168
  username: string;
18781
18169
  } | null;
18782
- viewerUserPermission: {
18783
- __typename?: 'UserPermission';
18784
- role: Role;
18170
+ viewerUserPermission2: {
18171
+ __typename?: 'ViewerUserPermission';
18172
+ permissions: Array<Permission>;
18173
+ effectivePermissions: Array<Permission>;
18785
18174
  };
18786
18175
  };
18787
18176
  githubRepository?: {
@@ -18986,9 +18375,10 @@ export type AscAppLinkAppMetadataQuery = {
18986
18375
  id: string;
18987
18376
  username: string;
18988
18377
  } | null;
18989
- viewerUserPermission: {
18990
- __typename?: 'UserPermission';
18991
- role: Role;
18378
+ viewerUserPermission2: {
18379
+ __typename?: 'ViewerUserPermission';
18380
+ permissions: Array<Permission>;
18381
+ effectivePermissions: Array<Permission>;
18992
18382
  };
18993
18383
  };
18994
18384
  appStoreConnectApp?: {
@@ -20273,6 +19663,7 @@ export type DeviceRunSessionByIdQuery = {
20273
19663
  id: string;
20274
19664
  name?: string | null;
20275
19665
  tags: Array<string>;
19666
+ publicPreview: boolean;
20276
19667
  status: DeviceRunSessionStatus;
20277
19668
  type: DeviceRunSessionType;
20278
19669
  platform: AppPlatform;
@@ -22516,9 +21907,10 @@ export type CurrentUserQuery = {
22516
21907
  id: string;
22517
21908
  username: string;
22518
21909
  } | null;
22519
- viewerUserPermission: {
22520
- __typename?: 'UserPermission';
22521
- role: Role;
21910
+ viewerUserPermission2: {
21911
+ __typename?: 'ViewerUserPermission';
21912
+ permissions: Array<Permission>;
21913
+ effectivePermissions: Array<Permission>;
22522
21914
  };
22523
21915
  }>;
22524
21916
  } | {
@@ -22540,9 +21932,10 @@ export type CurrentUserQuery = {
22540
21932
  id: string;
22541
21933
  username: string;
22542
21934
  } | null;
22543
- viewerUserPermission: {
22544
- __typename?: 'UserPermission';
22545
- role: Role;
21935
+ viewerUserPermission2: {
21936
+ __typename?: 'ViewerUserPermission';
21937
+ permissions: Array<Permission>;
21938
+ effectivePermissions: Array<Permission>;
22546
21939
  };
22547
21940
  }>;
22548
21941
  } | {
@@ -22564,9 +21957,10 @@ export type CurrentUserQuery = {
22564
21957
  id: string;
22565
21958
  username: string;
22566
21959
  } | null;
22567
- viewerUserPermission: {
22568
- __typename?: 'UserPermission';
22569
- role: Role;
21960
+ viewerUserPermission2: {
21961
+ __typename?: 'ViewerUserPermission';
21962
+ permissions: Array<Permission>;
21963
+ effectivePermissions: Array<Permission>;
22570
21964
  };
22571
21965
  }>;
22572
21966
  } | {
@@ -22589,9 +21983,10 @@ export type CurrentUserQuery = {
22589
21983
  id: string;
22590
21984
  username: string;
22591
21985
  } | null;
22592
- viewerUserPermission: {
22593
- __typename?: 'UserPermission';
22594
- role: Role;
21986
+ viewerUserPermission2: {
21987
+ __typename?: 'ViewerUserPermission';
21988
+ permissions: Array<Permission>;
21989
+ effectivePermissions: Array<Permission>;
22595
21990
  };
22596
21991
  }>;
22597
21992
  } | null;
@@ -22623,9 +22018,10 @@ export type CurrentUserWithPrimaryAccountQuery = {
22623
22018
  id: string;
22624
22019
  username: string;
22625
22020
  } | null;
22626
- viewerUserPermission: {
22627
- __typename?: 'UserPermission';
22628
- role: Role;
22021
+ viewerUserPermission2: {
22022
+ __typename?: 'ViewerUserPermission';
22023
+ permissions: Array<Permission>;
22024
+ effectivePermissions: Array<Permission>;
22629
22025
  };
22630
22026
  };
22631
22027
  } | {
@@ -22644,9 +22040,10 @@ export type CurrentUserWithPrimaryAccountQuery = {
22644
22040
  id: string;
22645
22041
  username: string;
22646
22042
  } | null;
22647
- viewerUserPermission: {
22648
- __typename?: 'UserPermission';
22649
- role: Role;
22043
+ viewerUserPermission2: {
22044
+ __typename?: 'ViewerUserPermission';
22045
+ permissions: Array<Permission>;
22046
+ effectivePermissions: Array<Permission>;
22650
22047
  };
22651
22048
  };
22652
22049
  } | null;
@@ -23501,9 +22898,10 @@ export type AccountFragment = {
23501
22898
  id: string;
23502
22899
  username: string;
23503
22900
  } | null;
23504
- viewerUserPermission: {
23505
- __typename?: 'UserPermission';
23506
- role: Role;
22901
+ viewerUserPermission2: {
22902
+ __typename?: 'ViewerUserPermission';
22903
+ permissions: Array<Permission>;
22904
+ effectivePermissions: Array<Permission>;
23507
22905
  };
23508
22906
  };
23509
22907
  export type InvoiceLineItemFragment = {
@@ -23624,6 +23022,12 @@ export type EstimatedUsageFragment = {
23624
23022
  limit: number;
23625
23023
  };
23626
23024
  } | null;
23025
+ jobTypeBreakdown?: {
23026
+ __typename?: 'EstimatedUsageJobTypeBreakdown';
23027
+ workflows: number;
23028
+ simulator: number;
23029
+ other: number;
23030
+ } | null;
23627
23031
  };
23628
23032
  export type EstimatedOverageAndCostFragment = {
23629
23033
  __typename?: 'EstimatedOverageAndCost';
@@ -23672,6 +23076,12 @@ export type UsageMetricTotalFragment = {
23672
23076
  limit: number;
23673
23077
  };
23674
23078
  } | null;
23079
+ jobTypeBreakdown?: {
23080
+ __typename?: 'EstimatedUsageJobTypeBreakdown';
23081
+ workflows: number;
23082
+ simulator: number;
23083
+ other: number;
23084
+ } | null;
23675
23085
  }>;
23676
23086
  overageMetrics: Array<{
23677
23087
  __typename?: 'EstimatedOverageAndCost';
@@ -23715,9 +23125,10 @@ type MeActorFragment_PartnerActor = {
23715
23125
  id: string;
23716
23126
  username: string;
23717
23127
  } | null;
23718
- viewerUserPermission: {
23719
- __typename?: 'UserPermission';
23720
- role: Role;
23128
+ viewerUserPermission2: {
23129
+ __typename?: 'ViewerUserPermission';
23130
+ permissions: Array<Permission>;
23131
+ effectivePermissions: Array<Permission>;
23721
23132
  };
23722
23133
  }>;
23723
23134
  };
@@ -23740,9 +23151,10 @@ type MeActorFragment_Robot = {
23740
23151
  id: string;
23741
23152
  username: string;
23742
23153
  } | null;
23743
- viewerUserPermission: {
23744
- __typename?: 'UserPermission';
23745
- role: Role;
23154
+ viewerUserPermission2: {
23155
+ __typename?: 'ViewerUserPermission';
23156
+ permissions: Array<Permission>;
23157
+ effectivePermissions: Array<Permission>;
23746
23158
  };
23747
23159
  }>;
23748
23160
  };
@@ -23765,9 +23177,10 @@ type MeActorFragment_SsoUser = {
23765
23177
  id: string;
23766
23178
  username: string;
23767
23179
  } | null;
23768
- viewerUserPermission: {
23769
- __typename?: 'UserPermission';
23770
- role: Role;
23180
+ viewerUserPermission2: {
23181
+ __typename?: 'ViewerUserPermission';
23182
+ permissions: Array<Permission>;
23183
+ effectivePermissions: Array<Permission>;
23771
23184
  };
23772
23185
  }>;
23773
23186
  };
@@ -23791,9 +23204,10 @@ type MeActorFragment_User = {
23791
23204
  id: string;
23792
23205
  username: string;
23793
23206
  } | null;
23794
- viewerUserPermission: {
23795
- __typename?: 'UserPermission';
23796
- role: Role;
23207
+ viewerUserPermission2: {
23208
+ __typename?: 'ViewerUserPermission';
23209
+ permissions: Array<Permission>;
23210
+ effectivePermissions: Array<Permission>;
23797
23211
  };
23798
23212
  }>;
23799
23213
  };
@@ -23817,9 +23231,10 @@ export type AppFragment = {
23817
23231
  id: string;
23818
23232
  username: string;
23819
23233
  } | null;
23820
- viewerUserPermission: {
23821
- __typename?: 'UserPermission';
23822
- role: Role;
23234
+ viewerUserPermission2: {
23235
+ __typename?: 'ViewerUserPermission';
23236
+ permissions: Array<Permission>;
23237
+ effectivePermissions: Array<Permission>;
23823
23238
  };
23824
23239
  };
23825
23240
  githubRepository?: {
@@ -25178,9 +24593,10 @@ export type CommonAndroidAppCredentialsFragment = {
25178
24593
  id: string;
25179
24594
  username: string;
25180
24595
  } | null;
25181
- viewerUserPermission: {
25182
- __typename?: 'UserPermission';
25183
- role: Role;
24596
+ viewerUserPermission2: {
24597
+ __typename?: 'ViewerUserPermission';
24598
+ permissions: Array<Permission>;
24599
+ effectivePermissions: Array<Permission>;
25184
24600
  };
25185
24601
  };
25186
24602
  githubRepository?: {
@@ -25363,9 +24779,10 @@ export type AppleDistributionCertificateFragment = {
25363
24779
  id: string;
25364
24780
  username: string;
25365
24781
  } | null;
25366
- viewerUserPermission: {
25367
- __typename?: 'UserPermission';
25368
- role: Role;
24782
+ viewerUserPermission2: {
24783
+ __typename?: 'ViewerUserPermission';
24784
+ permissions: Array<Permission>;
24785
+ effectivePermissions: Array<Permission>;
25369
24786
  };
25370
24787
  };
25371
24788
  githubRepository?: {
@@ -25454,9 +24871,10 @@ export type ApplePushKeyFragment = {
25454
24871
  id: string;
25455
24872
  username: string;
25456
24873
  } | null;
25457
- viewerUserPermission: {
25458
- __typename?: 'UserPermission';
25459
- role: Role;
24874
+ viewerUserPermission2: {
24875
+ __typename?: 'ViewerUserPermission';
24876
+ permissions: Array<Permission>;
24877
+ effectivePermissions: Array<Permission>;
25460
24878
  };
25461
24879
  };
25462
24880
  githubRepository?: {
@@ -25538,9 +24956,10 @@ export type IosAppBuildCredentialsFragment = {
25538
24956
  id: string;
25539
24957
  username: string;
25540
24958
  } | null;
25541
- viewerUserPermission: {
25542
- __typename?: 'UserPermission';
25543
- role: Role;
24959
+ viewerUserPermission2: {
24960
+ __typename?: 'ViewerUserPermission';
24961
+ permissions: Array<Permission>;
24962
+ effectivePermissions: Array<Permission>;
25544
24963
  };
25545
24964
  };
25546
24965
  githubRepository?: {
@@ -25614,9 +25033,10 @@ export type CommonIosAppCredentialsWithoutBuildCredentialsFragment = {
25614
25033
  id: string;
25615
25034
  username: string;
25616
25035
  } | null;
25617
- viewerUserPermission: {
25618
- __typename?: 'UserPermission';
25619
- role: Role;
25036
+ viewerUserPermission2: {
25037
+ __typename?: 'ViewerUserPermission';
25038
+ permissions: Array<Permission>;
25039
+ effectivePermissions: Array<Permission>;
25620
25040
  };
25621
25041
  };
25622
25042
  githubRepository?: {
@@ -25674,9 +25094,10 @@ export type CommonIosAppCredentialsWithoutBuildCredentialsFragment = {
25674
25094
  id: string;
25675
25095
  username: string;
25676
25096
  } | null;
25677
- viewerUserPermission: {
25678
- __typename?: 'UserPermission';
25679
- role: Role;
25097
+ viewerUserPermission2: {
25098
+ __typename?: 'ViewerUserPermission';
25099
+ permissions: Array<Permission>;
25100
+ effectivePermissions: Array<Permission>;
25680
25101
  };
25681
25102
  };
25682
25103
  githubRepository?: {
@@ -25762,9 +25183,10 @@ export type CommonIosAppCredentialsFragment = {
25762
25183
  id: string;
25763
25184
  username: string;
25764
25185
  } | null;
25765
- viewerUserPermission: {
25766
- __typename?: 'UserPermission';
25767
- role: Role;
25186
+ viewerUserPermission2: {
25187
+ __typename?: 'ViewerUserPermission';
25188
+ permissions: Array<Permission>;
25189
+ effectivePermissions: Array<Permission>;
25768
25190
  };
25769
25191
  };
25770
25192
  githubRepository?: {
@@ -25835,9 +25257,10 @@ export type CommonIosAppCredentialsFragment = {
25835
25257
  id: string;
25836
25258
  username: string;
25837
25259
  } | null;
25838
- viewerUserPermission: {
25839
- __typename?: 'UserPermission';
25840
- role: Role;
25260
+ viewerUserPermission2: {
25261
+ __typename?: 'ViewerUserPermission';
25262
+ permissions: Array<Permission>;
25263
+ effectivePermissions: Array<Permission>;
25841
25264
  };
25842
25265
  };
25843
25266
  githubRepository?: {
@@ -25895,9 +25318,10 @@ export type CommonIosAppCredentialsFragment = {
25895
25318
  id: string;
25896
25319
  username: string;
25897
25320
  } | null;
25898
- viewerUserPermission: {
25899
- __typename?: 'UserPermission';
25900
- role: Role;
25321
+ viewerUserPermission2: {
25322
+ __typename?: 'ViewerUserPermission';
25323
+ permissions: Array<Permission>;
25324
+ effectivePermissions: Array<Permission>;
25901
25325
  };
25902
25326
  };
25903
25327
  githubRepository?: {