eas-cli 20.2.0 → 20.4.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 (47) hide show
  1. package/README.md +225 -110
  2. package/build/commandUtils/new/templates/AGENTS.md +25 -146
  3. package/build/commandUtils/new/templates/CLAUDE.md +1 -9
  4. package/build/commandUtils/posthog.d.ts +4 -0
  5. package/build/commandUtils/posthog.js +23 -0
  6. package/build/commands/account/audit.d.ts +17 -0
  7. package/build/commands/account/audit.js +112 -0
  8. package/build/commands/integrations/posthog/connect.d.ts +27 -0
  9. package/build/commands/integrations/posthog/connect.js +432 -0
  10. package/build/commands/integrations/posthog/dashboard.d.ts +13 -0
  11. package/build/commands/integrations/posthog/dashboard.js +66 -0
  12. package/build/commands/integrations/posthog/disconnect.d.ts +14 -0
  13. package/build/commands/integrations/posthog/disconnect.js +80 -0
  14. package/build/commands/observe/session.d.ts +18 -0
  15. package/build/commands/observe/session.js +65 -0
  16. package/build/commands/update/view.d.ts +7 -0
  17. package/build/commands/update/view.js +30 -3
  18. package/build/graphql/generated.d.ts +468 -2
  19. package/build/graphql/generated.js +28 -4
  20. package/build/graphql/mutations/PostHogMutation.d.ts +8 -0
  21. package/build/graphql/mutations/PostHogMutation.js +55 -0
  22. package/build/graphql/queries/AuditLogQuery.d.ts +6 -0
  23. package/build/graphql/queries/AuditLogQuery.js +57 -0
  24. package/build/graphql/queries/DeviceRunSessionQuery.js +1 -0
  25. package/build/graphql/queries/PostHogQuery.d.ts +6 -0
  26. package/build/graphql/queries/PostHogQuery.js +49 -0
  27. package/build/graphql/types/AuditLog.d.ts +1 -0
  28. package/build/graphql/types/AuditLog.js +18 -0
  29. package/build/graphql/types/Observe.js +1 -0
  30. package/build/graphql/types/PostHogConnection.d.ts +7 -0
  31. package/build/graphql/types/PostHogConnection.js +30 -0
  32. package/build/observe/fetchCustomEvents.d.ts +2 -2
  33. package/build/observe/fetchCustomEvents.js +2 -2
  34. package/build/observe/fetchEvents.d.ts +4 -3
  35. package/build/observe/fetchEvents.js +4 -3
  36. package/build/observe/fetchSessions.d.ts +51 -0
  37. package/build/observe/fetchSessions.js +86 -0
  38. package/build/observe/formatEvents.d.ts +1 -0
  39. package/build/observe/formatEvents.js +1 -0
  40. package/build/observe/formatSessions.d.ts +15 -0
  41. package/build/observe/formatSessions.js +100 -0
  42. package/build/simulator/utils.js +28 -5
  43. package/build/update/getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.js +23 -26
  44. package/build/user/SessionManager.d.ts +1 -22
  45. package/build/user/SessionManager.js +7 -89
  46. package/oclif.manifest.json +1583 -1108
  47. package/package.json +7 -3
@@ -210,6 +210,8 @@ export type Account = {
210
210
  /** Owning UserActor of this account if personal account */
211
211
  ownerUserActor?: Maybe<UserActor>;
212
212
  pendingSentryInstallation?: Maybe<PendingSentryInstallation>;
213
+ /** PostHog organization connection for this account */
214
+ posthogOrganizationConnection?: Maybe<PostHogOrganizationConnection>;
213
215
  profileImageUrl: Scalars['String']['output'];
214
216
  pushSecurityEnabled: Scalars['Boolean']['output'];
215
217
  requireTwoFactor: Scalars['Boolean']['output'];
@@ -1363,6 +1365,7 @@ export type App = Project & {
1363
1365
  * @deprecated Classic updates have been deprecated.
1364
1366
  */
1365
1367
  playStoreUrl?: Maybe<Scalars['String']['output']>;
1368
+ posthogProject?: Maybe<PostHogProject>;
1366
1369
  /** @deprecated No longer supported */
1367
1370
  privacy: Scalars['String']['output'];
1368
1371
  /** @deprecated No longer supported */
@@ -3081,6 +3084,7 @@ export declare enum AppsFilter {
3081
3084
  }
3082
3085
  export type ArgentRunSessionRemoteConfig = {
3083
3086
  __typename?: 'ArgentRunSessionRemoteConfig';
3087
+ toolsAuthToken?: Maybe<Scalars['String']['output']>;
3084
3088
  toolsUrl: Scalars['String']['output'];
3085
3089
  /**
3086
3090
  * URL of the web preview surface for the session. Null when web previews are
@@ -4022,6 +4026,16 @@ export type CreateConvexTeamConnectionInput = {
4022
4026
  convexTeamName?: InputMaybe<Scalars['String']['input']>;
4023
4027
  deploymentRegion: Scalars['String']['input'];
4024
4028
  };
4029
+ export type CreateDeviceRunSessionArtifactUploadSessionInput = {
4030
+ filename: Scalars['String']['input'];
4031
+ metadata?: InputMaybe<Scalars['JSONObject']['input']>;
4032
+ name: Scalars['String']['input'];
4033
+ size: Scalars['Int']['input'];
4034
+ };
4035
+ export type CreateDeviceRunSessionArtifactUploadSessionResult = {
4036
+ __typename?: 'CreateDeviceRunSessionArtifactUploadSessionResult';
4037
+ uploadSession: DeviceRunSessionArtifactUploadSession;
4038
+ };
4025
4039
  export type CreateDeviceRunSessionInput = {
4026
4040
  appId: Scalars['ID']['input'];
4027
4041
  /**
@@ -4179,6 +4193,10 @@ export type CreateIosSubmissionInput = {
4179
4193
  config: IosSubmissionConfigInput;
4180
4194
  submittedBuildId?: InputMaybe<Scalars['ID']['input']>;
4181
4195
  };
4196
+ export type CreatePostHogAccountRequestInput = {
4197
+ accountId: Scalars['ID']['input'];
4198
+ region: PostHogRegion;
4199
+ };
4182
4200
  export type CreateSentryProjectInput = {
4183
4201
  appId: Scalars['ID']['input'];
4184
4202
  sentryProjectId: Scalars['String']['input'];
@@ -4558,6 +4576,11 @@ export type DeviceRunSession = {
4558
4576
  type: DeviceRunSessionType;
4559
4577
  updatedAt: Scalars['DateTime']['output'];
4560
4578
  };
4579
+ export type DeviceRunSessionArtifactUploadSession = {
4580
+ __typename?: 'DeviceRunSessionArtifactUploadSession';
4581
+ headers: Scalars['JSONObject']['output'];
4582
+ url: Scalars['String']['output'];
4583
+ };
4561
4584
  export type DeviceRunSessionFilterInput = {
4562
4585
  platforms?: InputMaybe<Array<AppPlatform>>;
4563
4586
  statuses?: InputMaybe<Array<DeviceRunSessionStatus>>;
@@ -4565,6 +4588,8 @@ export type DeviceRunSessionFilterInput = {
4565
4588
  };
4566
4589
  export type DeviceRunSessionMutation = {
4567
4590
  __typename?: 'DeviceRunSessionMutation';
4591
+ /** Create an upload session for an artifact produced by an active device run session */
4592
+ createArtifactUploadSession: CreateDeviceRunSessionArtifactUploadSessionResult;
4568
4593
  /** Create a device run session */
4569
4594
  createDeviceRunSession: DeviceRunSession;
4570
4595
  /**
@@ -4576,6 +4601,10 @@ export type DeviceRunSessionMutation = {
4576
4601
  /** Mark a device run session as started and persist remote connection details */
4577
4602
  startDeviceRunSession: DeviceRunSession;
4578
4603
  };
4604
+ export type DeviceRunSessionMutationCreateArtifactUploadSessionArgs = {
4605
+ deviceRunSessionId: Scalars['ID']['input'];
4606
+ input: CreateDeviceRunSessionArtifactUploadSessionInput;
4607
+ };
4579
4608
  export type DeviceRunSessionMutationCreateDeviceRunSessionArgs = {
4580
4609
  deviceRunSessionInput: CreateDeviceRunSessionInput;
4581
4610
  };
@@ -5334,6 +5363,8 @@ export declare enum EntityTypeName {
5334
5363
  IosAppCredentialsEntity = "IosAppCredentialsEntity",
5335
5364
  LogRocketOrganizationEntity = "LogRocketOrganizationEntity",
5336
5365
  LogRocketProjectEntity = "LogRocketProjectEntity",
5366
+ PostHogOrganizationConnectionEntity = "PostHogOrganizationConnectionEntity",
5367
+ PostHogProjectEntity = "PostHogProjectEntity",
5337
5368
  UserInvitationEntity = "UserInvitationEntity",
5338
5369
  UserPermissionEntity = "UserPermissionEntity",
5339
5370
  VexoAccountConnectionEntity = "VexoAccountConnectionEntity",
@@ -5527,6 +5558,106 @@ export type EstimatedUsagePlatformDetail = {
5527
5558
  limit: Scalars['Float']['output'];
5528
5559
  value: Scalars['Float']['output'];
5529
5560
  };
5561
+ export type ExitInterviewBeginChatTurnInput = {
5562
+ accountId: Scalars['ID']['input'];
5563
+ };
5564
+ export type ExitInterviewBeginChatTurnResult = {
5565
+ __typename?: 'ExitInterviewBeginChatTurnResult';
5566
+ ok: Scalars['Boolean']['output'];
5567
+ };
5568
+ export type ExitInterviewCompleteInput = {
5569
+ accountId: Scalars['ID']['input'];
5570
+ conversationId: Scalars['ID']['input'];
5571
+ messages: Array<ExitInterviewMessageInput>;
5572
+ outcome: ExitInterviewOutcome;
5573
+ /**
5574
+ * Optional classification tags. Present when the website's tagging call
5575
+ * succeeded; omitted when it failed or when the user dismissed without
5576
+ * engaging. When present, drives the conversation-tagged event and the
5577
+ * tagged Slack notification.
5578
+ */
5579
+ tags?: InputMaybe<ExitInterviewTagsInput>;
5580
+ };
5581
+ export type ExitInterviewCompleteResult = {
5582
+ __typename?: 'ExitInterviewCompleteResult';
5583
+ success: Scalars['Boolean']['output'];
5584
+ };
5585
+ export type ExitInterviewFeedbackInput = {
5586
+ accountId: Scalars['ID']['input'];
5587
+ conversationId: Scalars['ID']['input'];
5588
+ feedback: Scalars['String']['input'];
5589
+ outcome: ExitInterviewOutcome;
5590
+ };
5591
+ export type ExitInterviewFeedbackResult = {
5592
+ __typename?: 'ExitInterviewFeedbackResult';
5593
+ success: Scalars['Boolean']['output'];
5594
+ };
5595
+ export type ExitInterviewMessageInput = {
5596
+ content: Scalars['String']['input'];
5597
+ role: ExitInterviewMessageRole;
5598
+ };
5599
+ export declare enum ExitInterviewMessageRole {
5600
+ Assistant = "ASSISTANT",
5601
+ User = "USER"
5602
+ }
5603
+ export type ExitInterviewMutation = {
5604
+ __typename?: 'ExitInterviewMutation';
5605
+ /**
5606
+ * Gate a chat turn before the website route calls OpenAI. Enforces
5607
+ * authorization (account admin), eligibility (active paid subscription,
5608
+ * not cancelling), and a per-user rate limit (30 turns/hour). The
5609
+ * website's /api/exit-interview/chat route calls this server-to-server
5610
+ * on every turn; failures map to HTTP 4xx and abort the stream before
5611
+ * any OpenAI tokens are spent.
5612
+ */
5613
+ beginChatTurn: ExitInterviewBeginChatTurnResult;
5614
+ /**
5615
+ * Mark a treatment-variant exit-interview chat conversation complete. Emits
5616
+ * the conversation-completed event to RudderStack with the full transcript.
5617
+ * If the transcript carries at least one server-signed assistant turn (i.e.
5618
+ * the user actually engaged the bot), fans out the raw transcript to Slack.
5619
+ * If the client also provides tags, emits a separate conversation-tagged
5620
+ * event and a tagged Slack notification. Control-variant one-shot feedback
5621
+ * goes through submitFeedback.
5622
+ */
5623
+ complete: ExitInterviewCompleteResult;
5624
+ /**
5625
+ * Record a control-variant one-shot feedback submission. Emits the
5626
+ * feedback-submitted event to RudderStack. No Slack notification, no
5627
+ * tagging — those pipelines are scoped to the treatment chat flow via
5628
+ * complete.
5629
+ */
5630
+ submitFeedback: ExitInterviewFeedbackResult;
5631
+ };
5632
+ export type ExitInterviewMutationBeginChatTurnArgs = {
5633
+ input: ExitInterviewBeginChatTurnInput;
5634
+ };
5635
+ export type ExitInterviewMutationCompleteArgs = {
5636
+ input: ExitInterviewCompleteInput;
5637
+ };
5638
+ export type ExitInterviewMutationSubmitFeedbackArgs = {
5639
+ input: ExitInterviewFeedbackInput;
5640
+ };
5641
+ export declare enum ExitInterviewOutcome {
5642
+ CancelledImmediately = "CANCELLED_IMMEDIATELY",
5643
+ ContinuedToStripe = "CONTINUED_TO_STRIPE",
5644
+ Dismissed = "DISMISSED",
5645
+ KeptPlan = "KEPT_PLAN"
5646
+ }
5647
+ /**
5648
+ * Tags produced by the website's churn-classification step. The website runs
5649
+ * this synchronously before calling complete, then forwards the structured
5650
+ * result. Allowed category / sentiment values are enforced by the resolver.
5651
+ */
5652
+ export type ExitInterviewTagsInput = {
5653
+ actionableInsight: Scalars['Boolean']['input'];
5654
+ category: Scalars['String']['input'];
5655
+ competitorMention?: InputMaybe<Scalars['String']['input']>;
5656
+ confidence?: InputMaybe<Scalars['String']['input']>;
5657
+ productArea?: InputMaybe<Scalars['String']['input']>;
5658
+ sentiment: Scalars['String']['input'];
5659
+ summary?: InputMaybe<Scalars['String']['input']>;
5660
+ };
5530
5661
  export declare enum Experiment {
5531
5662
  Orbit = "ORBIT"
5532
5663
  }
@@ -6839,6 +6970,62 @@ export type PinnedDashboardView = {
6839
6970
  view: DashboardViewPin;
6840
6971
  };
6841
6972
  export type PlanEnablement = Concurrencies | EasTotalPlanEnablement;
6973
+ export type PostHogIntegrationQuery = {
6974
+ __typename?: 'PostHogIntegrationQuery';
6975
+ clientIdentifier: Scalars['String']['output'];
6976
+ };
6977
+ export type PostHogOrganizationConnection = {
6978
+ __typename?: 'PostHogOrganizationConnection';
6979
+ account: Account;
6980
+ createdAt: Scalars['DateTime']['output'];
6981
+ id: Scalars['ID']['output'];
6982
+ posthogOrganizationIdentifier: Scalars['String']['output'];
6983
+ posthogOrganizationName: Scalars['String']['output'];
6984
+ posthogProjects: Array<PostHogProject>;
6985
+ posthogRegion: PostHogRegion;
6986
+ updatedAt: Scalars['DateTime']['output'];
6987
+ };
6988
+ export type PostHogOrganizationConnectionMutation = {
6989
+ __typename?: 'PostHogOrganizationConnectionMutation';
6990
+ createPostHogAccountRequest: PostHogOrganizationConnection;
6991
+ /** Removes the Expo-side connection only; the PostHog organization is preserved. */
6992
+ deletePostHogOrganizationConnection: Scalars['ID']['output'];
6993
+ };
6994
+ export type PostHogOrganizationConnectionMutationCreatePostHogAccountRequestArgs = {
6995
+ input: CreatePostHogAccountRequestInput;
6996
+ };
6997
+ export type PostHogOrganizationConnectionMutationDeletePostHogOrganizationConnectionArgs = {
6998
+ id: Scalars['ID']['input'];
6999
+ };
7000
+ export type PostHogProject = {
7001
+ __typename?: 'PostHogProject';
7002
+ app: App;
7003
+ createdAt: Scalars['DateTime']['output'];
7004
+ id: Scalars['ID']['output'];
7005
+ posthogHost: Scalars['String']['output'];
7006
+ posthogOrganizationConnection: PostHogOrganizationConnection;
7007
+ posthogProjectIdentifier: Scalars['String']['output'];
7008
+ posthogProjectName: Scalars['String']['output'];
7009
+ posthogProjectToken: Scalars['String']['output'];
7010
+ updatedAt: Scalars['DateTime']['output'];
7011
+ };
7012
+ export type PostHogProjectMutation = {
7013
+ __typename?: 'PostHogProjectMutation';
7014
+ /** Removes the Expo-side project link only; the PostHog project is preserved. */
7015
+ deletePostHogProject: Scalars['ID']['output'];
7016
+ /** Provisions a PostHog project for the app; the project name is derived from the app. */
7017
+ setupPostHogProject: PostHogProject;
7018
+ };
7019
+ export type PostHogProjectMutationDeletePostHogProjectArgs = {
7020
+ id: Scalars['ID']['input'];
7021
+ };
7022
+ export type PostHogProjectMutationSetupPostHogProjectArgs = {
7023
+ input: SetupPostHogProjectInput;
7024
+ };
7025
+ export declare enum PostHogRegion {
7026
+ Eu = "EU",
7027
+ Us = "US"
7028
+ }
6842
7029
  export type Project = {
6843
7030
  description: Scalars['String']['output'];
6844
7031
  fullName: Scalars['String']['output'];
@@ -7127,6 +7314,8 @@ export type RootMutation = {
7127
7314
  environmentSecret: EnvironmentSecretMutation;
7128
7315
  /** Mutations that create and delete EnvironmentVariables */
7129
7316
  environmentVariable: EnvironmentVariableMutation;
7317
+ /** Mutations for the exit-interview chat shown when a user cancels their plan. */
7318
+ exitInterview: ExitInterviewMutation;
7130
7319
  /** Mutations that modify App fingerprints */
7131
7320
  fingerprint: FingerprintMutation;
7132
7321
  /** Mutations that utilize services facilitated by the GitHub App */
@@ -7159,6 +7348,8 @@ export type RootMutation = {
7159
7348
  me: MeMutation;
7160
7349
  /** Notification preference management */
7161
7350
  notificationPreference: NotificationPreferenceMutation;
7351
+ posthogOrganizationConnection: PostHogOrganizationConnectionMutation;
7352
+ posthogProject: PostHogProjectMutation;
7162
7353
  /** Mutations that create, update, and delete Robots */
7163
7354
  robot: RobotMutation;
7164
7355
  /** Mutations for Sentry installations */
@@ -7167,6 +7358,7 @@ export type RootMutation = {
7167
7358
  sentryProject: SentryProjectMutation;
7168
7359
  /** Mutations that modify an EAS Submit submission */
7169
7360
  submission: SubmissionMutation;
7361
+ tunnels: TunnelsMutation;
7170
7362
  turtleBrownfieldArtifacts: TurtleBrownfieldArtifactMutation;
7171
7363
  update: UpdateMutation;
7172
7364
  updateBranch: UpdateBranchMutation;
@@ -7298,6 +7490,8 @@ export type RootQuery = {
7298
7490
  * this is the appropriate top-level query object
7299
7491
  */
7300
7492
  meUserActor?: Maybe<UserActor>;
7493
+ /** Top-level query object for querying PostHog Integration information. */
7494
+ posthogIntegration: PostHogIntegrationQuery;
7301
7495
  /** @deprecated Snacks and apps should be queried separately */
7302
7496
  project: ProjectQuery;
7303
7497
  /** Top-level query object for querying Runtimes. */
@@ -7549,7 +7743,6 @@ export type SecondFactorDeviceConfiguration = {
7549
7743
  isPrimary: Scalars['Boolean']['input'];
7550
7744
  method: SecondFactorMethod;
7551
7745
  name: Scalars['String']['input'];
7552
- smsPhoneNumber?: InputMaybe<Scalars['String']['input']>;
7553
7746
  };
7554
7747
  export type SecondFactorDeviceConfigurationResult = {
7555
7748
  __typename?: 'SecondFactorDeviceConfigurationResult';
@@ -7565,7 +7758,10 @@ export type SecondFactorInitiationResult = {
7565
7758
  export declare enum SecondFactorMethod {
7566
7759
  /** Google Authenticator (TOTP) */
7567
7760
  Authenticator = "AUTHENTICATOR",
7568
- /** SMS */
7761
+ /**
7762
+ * SMS
7763
+ * @deprecated No longer supported
7764
+ */
7569
7765
  Sms = "SMS"
7570
7766
  }
7571
7767
  export type SecondFactorRegenerateBackupCodesResult = {
@@ -7647,6 +7843,10 @@ export type SetupConvexProjectResult = {
7647
7843
  convexProject: ConvexProject;
7648
7844
  deployKey: Scalars['String']['output'];
7649
7845
  };
7846
+ export type SetupPostHogProjectInput = {
7847
+ appId: Scalars['ID']['input'];
7848
+ posthogOrganizationConnectionId: Scalars['ID']['input'];
7849
+ };
7650
7850
  export type SizeBreakdownCategory = {
7651
7851
  __typename?: 'SizeBreakdownCategory';
7652
7852
  assetCount: Scalars['Int']['output'];
@@ -7965,6 +8165,19 @@ export type TimelineActivityFilterInput = {
7965
8165
  releaseChannels?: InputMaybe<Array<Scalars['String']['input']>>;
7966
8166
  types?: InputMaybe<Array<ActivityTimelineProjectActivityType>>;
7967
8167
  };
8168
+ export type TunnelSignedUrlResult = {
8169
+ __typename?: 'TunnelSignedUrlResult';
8170
+ label: Scalars['ID']['output'];
8171
+ url: Scalars['String']['output'];
8172
+ };
8173
+ export type TunnelsMutation = {
8174
+ __typename?: 'TunnelsMutation';
8175
+ /** Create a signed tunnel URL for an account */
8176
+ createSignedTunnelUrl: TunnelSignedUrlResult;
8177
+ };
8178
+ export type TunnelsMutationCreateSignedTunnelUrlArgs = {
8179
+ accountId: Scalars['ID']['input'];
8180
+ };
7968
8181
  export type TurtleBrownfieldArtifactMutation = {
7969
8182
  __typename?: 'TurtleBrownfieldArtifactMutation';
7970
8183
  createTurtleBrownfieldArtifact: CreateBrownfieldArtifactResult;
@@ -8569,6 +8782,8 @@ export type User = Actor & UserActor & {
8569
8782
  location?: Maybe<Scalars['String']['output']>;
8570
8783
  newEmailPendingVerification?: Maybe<Scalars['String']['output']>;
8571
8784
  oAuthIdentities: Array<OAuthIdentity>;
8785
+ /** Registered passkey credentials */
8786
+ passkeyCredentials: Array<UserPasskeyCredential>;
8572
8787
  /** Pending UserInvitations for this user. Only resolves for the viewer. */
8573
8788
  pendingUserInvitations: Array<UserInvitation>;
8574
8789
  pinnedApps: Array<App>;
@@ -8889,6 +9104,7 @@ export declare enum UserEntityTypeName {
8889
9104
  PasswordEntity = "PasswordEntity",
8890
9105
  SsoUserEntity = "SSOUserEntity",
8891
9106
  UserEntity = "UserEntity",
9107
+ UserPasskeyCredentialEntity = "UserPasskeyCredentialEntity",
8892
9108
  UserPermissionEntity = "UserPermissionEntity",
8893
9109
  UserSecondFactorBackupCodesEntity = "UserSecondFactorBackupCodesEntity",
8894
9110
  UserSecondFactorDeviceEntity = "UserSecondFactorDeviceEntity"
@@ -8996,6 +9212,20 @@ export type UserLogNameTypeMapping = {
8996
9212
  publicName: Scalars['String']['output'];
8997
9213
  typeName: UserEntityTypeName;
8998
9214
  };
9215
+ /** A passkey credential belonging to a User */
9216
+ export type UserPasskeyCredential = {
9217
+ __typename?: 'UserPasskeyCredential';
9218
+ /**
9219
+ * Authenticator Attestation Globally Unique Identifier — identifies the authenticator model
9220
+ * (e.g., 1Password, iCloud Keychain). See https://passkeydeveloper.github.io/passkey-authenticator-aaguids/explorer/
9221
+ */
9222
+ aaguid?: Maybe<Scalars['ID']['output']>;
9223
+ createdAt: Scalars['DateTime']['output'];
9224
+ credentialDeviceType: Scalars['String']['output'];
9225
+ id: Scalars['ID']['output'];
9226
+ lastUsedAt?: Maybe<Scalars['DateTime']['output']>;
9227
+ name: Scalars['String']['output'];
9228
+ };
8999
9229
  export type UserPermission = {
9000
9230
  __typename?: 'UserPermission';
9001
9231
  actor: Actor;
@@ -9664,6 +9894,11 @@ export type WorkflowArtifact = {
9664
9894
  filename: Scalars['String']['output'];
9665
9895
  id: Scalars['ID']['output'];
9666
9896
  jobRun: JobRun;
9897
+ /**
9898
+ * Opaque JSON attached by the worker at upload time (e.g. the Maestro test screenshot
9899
+ * flow/attempt mapping). Interpretation is owned by the client.
9900
+ */
9901
+ metadata?: Maybe<Scalars['JSONObject']['output']>;
9667
9902
  name: Scalars['String']['output'];
9668
9903
  storageType: WorkflowArtifactStorageType;
9669
9904
  updatedAt: Scalars['DateTime']['output'];
@@ -9941,6 +10176,14 @@ export type WorkflowJob = {
9941
10176
  approvals: Array<WorkflowJobApproval>;
9942
10177
  createdAt: Scalars['DateTime']['output'];
9943
10178
  credentialsAppleDeviceRegistrationRequest?: Maybe<AppleDeviceRegistrationRequest>;
10179
+ /**
10180
+ * All test case attempt rows produced by this job's own execution (turtle job
10181
+ * run), ordered by path then retryCount. Unlike deviceTestCaseResults and
10182
+ * allDeviceTestCaseResults, this never includes rows from other jobs in the
10183
+ * workflow retry chain.
10184
+ */
10185
+ deviceTestCaseResultAttempts: Array<WorkflowDeviceTestCaseResult>;
10186
+ /** @deprecated Use deviceTestCaseResultAttempts instead */
9944
10187
  deviceTestCaseResults: Array<WorkflowDeviceTestCaseResult>;
9945
10188
  environment?: Maybe<Scalars['String']['output']>;
9946
10189
  errors: Array<WorkflowJobError>;
@@ -10219,6 +10462,7 @@ export declare enum WorkflowRunTriggerEventType {
10219
10462
  GithubPullRequestReopened = "GITHUB_PULL_REQUEST_REOPENED",
10220
10463
  GithubPullRequestSynchronize = "GITHUB_PULL_REQUEST_SYNCHRONIZE",
10221
10464
  GithubPush = "GITHUB_PUSH",
10465
+ GithubRefDelete = "GITHUB_REF_DELETE",
10222
10466
  Manual = "MANUAL",
10223
10467
  RepackExpoGo = "REPACK_EXPO_GO",
10224
10468
  Schedule = "SCHEDULE"
@@ -15159,6 +15403,62 @@ export type CreateLocalBuildMutation = {
15159
15403
  };
15160
15404
  };
15161
15405
  };
15406
+ export type CreatePostHogAccountRequestMutationVariables = Exact<{
15407
+ input: CreatePostHogAccountRequestInput;
15408
+ }>;
15409
+ export type CreatePostHogAccountRequestMutation = {
15410
+ __typename?: 'RootMutation';
15411
+ posthogOrganizationConnection: {
15412
+ __typename?: 'PostHogOrganizationConnectionMutation';
15413
+ createPostHogAccountRequest: {
15414
+ __typename?: 'PostHogOrganizationConnection';
15415
+ id: string;
15416
+ posthogOrganizationIdentifier: string;
15417
+ posthogOrganizationName: string;
15418
+ posthogRegion: PostHogRegion;
15419
+ createdAt: any;
15420
+ updatedAt: any;
15421
+ };
15422
+ };
15423
+ };
15424
+ export type SetupPostHogProjectMutationVariables = Exact<{
15425
+ input: SetupPostHogProjectInput;
15426
+ }>;
15427
+ export type SetupPostHogProjectMutation = {
15428
+ __typename?: 'RootMutation';
15429
+ posthogProject: {
15430
+ __typename?: 'PostHogProjectMutation';
15431
+ setupPostHogProject: {
15432
+ __typename?: 'PostHogProject';
15433
+ id: string;
15434
+ posthogProjectIdentifier: string;
15435
+ posthogProjectName: string;
15436
+ posthogProjectToken: string;
15437
+ posthogHost: string;
15438
+ createdAt: any;
15439
+ updatedAt: any;
15440
+ posthogOrganizationConnection: {
15441
+ __typename?: 'PostHogOrganizationConnection';
15442
+ id: string;
15443
+ posthogOrganizationIdentifier: string;
15444
+ posthogOrganizationName: string;
15445
+ posthogRegion: PostHogRegion;
15446
+ createdAt: any;
15447
+ updatedAt: any;
15448
+ };
15449
+ };
15450
+ };
15451
+ };
15452
+ export type DeletePostHogProjectMutationVariables = Exact<{
15453
+ id: Scalars['ID']['input'];
15454
+ }>;
15455
+ export type DeletePostHogProjectMutation = {
15456
+ __typename?: 'RootMutation';
15457
+ posthogProject: {
15458
+ __typename?: 'PostHogProjectMutation';
15459
+ deletePostHogProject: string;
15460
+ };
15461
+ };
15162
15462
  export type GetSignedUploadMutationVariables = Exact<{
15163
15463
  contentTypes: Array<Scalars['String']['input']> | Scalars['String']['input'];
15164
15464
  }>;
@@ -16221,6 +16521,62 @@ export type GetAssetSignedUrlsQuery = {
16221
16521
  }>;
16222
16522
  };
16223
16523
  };
16524
+ export type AuditLogsByAccountQueryVariables = Exact<{
16525
+ accountId: Scalars['String']['input'];
16526
+ first?: InputMaybe<Scalars['Int']['input']>;
16527
+ after?: InputMaybe<Scalars['String']['input']>;
16528
+ last?: InputMaybe<Scalars['Int']['input']>;
16529
+ before?: InputMaybe<Scalars['String']['input']>;
16530
+ }>;
16531
+ export type AuditLogsByAccountQuery = {
16532
+ __typename?: 'RootQuery';
16533
+ account: {
16534
+ __typename?: 'AccountQuery';
16535
+ byId: {
16536
+ __typename?: 'Account';
16537
+ id: string;
16538
+ auditLogsPaginated: {
16539
+ __typename?: 'AuditLogConnection';
16540
+ edges: Array<{
16541
+ __typename?: 'AuditLogEdge';
16542
+ cursor: string;
16543
+ node: {
16544
+ __typename?: 'AuditLog';
16545
+ id: string;
16546
+ createdAt: any;
16547
+ websiteMessage: string;
16548
+ targetEntityTypePublicName: string;
16549
+ targetEntityMutationType: TargetEntityMutationType;
16550
+ actor?: {
16551
+ __typename?: 'PartnerActor';
16552
+ id: string;
16553
+ displayName: string;
16554
+ } | {
16555
+ __typename?: 'Robot';
16556
+ id: string;
16557
+ displayName: string;
16558
+ } | {
16559
+ __typename?: 'SSOUser';
16560
+ id: string;
16561
+ displayName: string;
16562
+ } | {
16563
+ __typename?: 'User';
16564
+ id: string;
16565
+ displayName: string;
16566
+ } | null;
16567
+ };
16568
+ }>;
16569
+ pageInfo: {
16570
+ __typename?: 'PageInfo';
16571
+ hasNextPage: boolean;
16572
+ hasPreviousPage: boolean;
16573
+ startCursor?: string | null;
16574
+ endCursor?: string | null;
16575
+ };
16576
+ };
16577
+ };
16578
+ };
16579
+ };
16224
16580
  export type BackgroundJobReceiptByIdQueryVariables = Exact<{
16225
16581
  id: Scalars['ID']['input'];
16226
16582
  }>;
@@ -17334,6 +17690,7 @@ export type DeviceRunSessionByIdQuery = {
17334
17690
  } | {
17335
17691
  __typename: 'ArgentRunSessionRemoteConfig';
17336
17692
  toolsUrl: string;
17693
+ toolsAuthToken?: string | null;
17337
17694
  webPreviewUrl?: string | null;
17338
17695
  } | {
17339
17696
  __typename: 'ServeSimRunSessionRemoteConfig';
@@ -17908,6 +18265,7 @@ export type AppObserveEventsQuery = {
17908
18265
  sessionId?: string | null;
17909
18266
  easClientId: string;
17910
18267
  customParams?: any | null;
18268
+ routeName?: string | null;
17911
18269
  };
17912
18270
  }>;
17913
18271
  };
@@ -18056,6 +18414,60 @@ export type AppObserveNavigationRoutesQuery = {
18056
18414
  };
18057
18415
  };
18058
18416
  };
18417
+ export type PostHogOrganizationConnectionByAccountIdQueryVariables = Exact<{
18418
+ accountId: Scalars['String']['input'];
18419
+ }>;
18420
+ export type PostHogOrganizationConnectionByAccountIdQuery = {
18421
+ __typename?: 'RootQuery';
18422
+ account: {
18423
+ __typename?: 'AccountQuery';
18424
+ byId: {
18425
+ __typename?: 'Account';
18426
+ id: string;
18427
+ posthogOrganizationConnection?: {
18428
+ __typename?: 'PostHogOrganizationConnection';
18429
+ id: string;
18430
+ posthogOrganizationIdentifier: string;
18431
+ posthogOrganizationName: string;
18432
+ posthogRegion: PostHogRegion;
18433
+ createdAt: any;
18434
+ updatedAt: any;
18435
+ } | null;
18436
+ };
18437
+ };
18438
+ };
18439
+ export type PostHogProjectByAppIdQueryVariables = Exact<{
18440
+ appId: Scalars['String']['input'];
18441
+ }>;
18442
+ export type PostHogProjectByAppIdQuery = {
18443
+ __typename?: 'RootQuery';
18444
+ app: {
18445
+ __typename?: 'AppQuery';
18446
+ byId: {
18447
+ __typename?: 'App';
18448
+ id: string;
18449
+ posthogProject?: {
18450
+ __typename?: 'PostHogProject';
18451
+ id: string;
18452
+ posthogProjectIdentifier: string;
18453
+ posthogProjectName: string;
18454
+ posthogProjectToken: string;
18455
+ posthogHost: string;
18456
+ createdAt: any;
18457
+ updatedAt: any;
18458
+ posthogOrganizationConnection: {
18459
+ __typename?: 'PostHogOrganizationConnection';
18460
+ id: string;
18461
+ posthogOrganizationIdentifier: string;
18462
+ posthogOrganizationName: string;
18463
+ posthogRegion: PostHogRegion;
18464
+ createdAt: any;
18465
+ updatedAt: any;
18466
+ };
18467
+ } | null;
18468
+ };
18469
+ };
18470
+ };
18059
18471
  export type GetAssetMetadataQueryVariables = Exact<{
18060
18472
  storageKeys: Array<Scalars['String']['input']> | Scalars['String']['input'];
18061
18473
  }>;
@@ -19663,6 +20075,31 @@ export type AppFragment = {
19663
20075
  };
19664
20076
  } | null;
19665
20077
  };
20078
+ export type AuditLogFragment = {
20079
+ __typename?: 'AuditLog';
20080
+ id: string;
20081
+ createdAt: any;
20082
+ websiteMessage: string;
20083
+ targetEntityTypePublicName: string;
20084
+ targetEntityMutationType: TargetEntityMutationType;
20085
+ actor?: {
20086
+ __typename?: 'PartnerActor';
20087
+ id: string;
20088
+ displayName: string;
20089
+ } | {
20090
+ __typename?: 'Robot';
20091
+ id: string;
20092
+ displayName: string;
20093
+ } | {
20094
+ __typename?: 'SSOUser';
20095
+ id: string;
20096
+ displayName: string;
20097
+ } | {
20098
+ __typename?: 'User';
20099
+ id: string;
20100
+ displayName: string;
20101
+ } | null;
20102
+ };
19666
20103
  export type BackgroundJobReceiptDataFragment = {
19667
20104
  __typename?: 'BackgroundJobReceipt';
19668
20105
  id: string;
@@ -20211,6 +20648,7 @@ export type AppObserveEventFragment = {
20211
20648
  sessionId?: string | null;
20212
20649
  easClientId: string;
20213
20650
  customParams?: any | null;
20651
+ routeName?: string | null;
20214
20652
  };
20215
20653
  export type AppObserveAppVersionFragment = {
20216
20654
  __typename?: 'AppObserveAppVersion';
@@ -20262,6 +20700,34 @@ export type AppObserveAppVersionFragment = {
20262
20700
  };
20263
20701
  }>;
20264
20702
  };
20703
+ export type PostHogOrganizationConnectionFragment = {
20704
+ __typename?: 'PostHogOrganizationConnection';
20705
+ id: string;
20706
+ posthogOrganizationIdentifier: string;
20707
+ posthogOrganizationName: string;
20708
+ posthogRegion: PostHogRegion;
20709
+ createdAt: any;
20710
+ updatedAt: any;
20711
+ };
20712
+ export type PostHogProjectFragment = {
20713
+ __typename?: 'PostHogProject';
20714
+ id: string;
20715
+ posthogProjectIdentifier: string;
20716
+ posthogProjectName: string;
20717
+ posthogProjectToken: string;
20718
+ posthogHost: string;
20719
+ createdAt: any;
20720
+ updatedAt: any;
20721
+ posthogOrganizationConnection: {
20722
+ __typename?: 'PostHogOrganizationConnection';
20723
+ id: string;
20724
+ posthogOrganizationIdentifier: string;
20725
+ posthogOrganizationName: string;
20726
+ posthogRegion: PostHogRegion;
20727
+ createdAt: any;
20728
+ updatedAt: any;
20729
+ };
20730
+ };
20265
20731
  export type RuntimeFragment = {
20266
20732
  __typename?: 'Runtime';
20267
20733
  id: string;