@caido/sdk-frontend 0.47.2-beta.4 → 0.47.2-beta.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caido/sdk-frontend",
3
- "version": "0.47.2-beta.4",
3
+ "version": "0.47.2-beta.6",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -222,6 +222,9 @@ export declare const AuthenticationScope: {
222
222
  readonly ProfileRead: "PROFILE_READ";
223
223
  };
224
224
  export type AuthenticationScope = (typeof AuthenticationScope)[keyof typeof AuthenticationScope];
225
+ export type AuthenticationState = {
226
+ allowGuests: Scalars["Boolean"]["output"];
227
+ };
225
228
  export type AuthenticationToken = {
226
229
  accessToken: Scalars["Token"]["output"];
227
230
  expiresAt: Scalars["DateTime"]["output"];
@@ -642,6 +645,13 @@ export declare const CloudErrorReason: {
642
645
  readonly Unexpected: "UNEXPECTED";
643
646
  };
644
647
  export type CloudErrorReason = (typeof CloudErrorReason)[keyof typeof CloudErrorReason];
648
+ export type CloudUser = {
649
+ assistantUsage: AssistantUsage;
650
+ id: Scalars["ID"]["output"];
651
+ plugins: Array<PluginFrontend>;
652
+ profile: UserProfile;
653
+ settings?: Maybe<UserSettings>;
654
+ };
645
655
  export type CloudUserError = UserError & {
646
656
  code: Scalars["String"]["output"];
647
657
  reason: CloudErrorReason;
@@ -1393,6 +1403,16 @@ export type GlobalizeWorkflowPayload = {
1393
1403
  error?: Maybe<GlobalizeWorkflowError>;
1394
1404
  workflow?: Maybe<Workflow>;
1395
1405
  };
1406
+ export type GuestAuthenticationError = OtherUserError | PermissionDeniedUserError;
1407
+ export type GuestAuthenticationPayload = {
1408
+ error?: Maybe<GuestAuthenticationError>;
1409
+ token?: Maybe<AuthenticationToken>;
1410
+ };
1411
+ export type GuestUser = {
1412
+ id: Scalars["ID"]["output"];
1413
+ plugins: Array<PluginFrontend>;
1414
+ settings?: Maybe<UserSettings>;
1415
+ };
1396
1416
  export type HostedFile = {
1397
1417
  createdAt: Scalars["DateTime"]["output"];
1398
1418
  id: Scalars["ID"]["output"];
@@ -1646,6 +1666,7 @@ export type MutationRoot = {
1646
1666
  installBrowser: InstallBrowserPayload;
1647
1667
  installPluginPackage: InstallPluginPackagePayload;
1648
1668
  localizeWorkflow: LocalizeWorkflowPayload;
1669
+ loginAsGuest: GuestAuthenticationPayload;
1649
1670
  logout: LogoutPayload;
1650
1671
  moveReplaySession: MoveReplaySessionPayload;
1651
1672
  moveTamperRule: MoveTamperRulePayload;
@@ -2161,6 +2182,7 @@ export type PauseInterceptPayload = {
2161
2182
  };
2162
2183
  export declare const PermissionDeniedErrorReason: {
2163
2184
  readonly Entitlement: "ENTITLEMENT";
2185
+ readonly GuestUser: "GUEST_USER";
2164
2186
  };
2165
2187
  export type PermissionDeniedErrorReason = (typeof PermissionDeniedErrorReason)[keyof typeof PermissionDeniedErrorReason];
2166
2188
  export type PermissionDeniedUserError = UserError & {
@@ -2297,6 +2319,7 @@ export type QueryRoot = {
2297
2319
  assistantModels: Array<AssistantModel>;
2298
2320
  assistantSession?: Maybe<AssistantSession>;
2299
2321
  assistantSessions: Array<AssistantSession>;
2322
+ authenticationState: AuthenticationState;
2300
2323
  automateEntry?: Maybe<AutomateEntry>;
2301
2324
  automateSession?: Maybe<AutomateSession>;
2302
2325
  automateSessions: AutomateSessionConnection;
@@ -4218,13 +4241,7 @@ export type UpstreamProxySocks = {
4218
4241
  includeDns: Scalars["Boolean"]["output"];
4219
4242
  rank: Scalars["Rank"]["output"];
4220
4243
  };
4221
- export type User = {
4222
- assistantUsage: AssistantUsage;
4223
- id: Scalars["ID"]["output"];
4224
- plugins: Array<PluginFrontend>;
4225
- profile: UserProfile;
4226
- settings?: Maybe<UserSettings>;
4227
- };
4244
+ export type User = CloudUser | GuestUser;
4228
4245
  export type UserEntitlement = {
4229
4246
  name: Scalars["String"]["output"];
4230
4247
  };
@@ -4417,11 +4434,14 @@ export type AssistantCloudStateQueryVariables = Exact<{
4417
4434
  }>;
4418
4435
  export type AssistantCloudStateQuery = {
4419
4436
  viewer: {
4437
+ __typename: "CloudUser";
4420
4438
  id: string;
4421
4439
  assistantUsage: {
4422
4440
  __typename: "AssistantUsage";
4423
4441
  balance: number;
4424
4442
  };
4443
+ } | {
4444
+ __typename: "GuestUser";
4425
4445
  };
4426
4446
  assistantModels: Array<{
4427
4447
  __typename: "AssistantModel";
@@ -4675,6 +4695,14 @@ export type AuthenticationTokenFullFragment = {
4675
4695
  refreshToken?: string | undefined | null;
4676
4696
  scopes: Array<AuthenticationScope>;
4677
4697
  };
4698
+ export type AuthenticationStateQueryVariables = Exact<{
4699
+ [key: string]: never;
4700
+ }>;
4701
+ export type AuthenticationStateQuery = {
4702
+ authenticationState: {
4703
+ allowGuests: boolean;
4704
+ };
4705
+ };
4678
4706
  export type StartAuthenticationFlowMutationVariables = Exact<{
4679
4707
  [key: string]: never;
4680
4708
  }>;
@@ -4747,6 +4775,28 @@ export type LogoutMutation = {
4747
4775
  } | undefined | null;
4748
4776
  };
4749
4777
  };
4778
+ export type LoginAsGuestMutationVariables = Exact<{
4779
+ [key: string]: never;
4780
+ }>;
4781
+ export type LoginAsGuestMutation = {
4782
+ loginAsGuest: {
4783
+ token?: {
4784
+ __typename: "AuthenticationToken";
4785
+ accessToken: string;
4786
+ expiresAt: Date;
4787
+ refreshToken?: string | undefined | null;
4788
+ scopes: Array<AuthenticationScope>;
4789
+ } | undefined | null;
4790
+ error?: {
4791
+ __typename: "OtherUserError";
4792
+ code: string;
4793
+ } | {
4794
+ __typename: "PermissionDeniedUserError";
4795
+ code: string;
4796
+ permissionDeniedReason: PermissionDeniedErrorReason;
4797
+ } | undefined | null;
4798
+ };
4799
+ };
4750
4800
  export type CreatedAuthenticationTokenSubscriptionVariables = Exact<{
4751
4801
  requestId: Scalars["ID"]["input"];
4752
4802
  }>;
@@ -20747,6 +20797,7 @@ export type UserProfileQueryVariables = Exact<{
20747
20797
  }>;
20748
20798
  export type UserProfileQuery = {
20749
20799
  viewer: {
20800
+ __typename: "CloudUser";
20750
20801
  id: string;
20751
20802
  profile: {
20752
20803
  __typename: "UserProfile";
@@ -20767,6 +20818,8 @@ export type UserProfileQuery = {
20767
20818
  };
20768
20819
  };
20769
20820
  };
20821
+ } | {
20822
+ __typename: "GuestUser";
20770
20823
  };
20771
20824
  };
20772
20825
  export type UserSettingsQueryVariables = Exact<{
@@ -20774,6 +20827,15 @@ export type UserSettingsQueryVariables = Exact<{
20774
20827
  }>;
20775
20828
  export type UserSettingsQuery = {
20776
20829
  viewer: {
20830
+ __typename: "CloudUser";
20831
+ id: string;
20832
+ settings?: {
20833
+ __typename: "UserSettings";
20834
+ data: unknown;
20835
+ migrations: unknown;
20836
+ } | undefined | null;
20837
+ } | {
20838
+ __typename: "GuestUser";
20777
20839
  id: string;
20778
20840
  settings?: {
20779
20841
  __typename: "UserSettings";
@@ -21435,7 +21497,7 @@ export declare const WorkflowNodeDefinitionFullFragmentDoc = "\n fragment wor
21435
21497
  export declare const WorkflowTaskMetaFragmentDoc = "\n fragment workflowTaskMeta on WorkflowTask {\n ...taskMeta\n workflow {\n ...workflowMeta\n }\n}\n ";
21436
21498
  export declare const AssistantSessionsDocument = "\n query assistantSessions {\n assistantSessions {\n ...assistantSessionMeta\n }\n}\n \n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n ";
21437
21499
  export declare const AssistantSessionDocument = "\n query assistantSession($id: ID!) {\n assistantSession(id: $id) {\n ...assistantSessionFull\n }\n}\n \n fragment assistantSessionFull on AssistantSession {\n ...assistantSessionMeta\n messages {\n ...assistantMessageFull\n }\n}\n \n\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n \n\n fragment assistantMessageFull on AssistantMessage {\n __typename\n id\n content\n role\n session {\n id\n }\n}\n ";
21438
- export declare const AssistantCloudStateDocument = "\n query assistantCloudState {\n viewer {\n id\n assistantUsage {\n ...assistantUsageFull\n }\n }\n assistantModels {\n ...assistantModelFull\n }\n}\n \n fragment assistantUsageFull on AssistantUsage {\n __typename\n balance\n}\n \n\n fragment assistantModelFull on AssistantModel {\n __typename\n id\n name\n tokenCredit\n}\n ";
21500
+ export declare const AssistantCloudStateDocument = "\n query assistantCloudState {\n viewer {\n ... on CloudUser {\n __typename\n id\n assistantUsage {\n ...assistantUsageFull\n }\n }\n ... on GuestUser {\n __typename\n }\n }\n assistantModels {\n ...assistantModelFull\n }\n}\n \n fragment assistantUsageFull on AssistantUsage {\n __typename\n balance\n}\n \n\n fragment assistantModelFull on AssistantModel {\n __typename\n id\n name\n tokenCredit\n}\n ";
21439
21501
  export declare const SendAssistantMessageDocument = "\n mutation sendAssistantMessage($sessionId: ID!, $message: String) {\n sendAssistantMessage(sessionId: $sessionId, message: $message) {\n error {\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on TaskInProgressUserError {\n ...taskInProgressUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n task {\n ...assistantMessageTaskFull\n }\n }\n}\n \n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment taskInProgressUserErrorFull on TaskInProgressUserError {\n ...userErrorFull\n taskId\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment assistantMessageTaskFull on AssistantMessageTask {\n __typename\n id\n message {\n ...assistantMessageFull\n }\n session {\n ...assistantSessionMeta\n }\n error {\n ... on AssistantUserError {\n ...assistantUserErrorFull\n }\n ... on AuthenticationUserError {\n ...authenticationUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n }\n}\n \n\n fragment assistantMessageFull on AssistantMessage {\n __typename\n id\n content\n role\n session {\n id\n }\n}\n \n\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n \n\n fragment assistantUserErrorFull on AssistantUserError {\n ...userErrorFull\n assistantReason: reason\n}\n \n\n fragment authenticationUserErrorFull on AuthenticationUserError {\n ...userErrorFull\n reason\n}\n ";
21440
21502
  export declare const CreateAssistantSessionDocument = "\n mutation createAssistantSession($input: CreateAssistantSessionInput!) {\n createAssistantSession(input: $input) {\n error {\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n session {\n ...assistantSessionMeta\n }\n }\n}\n \n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n ";
21441
21503
  export declare const DeleteAssistantSessionDocument = "\n mutation deleteAssistantSession($id: ID!) {\n deleteAssistantSession(id: $id) {\n deletedId\n }\n}\n ";
@@ -21444,9 +21506,11 @@ export declare const CreatedAssistantMessageDocument = "\n subscription creat
21444
21506
  export declare const CreatedAssistantMessageTaskDocument = "\n subscription createdAssistantMessageTask {\n createdAssistantMessageTask {\n task {\n ...assistantMessageTaskFull\n }\n }\n}\n \n fragment assistantMessageTaskFull on AssistantMessageTask {\n __typename\n id\n message {\n ...assistantMessageFull\n }\n session {\n ...assistantSessionMeta\n }\n error {\n ... on AssistantUserError {\n ...assistantUserErrorFull\n }\n ... on AuthenticationUserError {\n ...authenticationUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n }\n}\n \n\n fragment assistantMessageFull on AssistantMessage {\n __typename\n id\n content\n role\n session {\n id\n }\n}\n \n\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n \n\n fragment assistantUserErrorFull on AssistantUserError {\n ...userErrorFull\n assistantReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment authenticationUserErrorFull on AuthenticationUserError {\n ...userErrorFull\n reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n ";
21445
21507
  export declare const UpdatedAssistantMessageTaskDocument = "\n subscription updatedAssistantMessageTask {\n updatedAssistantMessageTask {\n task {\n ...assistantMessageTaskFull\n }\n }\n}\n \n fragment assistantMessageTaskFull on AssistantMessageTask {\n __typename\n id\n message {\n ...assistantMessageFull\n }\n session {\n ...assistantSessionMeta\n }\n error {\n ... on AssistantUserError {\n ...assistantUserErrorFull\n }\n ... on AuthenticationUserError {\n ...authenticationUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n }\n}\n \n\n fragment assistantMessageFull on AssistantMessage {\n __typename\n id\n content\n role\n session {\n id\n }\n}\n \n\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n \n\n fragment assistantUserErrorFull on AssistantUserError {\n ...userErrorFull\n assistantReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment authenticationUserErrorFull on AuthenticationUserError {\n ...userErrorFull\n reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n ";
21446
21508
  export declare const UpdatedViewerAssistantUsageDocument = "\n subscription updatedViewerAssistantUsage {\n updatedViewerAssistantUsage {\n usage {\n ...assistantUsageFull\n }\n }\n}\n \n fragment assistantUsageFull on AssistantUsage {\n __typename\n balance\n}\n ";
21509
+ export declare const AuthenticationStateDocument = "\n query authenticationState {\n authenticationState {\n allowGuests\n }\n}\n ";
21447
21510
  export declare const StartAuthenticationFlowDocument = "\n mutation startAuthenticationFlow {\n startAuthenticationFlow {\n request {\n ...authenticationRequestFull\n }\n error {\n ... on AuthenticationUserError {\n ...authenticationUserErrorFull\n }\n ... on InternalUserError {\n ...internalUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment authenticationRequestFull on AuthenticationRequest {\n __typename\n id\n expiresAt\n userCode\n verificationUrl\n}\n \n\n fragment authenticationUserErrorFull on AuthenticationUserError {\n ...userErrorFull\n reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment internalUserErrorFull on InternalUserError {\n ...userErrorFull\n message\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
21448
21511
  export declare const RefreshAuthenticationTokenDocument = "\n mutation refreshAuthenticationToken($refreshToken: Token!) {\n refreshAuthenticationToken(refreshToken: $refreshToken) {\n token {\n ...authenticationTokenFull\n }\n error {\n ... on AuthenticationUserError {\n ...authenticationUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment authenticationTokenFull on AuthenticationToken {\n __typename\n accessToken\n expiresAt\n refreshToken\n scopes\n}\n \n\n fragment authenticationUserErrorFull on AuthenticationUserError {\n ...userErrorFull\n reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
21449
21512
  export declare const LogoutDocument = "\n mutation logout {\n logout {\n success\n error {\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
21513
+ export declare const LoginAsGuestDocument = "\n mutation loginAsGuest {\n loginAsGuest {\n token {\n ...authenticationTokenFull\n }\n error {\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment authenticationTokenFull on AuthenticationToken {\n __typename\n accessToken\n expiresAt\n refreshToken\n scopes\n}\n \n\n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
21450
21514
  export declare const CreatedAuthenticationTokenDocument = "\n subscription createdAuthenticationToken($requestId: ID!) {\n createdAuthenticationToken(requestId: $requestId) {\n token {\n ...authenticationTokenFull\n }\n error {\n ... on AuthenticationUserError {\n ...authenticationUserErrorFull\n }\n ... on InternalUserError {\n ...internalUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment authenticationTokenFull on AuthenticationToken {\n __typename\n accessToken\n expiresAt\n refreshToken\n scopes\n}\n \n\n fragment authenticationUserErrorFull on AuthenticationUserError {\n ...userErrorFull\n reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment internalUserErrorFull on InternalUserError {\n ...userErrorFull\n message\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
21451
21515
  export declare const AutomateEntryDocument = "\n query automateEntry($id: ID!) {\n automateEntry(id: $id) {\n ...automateEntryFull\n }\n}\n \n fragment automateEntryFull on AutomateEntry {\n ...automateEntryMeta\n settings {\n ...automateSettingsFull\n }\n}\n \n\n fragment automateEntryMeta on AutomateEntry {\n __typename\n id\n name\n createdAt\n session {\n id\n }\n}\n \n\n fragment automateSettingsFull on AutomateSettings {\n __typename\n closeConnection\n updateContentLength\n strategy\n concurrency {\n ...concurrencySettingFull\n }\n retryOnFailure {\n ...retryOnFailureSettingFull\n }\n payloads {\n ...automatePayloadFull\n }\n placeholders {\n ...automatePlaceholderFull\n }\n}\n \n\n fragment concurrencySettingFull on AutomateConcurrencySetting {\n __typename\n delay\n workers\n}\n \n\n fragment retryOnFailureSettingFull on AutomateRetryOnFailureSetting {\n __typename\n backoff\n maximumRetries\n}\n \n\n fragment automatePayloadFull on AutomatePayload {\n __typename\n options {\n ... on AutomateSimpleListPayload {\n ...simpleListPayloadOptionsFull\n }\n ... on AutomateHostedFilePayload {\n ...hostedFilePayloadOptionsFull\n }\n ... on AutomateNullPayload {\n ...nullPayloadOptionsFull\n }\n ... on AutomateNumberPayload {\n ...numberPayloadOptionsFull\n }\n }\n preprocessors {\n ...automatePreprocessorFull\n }\n}\n \n\n fragment simpleListPayloadOptionsFull on AutomateSimpleListPayload {\n __typename\n list\n}\n \n\n fragment hostedFilePayloadOptionsFull on AutomateHostedFilePayload {\n __typename\n id\n delimiter\n}\n \n\n fragment nullPayloadOptionsFull on AutomateNullPayload {\n __typename\n quantity\n}\n \n\n fragment numberPayloadOptionsFull on AutomateNumberPayload {\n __typename\n range {\n ...rangeFull\n }\n}\n \n\n fragment rangeFull on Range {\n start\n end\n}\n \n\n fragment automatePreprocessorFull on AutomatePreprocessor {\n __typename\n options {\n ... on AutomatePrefixPreprocessor {\n ...automatePrefixPreprocessorFull\n }\n ... on AutomateSuffixPreprocessor {\n ...automateSuffixPreprocessorFull\n }\n ... on AutomateWorkflowPreprocessor {\n ...automateWorkflowPreprocessorFull\n }\n ... on AutomateUrlEncodePreprocessor {\n ...automateUrlEncodePreprocessorFull\n }\n }\n}\n \n\n fragment automatePrefixPreprocessorFull on AutomatePrefixPreprocessor {\n __typename\n value\n}\n \n\n fragment automateSuffixPreprocessorFull on AutomateSuffixPreprocessor {\n __typename\n value\n}\n \n\n fragment automateWorkflowPreprocessorFull on AutomateWorkflowPreprocessor {\n __typename\n id\n}\n \n\n fragment automateUrlEncodePreprocessorFull on AutomateUrlEncodePreprocessor {\n __typename\n charset\n nonAscii\n}\n \n\n fragment automatePlaceholderFull on AutomatePlaceholder {\n __typename\n start\n end\n}\n ";
21452
21516
  export declare const AutomateEntryRequestsDocument = "\n query automateEntryRequests($id: ID!, $after: String, $first: Int, $before: String, $last: Int, $order: AutomateEntryRequestOrderInput, $filter: HTTPQL) {\n automateEntry(id: $id) {\n ...automateEntryFull\n requests(\n after: $after\n before: $before\n first: $first\n last: $last\n order: $order\n filter: $filter\n ) {\n snapshot\n edges {\n ...automateEntryRequestEdgeMeta\n }\n }\n }\n}\n \n fragment automateEntryFull on AutomateEntry {\n ...automateEntryMeta\n settings {\n ...automateSettingsFull\n }\n}\n \n\n fragment automateEntryMeta on AutomateEntry {\n __typename\n id\n name\n createdAt\n session {\n id\n }\n}\n \n\n fragment automateSettingsFull on AutomateSettings {\n __typename\n closeConnection\n updateContentLength\n strategy\n concurrency {\n ...concurrencySettingFull\n }\n retryOnFailure {\n ...retryOnFailureSettingFull\n }\n payloads {\n ...automatePayloadFull\n }\n placeholders {\n ...automatePlaceholderFull\n }\n}\n \n\n fragment concurrencySettingFull on AutomateConcurrencySetting {\n __typename\n delay\n workers\n}\n \n\n fragment retryOnFailureSettingFull on AutomateRetryOnFailureSetting {\n __typename\n backoff\n maximumRetries\n}\n \n\n fragment automatePayloadFull on AutomatePayload {\n __typename\n options {\n ... on AutomateSimpleListPayload {\n ...simpleListPayloadOptionsFull\n }\n ... on AutomateHostedFilePayload {\n ...hostedFilePayloadOptionsFull\n }\n ... on AutomateNullPayload {\n ...nullPayloadOptionsFull\n }\n ... on AutomateNumberPayload {\n ...numberPayloadOptionsFull\n }\n }\n preprocessors {\n ...automatePreprocessorFull\n }\n}\n \n\n fragment simpleListPayloadOptionsFull on AutomateSimpleListPayload {\n __typename\n list\n}\n \n\n fragment hostedFilePayloadOptionsFull on AutomateHostedFilePayload {\n __typename\n id\n delimiter\n}\n \n\n fragment nullPayloadOptionsFull on AutomateNullPayload {\n __typename\n quantity\n}\n \n\n fragment numberPayloadOptionsFull on AutomateNumberPayload {\n __typename\n range {\n ...rangeFull\n }\n}\n \n\n fragment rangeFull on Range {\n start\n end\n}\n \n\n fragment automatePreprocessorFull on AutomatePreprocessor {\n __typename\n options {\n ... on AutomatePrefixPreprocessor {\n ...automatePrefixPreprocessorFull\n }\n ... on AutomateSuffixPreprocessor {\n ...automateSuffixPreprocessorFull\n }\n ... on AutomateWorkflowPreprocessor {\n ...automateWorkflowPreprocessorFull\n }\n ... on AutomateUrlEncodePreprocessor {\n ...automateUrlEncodePreprocessorFull\n }\n }\n}\n \n\n fragment automatePrefixPreprocessorFull on AutomatePrefixPreprocessor {\n __typename\n value\n}\n \n\n fragment automateSuffixPreprocessorFull on AutomateSuffixPreprocessor {\n __typename\n value\n}\n \n\n fragment automateWorkflowPreprocessorFull on AutomateWorkflowPreprocessor {\n __typename\n id\n}\n \n\n fragment automateUrlEncodePreprocessorFull on AutomateUrlEncodePreprocessor {\n __typename\n charset\n nonAscii\n}\n \n\n fragment automatePlaceholderFull on AutomatePlaceholder {\n __typename\n start\n end\n}\n \n\n fragment automateEntryRequestEdgeMeta on AutomateEntryRequestEdge {\n __typename\n node {\n ...automateEntryRequestMeta\n }\n cursor\n}\n \n\n fragment automateEntryRequestMeta on AutomateEntryRequest {\n __typename\n sequenceId\n automateEntryId\n error\n request {\n ...requestMeta\n }\n payloads {\n ...automateEntryRequestPayloadFull\n }\n}\n \n\n fragment requestMeta on Request {\n __typename\n id\n host\n port\n path\n query\n method\n edited\n isTls\n sni\n length\n alteration\n metadata {\n ...requestMetadataFull\n }\n fileExtension\n source\n createdAt\n response {\n ...responseMeta\n }\n stream {\n id\n }\n}\n \n\n fragment requestMetadataFull on RequestMetadata {\n __typename\n id\n color\n}\n \n\n fragment responseMeta on Response {\n __typename\n id\n statusCode\n roundtripTime\n length\n createdAt\n alteration\n edited\n}\n \n\n fragment automateEntryRequestPayloadFull on AutomateEntryRequestPayload {\n __typename\n position\n raw\n}\n ";
@@ -21708,8 +21772,8 @@ export declare const CreatedUpstreamProxySocksDocument = "\n subscription cre
21708
21772
  export declare const UpdatedUpstreamProxySocksDocument = "\n subscription updatedUpstreamProxySocks {\n updatedUpstreamProxySocks {\n proxy {\n ...upstreamProxySocksFull\n }\n }\n}\n \n fragment upstreamProxySocksFull on UpstreamProxySocks {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n connection {\n ...connectionInfoFull\n }\n enabled\n includeDns\n rank\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
21709
21773
  export declare const DeletedUpstreamProxySocksDocument = "\n subscription deletedUpstreamProxySocks {\n deletedUpstreamProxySocks {\n deletedProxyId\n }\n}\n ";
21710
21774
  export declare const UpdateViewerSettingsDocument = "\n mutation updateViewerSettings($input: UpdateViewerSettingsInput!) {\n updateViewerSettings(input: $input) {\n settings {\n ...userSettingsFull\n }\n }\n}\n \n fragment userSettingsFull on UserSettings {\n __typename\n data\n migrations\n}\n ";
21711
- export declare const UserProfileDocument = "\n query userProfile {\n viewer {\n id\n profile {\n ...userProfileFull\n }\n }\n}\n \n fragment userProfileFull on UserProfile {\n __typename\n identity {\n __typename\n name\n email\n }\n subscription {\n __typename\n entitlements {\n __typename\n name\n }\n plan {\n __typename\n name\n }\n }\n}\n ";
21712
- export declare const UserSettingsDocument = "\n query userSettings {\n viewer {\n id\n settings {\n ...userSettingsFull\n }\n }\n}\n \n fragment userSettingsFull on UserSettings {\n __typename\n data\n migrations\n}\n ";
21775
+ export declare const UserProfileDocument = "\n query userProfile {\n viewer {\n ... on CloudUser {\n __typename\n id\n profile {\n ...userProfileFull\n }\n }\n ... on GuestUser {\n __typename\n }\n }\n}\n \n fragment userProfileFull on UserProfile {\n __typename\n identity {\n __typename\n name\n email\n }\n subscription {\n __typename\n entitlements {\n __typename\n name\n }\n plan {\n __typename\n name\n }\n }\n}\n ";
21776
+ export declare const UserSettingsDocument = "\n query userSettings {\n viewer {\n ... on CloudUser {\n __typename\n id\n settings {\n ...userSettingsFull\n }\n }\n ... on GuestUser {\n __typename\n id\n settings {\n ...userSettingsFull\n }\n }\n }\n}\n \n fragment userSettingsFull on UserSettings {\n __typename\n data\n migrations\n}\n ";
21713
21777
  export declare const WorkflowDocument = "\n query workflow($id: ID!) {\n workflow(id: $id) {\n ...workflowFull\n }\n}\n \n fragment workflowFull on Workflow {\n ...workflowMeta\n definition\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
21714
21778
  export declare const WorkflowsStateDocument = "\n query workflowsState {\n workflows {\n ...workflowFull\n }\n workflowNodeDefinitions {\n ...workflowNodeDefinitionFull\n }\n}\n \n fragment workflowFull on Workflow {\n ...workflowMeta\n definition\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n \n\n fragment workflowNodeDefinitionFull on WorkflowNodeDefinition {\n __typename\n raw\n}\n ";
21715
21779
  export declare const CreatedWorkflowDocument = "\n subscription createdWorkflow {\n createdWorkflow {\n workflowEdge {\n ...workflowEdgeFull\n }\n }\n}\n \n fragment workflowEdgeFull on WorkflowEdge {\n cursor\n node {\n ...workflowFull\n }\n}\n \n\n fragment workflowFull on Workflow {\n ...workflowMeta\n definition\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
@@ -21740,9 +21804,11 @@ export declare function getSdk<C>(requester: Requester<C>): {
21740
21804
  createdAssistantMessageTask(variables?: CreatedAssistantMessageTaskSubscriptionVariables, options?: C): AsyncIterable<CreatedAssistantMessageTaskSubscription>;
21741
21805
  updatedAssistantMessageTask(variables?: UpdatedAssistantMessageTaskSubscriptionVariables, options?: C): AsyncIterable<UpdatedAssistantMessageTaskSubscription>;
21742
21806
  updatedViewerAssistantUsage(variables?: UpdatedViewerAssistantUsageSubscriptionVariables, options?: C): AsyncIterable<UpdatedViewerAssistantUsageSubscription>;
21807
+ authenticationState(variables?: AuthenticationStateQueryVariables, options?: C): Promise<AuthenticationStateQuery>;
21743
21808
  startAuthenticationFlow(variables?: StartAuthenticationFlowMutationVariables, options?: C): Promise<StartAuthenticationFlowMutation>;
21744
21809
  refreshAuthenticationToken(variables: RefreshAuthenticationTokenMutationVariables, options?: C): Promise<RefreshAuthenticationTokenMutation>;
21745
21810
  logout(variables?: LogoutMutationVariables, options?: C): Promise<LogoutMutation>;
21811
+ loginAsGuest(variables?: LoginAsGuestMutationVariables, options?: C): Promise<LoginAsGuestMutation>;
21746
21812
  createdAuthenticationToken(variables: CreatedAuthenticationTokenSubscriptionVariables, options?: C): AsyncIterable<CreatedAuthenticationTokenSubscription>;
21747
21813
  automateEntry(variables: AutomateEntryQueryVariables, options?: C): Promise<AutomateEntryQuery>;
21748
21814
  automateEntryRequests(variables: AutomateEntryRequestsQueryVariables, options?: C): Promise<AutomateEntryRequestsQuery>;
@@ -30,4 +30,9 @@ export type HTTPHistorySDK = {
30
30
  * @param extension The extension to add.
31
31
  */
32
32
  addRequestEditorExtension: (extension: Extension) => void;
33
+ /**
34
+ * Add an extension to the response editor.
35
+ * @param extension The extension to add.
36
+ */
37
+ addResponseEditorExtension: (extension: Extension) => void;
33
38
  };