eas-cli 18.7.0 → 18.8.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 (49) hide show
  1. package/README.md +147 -90
  2. package/build/build/utils/url.d.ts +6 -0
  3. package/build/build/utils/url.js +9 -0
  4. package/build/channel/insights/formatInsights.d.ts +47 -0
  5. package/build/channel/insights/formatInsights.js +108 -0
  6. package/build/commands/channel/insights.d.ts +18 -0
  7. package/build/commands/channel/insights.js +71 -0
  8. package/build/commands/observe/events.d.ts +1 -0
  9. package/build/commands/observe/events.js +17 -4
  10. package/build/commands/observe/metrics.d.ts +1 -0
  11. package/build/commands/observe/metrics.js +18 -6
  12. package/build/commands/observe/versions.d.ts +1 -0
  13. package/build/commands/observe/versions.js +17 -4
  14. package/build/commands/simulator/start.d.ts +16 -0
  15. package/build/commands/simulator/start.js +203 -0
  16. package/build/commands/update/insights.d.ts +19 -0
  17. package/build/commands/update/insights.js +75 -0
  18. package/build/commands/update/view.d.ts +4 -0
  19. package/build/commands/update/view.js +47 -2
  20. package/build/credentials/ios/appstore/capabilityIdentifiers.js +28 -3
  21. package/build/graphql/client.d.ts +13 -0
  22. package/build/graphql/client.js +36 -1
  23. package/build/graphql/generated.d.ts +318 -0
  24. package/build/graphql/generated.js +21 -3
  25. package/build/graphql/mutations/DeviceRunSessionMutation.d.ts +5 -0
  26. package/build/graphql/mutations/DeviceRunSessionMutation.js +34 -0
  27. package/build/graphql/queries/ChannelInsightsQuery.d.ts +12 -0
  28. package/build/graphql/queries/ChannelInsightsQuery.js +81 -0
  29. package/build/graphql/queries/DeviceRunSessionQuery.d.ts +5 -0
  30. package/build/graphql/queries/DeviceRunSessionQuery.js +28 -0
  31. package/build/graphql/queries/UpdateInsightsQuery.d.ts +10 -0
  32. package/build/graphql/queries/UpdateInsightsQuery.js +53 -0
  33. package/build/graphql/types/Observe.js +1 -0
  34. package/build/insights/formatTimespan.d.ts +7 -0
  35. package/build/insights/formatTimespan.js +15 -0
  36. package/build/insights/timeRange.d.ts +10 -0
  37. package/build/insights/timeRange.js +10 -0
  38. package/build/metadata/apple/tasks/previews.js +41 -15
  39. package/build/observe/formatEvents.d.ts +3 -0
  40. package/build/observe/formatEvents.js +4 -0
  41. package/build/observe/formatMetrics.d.ts +3 -2
  42. package/build/observe/formatMetrics.js +16 -27
  43. package/build/observe/formatVersions.js +2 -8
  44. package/build/update/insights/formatInsights.d.ts +34 -0
  45. package/build/update/insights/formatInsights.js +128 -0
  46. package/build/utils/renderTextTable.d.ts +6 -0
  47. package/build/utils/renderTextTable.js +23 -0
  48. package/oclif.manifest.json +995 -593
  49. package/package.json +5 -5
@@ -616,6 +616,8 @@ export type AccountMutation = {
616
616
  cancelAllSubscriptionsImmediately: Account;
617
617
  /** Cancel scheduled subscription change */
618
618
  cancelScheduledSubscriptionChange: Account;
619
+ /** Buys or revokes account's additional agent credits, charging the account the appropriate amount if needed. */
620
+ changeAdditionalAgentCreditsCount: Account;
619
621
  /** Buys or revokes account's additional concurrencies, charging the account the appropriate amount if needed. */
620
622
  changeAdditionalConcurrenciesCount: Account;
621
623
  /** Upgrades or downgrades the active subscription to the newPlanIdentifier, which must be one of the EAS plans (i.e., Production or Enterprise). */
@@ -650,6 +652,10 @@ export type AccountMutationCancelAllSubscriptionsImmediatelyArgs = {
650
652
  export type AccountMutationCancelScheduledSubscriptionChangeArgs = {
651
653
  accountID: Scalars['ID']['input'];
652
654
  };
655
+ export type AccountMutationChangeAdditionalAgentCreditsCountArgs = {
656
+ accountID: Scalars['ID']['input'];
657
+ newAdditionalAgentCreditsCount: Scalars['Int']['input'];
658
+ };
653
659
  export type AccountMutationChangeAdditionalConcurrenciesCountArgs = {
654
660
  accountID: Scalars['ID']['input'];
655
661
  newAdditionalConcurrenciesCount: Scalars['Int']['input'];
@@ -716,8 +722,11 @@ export type AccountNotificationPreferenceInput = {
716
722
  export type AccountOnboardingStats = {
717
723
  __typename?: 'AccountOnboardingStats';
718
724
  firstBuildCompletedAt?: Maybe<Scalars['DateTime']['output']>;
725
+ firstProjectCreatedAt?: Maybe<Scalars['DateTime']['output']>;
719
726
  firstSubmissionCompletedAt?: Maybe<Scalars['DateTime']['output']>;
727
+ firstUpdateCreatedAt?: Maybe<Scalars['DateTime']['output']>;
720
728
  hasConfiguredUpdate: Scalars['Boolean']['output'];
729
+ hasConfiguredWorkflow: Scalars['Boolean']['output'];
721
730
  hasTeamMembers: Scalars['Boolean']['output'];
722
731
  };
723
732
  export type AccountQuery = {
@@ -2428,6 +2437,19 @@ export type AppleDeviceRegistrationRequestMutationCreateAppleDeviceRegistrationR
2428
2437
  accountId: Scalars['ID']['input'];
2429
2438
  appleTeamId: Scalars['ID']['input'];
2430
2439
  };
2440
+ /** Publicly visible data for an AppleDeviceRegistrationRequest. */
2441
+ export type AppleDeviceRegistrationRequestPublicData = {
2442
+ __typename?: 'AppleDeviceRegistrationRequestPublicData';
2443
+ id: Scalars['ID']['output'];
2444
+ };
2445
+ export type AppleDeviceRegistrationRequestPublicDataQuery = {
2446
+ __typename?: 'AppleDeviceRegistrationRequestPublicDataQuery';
2447
+ /** Get AppleDeviceRegistrationRequest public data by ID */
2448
+ byId?: Maybe<AppleDeviceRegistrationRequestPublicData>;
2449
+ };
2450
+ export type AppleDeviceRegistrationRequestPublicDataQueryByIdArgs = {
2451
+ id: Scalars['ID']['input'];
2452
+ };
2431
2453
  export type AppleDeviceRegistrationRequestQuery = {
2432
2454
  __typename?: 'AppleDeviceRegistrationRequestQuery';
2433
2455
  byId: AppleDeviceRegistrationRequest;
@@ -3469,6 +3491,7 @@ export type ConvexTeamConnectionMutation = {
3469
3491
  __typename?: 'ConvexTeamConnectionMutation';
3470
3492
  createConvexTeamConnection: ConvexTeamConnection;
3471
3493
  deleteConvexTeamConnection: ConvexTeamConnection;
3494
+ sendConvexTeamInviteToVerifiedEmail: Scalars['Boolean']['output'];
3472
3495
  };
3473
3496
  export type ConvexTeamConnectionMutationCreateConvexTeamConnectionArgs = {
3474
3497
  convexTeamConnectionData: CreateConvexTeamConnectionInput;
@@ -3476,6 +3499,9 @@ export type ConvexTeamConnectionMutationCreateConvexTeamConnectionArgs = {
3476
3499
  export type ConvexTeamConnectionMutationDeleteConvexTeamConnectionArgs = {
3477
3500
  convexTeamConnectionId: Scalars['ID']['input'];
3478
3501
  };
3502
+ export type ConvexTeamConnectionMutationSendConvexTeamInviteToVerifiedEmailArgs = {
3503
+ input: SendConvexTeamInviteToVerifiedEmailInput;
3504
+ };
3479
3505
  export declare enum CrashSampleFor {
3480
3506
  Newest = "NEWEST",
3481
3507
  Oldest = "OLDEST"
@@ -3536,6 +3562,16 @@ export type CreateConvexTeamConnectionInput = {
3536
3562
  convexTeamName?: InputMaybe<Scalars['String']['input']>;
3537
3563
  deploymentRegion: Scalars['String']['input'];
3538
3564
  };
3565
+ export type CreateDeviceRunSessionInput = {
3566
+ appId: Scalars['ID']['input'];
3567
+ /**
3568
+ * The version of the package backing the device run session (e.g. "0.1.3-alpha.3").
3569
+ * If omitted, consumers treat the session as pinned to "latest".
3570
+ */
3571
+ packageVersion?: InputMaybe<Scalars['String']['input']>;
3572
+ platform: AppPlatform;
3573
+ type: DeviceRunSessionType;
3574
+ };
3539
3575
  export type CreateEchoChatInput = {
3540
3576
  agentMetadata?: InputMaybe<Scalars['JSONObject']['input']>;
3541
3577
  agentType?: InputMaybe<EchoAgentType>;
@@ -3561,6 +3597,13 @@ export type CreateEchoMessagePartInput = {
3561
3597
  index?: InputMaybe<Scalars['Int']['input']>;
3562
3598
  type: EchoMessagePartType;
3563
3599
  };
3600
+ export type CreateEchoProjectIconInput = {
3601
+ accentColor?: InputMaybe<Scalars['String']['input']>;
3602
+ model?: InputMaybe<Scalars['String']['input']>;
3603
+ prompt?: InputMaybe<Scalars['String']['input']>;
3604
+ source: EchoProjectIconSource;
3605
+ url: Scalars['String']['input'];
3606
+ };
3564
3607
  export type CreateEchoProjectInput = {
3565
3608
  accountId: Scalars['ID']['input'];
3566
3609
  currentPreviewEchoVersionId?: InputMaybe<Scalars['ID']['input']>;
@@ -4025,6 +4068,54 @@ export type DeploymentsMutationDeleteWorkerDeploymentByIdentifierArgs = {
4025
4068
  appId: Scalars['ID']['input'];
4026
4069
  deploymentIdentifier: Scalars['ID']['input'];
4027
4070
  };
4071
+ export type DeviceRunSession = {
4072
+ __typename?: 'DeviceRunSession';
4073
+ app: App;
4074
+ createdAt: Scalars['DateTime']['output'];
4075
+ finishedAt?: Maybe<Scalars['DateTime']['output']>;
4076
+ id: Scalars['ID']['output'];
4077
+ initiatingActor?: Maybe<Actor>;
4078
+ /**
4079
+ * The version of the package backing the device run session. Null means the session is
4080
+ * pinned to "latest" at the consumer side.
4081
+ */
4082
+ packageVersion?: Maybe<Scalars['String']['output']>;
4083
+ platform: AppPlatform;
4084
+ startedAt?: Maybe<Scalars['DateTime']['output']>;
4085
+ status: DeviceRunSessionStatus;
4086
+ turtleJobRun?: Maybe<JobRun>;
4087
+ type: DeviceRunSessionType;
4088
+ updatedAt: Scalars['DateTime']['output'];
4089
+ };
4090
+ export type DeviceRunSessionMutation = {
4091
+ __typename?: 'DeviceRunSessionMutation';
4092
+ /** Create a device run session */
4093
+ createDeviceRunSession: DeviceRunSession;
4094
+ /** Stop a device run session */
4095
+ stopDeviceRunSession: DeviceRunSession;
4096
+ };
4097
+ export type DeviceRunSessionMutationCreateDeviceRunSessionArgs = {
4098
+ deviceRunSessionInput: CreateDeviceRunSessionInput;
4099
+ };
4100
+ export type DeviceRunSessionMutationStopDeviceRunSessionArgs = {
4101
+ deviceRunSessionId: Scalars['ID']['input'];
4102
+ };
4103
+ export type DeviceRunSessionQuery = {
4104
+ __typename?: 'DeviceRunSessionQuery';
4105
+ byId: DeviceRunSession;
4106
+ };
4107
+ export type DeviceRunSessionQueryByIdArgs = {
4108
+ deviceRunSessionId: Scalars['ID']['input'];
4109
+ };
4110
+ export declare enum DeviceRunSessionStatus {
4111
+ Errored = "ERRORED",
4112
+ InProgress = "IN_PROGRESS",
4113
+ New = "NEW",
4114
+ Stopped = "STOPPED"
4115
+ }
4116
+ export declare enum DeviceRunSessionType {
4117
+ AgentDevice = "AGENT_DEVICE"
4118
+ }
4028
4119
  export type DiscordUser = {
4029
4120
  __typename?: 'DiscordUser';
4030
4121
  discordIdentifier: Scalars['String']['output'];
@@ -4295,6 +4386,7 @@ export type EchoProject = {
4295
4386
  description?: Maybe<Scalars['String']['output']>;
4296
4387
  displayName?: Maybe<Scalars['String']['output']>;
4297
4388
  echoChats: EchoChatConnection;
4389
+ echoProjectIcon?: Maybe<EchoProjectIconGalleryItem>;
4298
4390
  echoVersions: EchoVersionConnection;
4299
4391
  /** Environment variables for this Echo project */
4300
4392
  environmentVariables: Array<EnvironmentVariable>;
@@ -4305,6 +4397,7 @@ export type EchoProject = {
4305
4397
  environmentVariablesIncludingSensitive: Array<EnvironmentVariableWithSecret>;
4306
4398
  githubInfo?: Maybe<EchoProjectGithubInfo>;
4307
4399
  icon?: Maybe<EchoProjectIcon>;
4400
+ iconGallery: Array<EchoProjectIconGalleryItem>;
4308
4401
  id: Scalars['ID']['output'];
4309
4402
  images: Array<EchoProjectImage>;
4310
4403
  initFromEchoProject?: Maybe<EchoProject>;
@@ -4363,10 +4456,24 @@ export type EchoProjectIcon = {
4363
4456
  accentColor?: Maybe<Scalars['String']['output']>;
4364
4457
  url: Scalars['String']['output'];
4365
4458
  };
4459
+ export type EchoProjectIconGalleryItem = {
4460
+ __typename?: 'EchoProjectIconGalleryItem';
4461
+ accentColor?: Maybe<Scalars['String']['output']>;
4462
+ createdAt: Scalars['DateTime']['output'];
4463
+ id: Scalars['ID']['output'];
4464
+ model?: Maybe<Scalars['String']['output']>;
4465
+ prompt?: Maybe<Scalars['String']['output']>;
4466
+ source: EchoProjectIconSource;
4467
+ url: Scalars['String']['output'];
4468
+ };
4366
4469
  export type EchoProjectIconInput = {
4367
4470
  accentColor?: InputMaybe<Scalars['String']['input']>;
4368
4471
  url: Scalars['String']['input'];
4369
4472
  };
4473
+ export declare enum EchoProjectIconSource {
4474
+ AiGenerated = "AI_GENERATED",
4475
+ UserUploaded = "USER_UPLOADED"
4476
+ }
4370
4477
  export type EchoProjectImage = {
4371
4478
  __typename?: 'EchoProjectImage';
4372
4479
  createdAt: Scalars['DateTime']['output'];
@@ -4377,17 +4484,38 @@ export type EchoProjectMutation = {
4377
4484
  __typename?: 'EchoProjectMutation';
4378
4485
  /** Create a new Echo project */
4379
4486
  createEchoProject: EchoProject;
4487
+ /**
4488
+ * Add one or more icons to the project's icon gallery.
4489
+ * Used for both AI-generated batches and user uploads.
4490
+ */
4491
+ createEchoProjectIcons: Array<EchoProjectIconGalleryItem>;
4380
4492
  /** Delete an Echo project by ID */
4381
4493
  deleteEchoProject: EchoProject;
4494
+ /** Delete an icon from the gallery. If it is the active icon, clears the project's icon. */
4495
+ deleteEchoProjectIcon: EchoProjectIconGalleryItem;
4496
+ /** Select an icon from the gallery as the project's active icon. */
4497
+ selectEchoProjectIcon: EchoProject;
4382
4498
  /** Update an Echo project */
4383
4499
  updateEchoProject: EchoProject;
4384
4500
  };
4385
4501
  export type EchoProjectMutationCreateEchoProjectArgs = {
4386
4502
  input: CreateEchoProjectInput;
4387
4503
  };
4504
+ export type EchoProjectMutationCreateEchoProjectIconsArgs = {
4505
+ echoProjectId: Scalars['ID']['input'];
4506
+ icons: Array<CreateEchoProjectIconInput>;
4507
+ };
4388
4508
  export type EchoProjectMutationDeleteEchoProjectArgs = {
4389
4509
  id: Scalars['ID']['input'];
4390
4510
  };
4511
+ export type EchoProjectMutationDeleteEchoProjectIconArgs = {
4512
+ echoProjectIconId: Scalars['ID']['input'];
4513
+ echoProjectId: Scalars['ID']['input'];
4514
+ };
4515
+ export type EchoProjectMutationSelectEchoProjectIconArgs = {
4516
+ echoProjectIconId: Scalars['ID']['input'];
4517
+ echoProjectId: Scalars['ID']['input'];
4518
+ };
4391
4519
  export type EchoProjectMutationUpdateEchoProjectArgs = {
4392
4520
  id: Scalars['ID']['input'];
4393
4521
  input: UpdateEchoProjectInput;
@@ -4465,6 +4593,7 @@ export type EchoRepositoryResult = {
4465
4593
  name: Scalars['String']['output'];
4466
4594
  nodeIdentifier: Scalars['String']['output'];
4467
4595
  owner: Scalars['String']['output'];
4596
+ status: Scalars['String']['output'];
4468
4597
  url: Scalars['String']['output'];
4469
4598
  };
4470
4599
  export type EchoTurn = {
@@ -4610,6 +4739,7 @@ export declare enum EntityTypeName {
4610
4739
  BillingContractEntity = "BillingContractEntity",
4611
4740
  BranchEntity = "BranchEntity",
4612
4741
  ChannelEntity = "ChannelEntity",
4742
+ ConvexTeamConnectionEntity = "ConvexTeamConnectionEntity",
4613
4743
  CustomerEntity = "CustomerEntity",
4614
4744
  EchoProjectEntity = "EchoProjectEntity",
4615
4745
  EchoVersionEntity = "EchoVersionEntity",
@@ -5352,6 +5482,8 @@ export type InvoicePeriod = {
5352
5482
  };
5353
5483
  export type InvoiceQuery = {
5354
5484
  __typename?: 'InvoiceQuery';
5485
+ /** Previews the invoice for the specified number of additional agent credit units. */
5486
+ previewInvoiceForAdditionalAgentCreditsCountUpdate?: Maybe<Invoice>;
5355
5487
  /**
5356
5488
  * Previews the invoice for the specified number of additional concurrencies.
5357
5489
  * This is the total number of concurrencies the customer wishes to purchase
@@ -5363,6 +5495,10 @@ export type InvoiceQuery = {
5363
5495
  /** Preview an upgrade subscription invoice, with proration */
5364
5496
  previewInvoiceForSubscriptionUpdate: Invoice;
5365
5497
  };
5498
+ export type InvoiceQueryPreviewInvoiceForAdditionalAgentCreditsCountUpdateArgs = {
5499
+ accountID: Scalars['ID']['input'];
5500
+ additionalAgentCreditsCount: Scalars['Int']['input'];
5501
+ };
5366
5502
  export type InvoiceQueryPreviewInvoiceForAdditionalConcurrenciesCountUpdateArgs = {
5367
5503
  accountID: Scalars['ID']['input'];
5368
5504
  additionalConcurrenciesCount: Scalars['Int']['input'];
@@ -5958,10 +6094,12 @@ export type OAuthIdentity = {
5958
6094
  __typename?: 'OAuthIdentity';
5959
6095
  email: Scalars['String']['output'];
5960
6096
  id: Scalars['ID']['output'];
6097
+ login?: Maybe<Scalars['String']['output']>;
5961
6098
  provider: OAuthProvider;
5962
6099
  };
5963
6100
  export declare enum OAuthProvider {
5964
6101
  Apple = "apple",
6102
+ Github = "github",
5965
6103
  Google = "google"
5966
6104
  }
5967
6105
  export type Offer = {
@@ -6336,6 +6474,8 @@ export type RootMutation = {
6336
6474
  deployments: DeploymentsMutation;
6337
6475
  /** Mutations that assign or modify DevDomainNames for apps */
6338
6476
  devDomainName: AppDevDomainNameMutation;
6477
+ /** Mutations that create and stop device run sessions */
6478
+ deviceRunSession: DeviceRunSessionMutation;
6339
6479
  /** Mutations for Discord users */
6340
6480
  discordUser: DiscordUserMutation;
6341
6481
  /** Mutations for Echo chats */
@@ -6464,6 +6604,8 @@ export type RootQuery = {
6464
6604
  appStoreConnectApiKey: AppStoreConnectApiKeyQuery;
6465
6605
  /** Top-level query object for querying Apple Device registration requests. */
6466
6606
  appleDeviceRegistrationRequest: AppleDeviceRegistrationRequestQuery;
6607
+ /** Top-level query object for querying AppleDeviceRegistrationRequest publicly. */
6608
+ appleDeviceRegistrationRequestPublicData: AppleDeviceRegistrationRequestPublicDataQuery;
6467
6609
  /** Top-level query object for querying Apple distribution certificates. */
6468
6610
  appleDistributionCertificate?: Maybe<AppleDistributionCertificateQuery>;
6469
6611
  /** Top-level query object for querying Apple provisioning profiles. */
@@ -6487,6 +6629,7 @@ export type RootQuery = {
6487
6629
  convexIntegration: ConvexIntegrationQuery;
6488
6630
  /** Top-level query object for querying Deployments. */
6489
6631
  deployments: DeploymentQuery;
6632
+ deviceRunSessions: DeviceRunSessionQuery;
6490
6633
  /** Top-level query object for querying Echo chats. */
6491
6634
  echoChat: EchoChatQuery;
6492
6635
  /** Top-level query object for querying Echo messages. */
@@ -6723,6 +6866,7 @@ export type SsoUser = Actor & UserActor & {
6723
6866
  /** Associated accounts */
6724
6867
  primaryAccount: Account;
6725
6868
  primaryAccountProfileImageUrl?: Maybe<Scalars['String']['output']>;
6869
+ /** @deprecated Use primaryAccountProfileImageUrl instead */
6726
6870
  profilePhoto: Scalars['String']['output'];
6727
6871
  /** Snacks associated with this account */
6728
6872
  snacks: Array<Snack>;
@@ -6794,6 +6938,9 @@ export type SecondFactorRegenerateBackupCodesResult = {
6794
6938
  __typename?: 'SecondFactorRegenerateBackupCodesResult';
6795
6939
  plaintextBackupCodes: Array<Scalars['String']['output']>;
6796
6940
  };
6941
+ export type SendConvexTeamInviteToVerifiedEmailInput = {
6942
+ convexTeamConnectionId: Scalars['ID']['input'];
6943
+ };
6797
6944
  export type SentryInstallation = {
6798
6945
  __typename?: 'SentryInstallation';
6799
6946
  account: Account;
@@ -7768,6 +7915,7 @@ export type User = Actor & UserActor & {
7768
7915
  /** Associated accounts */
7769
7916
  primaryAccount: Account;
7770
7917
  primaryAccountProfileImageUrl?: Maybe<Scalars['String']['output']>;
7918
+ /** @deprecated Use primaryAccountProfileImageUrl instead */
7771
7919
  profilePhoto: Scalars['String']['output'];
7772
7920
  /** Get all certified second factor authentication methods */
7773
7921
  secondFactorDevices: Array<UserSecondFactorDevice>;
@@ -7860,6 +8008,7 @@ export type UserActor = {
7860
8008
  /** Associated accounts */
7861
8009
  primaryAccount: Account;
7862
8010
  primaryAccountProfileImageUrl?: Maybe<Scalars['String']['output']>;
8011
+ /** @deprecated Use primaryAccountProfileImageUrl instead */
7863
8012
  profilePhoto: Scalars['String']['output'];
7864
8013
  /** Snacks associated with this user's personal account */
7865
8014
  snacks: Array<Snack>;
@@ -13586,6 +13735,34 @@ export type RetryIosBuildMutation = {
13586
13735
  };
13587
13736
  };
13588
13737
  };
13738
+ export type CreateDeviceRunSessionMutationVariables = Exact<{
13739
+ deviceRunSessionInput: CreateDeviceRunSessionInput;
13740
+ }>;
13741
+ export type CreateDeviceRunSessionMutation = {
13742
+ __typename?: 'RootMutation';
13743
+ deviceRunSession: {
13744
+ __typename?: 'DeviceRunSessionMutation';
13745
+ createDeviceRunSession: {
13746
+ __typename?: 'DeviceRunSession';
13747
+ id: string;
13748
+ status: DeviceRunSessionStatus;
13749
+ app: {
13750
+ __typename?: 'App';
13751
+ id: string;
13752
+ slug: string;
13753
+ ownerAccount: {
13754
+ __typename?: 'Account';
13755
+ id: string;
13756
+ name: string;
13757
+ };
13758
+ };
13759
+ turtleJobRun?: {
13760
+ __typename?: 'JobRun';
13761
+ id: string;
13762
+ } | null;
13763
+ };
13764
+ };
13765
+ };
13589
13766
  export type CreateEnvironmentSecretForAccountMutationVariables = Exact<{
13590
13767
  input: CreateEnvironmentSecretInput;
13591
13768
  accountId: Scalars['String']['input'];
@@ -15569,6 +15746,77 @@ export type ViewBuildsOnAppQuery = {
15569
15746
  };
15570
15747
  };
15571
15748
  };
15749
+ export type ViewChannelRuntimeInsightsOnAppQueryVariables = Exact<{
15750
+ appId: Scalars['String']['input'];
15751
+ channelName: Scalars['String']['input'];
15752
+ runtimeVersion: Scalars['String']['input'];
15753
+ timespan: InsightsTimespan;
15754
+ }>;
15755
+ export type ViewChannelRuntimeInsightsOnAppQuery = {
15756
+ __typename?: 'RootQuery';
15757
+ app: {
15758
+ __typename?: 'AppQuery';
15759
+ byId: {
15760
+ __typename?: 'App';
15761
+ id: string;
15762
+ updateChannelByName?: {
15763
+ __typename?: 'UpdateChannel';
15764
+ id: string;
15765
+ name: string;
15766
+ runtimeInsights: {
15767
+ __typename?: 'UpdateChannelRuntimeInsights';
15768
+ id: string;
15769
+ embeddedUpdateTotalUniqueUsers: number;
15770
+ mostPopularUpdates: Array<{
15771
+ __typename?: 'Update';
15772
+ id: string;
15773
+ group: string;
15774
+ message?: string | null;
15775
+ runtimeVersion: string;
15776
+ platform: string;
15777
+ insights: {
15778
+ __typename?: 'UpdateInsights';
15779
+ id: string;
15780
+ totalUniqueUsers: number;
15781
+ };
15782
+ }>;
15783
+ uniqueUsersOverTime: {
15784
+ __typename?: 'UniqueUsersOverTimeData';
15785
+ data: {
15786
+ __typename?: 'LineChartData';
15787
+ labels: Array<string>;
15788
+ datasets: Array<{
15789
+ __typename?: 'LineDataset';
15790
+ id: string;
15791
+ label: string;
15792
+ data: Array<number | null>;
15793
+ }>;
15794
+ };
15795
+ };
15796
+ cumulativeMetricsOverTime: {
15797
+ __typename?: 'ChannelRuntimeCumulativeMetricsOverTimeData';
15798
+ data: {
15799
+ __typename?: 'LineChartData';
15800
+ labels: Array<string>;
15801
+ datasets: Array<{
15802
+ __typename?: 'LineDataset';
15803
+ id: string;
15804
+ label: string;
15805
+ data: Array<number | null>;
15806
+ }>;
15807
+ };
15808
+ metricsAtLastTimestamp: Array<{
15809
+ __typename?: 'LineDatapoint';
15810
+ id: string;
15811
+ label: string;
15812
+ data: number;
15813
+ }>;
15814
+ };
15815
+ };
15816
+ } | null;
15817
+ };
15818
+ };
15819
+ };
15572
15820
  export type ViewUpdateChannelBasicInfoOnAppQueryVariables = Exact<{
15573
15821
  appId: Scalars['String']['input'];
15574
15822
  channelName: Scalars['String']['input'];
@@ -15810,6 +16058,26 @@ export type ViewUpdateChannelsPaginatedOnAppQuery = {
15810
16058
  };
15811
16059
  };
15812
16060
  };
16061
+ export type DeviceRunSessionByIdQueryVariables = Exact<{
16062
+ deviceRunSessionId: Scalars['ID']['input'];
16063
+ }>;
16064
+ export type DeviceRunSessionByIdQuery = {
16065
+ __typename?: 'RootQuery';
16066
+ deviceRunSessions: {
16067
+ __typename?: 'DeviceRunSessionQuery';
16068
+ byId: {
16069
+ __typename?: 'DeviceRunSession';
16070
+ id: string;
16071
+ status: DeviceRunSessionStatus;
16072
+ turtleJobRun?: {
16073
+ __typename?: 'JobRun';
16074
+ id: string;
16075
+ status: JobRunStatus;
16076
+ logFileUrls: Array<string>;
16077
+ } | null;
16078
+ };
16079
+ };
16080
+ };
15813
16081
  export type EnvironmentSecretsByAppIdQueryVariables = Exact<{
15814
16082
  appId: Scalars['String']['input'];
15815
16083
  }>;
@@ -16244,6 +16512,7 @@ export type AppObserveEventsQuery = {
16244
16512
  countryCode?: string | null;
16245
16513
  sessionId?: string | null;
16246
16514
  easClientId: string;
16515
+ customParams?: any | null;
16247
16516
  };
16248
16517
  }>;
16249
16518
  };
@@ -16440,6 +16709,54 @@ export type GetAllSubmissionsForAppQuery = {
16440
16709
  };
16441
16710
  };
16442
16711
  };
16712
+ export type ViewUpdateGroupInsightsQueryVariables = Exact<{
16713
+ groupId: Scalars['ID']['input'];
16714
+ timespan: InsightsTimespan;
16715
+ }>;
16716
+ export type ViewUpdateGroupInsightsQuery = {
16717
+ __typename?: 'RootQuery';
16718
+ updatesByGroup: Array<{
16719
+ __typename?: 'Update';
16720
+ id: string;
16721
+ platform: string;
16722
+ insights: {
16723
+ __typename?: 'UpdateInsights';
16724
+ id: string;
16725
+ totalUniqueUsers: number;
16726
+ cumulativeAverageMetrics: {
16727
+ __typename?: 'CumulativeAverageMetrics';
16728
+ launchAssetCount: number;
16729
+ averageUpdatePayloadBytes: number;
16730
+ };
16731
+ cumulativeMetrics: {
16732
+ __typename?: 'CumulativeMetrics';
16733
+ metricsAtLastTimestamp: {
16734
+ __typename?: 'CumulativeMetricsTotals';
16735
+ totalInstalls: number;
16736
+ totalFailedInstalls: number;
16737
+ };
16738
+ data: {
16739
+ __typename?: 'UpdatesMetricsData';
16740
+ labels: Array<string>;
16741
+ installsDataset: {
16742
+ __typename?: 'CumulativeUpdatesDataset';
16743
+ id: string;
16744
+ label: string;
16745
+ cumulative: Array<number>;
16746
+ difference: Array<number>;
16747
+ };
16748
+ failedInstallsDataset: {
16749
+ __typename?: 'CumulativeUpdatesDataset';
16750
+ id: string;
16751
+ label: string;
16752
+ cumulative: Array<number>;
16753
+ difference: Array<number>;
16754
+ };
16755
+ };
16756
+ };
16757
+ };
16758
+ }>;
16759
+ };
16443
16760
  export type ViewUpdatesByGroupQueryVariables = Exact<{
16444
16761
  groupId: Scalars['ID']['input'];
16445
16762
  }>;
@@ -18145,6 +18462,7 @@ export type AppObserveEventFragment = {
18145
18462
  countryCode?: string | null;
18146
18463
  sessionId?: string | null;
18147
18464
  easClientId: string;
18465
+ customParams?: any | null;
18148
18466
  };
18149
18467
  export type AppObserveAppVersionFragment = {
18150
18468
  __typename?: 'AppObserveAppVersion';
@@ -6,9 +6,9 @@
6
6
  * For more info and docs, visit https://graphql-code-generator.com/
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DashboardViewPin = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BuildAnnotationType = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObservePlatform = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = void 0;
10
- exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = exports.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EchoVersionSource = exports.EchoProjectVisibility = exports.EchoProjectUploadSessionType = exports.EchoMessageRole = exports.EchoMessagePartType = exports.EchoChatState = exports.EchoChangeType = exports.EchoBuildStatus = exports.EchoAgentType = exports.EasTotalPlanEnablementUnit = void 0;
11
- exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = void 0;
9
+ exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DeviceRunSessionType = exports.DeviceRunSessionStatus = exports.DashboardViewPin = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BuildAnnotationType = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObservePlatform = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = void 0;
10
+ exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = exports.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EchoVersionSource = exports.EchoProjectVisibility = exports.EchoProjectUploadSessionType = exports.EchoProjectIconSource = exports.EchoMessageRole = exports.EchoMessagePartType = exports.EchoChatState = exports.EchoChangeType = exports.EchoBuildStatus = exports.EchoAgentType = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = void 0;
11
+ exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = void 0;
12
12
  var AccountAppsSortByField;
13
13
  (function (AccountAppsSortByField) {
14
14
  AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
@@ -363,6 +363,17 @@ var DashboardViewPin;
363
363
  DashboardViewPin["Activity"] = "ACTIVITY";
364
364
  DashboardViewPin["Overview"] = "OVERVIEW";
365
365
  })(DashboardViewPin || (exports.DashboardViewPin = DashboardViewPin = {}));
366
+ var DeviceRunSessionStatus;
367
+ (function (DeviceRunSessionStatus) {
368
+ DeviceRunSessionStatus["Errored"] = "ERRORED";
369
+ DeviceRunSessionStatus["InProgress"] = "IN_PROGRESS";
370
+ DeviceRunSessionStatus["New"] = "NEW";
371
+ DeviceRunSessionStatus["Stopped"] = "STOPPED";
372
+ })(DeviceRunSessionStatus || (exports.DeviceRunSessionStatus = DeviceRunSessionStatus = {}));
373
+ var DeviceRunSessionType;
374
+ (function (DeviceRunSessionType) {
375
+ DeviceRunSessionType["AgentDevice"] = "AGENT_DEVICE";
376
+ })(DeviceRunSessionType || (exports.DeviceRunSessionType = DeviceRunSessionType = {}));
366
377
  var DistributionType;
367
378
  (function (DistributionType) {
368
379
  DistributionType["Internal"] = "INTERNAL";
@@ -457,6 +468,11 @@ var EchoMessageRole;
457
468
  EchoMessageRole["Assistant"] = "ASSISTANT";
458
469
  EchoMessageRole["User"] = "USER";
459
470
  })(EchoMessageRole || (exports.EchoMessageRole = EchoMessageRole = {}));
471
+ var EchoProjectIconSource;
472
+ (function (EchoProjectIconSource) {
473
+ EchoProjectIconSource["AiGenerated"] = "AI_GENERATED";
474
+ EchoProjectIconSource["UserUploaded"] = "USER_UPLOADED";
475
+ })(EchoProjectIconSource || (exports.EchoProjectIconSource = EchoProjectIconSource = {}));
460
476
  var EchoProjectUploadSessionType;
461
477
  (function (EchoProjectUploadSessionType) {
462
478
  EchoProjectUploadSessionType["ImageUpload"] = "IMAGE_UPLOAD";
@@ -489,6 +505,7 @@ var EntityTypeName;
489
505
  EntityTypeName["BillingContractEntity"] = "BillingContractEntity";
490
506
  EntityTypeName["BranchEntity"] = "BranchEntity";
491
507
  EntityTypeName["ChannelEntity"] = "ChannelEntity";
508
+ EntityTypeName["ConvexTeamConnectionEntity"] = "ConvexTeamConnectionEntity";
492
509
  EntityTypeName["CustomerEntity"] = "CustomerEntity";
493
510
  EntityTypeName["EchoProjectEntity"] = "EchoProjectEntity";
494
511
  EntityTypeName["EchoVersionEntity"] = "EchoVersionEntity";
@@ -660,6 +677,7 @@ var NotificationType;
660
677
  var OAuthProvider;
661
678
  (function (OAuthProvider) {
662
679
  OAuthProvider["Apple"] = "apple";
680
+ OAuthProvider["Github"] = "github";
663
681
  OAuthProvider["Google"] = "google";
664
682
  })(OAuthProvider || (exports.OAuthProvider = OAuthProvider = {}));
665
683
  var OfferType;
@@ -0,0 +1,5 @@
1
+ import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
2
+ import { CreateDeviceRunSessionInput, CreateDeviceRunSessionMutation } from '../generated';
3
+ export declare const DeviceRunSessionMutation: {
4
+ createDeviceRunSessionAsync(graphqlClient: ExpoGraphqlClient, deviceRunSessionInput: CreateDeviceRunSessionInput): Promise<CreateDeviceRunSessionMutation["deviceRunSession"]["createDeviceRunSession"]>;
5
+ };
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeviceRunSessionMutation = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
6
+ const client_1 = require("../client");
7
+ exports.DeviceRunSessionMutation = {
8
+ async createDeviceRunSessionAsync(graphqlClient, deviceRunSessionInput) {
9
+ const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
10
+ .mutation((0, graphql_tag_1.default) `
11
+ mutation CreateDeviceRunSessionMutation($deviceRunSessionInput: CreateDeviceRunSessionInput!) {
12
+ deviceRunSession {
13
+ createDeviceRunSession(deviceRunSessionInput: $deviceRunSessionInput) {
14
+ id
15
+ status
16
+ app {
17
+ id
18
+ slug
19
+ ownerAccount {
20
+ id
21
+ name
22
+ }
23
+ }
24
+ turtleJobRun {
25
+ id
26
+ }
27
+ }
28
+ }
29
+ }
30
+ `, { deviceRunSessionInput }, { noRetry: true })
31
+ .toPromise());
32
+ return data.deviceRunSession.createDeviceRunSession;
33
+ },
34
+ };
@@ -0,0 +1,12 @@
1
+ import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
2
+ import { ViewChannelRuntimeInsightsOnAppQuery } from '../generated';
3
+ export type ChannelRuntimeInsights = NonNullable<ViewChannelRuntimeInsightsOnAppQuery['app']['byId']['updateChannelByName']>['runtimeInsights'];
4
+ export declare const ChannelInsightsQuery: {
5
+ viewChannelRuntimeInsightsAsync(graphqlClient: ExpoGraphqlClient, { appId, channelName, runtimeVersion, startTime, endTime, }: {
6
+ appId: string;
7
+ channelName: string;
8
+ runtimeVersion: string;
9
+ startTime: string;
10
+ endTime: string;
11
+ }): Promise<ChannelRuntimeInsights>;
12
+ };