@caido/sdk-frontend 0.45.2-beta.1 → 0.45.2-beta.3

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.45.2-beta.1",
3
+ "version": "0.45.2-beta.3",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -942,6 +942,10 @@ export type CreatedUpstreamProxySocksPayload = {
942
942
  export type CreatedWorkflowPayload = {
943
943
  workflowEdge: WorkflowEdge;
944
944
  };
945
+ export type CurrentProject = {
946
+ config: ProjectConfig;
947
+ project: Project;
948
+ };
945
949
  export type DataExport = {
946
950
  createdAt: Scalars["DateTime"]["output"];
947
951
  downloadUri?: Maybe<Scalars["Uri"]["output"]>;
@@ -1303,7 +1307,11 @@ export type ForwardInterceptResponseMessageInput = {
1303
1307
  export type GlobalConfig = {
1304
1308
  address: Scalars["String"]["output"];
1305
1309
  onboarding: OnboardingState;
1306
- project: ProjectConfig;
1310
+ project: GlobalConfigProject;
1311
+ };
1312
+ export type GlobalConfigProject = {
1313
+ selectOnStart: ProjectSelectOnStart;
1314
+ selectProjectId?: Maybe<Scalars["ID"]["output"]>;
1307
1315
  };
1308
1316
  export type GlobalizeWorkflowError = OtherUserError | ReadOnlyUserError | UnknownIdUserError | WorkflowUserError;
1309
1317
  export type GlobalizeWorkflowPayload = {
@@ -1585,6 +1593,7 @@ export type MutationRoot = {
1585
1593
  setGlobalConfigProject: SetConfigProjectPayload;
1586
1594
  setInterceptOptions: SetInterceptOptionsPayload;
1587
1595
  setPluginData: SetPluginDataPayload;
1596
+ setProjectConfigStream: SetProjectConfigStreamPayload;
1588
1597
  startAuthenticationFlow: StartAuthenticationFlowPayload;
1589
1598
  startAutomateTask: StartAutomateTaskPayload;
1590
1599
  startExportRequestsTask: StartExportRequestsTaskPayload;
@@ -1889,6 +1898,9 @@ export type MutationRootSetPluginDataArgs = {
1889
1898
  data: Scalars["JSON"]["input"];
1890
1899
  id: Scalars["ID"]["input"];
1891
1900
  };
1901
+ export type MutationRootSetProjectConfigStreamArgs = {
1902
+ input: ProjectConfigStreamInput;
1903
+ };
1892
1904
  export type MutationRootStartAutomateTaskArgs = {
1893
1905
  automateSessionId: Scalars["ID"]["input"];
1894
1906
  };
@@ -2111,8 +2123,13 @@ export type Project = {
2111
2123
  version: Scalars["String"]["output"];
2112
2124
  };
2113
2125
  export type ProjectConfig = {
2114
- selectOnStart: ProjectSelectOnStart;
2115
- selectProjectId?: Maybe<Scalars["ID"]["output"]>;
2126
+ stream: ProjectConfigStream;
2127
+ };
2128
+ export type ProjectConfigStream = {
2129
+ stripExtension: Scalars["Boolean"]["output"];
2130
+ };
2131
+ export type ProjectConfigStreamInput = {
2132
+ stripExtension: Scalars["Boolean"]["input"];
2116
2133
  };
2117
2134
  export declare const ProjectErrorReason: {
2118
2135
  readonly Deleting: "DELETING";
@@ -2150,7 +2167,7 @@ export type QueryRoot = {
2150
2167
  backupTasks: Array<BackupTask>;
2151
2168
  backups: Array<Backup>;
2152
2169
  browser?: Maybe<Browser>;
2153
- currentProject?: Maybe<Project>;
2170
+ currentProject?: Maybe<CurrentProject>;
2154
2171
  dataExport?: Maybe<DataExport>;
2155
2172
  dataExportTasks: Array<DataExportTask>;
2156
2173
  dataExports: Array<DataExport>;
@@ -2825,8 +2842,8 @@ export type SelectEnvironmentPayload = {
2825
2842
  error?: Maybe<SelectEnvironmentError>;
2826
2843
  };
2827
2844
  export type SelectProjectPayload = {
2845
+ currentProject?: Maybe<CurrentProject>;
2828
2846
  error?: Maybe<SelectProjectPayloadError>;
2829
- project?: Maybe<Project>;
2830
2847
  };
2831
2848
  export type SelectProjectPayloadError = OtherUserError | ProjectUserError | UnknownIdUserError;
2832
2849
  export type SendAssistantMessageError = CloudUserError | OtherUserError | PermissionDeniedUserError | TaskInProgressUserError;
@@ -2863,6 +2880,9 @@ export type SetPluginDataPayload = {
2863
2880
  error?: Maybe<SetPluginDataError>;
2864
2881
  plugin?: Maybe<Plugin>;
2865
2882
  };
2883
+ export type SetProjectConfigStreamPayload = {
2884
+ config: ProjectConfigStream;
2885
+ };
2866
2886
  export declare const SitemapDescendantsDepth: {
2867
2887
  readonly All: "ALL";
2868
2888
  readonly Direct: "DIRECT";
@@ -6642,8 +6662,8 @@ export type OnboardingFullFragment = {
6642
6662
  license: boolean;
6643
6663
  project: boolean;
6644
6664
  };
6645
- export type ProjectConfigFullFragment = {
6646
- __typename: "ProjectConfig";
6665
+ export type GlobalConfigProjectFullFragment = {
6666
+ __typename: "GlobalConfigProject";
6647
6667
  selectOnStart: ProjectSelectOnStart;
6648
6668
  selectProjectId?: string | undefined | null;
6649
6669
  };
@@ -6662,14 +6682,14 @@ export type UpdateOnboardingMutation = {
6662
6682
  };
6663
6683
  };
6664
6684
  };
6665
- export type UpdateProjectConfigMutationVariables = Exact<{
6685
+ export type UpdateGlobalConfigProjectMutationVariables = Exact<{
6666
6686
  input: SetConfigProjectInput;
6667
6687
  }>;
6668
- export type UpdateProjectConfigMutation = {
6688
+ export type UpdateGlobalConfigProjectMutation = {
6669
6689
  setGlobalConfigProject: {
6670
6690
  config: {
6671
6691
  project: {
6672
- __typename: "ProjectConfig";
6692
+ __typename: "GlobalConfigProject";
6673
6693
  selectOnStart: ProjectSelectOnStart;
6674
6694
  selectProjectId?: string | undefined | null;
6675
6695
  };
@@ -6689,19 +6709,19 @@ export type GlobalConfigQuery = {
6689
6709
  project: boolean;
6690
6710
  };
6691
6711
  project: {
6692
- __typename: "ProjectConfig";
6712
+ __typename: "GlobalConfigProject";
6693
6713
  selectOnStart: ProjectSelectOnStart;
6694
6714
  selectProjectId?: string | undefined | null;
6695
6715
  };
6696
6716
  };
6697
6717
  };
6698
- export type ProjectGlobalConfigQueryVariables = Exact<{
6718
+ export type GlobalConfigProjectQueryVariables = Exact<{
6699
6719
  [key: string]: never;
6700
6720
  }>;
6701
- export type ProjectGlobalConfigQuery = {
6721
+ export type GlobalConfigProjectQuery = {
6702
6722
  globalConfig: {
6703
6723
  project: {
6704
- __typename: "ProjectConfig";
6724
+ __typename: "GlobalConfigProject";
6705
6725
  selectOnStart: ProjectSelectOnStart;
6706
6726
  selectProjectId?: string | undefined | null;
6707
6727
  };
@@ -10285,6 +10305,27 @@ export type ProjectFullFragment = {
10285
10305
  id: string;
10286
10306
  }>;
10287
10307
  };
10308
+ export type CurrentProjectFullFragment = {
10309
+ project: {
10310
+ __typename: "Project";
10311
+ id: string;
10312
+ name: string;
10313
+ path: string;
10314
+ version: string;
10315
+ status: ProjectStatus;
10316
+ size: number;
10317
+ createdAt: Date;
10318
+ updatedAt: Date;
10319
+ backups: Array<{
10320
+ id: string;
10321
+ }>;
10322
+ };
10323
+ config: {
10324
+ stream: {
10325
+ stripExtension: boolean;
10326
+ };
10327
+ };
10328
+ };
10288
10329
  export type CreatedProjectSubscriptionVariables = Exact<{
10289
10330
  [key: string]: never;
10290
10331
  }>;
@@ -10377,19 +10418,26 @@ export type SelectProjectMutationVariables = Exact<{
10377
10418
  }>;
10378
10419
  export type SelectProjectMutation = {
10379
10420
  selectProject: {
10380
- project?: {
10381
- __typename: "Project";
10382
- id: string;
10383
- name: string;
10384
- path: string;
10385
- version: string;
10386
- status: ProjectStatus;
10387
- size: number;
10388
- createdAt: Date;
10389
- updatedAt: Date;
10390
- backups: Array<{
10421
+ currentProject?: {
10422
+ project: {
10423
+ __typename: "Project";
10391
10424
  id: string;
10392
- }>;
10425
+ name: string;
10426
+ path: string;
10427
+ version: string;
10428
+ status: ProjectStatus;
10429
+ size: number;
10430
+ createdAt: Date;
10431
+ updatedAt: Date;
10432
+ backups: Array<{
10433
+ id: string;
10434
+ }>;
10435
+ };
10436
+ config: {
10437
+ stream: {
10438
+ stripExtension: boolean;
10439
+ };
10440
+ };
10393
10441
  } | undefined | null;
10394
10442
  error?: {
10395
10443
  __typename: "OtherUserError";
@@ -10460,18 +10508,25 @@ export type CurrentProjectQueryVariables = Exact<{
10460
10508
  }>;
10461
10509
  export type CurrentProjectQuery = {
10462
10510
  currentProject?: {
10463
- __typename: "Project";
10464
- id: string;
10465
- name: string;
10466
- path: string;
10467
- version: string;
10468
- status: ProjectStatus;
10469
- size: number;
10470
- createdAt: Date;
10471
- updatedAt: Date;
10472
- backups: Array<{
10511
+ project: {
10512
+ __typename: "Project";
10473
10513
  id: string;
10474
- }>;
10514
+ name: string;
10515
+ path: string;
10516
+ version: string;
10517
+ status: ProjectStatus;
10518
+ size: number;
10519
+ createdAt: Date;
10520
+ updatedAt: Date;
10521
+ backups: Array<{
10522
+ id: string;
10523
+ }>;
10524
+ };
10525
+ config: {
10526
+ stream: {
10527
+ stripExtension: boolean;
10528
+ };
10529
+ };
10475
10530
  } | undefined | null;
10476
10531
  };
10477
10532
  export type ProjectsQueryVariables = Exact<{
@@ -10493,6 +10548,24 @@ export type ProjectsQuery = {
10493
10548
  }>;
10494
10549
  }>;
10495
10550
  };
10551
+ export type ProjectConfigFullFragment = {
10552
+ stream: {
10553
+ stripExtension: boolean;
10554
+ };
10555
+ };
10556
+ export type ProjectConfigStreamFullFragment = {
10557
+ stripExtension: boolean;
10558
+ };
10559
+ export type SetProjectConfigStreamMutationVariables = Exact<{
10560
+ input: ProjectConfigStreamInput;
10561
+ }>;
10562
+ export type SetProjectConfigStreamMutation = {
10563
+ setProjectConfigStream: {
10564
+ config: {
10565
+ stripExtension: boolean;
10566
+ };
10567
+ };
10568
+ };
10496
10569
  export type RangeFullFragment = {
10497
10570
  start: number;
10498
10571
  end: number;
@@ -15770,7 +15843,7 @@ export declare const FinishedRestoreBackupTaskCancelledFullFragmentDoc = "\n
15770
15843
  export declare const FinishedRestoreBackupTaskErrorFullFragmentDoc = "\n fragment finishedRestoreBackupTaskErrorFull on FinishedRestoreBackupTaskError {\n __typename\n taskId\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on InternalUserError {\n ...internalUserErrorFull\n }\n ... on BackupUserError {\n ...backupUserErrorFull\n }\n }\n}\n ";
15771
15844
  export declare const BrowserFullFragmentDoc = "\n fragment browserFull on Browser {\n __typename\n id\n installedAt\n latest\n path\n size\n version\n}\n ";
15772
15845
  export declare const OnboardingFullFragmentDoc = "\n fragment onboardingFull on OnboardingState {\n __typename\n caCertificate\n license\n project\n}\n ";
15773
- export declare const ProjectConfigFullFragmentDoc = "\n fragment projectConfigFull on ProjectConfig {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
15846
+ export declare const GlobalConfigProjectFullFragmentDoc = "\n fragment globalConfigProjectFull on GlobalConfigProject {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
15774
15847
  export declare const EnvironmentMetaFragmentDoc = "\n fragment environmentMeta on Environment {\n __typename\n id\n name\n version\n}\n ";
15775
15848
  export declare const EnvironmentVariableFullFragmentDoc = "\n fragment environmentVariableFull on EnvironmentVariable {\n name\n value\n kind\n}\n ";
15776
15849
  export declare const EnvironmentFullFragmentDoc = "\n fragment environmentFull on Environment {\n ...environmentMeta\n variables {\n ...environmentVariableFull\n }\n}\n ";
@@ -15830,6 +15903,9 @@ export declare const WorkflowMetaFragmentDoc = "\n fragment workflowMeta on W
15830
15903
  export declare const PluginWorkflowFullFragmentDoc = "\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n ";
15831
15904
  export declare const PluginPackageFullFragmentDoc = "\n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n}\n ";
15832
15905
  export declare const StorePluginPackageFullFragmentDoc = "\n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n downloads\n license\n manifestId\n name\n repository\n version\n}\n ";
15906
+ export declare const ProjectConfigStreamFullFragmentDoc = "\n fragment projectConfigStreamFull on ProjectConfigStream {\n stripExtension\n}\n ";
15907
+ export declare const ProjectConfigFullFragmentDoc = "\n fragment projectConfigFull on ProjectConfig {\n stream {\n ...projectConfigStreamFull\n }\n}\n ";
15908
+ export declare const CurrentProjectFullFragmentDoc = "\n fragment currentProjectFull on CurrentProject {\n project {\n ...projectFull\n }\n config {\n ...projectConfigFull\n }\n}\n ";
15833
15909
  export declare const ReplayEntryMetaFragmentDoc = "\n fragment replayEntryMeta on ReplayEntry {\n __typename\n id\n error\n connection {\n ...connectionInfoFull\n }\n session {\n id\n }\n request {\n ...requestMeta\n }\n}\n ";
15834
15910
  export declare const ReplayPrefixPreprocessorFullFragmentDoc = "\n fragment replayPrefixPreprocessorFull on ReplayPrefixPreprocessor {\n __typename\n value\n}\n ";
15835
15911
  export declare const ReplaySuffixPreprocessorFullFragmentDoc = "\n fragment replaySuffixPreprocessorFull on ReplaySuffixPreprocessor {\n __typename\n value\n}\n ";
@@ -15933,9 +16009,9 @@ export declare const DeletedBrowserDocument = "\n subscription deletedBrowser
15933
16009
  export declare const InstalledBrowserDocument = "\n subscription installedBrowser {\n installedBrowser {\n browser {\n ...browserFull\n }\n }\n}\n \n fragment browserFull on Browser {\n __typename\n id\n installedAt\n latest\n path\n size\n version\n}\n ";
15934
16010
  export declare const UpdatedBrowserDocument = "\n subscription updatedBrowser {\n updatedBrowser {\n browser {\n ...browserFull\n }\n }\n}\n \n fragment browserFull on Browser {\n __typename\n id\n installedAt\n latest\n path\n size\n version\n}\n ";
15935
16011
  export declare const UpdateOnboardingDocument = "\n mutation updateOnboarding($input: SetConfigOnboardingInput!) {\n setGlobalConfigOnboarding(input: $input) {\n config {\n onboarding {\n ...onboardingFull\n }\n }\n }\n}\n \n fragment onboardingFull on OnboardingState {\n __typename\n caCertificate\n license\n project\n}\n ";
15936
- export declare const UpdateProjectConfigDocument = "\n mutation updateProjectConfig($input: SetConfigProjectInput!) {\n setGlobalConfigProject(input: $input) {\n config {\n project {\n ...projectConfigFull\n }\n }\n }\n}\n \n fragment projectConfigFull on ProjectConfig {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
15937
- export declare const GlobalConfigDocument = "\n query globalConfig {\n globalConfig {\n address\n onboarding {\n ...onboardingFull\n }\n project {\n ...projectConfigFull\n }\n }\n}\n \n fragment onboardingFull on OnboardingState {\n __typename\n caCertificate\n license\n project\n}\n \n\n fragment projectConfigFull on ProjectConfig {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
15938
- export declare const ProjectGlobalConfigDocument = "\n query projectGlobalConfig {\n globalConfig {\n project {\n ...projectConfigFull\n }\n }\n}\n \n fragment projectConfigFull on ProjectConfig {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
16012
+ export declare const UpdateGlobalConfigProjectDocument = "\n mutation updateGlobalConfigProject($input: SetConfigProjectInput!) {\n setGlobalConfigProject(input: $input) {\n config {\n project {\n ...globalConfigProjectFull\n }\n }\n }\n}\n \n fragment globalConfigProjectFull on GlobalConfigProject {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
16013
+ export declare const GlobalConfigDocument = "\n query globalConfig {\n globalConfig {\n address\n onboarding {\n ...onboardingFull\n }\n project {\n ...globalConfigProjectFull\n }\n }\n}\n \n fragment onboardingFull on OnboardingState {\n __typename\n caCertificate\n license\n project\n}\n \n\n fragment globalConfigProjectFull on GlobalConfigProject {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
16014
+ export declare const GlobalConfigProjectDocument = "\n query globalConfigProject {\n globalConfig {\n project {\n ...globalConfigProjectFull\n }\n }\n}\n \n fragment globalConfigProjectFull on GlobalConfigProject {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
15939
16015
  export declare const EnvironmentDocument = "\n query environment($id: ID!) {\n environment(id: $id) {\n ...environmentFull\n }\n}\n \n fragment environmentFull on Environment {\n ...environmentMeta\n variables {\n ...environmentVariableFull\n }\n}\n \n\n fragment environmentMeta on Environment {\n __typename\n id\n name\n version\n}\n \n\n fragment environmentVariableFull on EnvironmentVariable {\n name\n value\n kind\n}\n ";
15940
16016
  export declare const EnvironmentsDocument = "\n query environments {\n environments {\n ...environmentMeta\n }\n}\n \n fragment environmentMeta on Environment {\n __typename\n id\n name\n version\n}\n ";
15941
16017
  export declare const EnvironmentContextDocument = "\n query environmentContext {\n environmentContext {\n ...environmentContextFull\n }\n}\n \n fragment environmentContextFull on EnvironmentContext {\n global {\n ...environmentFull\n }\n selected {\n ...environmentFull\n }\n}\n \n\n fragment environmentFull on Environment {\n ...environmentMeta\n variables {\n ...environmentVariableFull\n }\n}\n \n\n fragment environmentMeta on Environment {\n __typename\n id\n name\n version\n}\n \n\n fragment environmentVariableFull on EnvironmentVariable {\n name\n value\n kind\n}\n ";
@@ -16030,11 +16106,12 @@ export declare const CreatedProjectDocument = "\n subscription createdProject
16030
16106
  export declare const UpdatedProjectDocument = "\n subscription updatedProject {\n updatedProject {\n project {\n ...projectFull\n }\n }\n}\n \n fragment projectFull on Project {\n __typename\n id\n name\n path\n version\n status\n size\n createdAt\n updatedAt\n backups {\n id\n }\n}\n ";
16031
16107
  export declare const DeletedProjectDocument = "\n subscription deletedProject {\n deletedProject {\n deletedProjectId\n }\n}\n ";
16032
16108
  export declare const CreateProjectDocument = "\n mutation createProject($input: CreateProjectInput!) {\n createProject(input: $input) {\n project {\n ...projectFull\n }\n error {\n ... on NameTakenUserError {\n ...nameTakenUserErrorFull\n }\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n }\n }\n}\n \n fragment projectFull on Project {\n __typename\n id\n name\n path\n version\n status\n size\n createdAt\n updatedAt\n backups {\n id\n }\n}\n \n\n fragment nameTakenUserErrorFull on NameTakenUserError {\n ...userErrorFull\n name\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: 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 ";
16033
- export declare const SelectProjectDocument = "\n mutation selectProject($id: ID!) {\n selectProject(id: $id) {\n project {\n ...projectFull\n }\n error {\n ... on ProjectUserError {\n ...projectUserErrorFull\n }\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment projectFull on Project {\n __typename\n id\n name\n path\n version\n status\n size\n createdAt\n updatedAt\n backups {\n id\n }\n}\n \n\n fragment projectUserErrorFull on ProjectUserError {\n ...userErrorFull\n projectReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment unknownIdUserErrorFull on UnknownIdUserError {\n ...userErrorFull\n id\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
16109
+ export declare const SelectProjectDocument = "\n mutation selectProject($id: ID!) {\n selectProject(id: $id) {\n currentProject {\n ...currentProjectFull\n }\n error {\n ... on ProjectUserError {\n ...projectUserErrorFull\n }\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment currentProjectFull on CurrentProject {\n project {\n ...projectFull\n }\n config {\n ...projectConfigFull\n }\n}\n \n\n fragment projectFull on Project {\n __typename\n id\n name\n path\n version\n status\n size\n createdAt\n updatedAt\n backups {\n id\n }\n}\n \n\n fragment projectConfigFull on ProjectConfig {\n stream {\n ...projectConfigStreamFull\n }\n}\n \n\n fragment projectConfigStreamFull on ProjectConfigStream {\n stripExtension\n}\n \n\n fragment projectUserErrorFull on ProjectUserError {\n ...userErrorFull\n projectReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment unknownIdUserErrorFull on UnknownIdUserError {\n ...userErrorFull\n id\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
16034
16110
  export declare const DeleteProjectDocument = "\n mutation deleteProject($id: ID!) {\n deleteProject(id: $id) {\n deletedId\n error {\n ... on ProjectUserError {\n ...projectUserErrorFull\n }\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment projectUserErrorFull on ProjectUserError {\n ...userErrorFull\n projectReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment unknownIdUserErrorFull on UnknownIdUserError {\n ...userErrorFull\n id\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
16035
16111
  export declare const RenameProjectDocument = "\n mutation renameProject($id: ID!, $name: String!) {\n renameProject(id: $id, name: $name) {\n project {\n ...projectFull\n }\n error {\n ... on NameTakenUserError {\n ...nameTakenUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment projectFull on Project {\n __typename\n id\n name\n path\n version\n status\n size\n createdAt\n updatedAt\n backups {\n id\n }\n}\n \n\n fragment nameTakenUserErrorFull on NameTakenUserError {\n ...userErrorFull\n name\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
16036
- export declare const CurrentProjectDocument = "\n query currentProject {\n currentProject {\n ...projectFull\n }\n}\n \n fragment projectFull on Project {\n __typename\n id\n name\n path\n version\n status\n size\n createdAt\n updatedAt\n backups {\n id\n }\n}\n ";
16112
+ export declare const CurrentProjectDocument = "\n query currentProject {\n currentProject {\n ...currentProjectFull\n }\n}\n \n fragment currentProjectFull on CurrentProject {\n project {\n ...projectFull\n }\n config {\n ...projectConfigFull\n }\n}\n \n\n fragment projectFull on Project {\n __typename\n id\n name\n path\n version\n status\n size\n createdAt\n updatedAt\n backups {\n id\n }\n}\n \n\n fragment projectConfigFull on ProjectConfig {\n stream {\n ...projectConfigStreamFull\n }\n}\n \n\n fragment projectConfigStreamFull on ProjectConfigStream {\n stripExtension\n}\n ";
16037
16113
  export declare const ProjectsDocument = "\n query projects {\n projects {\n ...projectFull\n }\n}\n \n fragment projectFull on Project {\n __typename\n id\n name\n path\n version\n status\n size\n createdAt\n updatedAt\n backups {\n id\n }\n}\n ";
16114
+ export declare const SetProjectConfigStreamDocument = "\n mutation setProjectConfigStream($input: ProjectConfigStreamInput!) {\n setProjectConfigStream(input: $input) {\n config {\n ...projectConfigStreamFull\n }\n }\n}\n \n fragment projectConfigStreamFull on ProjectConfigStream {\n stripExtension\n}\n ";
16038
16115
  export declare const ReplayEntryDocument = "\n query replayEntry($id: ID!) {\n replayEntry(id: $id) {\n ...replayEntryFull\n }\n}\n \n fragment replayEntryFull on ReplayEntry {\n ...replayEntryMeta\n raw\n settings {\n placeholders {\n ...replayPlaceholderFull\n }\n }\n}\n \n\n fragment replayEntryMeta on ReplayEntry {\n __typename\n id\n error\n connection {\n ...connectionInfoFull\n }\n session {\n id\n }\n request {\n ...requestMeta\n }\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\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}\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 replayPlaceholderFull on ReplayPlaceholder {\n __typename\n inputRange {\n ...rangeFull\n }\n outputRange {\n ...rangeFull\n }\n preprocessors {\n ...replayPreprocessorFull\n }\n}\n \n\n fragment rangeFull on Range {\n start\n end\n}\n \n\n fragment replayPreprocessorFull on ReplayPreprocessor {\n __typename\n options {\n ... on ReplayPrefixPreprocessor {\n ...replayPrefixPreprocessorFull\n }\n ... on ReplaySuffixPreprocessor {\n ...replaySuffixPreprocessorFull\n }\n ... on ReplayUrlEncodePreprocessor {\n ...replayUrlEncodePreprocessorFull\n }\n ... on ReplayWorkflowPreprocessor {\n ...replayWorkflowPreprocessorFull\n }\n ... on ReplayEnvironmentPreprocessor {\n ...replayEnvironmentPreprocessorFull\n }\n }\n}\n \n\n fragment replayPrefixPreprocessorFull on ReplayPrefixPreprocessor {\n __typename\n value\n}\n \n\n fragment replaySuffixPreprocessorFull on ReplaySuffixPreprocessor {\n __typename\n value\n}\n \n\n fragment replayUrlEncodePreprocessorFull on ReplayUrlEncodePreprocessor {\n __typename\n charset\n nonAscii\n}\n \n\n fragment replayWorkflowPreprocessorFull on ReplayWorkflowPreprocessor {\n __typename\n id\n}\n \n\n fragment replayEnvironmentPreprocessorFull on ReplayEnvironmentPreprocessor {\n __typename\n variableName\n}\n ";
16039
16116
  export declare const ActiveReplayEntryBySessionDocument = "\n query activeReplayEntryBySession($sessionId: ID!) {\n replaySession(id: $sessionId) {\n ...replaySessionMeta\n activeEntry {\n ...replayEntryMeta\n }\n }\n}\n \n fragment replaySessionMeta on ReplaySession {\n __typename\n id\n name\n activeEntry {\n ...replayEntryMeta\n }\n collection {\n id\n }\n entries {\n nodes {\n ...replayEntryMeta\n }\n pageInfo {\n ...pageInfoFull\n }\n count {\n ...countFull\n }\n }\n}\n \n\n fragment replayEntryMeta on ReplayEntry {\n __typename\n id\n error\n connection {\n ...connectionInfoFull\n }\n session {\n id\n }\n request {\n ...requestMeta\n }\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\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}\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 pageInfoFull on PageInfo {\n __typename\n hasPreviousPage\n hasNextPage\n startCursor\n endCursor\n}\n \n\n fragment countFull on Count {\n __typename\n value\n snapshot\n}\n ";
16040
16117
  export declare const ReplayEntriesBySessionDocument = "\n query replayEntriesBySession($sessionId: ID!) {\n replaySession(id: $sessionId) {\n ...replaySessionMeta\n entries {\n edges {\n cursor\n node {\n ...replayEntryMeta\n }\n }\n pageInfo {\n ...pageInfoFull\n }\n count {\n ...countFull\n }\n }\n }\n}\n \n fragment replaySessionMeta on ReplaySession {\n __typename\n id\n name\n activeEntry {\n ...replayEntryMeta\n }\n collection {\n id\n }\n entries {\n nodes {\n ...replayEntryMeta\n }\n pageInfo {\n ...pageInfoFull\n }\n count {\n ...countFull\n }\n }\n}\n \n\n fragment replayEntryMeta on ReplayEntry {\n __typename\n id\n error\n connection {\n ...connectionInfoFull\n }\n session {\n id\n }\n request {\n ...requestMeta\n }\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\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}\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 pageInfoFull on PageInfo {\n __typename\n hasPreviousPage\n hasNextPage\n startCursor\n endCursor\n}\n \n\n fragment countFull on Count {\n __typename\n value\n snapshot\n}\n ";
@@ -16205,9 +16282,9 @@ export declare function getSdk<C>(requester: Requester<C>): {
16205
16282
  installedBrowser(variables?: InstalledBrowserSubscriptionVariables, options?: C): AsyncIterable<InstalledBrowserSubscription>;
16206
16283
  updatedBrowser(variables?: UpdatedBrowserSubscriptionVariables, options?: C): AsyncIterable<UpdatedBrowserSubscription>;
16207
16284
  updateOnboarding(variables: UpdateOnboardingMutationVariables, options?: C): Promise<UpdateOnboardingMutation>;
16208
- updateProjectConfig(variables: UpdateProjectConfigMutationVariables, options?: C): Promise<UpdateProjectConfigMutation>;
16285
+ updateGlobalConfigProject(variables: UpdateGlobalConfigProjectMutationVariables, options?: C): Promise<UpdateGlobalConfigProjectMutation>;
16209
16286
  globalConfig(variables?: GlobalConfigQueryVariables, options?: C): Promise<GlobalConfigQuery>;
16210
- projectGlobalConfig(variables?: ProjectGlobalConfigQueryVariables, options?: C): Promise<ProjectGlobalConfigQuery>;
16287
+ globalConfigProject(variables?: GlobalConfigProjectQueryVariables, options?: C): Promise<GlobalConfigProjectQuery>;
16211
16288
  environment(variables: EnvironmentQueryVariables, options?: C): Promise<EnvironmentQuery>;
16212
16289
  environments(variables?: EnvironmentsQueryVariables, options?: C): Promise<EnvironmentsQuery>;
16213
16290
  environmentContext(variables?: EnvironmentContextQueryVariables, options?: C): Promise<EnvironmentContextQuery>;
@@ -16307,6 +16384,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
16307
16384
  renameProject(variables: RenameProjectMutationVariables, options?: C): Promise<RenameProjectMutation>;
16308
16385
  currentProject(variables?: CurrentProjectQueryVariables, options?: C): Promise<CurrentProjectQuery>;
16309
16386
  projects(variables?: ProjectsQueryVariables, options?: C): Promise<ProjectsQuery>;
16387
+ setProjectConfigStream(variables: SetProjectConfigStreamMutationVariables, options?: C): Promise<SetProjectConfigStreamMutation>;
16310
16388
  replayEntry(variables: ReplayEntryQueryVariables, options?: C): Promise<ReplayEntryQuery>;
16311
16389
  activeReplayEntryBySession(variables: ActiveReplayEntryBySessionQueryVariables, options?: C): Promise<ActiveReplayEntryBySessionQuery>;
16312
16390
  replayEntriesBySession(variables: ReplayEntriesBySessionQueryVariables, options?: C): Promise<ReplayEntriesBySessionQuery>;
@@ -13,6 +13,7 @@ import type { MatchReplaceSDK } from "./matchReplace";
13
13
  import type { MenuSDK } from "./menu";
14
14
  import type { NavigationSDK } from "./navigation";
15
15
  import type { ReplaySDK } from "./replay";
16
+ import type { RuntimeSDK } from "./runtime";
16
17
  import type { ScopesSDK } from "./scopes";
17
18
  import type { SearchSDK } from "./search";
18
19
  import type { ShortcutsSDK } from "./shortcuts";
@@ -127,4 +128,8 @@ export type API<T extends BackendEndpoints = Record<string, never>, E extends Ba
127
128
  * Utilities to interact with the Intercept page.
128
129
  */
129
130
  intercept: InterceptSDK;
131
+ /**
132
+ * Utilities to interact with the runtime.
133
+ */
134
+ runtime: RuntimeSDK;
130
135
  };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Utilities to interact with the runtime.
3
+ * @category Runtime
4
+ */
5
+ export type RuntimeSDK = {
6
+ /**
7
+ * Get the current version of Caido.
8
+ */
9
+ get version(): string;
10
+ };