eas-cli 24.14.0 → 25.0.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 (34) hide show
  1. package/README.md +175 -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/commands/account/view.d.ts +6 -1
  10. package/build/commands/account/view.js +38 -8
  11. package/build/commands/simulator/get.js +5 -2
  12. package/build/commands/simulator/index.d.ts +1 -0
  13. package/build/commands/simulator/index.js +10 -2
  14. package/build/easSelect.d.ts +30 -0
  15. package/build/easSelect.js +57 -0
  16. package/build/graphql/generated.d.ts +258 -946
  17. package/build/graphql/generated.js +5 -74
  18. package/build/graphql/queries/AccountQuery.js +2 -1
  19. package/build/graphql/queries/DeviceRunSessionQuery.js +1 -0
  20. package/build/graphql/types/Account.js +3 -2
  21. package/build/project/accountSelection.d.ts +2 -3
  22. package/build/project/accountSelection.js +12 -15
  23. package/build/project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync.js +4 -4
  24. package/build/project/projectInitialization.js +7 -6
  25. package/build/prompts.d.ts +2 -1
  26. package/build/prompts.js +2 -0
  27. package/build/simulator/utils.d.ts +8 -5
  28. package/build/simulator/utils.js +56 -20
  29. package/build/user/User.d.ts +17 -1
  30. package/build/user/User.js +37 -2
  31. package/build/user/roles.d.ts +6 -0
  32. package/build/user/roles.js +35 -0
  33. package/oclif.manifest.json +465 -459
  34. 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>;
@@ -5648,6 +5589,11 @@ export type CreateDeviceRunSessionInput = {
5648
5589
  */
5649
5590
  packageVersion?: InputMaybe<Scalars['String']['input']>;
5650
5591
  platform: AppPlatform;
5592
+ /**
5593
+ * Prefer public preview links and show the preview host's Share button. Defaults to false.
5594
+ * This is a presentation preference and does not change access to bearer links.
5595
+ */
5596
+ publicPreview?: InputMaybe<Scalars['Boolean']['input']>;
5651
5597
  /**
5652
5598
  * The client sending this request, recorded for analytics only. Omit it when the
5653
5599
  * client is not one of the listed values; the session is then reported as unknown.
@@ -5663,85 +5609,6 @@ export type CreateDeviceRunSessionInput = {
5663
5609
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
5664
5610
  type: DeviceRunSessionType;
5665
5611
  };
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
5612
  export type CreateEnvironmentSecretInput = {
5746
5613
  name: Scalars['String']['input'];
5747
5614
  type?: InputMaybe<EnvironmentSecretType>;
@@ -6231,6 +6098,11 @@ export type DeviceRunSession = {
6231
6098
  */
6232
6099
  packageVersion?: Maybe<Scalars['String']['output']>;
6233
6100
  platform: AppPlatform;
6101
+ /**
6102
+ * Whether this session prefers public preview links and the preview host's Share button.
6103
+ * This preference does not change access to bearer links.
6104
+ */
6105
+ publicPreview: Scalars['Boolean']['output'];
6234
6106
  remoteConfig?: Maybe<DeviceRunSessionRemoteConfig>;
6235
6107
  startedAt?: Maybe<Scalars['DateTime']['output']>;
6236
6108
  status: DeviceRunSessionStatus;
@@ -6482,550 +6354,6 @@ export declare enum EasTotalPlanEnablementUnit {
6482
6354
  Updater = "UPDATER",
6483
6355
  User = "USER"
6484
6356
  }
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
6357
  export type EditUpdateBranchInput = {
7030
6358
  appId?: InputMaybe<Scalars['ID']['input']>;
7031
6359
  id?: InputMaybe<Scalars['ID']['input']>;
@@ -7220,14 +6548,10 @@ export type EnvironmentVariableMutation = {
7220
6548
  createBulkEnvironmentVariablesForAccount: Array<EnvironmentVariable>;
7221
6549
  /** Create bulk env variables for an App */
7222
6550
  createBulkEnvironmentVariablesForApp: Array<EnvironmentVariable>;
7223
- /** Create bulk env variables for an Echo project */
7224
- createBulkEnvironmentVariablesForEchoProject: Array<EnvironmentVariable>;
7225
6551
  /** Create an environment variable for an Account */
7226
6552
  createEnvironmentVariableForAccount: EnvironmentVariable;
7227
6553
  /** Create an environment variable for an App */
7228
6554
  createEnvironmentVariableForApp: EnvironmentVariable;
7229
- /** Create an environment variable for an Echo project */
7230
- createEnvironmentVariableForEchoProject: EnvironmentVariable;
7231
6555
  /** Bulk delete environment variables */
7232
6556
  deleteBulkEnvironmentVariables: Array<DeleteEnvironmentVariableResult>;
7233
6557
  /** Delete an environment variable */
@@ -7245,10 +6569,6 @@ export type EnvironmentVariableMutation_CreateBulkEnvironmentVariablesForAppArgs
7245
6569
  appId: Scalars['ID']['input'];
7246
6570
  environmentVariablesData: Array<CreateEnvironmentVariableInput>;
7247
6571
  };
7248
- export type EnvironmentVariableMutation_CreateBulkEnvironmentVariablesForEchoProjectArgs = {
7249
- echoProjectId: Scalars['ID']['input'];
7250
- environmentVariablesData: Array<CreateEnvironmentVariableInput>;
7251
- };
7252
6572
  export type EnvironmentVariableMutation_CreateEnvironmentVariableForAccountArgs = {
7253
6573
  accountId: Scalars['ID']['input'];
7254
6574
  environmentVariableData: CreateSharedEnvironmentVariableInput;
@@ -7257,10 +6577,6 @@ export type EnvironmentVariableMutation_CreateEnvironmentVariableForAppArgs = {
7257
6577
  appId: Scalars['ID']['input'];
7258
6578
  environmentVariableData: CreateEnvironmentVariableInput;
7259
6579
  };
7260
- export type EnvironmentVariableMutation_CreateEnvironmentVariableForEchoProjectArgs = {
7261
- echoProjectId: Scalars['ID']['input'];
7262
- environmentVariableData: CreateEnvironmentVariableInput;
7263
- };
7264
6580
  export type EnvironmentVariableMutation_DeleteBulkEnvironmentVariablesArgs = {
7265
6581
  ids: Array<Scalars['ID']['input']>;
7266
6582
  };
@@ -7274,7 +6590,6 @@ export type EnvironmentVariableMutation_UpdateEnvironmentVariableArgs = {
7274
6590
  environmentVariableData: UpdateEnvironmentVariableInput;
7275
6591
  };
7276
6592
  export declare enum EnvironmentVariableScope {
7277
- EchoProject = "ECHO_PROJECT",
7278
6593
  Project = "PROJECT",
7279
6594
  Shared = "SHARED"
7280
6595
  }
@@ -7604,10 +6919,6 @@ export type FutureSubscription = {
7604
6919
  recurringCents?: Maybe<Scalars['Int']['output']>;
7605
6920
  startDate: Scalars['DateTime']['output'];
7606
6921
  };
7607
- export type GenerateEchoRepositoryAccessTokenInput = {
7608
- echoProjectId: Scalars['ID']['input'];
7609
- provider: Scalars['String']['input'];
7610
- };
7611
6922
  export type GenerateLogRocketOrganizationLinkResult = {
7612
6923
  __typename?: 'GenerateLogRocketOrganizationLinkResult';
7613
6924
  url: Scalars['String']['output'];
@@ -8080,19 +7391,12 @@ export type InvoiceLineItem = {
8080
7391
  id: Scalars['ID']['output'];
8081
7392
  metadata: Scalars['JSONObject']['output'];
8082
7393
  period: InvoicePeriod;
8083
- /** @deprecated Use 'price' instead */
8084
- plan: InvoiceLineItemPlan;
8085
7394
  price?: Maybe<StripePrice>;
8086
7395
  proration: Scalars['Boolean']['output'];
8087
7396
  quantity: Scalars['Int']['output'];
8088
7397
  /** The unit amount excluding tax, in cents */
8089
7398
  unitAmountExcludingTax?: Maybe<Scalars['Float']['output']>;
8090
7399
  };
8091
- export type InvoiceLineItemPlan = {
8092
- __typename?: 'InvoiceLineItemPlan';
8093
- id: Scalars['ID']['output'];
8094
- name?: Maybe<Scalars['String']['output']>;
8095
- };
8096
7400
  export type InvoicePeriod = {
8097
7401
  __typename?: 'InvoicePeriod';
8098
7402
  end: Scalars['DateTime']['output'];
@@ -8399,19 +7703,10 @@ export type JobRunMutation = {
8399
7703
  __typename?: 'JobRunMutation';
8400
7704
  /** Cancel an EAS Job Run */
8401
7705
  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
7706
  };
8408
7707
  export type JobRunMutation_CancelJobRunArgs = {
8409
7708
  jobRunId: Scalars['ID']['input'];
8410
7709
  };
8411
- export type JobRunMutation_GenerateLogsCentrifugoSubscriptionTokenArgs = {
8412
- jobRunId: Scalars['ID']['input'];
8413
- thread?: InputMaybe<Scalars['String']['input']>;
8414
- };
8415
7710
  export declare enum JobRunPriority {
8416
7711
  High = "HIGH",
8417
7712
  Normal = "NORMAL"
@@ -8823,6 +8118,7 @@ export declare enum Permission {
8823
8118
  Own = "OWN",
8824
8119
  Publish = "PUBLISH",
8825
8120
  PublishProtected = "PUBLISH_PROTECTED",
8121
+ Run = "RUN",
8826
8122
  View = "VIEW"
8827
8123
  }
8828
8124
  export type PinnedDashboardView = {
@@ -9170,6 +8466,7 @@ export declare enum Role {
9170
8466
  NotAdmin = "NOT_ADMIN",
9171
8467
  Owner = "OWNER",
9172
8468
  ReleaseManager = "RELEASE_MANAGER",
8469
+ Runner = "RUNNER",
9173
8470
  ViewOnly = "VIEW_ONLY"
9174
8471
  }
9175
8472
  export type RootMutation = {
@@ -9234,20 +8531,6 @@ export type RootMutation = {
9234
8531
  deviceRunSession: DeviceRunSessionMutation;
9235
8532
  /** Mutations for Discord users */
9236
8533
  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
8534
  /** Mutations that register embedded update bundles for bundle diffing. */
9252
8535
  embeddedUpdate: EmbeddedUpdateMutation;
9253
8536
  embeddedUpdateAsset: EmbeddedUpdateAssetMutation;
@@ -9394,16 +8677,6 @@ export type RootQuery = {
9394
8677
  deployments: DeploymentQuery;
9395
8678
  deviceRunSessionArtifacts: DeviceRunSessionArtifactQuery;
9396
8679
  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
8680
  embeddedUpdates: EmbeddedUpdateQuery;
9408
8681
  /** Top-level query object for querying Experimentation configuration. */
9409
8682
  experimentation: ExperimentationQuery;
@@ -10799,37 +10072,6 @@ export declare enum UpdateDiffReceiptStateValue {
10799
10072
  Success = "SUCCESS",
10800
10073
  WontCompute = "WONT_COMPUTE"
10801
10074
  }
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
10075
  export type UpdateEnvironmentVariableInput = {
10834
10076
  environments?: InputMaybe<Array<Scalars['EnvironmentVariableEnvironment']['input']>>;
10835
10077
  fileName?: InputMaybe<Scalars['String']['input']>;
@@ -11011,8 +10253,6 @@ export type UploadSession = {
11011
10253
  createAccountScopedUploadSession: Scalars['JSONObject']['output'];
11012
10254
  /** Create an Upload Session for a specific app */
11013
10255
  createAppScopedUploadSession: Scalars['JSONObject']['output'];
11014
- /** Create an Upload Session for a specific Echo project */
11015
- createEchoProjectScopedUploadSession: Scalars['JSONObject']['output'];
11016
10256
  /** Create an Upload Session */
11017
10257
  createUploadSession: Scalars['JSONObject']['output'];
11018
10258
  };
@@ -11024,10 +10264,6 @@ export type UploadSession_CreateAppScopedUploadSessionArgs = {
11024
10264
  appID: Scalars['ID']['input'];
11025
10265
  type: AppUploadSessionType;
11026
10266
  };
11027
- export type UploadSession_CreateEchoProjectScopedUploadSessionArgs = {
11028
- echoProjectID: Scalars['ID']['input'];
11029
- type: EchoProjectUploadSessionType;
11030
- };
11031
10267
  export type UploadSession_CreateUploadSessionArgs = {
11032
10268
  filename?: InputMaybe<Scalars['String']['input']>;
11033
10269
  type: UploadSessionType;
@@ -11708,6 +10944,27 @@ export type VexoIntegrationQuery = {
11708
10944
  __typename?: 'VexoIntegrationQuery';
11709
10945
  clientIdentifier: Scalars['String']['output'];
11710
10946
  };
10947
+ /** Permission info for the viewer on this account, including their effective permissions */
10948
+ export type ViewerUserPermission = {
10949
+ __typename?: 'ViewerUserPermission';
10950
+ actor: Actor;
10951
+ /**
10952
+ * Permissions the viewer can use on this account with the credential used for the request. This
10953
+ * includes the implicit permissions of the owner of a personal account. For a scoped credential
10954
+ * (scoped session, scoped access token, or scoped JWT), the credential's scopes cap these.
10955
+ */
10956
+ effectivePermissions: Array<Permission>;
10957
+ /** Composite identifier for this viewer account membership (accountId:actorId) */
10958
+ id: Scalars['ID']['output'];
10959
+ /**
10960
+ * Permissions the viewer's actor holds on this account, regardless of the scopes of the
10961
+ * credential used for the request. This includes the implicit permissions of the owner of a
10962
+ * personal account, unlike UserPermission.permissions. A permission in this list but not in
10963
+ * effectivePermissions is held by the actor but not allowed by the credential's scopes.
10964
+ */
10965
+ permissions: Array<Permission>;
10966
+ userActor?: Maybe<UserActor>;
10967
+ };
11711
10968
  export type WebNotificationUpdateReadStateInput = {
11712
10969
  id: Scalars['ID']['input'];
11713
10970
  isRead: Scalars['Boolean']['input'];
@@ -13449,9 +12706,10 @@ export type CreateAndroidAppCredentialsMutation = {
13449
12706
  id: string;
13450
12707
  username: string;
13451
12708
  } | null;
13452
- viewerUserPermission: {
13453
- __typename?: 'UserPermission';
13454
- role: Role;
12709
+ viewerUserPermission2: {
12710
+ __typename?: 'ViewerUserPermission';
12711
+ permissions: Array<Permission>;
12712
+ effectivePermissions: Array<Permission>;
13455
12713
  };
13456
12714
  };
13457
12715
  githubRepository?: {
@@ -13560,9 +12818,10 @@ export type SetFcmMutation = {
13560
12818
  id: string;
13561
12819
  username: string;
13562
12820
  } | null;
13563
- viewerUserPermission: {
13564
- __typename?: 'UserPermission';
13565
- role: Role;
12821
+ viewerUserPermission2: {
12822
+ __typename?: 'ViewerUserPermission';
12823
+ permissions: Array<Permission>;
12824
+ effectivePermissions: Array<Permission>;
13566
12825
  };
13567
12826
  };
13568
12827
  githubRepository?: {
@@ -13671,9 +12930,10 @@ export type SetGoogleServiceAccountKeyForSubmissionsMutation = {
13671
12930
  id: string;
13672
12931
  username: string;
13673
12932
  } | null;
13674
- viewerUserPermission: {
13675
- __typename?: 'UserPermission';
13676
- role: Role;
12933
+ viewerUserPermission2: {
12934
+ __typename?: 'ViewerUserPermission';
12935
+ permissions: Array<Permission>;
12936
+ effectivePermissions: Array<Permission>;
13677
12937
  };
13678
12938
  };
13679
12939
  githubRepository?: {
@@ -13782,9 +13042,10 @@ export type SetGoogleServiceAccountKeyForFcmV1Mutation = {
13782
13042
  id: string;
13783
13043
  username: string;
13784
13044
  } | null;
13785
- viewerUserPermission: {
13786
- __typename?: 'UserPermission';
13787
- role: Role;
13045
+ viewerUserPermission2: {
13046
+ __typename?: 'ViewerUserPermission';
13047
+ permissions: Array<Permission>;
13048
+ effectivePermissions: Array<Permission>;
13788
13049
  };
13789
13050
  };
13790
13051
  githubRepository?: {
@@ -14009,9 +13270,10 @@ export type CommonAndroidAppCredentialsWithBuildCredentialsByApplicationIdentifi
14009
13270
  id: string;
14010
13271
  username: string;
14011
13272
  } | null;
14012
- viewerUserPermission: {
14013
- __typename?: 'UserPermission';
14014
- role: Role;
13273
+ viewerUserPermission2: {
13274
+ __typename?: 'ViewerUserPermission';
13275
+ permissions: Array<Permission>;
13276
+ effectivePermissions: Array<Permission>;
14015
13277
  };
14016
13278
  };
14017
13279
  githubRepository?: {
@@ -14298,9 +13560,10 @@ export type CreateAppleDistributionCertificateMutation = {
14298
13560
  id: string;
14299
13561
  username: string;
14300
13562
  } | null;
14301
- viewerUserPermission: {
14302
- __typename?: 'UserPermission';
14303
- role: Role;
13563
+ viewerUserPermission2: {
13564
+ __typename?: 'ViewerUserPermission';
13565
+ permissions: Array<Permission>;
13566
+ effectivePermissions: Array<Permission>;
14304
13567
  };
14305
13568
  };
14306
13569
  githubRepository?: {
@@ -14465,9 +13728,10 @@ export type CreateApplePushKeyMutation = {
14465
13728
  id: string;
14466
13729
  username: string;
14467
13730
  } | null;
14468
- viewerUserPermission: {
14469
- __typename?: 'UserPermission';
14470
- role: Role;
13731
+ viewerUserPermission2: {
13732
+ __typename?: 'ViewerUserPermission';
13733
+ permissions: Array<Permission>;
13734
+ effectivePermissions: Array<Permission>;
14471
13735
  };
14472
13736
  };
14473
13737
  githubRepository?: {
@@ -14588,9 +13852,10 @@ export type CreateIosAppBuildCredentialsMutation = {
14588
13852
  id: string;
14589
13853
  username: string;
14590
13854
  } | null;
14591
- viewerUserPermission: {
14592
- __typename?: 'UserPermission';
14593
- role: Role;
13855
+ viewerUserPermission2: {
13856
+ __typename?: 'ViewerUserPermission';
13857
+ permissions: Array<Permission>;
13858
+ effectivePermissions: Array<Permission>;
14594
13859
  };
14595
13860
  };
14596
13861
  githubRepository?: {
@@ -14697,9 +13962,10 @@ export type SetDistributionCertificateMutation = {
14697
13962
  id: string;
14698
13963
  username: string;
14699
13964
  } | null;
14700
- viewerUserPermission: {
14701
- __typename?: 'UserPermission';
14702
- role: Role;
13965
+ viewerUserPermission2: {
13966
+ __typename?: 'ViewerUserPermission';
13967
+ permissions: Array<Permission>;
13968
+ effectivePermissions: Array<Permission>;
14703
13969
  };
14704
13970
  };
14705
13971
  githubRepository?: {
@@ -14806,9 +14072,10 @@ export type SetProvisioningProfileMutation = {
14806
14072
  id: string;
14807
14073
  username: string;
14808
14074
  } | null;
14809
- viewerUserPermission: {
14810
- __typename?: 'UserPermission';
14811
- role: Role;
14075
+ viewerUserPermission2: {
14076
+ __typename?: 'ViewerUserPermission';
14077
+ permissions: Array<Permission>;
14078
+ effectivePermissions: Array<Permission>;
14812
14079
  };
14813
14080
  };
14814
14081
  githubRepository?: {
@@ -14919,9 +14186,10 @@ export type CreateIosAppCredentialsMutation = {
14919
14186
  id: string;
14920
14187
  username: string;
14921
14188
  } | null;
14922
- viewerUserPermission: {
14923
- __typename?: 'UserPermission';
14924
- role: Role;
14189
+ viewerUserPermission2: {
14190
+ __typename?: 'ViewerUserPermission';
14191
+ permissions: Array<Permission>;
14192
+ effectivePermissions: Array<Permission>;
14925
14193
  };
14926
14194
  };
14927
14195
  githubRepository?: {
@@ -14992,9 +14260,10 @@ export type CreateIosAppCredentialsMutation = {
14992
14260
  id: string;
14993
14261
  username: string;
14994
14262
  } | null;
14995
- viewerUserPermission: {
14996
- __typename?: 'UserPermission';
14997
- role: Role;
14263
+ viewerUserPermission2: {
14264
+ __typename?: 'ViewerUserPermission';
14265
+ permissions: Array<Permission>;
14266
+ effectivePermissions: Array<Permission>;
14998
14267
  };
14999
14268
  };
15000
14269
  githubRepository?: {
@@ -15052,9 +14321,10 @@ export type CreateIosAppCredentialsMutation = {
15052
14321
  id: string;
15053
14322
  username: string;
15054
14323
  } | null;
15055
- viewerUserPermission: {
15056
- __typename?: 'UserPermission';
15057
- role: Role;
14324
+ viewerUserPermission2: {
14325
+ __typename?: 'ViewerUserPermission';
14326
+ permissions: Array<Permission>;
14327
+ effectivePermissions: Array<Permission>;
15058
14328
  };
15059
14329
  };
15060
14330
  githubRepository?: {
@@ -15150,9 +14420,10 @@ export type SetPushKeyMutation = {
15150
14420
  id: string;
15151
14421
  username: string;
15152
14422
  } | null;
15153
- viewerUserPermission: {
15154
- __typename?: 'UserPermission';
15155
- role: Role;
14423
+ viewerUserPermission2: {
14424
+ __typename?: 'ViewerUserPermission';
14425
+ permissions: Array<Permission>;
14426
+ effectivePermissions: Array<Permission>;
15156
14427
  };
15157
14428
  };
15158
14429
  githubRepository?: {
@@ -15223,9 +14494,10 @@ export type SetPushKeyMutation = {
15223
14494
  id: string;
15224
14495
  username: string;
15225
14496
  } | null;
15226
- viewerUserPermission: {
15227
- __typename?: 'UserPermission';
15228
- role: Role;
14497
+ viewerUserPermission2: {
14498
+ __typename?: 'ViewerUserPermission';
14499
+ permissions: Array<Permission>;
14500
+ effectivePermissions: Array<Permission>;
15229
14501
  };
15230
14502
  };
15231
14503
  githubRepository?: {
@@ -15283,9 +14555,10 @@ export type SetPushKeyMutation = {
15283
14555
  id: string;
15284
14556
  username: string;
15285
14557
  } | null;
15286
- viewerUserPermission: {
15287
- __typename?: 'UserPermission';
15288
- role: Role;
14558
+ viewerUserPermission2: {
14559
+ __typename?: 'ViewerUserPermission';
14560
+ permissions: Array<Permission>;
14561
+ effectivePermissions: Array<Permission>;
15289
14562
  };
15290
14563
  };
15291
14564
  githubRepository?: {
@@ -15381,9 +14654,10 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
15381
14654
  id: string;
15382
14655
  username: string;
15383
14656
  } | null;
15384
- viewerUserPermission: {
15385
- __typename?: 'UserPermission';
15386
- role: Role;
14657
+ viewerUserPermission2: {
14658
+ __typename?: 'ViewerUserPermission';
14659
+ permissions: Array<Permission>;
14660
+ effectivePermissions: Array<Permission>;
15387
14661
  };
15388
14662
  };
15389
14663
  githubRepository?: {
@@ -15454,9 +14728,10 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
15454
14728
  id: string;
15455
14729
  username: string;
15456
14730
  } | null;
15457
- viewerUserPermission: {
15458
- __typename?: 'UserPermission';
15459
- role: Role;
14731
+ viewerUserPermission2: {
14732
+ __typename?: 'ViewerUserPermission';
14733
+ permissions: Array<Permission>;
14734
+ effectivePermissions: Array<Permission>;
15460
14735
  };
15461
14736
  };
15462
14737
  githubRepository?: {
@@ -15514,9 +14789,10 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
15514
14789
  id: string;
15515
14790
  username: string;
15516
14791
  } | null;
15517
- viewerUserPermission: {
15518
- __typename?: 'UserPermission';
15519
- role: Role;
14792
+ viewerUserPermission2: {
14793
+ __typename?: 'ViewerUserPermission';
14794
+ permissions: Array<Permission>;
14795
+ effectivePermissions: Array<Permission>;
15520
14796
  };
15521
14797
  };
15522
14798
  githubRepository?: {
@@ -15766,9 +15042,10 @@ export type AppleDistributionCertificateByAppQuery = {
15766
15042
  id: string;
15767
15043
  username: string;
15768
15044
  } | null;
15769
- viewerUserPermission: {
15770
- __typename?: 'UserPermission';
15771
- role: Role;
15045
+ viewerUserPermission2: {
15046
+ __typename?: 'ViewerUserPermission';
15047
+ permissions: Array<Permission>;
15048
+ effectivePermissions: Array<Permission>;
15772
15049
  };
15773
15050
  };
15774
15051
  githubRepository?: {
@@ -15860,9 +15137,10 @@ export type AppleDistributionCertificatesPaginatedByAccountQuery = {
15860
15137
  id: string;
15861
15138
  username: string;
15862
15139
  } | null;
15863
- viewerUserPermission: {
15864
- __typename?: 'UserPermission';
15865
- role: Role;
15140
+ viewerUserPermission2: {
15141
+ __typename?: 'ViewerUserPermission';
15142
+ permissions: Array<Permission>;
15143
+ effectivePermissions: Array<Permission>;
15866
15144
  };
15867
15145
  };
15868
15146
  githubRepository?: {
@@ -16005,9 +15283,10 @@ export type ApplePushKeysPaginatedByAccountQuery = {
16005
15283
  id: string;
16006
15284
  username: string;
16007
15285
  } | null;
16008
- viewerUserPermission: {
16009
- __typename?: 'UserPermission';
16010
- role: Role;
15286
+ viewerUserPermission2: {
15287
+ __typename?: 'ViewerUserPermission';
15288
+ permissions: Array<Permission>;
15289
+ effectivePermissions: Array<Permission>;
16011
15290
  };
16012
15291
  };
16013
15292
  githubRepository?: {
@@ -16154,9 +15433,10 @@ export type IosAppBuildCredentialsByAppleAppIdentiferAndDistributionQuery = {
16154
15433
  id: string;
16155
15434
  username: string;
16156
15435
  } | null;
16157
- viewerUserPermission: {
16158
- __typename?: 'UserPermission';
16159
- role: Role;
15436
+ viewerUserPermission2: {
15437
+ __typename?: 'ViewerUserPermission';
15438
+ permissions: Array<Permission>;
15439
+ effectivePermissions: Array<Permission>;
16160
15440
  };
16161
15441
  };
16162
15442
  githubRepository?: {
@@ -16272,9 +15552,10 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
16272
15552
  id: string;
16273
15553
  username: string;
16274
15554
  } | null;
16275
- viewerUserPermission: {
16276
- __typename?: 'UserPermission';
16277
- role: Role;
15555
+ viewerUserPermission2: {
15556
+ __typename?: 'ViewerUserPermission';
15557
+ permissions: Array<Permission>;
15558
+ effectivePermissions: Array<Permission>;
16278
15559
  };
16279
15560
  };
16280
15561
  githubRepository?: {
@@ -16345,9 +15626,10 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
16345
15626
  id: string;
16346
15627
  username: string;
16347
15628
  } | null;
16348
- viewerUserPermission: {
16349
- __typename?: 'UserPermission';
16350
- role: Role;
15629
+ viewerUserPermission2: {
15630
+ __typename?: 'ViewerUserPermission';
15631
+ permissions: Array<Permission>;
15632
+ effectivePermissions: Array<Permission>;
16351
15633
  };
16352
15634
  };
16353
15635
  githubRepository?: {
@@ -16405,9 +15687,10 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
16405
15687
  id: string;
16406
15688
  username: string;
16407
15689
  } | null;
16408
- viewerUserPermission: {
16409
- __typename?: 'UserPermission';
16410
- role: Role;
15690
+ viewerUserPermission2: {
15691
+ __typename?: 'ViewerUserPermission';
15692
+ permissions: Array<Permission>;
15693
+ effectivePermissions: Array<Permission>;
16411
15694
  };
16412
15695
  };
16413
15696
  githubRepository?: {
@@ -16507,9 +15790,10 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
16507
15790
  id: string;
16508
15791
  username: string;
16509
15792
  } | null;
16510
- viewerUserPermission: {
16511
- __typename?: 'UserPermission';
16512
- role: Role;
15793
+ viewerUserPermission2: {
15794
+ __typename?: 'ViewerUserPermission';
15795
+ permissions: Array<Permission>;
15796
+ effectivePermissions: Array<Permission>;
16513
15797
  };
16514
15798
  };
16515
15799
  githubRepository?: {
@@ -16580,9 +15864,10 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
16580
15864
  id: string;
16581
15865
  username: string;
16582
15866
  } | null;
16583
- viewerUserPermission: {
16584
- __typename?: 'UserPermission';
16585
- role: Role;
15867
+ viewerUserPermission2: {
15868
+ __typename?: 'ViewerUserPermission';
15869
+ permissions: Array<Permission>;
15870
+ effectivePermissions: Array<Permission>;
16586
15871
  };
16587
15872
  };
16588
15873
  githubRepository?: {
@@ -16640,9 +15925,10 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
16640
15925
  id: string;
16641
15926
  username: string;
16642
15927
  } | null;
16643
- viewerUserPermission: {
16644
- __typename?: 'UserPermission';
16645
- role: Role;
15928
+ viewerUserPermission2: {
15929
+ __typename?: 'ViewerUserPermission';
15930
+ permissions: Array<Permission>;
15931
+ effectivePermissions: Array<Permission>;
16646
15932
  };
16647
15933
  };
16648
15934
  githubRepository?: {
@@ -18424,10 +17710,11 @@ export type AccountByNameQuery = {
18424
17710
  __typename?: 'Account';
18425
17711
  id: string;
18426
17712
  name: string;
18427
- viewerUserPermission: {
18428
- __typename?: 'UserPermission';
17713
+ viewerUserPermission2: {
17714
+ __typename?: 'ViewerUserPermission';
18429
17715
  id: string;
18430
17716
  permissions: Array<Permission>;
17717
+ effectivePermissions: Array<Permission>;
18431
17718
  };
18432
17719
  };
18433
17720
  };
@@ -18735,9 +18022,10 @@ export type AppByIdQuery = {
18735
18022
  id: string;
18736
18023
  username: string;
18737
18024
  } | null;
18738
- viewerUserPermission: {
18739
- __typename?: 'UserPermission';
18740
- role: Role;
18025
+ viewerUserPermission2: {
18026
+ __typename?: 'ViewerUserPermission';
18027
+ permissions: Array<Permission>;
18028
+ effectivePermissions: Array<Permission>;
18741
18029
  };
18742
18030
  };
18743
18031
  githubRepository?: {
@@ -18779,9 +18067,10 @@ export type AppByFullNameQuery = {
18779
18067
  id: string;
18780
18068
  username: string;
18781
18069
  } | null;
18782
- viewerUserPermission: {
18783
- __typename?: 'UserPermission';
18784
- role: Role;
18070
+ viewerUserPermission2: {
18071
+ __typename?: 'ViewerUserPermission';
18072
+ permissions: Array<Permission>;
18073
+ effectivePermissions: Array<Permission>;
18785
18074
  };
18786
18075
  };
18787
18076
  githubRepository?: {
@@ -18986,9 +18275,10 @@ export type AscAppLinkAppMetadataQuery = {
18986
18275
  id: string;
18987
18276
  username: string;
18988
18277
  } | null;
18989
- viewerUserPermission: {
18990
- __typename?: 'UserPermission';
18991
- role: Role;
18278
+ viewerUserPermission2: {
18279
+ __typename?: 'ViewerUserPermission';
18280
+ permissions: Array<Permission>;
18281
+ effectivePermissions: Array<Permission>;
18992
18282
  };
18993
18283
  };
18994
18284
  appStoreConnectApp?: {
@@ -20273,6 +19563,7 @@ export type DeviceRunSessionByIdQuery = {
20273
19563
  id: string;
20274
19564
  name?: string | null;
20275
19565
  tags: Array<string>;
19566
+ publicPreview: boolean;
20276
19567
  status: DeviceRunSessionStatus;
20277
19568
  type: DeviceRunSessionType;
20278
19569
  platform: AppPlatform;
@@ -22516,9 +21807,10 @@ export type CurrentUserQuery = {
22516
21807
  id: string;
22517
21808
  username: string;
22518
21809
  } | null;
22519
- viewerUserPermission: {
22520
- __typename?: 'UserPermission';
22521
- role: Role;
21810
+ viewerUserPermission2: {
21811
+ __typename?: 'ViewerUserPermission';
21812
+ permissions: Array<Permission>;
21813
+ effectivePermissions: Array<Permission>;
22522
21814
  };
22523
21815
  }>;
22524
21816
  } | {
@@ -22540,9 +21832,10 @@ export type CurrentUserQuery = {
22540
21832
  id: string;
22541
21833
  username: string;
22542
21834
  } | null;
22543
- viewerUserPermission: {
22544
- __typename?: 'UserPermission';
22545
- role: Role;
21835
+ viewerUserPermission2: {
21836
+ __typename?: 'ViewerUserPermission';
21837
+ permissions: Array<Permission>;
21838
+ effectivePermissions: Array<Permission>;
22546
21839
  };
22547
21840
  }>;
22548
21841
  } | {
@@ -22564,9 +21857,10 @@ export type CurrentUserQuery = {
22564
21857
  id: string;
22565
21858
  username: string;
22566
21859
  } | null;
22567
- viewerUserPermission: {
22568
- __typename?: 'UserPermission';
22569
- role: Role;
21860
+ viewerUserPermission2: {
21861
+ __typename?: 'ViewerUserPermission';
21862
+ permissions: Array<Permission>;
21863
+ effectivePermissions: Array<Permission>;
22570
21864
  };
22571
21865
  }>;
22572
21866
  } | {
@@ -22589,9 +21883,10 @@ export type CurrentUserQuery = {
22589
21883
  id: string;
22590
21884
  username: string;
22591
21885
  } | null;
22592
- viewerUserPermission: {
22593
- __typename?: 'UserPermission';
22594
- role: Role;
21886
+ viewerUserPermission2: {
21887
+ __typename?: 'ViewerUserPermission';
21888
+ permissions: Array<Permission>;
21889
+ effectivePermissions: Array<Permission>;
22595
21890
  };
22596
21891
  }>;
22597
21892
  } | null;
@@ -22623,9 +21918,10 @@ export type CurrentUserWithPrimaryAccountQuery = {
22623
21918
  id: string;
22624
21919
  username: string;
22625
21920
  } | null;
22626
- viewerUserPermission: {
22627
- __typename?: 'UserPermission';
22628
- role: Role;
21921
+ viewerUserPermission2: {
21922
+ __typename?: 'ViewerUserPermission';
21923
+ permissions: Array<Permission>;
21924
+ effectivePermissions: Array<Permission>;
22629
21925
  };
22630
21926
  };
22631
21927
  } | {
@@ -22644,9 +21940,10 @@ export type CurrentUserWithPrimaryAccountQuery = {
22644
21940
  id: string;
22645
21941
  username: string;
22646
21942
  } | null;
22647
- viewerUserPermission: {
22648
- __typename?: 'UserPermission';
22649
- role: Role;
21943
+ viewerUserPermission2: {
21944
+ __typename?: 'ViewerUserPermission';
21945
+ permissions: Array<Permission>;
21946
+ effectivePermissions: Array<Permission>;
22650
21947
  };
22651
21948
  };
22652
21949
  } | null;
@@ -23501,9 +22798,10 @@ export type AccountFragment = {
23501
22798
  id: string;
23502
22799
  username: string;
23503
22800
  } | null;
23504
- viewerUserPermission: {
23505
- __typename?: 'UserPermission';
23506
- role: Role;
22801
+ viewerUserPermission2: {
22802
+ __typename?: 'ViewerUserPermission';
22803
+ permissions: Array<Permission>;
22804
+ effectivePermissions: Array<Permission>;
23507
22805
  };
23508
22806
  };
23509
22807
  export type InvoiceLineItemFragment = {
@@ -23715,9 +23013,10 @@ type MeActorFragment_PartnerActor = {
23715
23013
  id: string;
23716
23014
  username: string;
23717
23015
  } | null;
23718
- viewerUserPermission: {
23719
- __typename?: 'UserPermission';
23720
- role: Role;
23016
+ viewerUserPermission2: {
23017
+ __typename?: 'ViewerUserPermission';
23018
+ permissions: Array<Permission>;
23019
+ effectivePermissions: Array<Permission>;
23721
23020
  };
23722
23021
  }>;
23723
23022
  };
@@ -23740,9 +23039,10 @@ type MeActorFragment_Robot = {
23740
23039
  id: string;
23741
23040
  username: string;
23742
23041
  } | null;
23743
- viewerUserPermission: {
23744
- __typename?: 'UserPermission';
23745
- role: Role;
23042
+ viewerUserPermission2: {
23043
+ __typename?: 'ViewerUserPermission';
23044
+ permissions: Array<Permission>;
23045
+ effectivePermissions: Array<Permission>;
23746
23046
  };
23747
23047
  }>;
23748
23048
  };
@@ -23765,9 +23065,10 @@ type MeActorFragment_SsoUser = {
23765
23065
  id: string;
23766
23066
  username: string;
23767
23067
  } | null;
23768
- viewerUserPermission: {
23769
- __typename?: 'UserPermission';
23770
- role: Role;
23068
+ viewerUserPermission2: {
23069
+ __typename?: 'ViewerUserPermission';
23070
+ permissions: Array<Permission>;
23071
+ effectivePermissions: Array<Permission>;
23771
23072
  };
23772
23073
  }>;
23773
23074
  };
@@ -23791,9 +23092,10 @@ type MeActorFragment_User = {
23791
23092
  id: string;
23792
23093
  username: string;
23793
23094
  } | null;
23794
- viewerUserPermission: {
23795
- __typename?: 'UserPermission';
23796
- role: Role;
23095
+ viewerUserPermission2: {
23096
+ __typename?: 'ViewerUserPermission';
23097
+ permissions: Array<Permission>;
23098
+ effectivePermissions: Array<Permission>;
23797
23099
  };
23798
23100
  }>;
23799
23101
  };
@@ -23817,9 +23119,10 @@ export type AppFragment = {
23817
23119
  id: string;
23818
23120
  username: string;
23819
23121
  } | null;
23820
- viewerUserPermission: {
23821
- __typename?: 'UserPermission';
23822
- role: Role;
23122
+ viewerUserPermission2: {
23123
+ __typename?: 'ViewerUserPermission';
23124
+ permissions: Array<Permission>;
23125
+ effectivePermissions: Array<Permission>;
23823
23126
  };
23824
23127
  };
23825
23128
  githubRepository?: {
@@ -25178,9 +24481,10 @@ export type CommonAndroidAppCredentialsFragment = {
25178
24481
  id: string;
25179
24482
  username: string;
25180
24483
  } | null;
25181
- viewerUserPermission: {
25182
- __typename?: 'UserPermission';
25183
- role: Role;
24484
+ viewerUserPermission2: {
24485
+ __typename?: 'ViewerUserPermission';
24486
+ permissions: Array<Permission>;
24487
+ effectivePermissions: Array<Permission>;
25184
24488
  };
25185
24489
  };
25186
24490
  githubRepository?: {
@@ -25363,9 +24667,10 @@ export type AppleDistributionCertificateFragment = {
25363
24667
  id: string;
25364
24668
  username: string;
25365
24669
  } | null;
25366
- viewerUserPermission: {
25367
- __typename?: 'UserPermission';
25368
- role: Role;
24670
+ viewerUserPermission2: {
24671
+ __typename?: 'ViewerUserPermission';
24672
+ permissions: Array<Permission>;
24673
+ effectivePermissions: Array<Permission>;
25369
24674
  };
25370
24675
  };
25371
24676
  githubRepository?: {
@@ -25454,9 +24759,10 @@ export type ApplePushKeyFragment = {
25454
24759
  id: string;
25455
24760
  username: string;
25456
24761
  } | null;
25457
- viewerUserPermission: {
25458
- __typename?: 'UserPermission';
25459
- role: Role;
24762
+ viewerUserPermission2: {
24763
+ __typename?: 'ViewerUserPermission';
24764
+ permissions: Array<Permission>;
24765
+ effectivePermissions: Array<Permission>;
25460
24766
  };
25461
24767
  };
25462
24768
  githubRepository?: {
@@ -25538,9 +24844,10 @@ export type IosAppBuildCredentialsFragment = {
25538
24844
  id: string;
25539
24845
  username: string;
25540
24846
  } | null;
25541
- viewerUserPermission: {
25542
- __typename?: 'UserPermission';
25543
- role: Role;
24847
+ viewerUserPermission2: {
24848
+ __typename?: 'ViewerUserPermission';
24849
+ permissions: Array<Permission>;
24850
+ effectivePermissions: Array<Permission>;
25544
24851
  };
25545
24852
  };
25546
24853
  githubRepository?: {
@@ -25614,9 +24921,10 @@ export type CommonIosAppCredentialsWithoutBuildCredentialsFragment = {
25614
24921
  id: string;
25615
24922
  username: string;
25616
24923
  } | null;
25617
- viewerUserPermission: {
25618
- __typename?: 'UserPermission';
25619
- role: Role;
24924
+ viewerUserPermission2: {
24925
+ __typename?: 'ViewerUserPermission';
24926
+ permissions: Array<Permission>;
24927
+ effectivePermissions: Array<Permission>;
25620
24928
  };
25621
24929
  };
25622
24930
  githubRepository?: {
@@ -25674,9 +24982,10 @@ export type CommonIosAppCredentialsWithoutBuildCredentialsFragment = {
25674
24982
  id: string;
25675
24983
  username: string;
25676
24984
  } | null;
25677
- viewerUserPermission: {
25678
- __typename?: 'UserPermission';
25679
- role: Role;
24985
+ viewerUserPermission2: {
24986
+ __typename?: 'ViewerUserPermission';
24987
+ permissions: Array<Permission>;
24988
+ effectivePermissions: Array<Permission>;
25680
24989
  };
25681
24990
  };
25682
24991
  githubRepository?: {
@@ -25762,9 +25071,10 @@ export type CommonIosAppCredentialsFragment = {
25762
25071
  id: string;
25763
25072
  username: string;
25764
25073
  } | null;
25765
- viewerUserPermission: {
25766
- __typename?: 'UserPermission';
25767
- role: Role;
25074
+ viewerUserPermission2: {
25075
+ __typename?: 'ViewerUserPermission';
25076
+ permissions: Array<Permission>;
25077
+ effectivePermissions: Array<Permission>;
25768
25078
  };
25769
25079
  };
25770
25080
  githubRepository?: {
@@ -25835,9 +25145,10 @@ export type CommonIosAppCredentialsFragment = {
25835
25145
  id: string;
25836
25146
  username: string;
25837
25147
  } | null;
25838
- viewerUserPermission: {
25839
- __typename?: 'UserPermission';
25840
- role: Role;
25148
+ viewerUserPermission2: {
25149
+ __typename?: 'ViewerUserPermission';
25150
+ permissions: Array<Permission>;
25151
+ effectivePermissions: Array<Permission>;
25841
25152
  };
25842
25153
  };
25843
25154
  githubRepository?: {
@@ -25895,9 +25206,10 @@ export type CommonIosAppCredentialsFragment = {
25895
25206
  id: string;
25896
25207
  username: string;
25897
25208
  } | null;
25898
- viewerUserPermission: {
25899
- __typename?: 'UserPermission';
25900
- role: Role;
25209
+ viewerUserPermission2: {
25210
+ __typename?: 'ViewerUserPermission';
25211
+ permissions: Array<Permission>;
25212
+ effectivePermissions: Array<Permission>;
25901
25213
  };
25902
25214
  };
25903
25215
  githubRepository?: {