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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caido/sdk-frontend",
3
- "version": "v0.45.1",
3
+ "version": "0.45.2-beta.1",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -69,6 +69,10 @@ export type Scalars = {
69
69
  input: Date;
70
70
  output: Date;
71
71
  };
72
+ Duration: {
73
+ input: number;
74
+ output: number;
75
+ };
72
76
  HTTPQL: {
73
77
  input: string;
74
78
  output: string;
@@ -581,6 +585,10 @@ export type Browser = {
581
585
  size: Scalars["Int"]["output"];
582
586
  version: Scalars["String"]["output"];
583
587
  };
588
+ export type BrowserRequest = {
589
+ replay: Scalars["String"]["output"];
590
+ showResponse: Scalars["String"]["output"];
591
+ };
584
592
  export type CancelAutomateTaskError = OtherUserError | UnknownIdUserError;
585
593
  export type CancelAutomateTaskPayload = {
586
594
  cancelledId?: Maybe<Scalars["ID"]["output"]>;
@@ -861,6 +869,9 @@ export type CreatedInterceptMessagePayload = {
861
869
  messageEdge: InterceptMessageEdge;
862
870
  snapshot: Scalars["Snapshot"]["output"];
863
871
  };
872
+ export type CreatedLogLinesPayload = {
873
+ lines: Array<LogLine>;
874
+ };
864
875
  export type CreatedPluginEventPayload = {
865
876
  eventArgs: Array<Scalars["JsonRaw"]["output"]>;
866
877
  eventName: Scalars["String"]["output"];
@@ -1292,6 +1303,7 @@ export type ForwardInterceptResponseMessageInput = {
1292
1303
  export type GlobalConfig = {
1293
1304
  address: Scalars["String"]["output"];
1294
1305
  onboarding: OnboardingState;
1306
+ project: ProjectConfig;
1295
1307
  };
1296
1308
  export type GlobalizeWorkflowError = OtherUserError | ReadOnlyUserError | UnknownIdUserError | WorkflowUserError;
1297
1309
  export type GlobalizeWorkflowPayload = {
@@ -1456,6 +1468,20 @@ export type LocalizeWorkflowPayload = {
1456
1468
  error?: Maybe<LocalizeWorkflowError>;
1457
1469
  workflow?: Maybe<Workflow>;
1458
1470
  };
1471
+ export declare const LogLevel: {
1472
+ readonly Debug: "DEBUG";
1473
+ readonly Error: "ERROR";
1474
+ readonly Info: "INFO";
1475
+ readonly Trace: "TRACE";
1476
+ readonly Warn: "WARN";
1477
+ };
1478
+ export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
1479
+ export type LogLine = {
1480
+ level: LogLevel;
1481
+ message: Scalars["String"]["output"];
1482
+ target: Scalars["String"]["output"];
1483
+ timestamp: Scalars["Timestamp"]["output"];
1484
+ };
1459
1485
  export type LogoutError = CloudUserError | OtherUserError;
1460
1486
  export type LogoutPayload = {
1461
1487
  error?: Maybe<LogoutError>;
@@ -1556,6 +1582,7 @@ export type MutationRoot = {
1556
1582
  setActiveReplaySessionEntry: SetActiveReplaySessionEntryPayload;
1557
1583
  setGlobalConfigOnboarding: SetConfigOnboardingPayload;
1558
1584
  setGlobalConfigPort: SetConfigPortPayload;
1585
+ setGlobalConfigProject: SetConfigProjectPayload;
1559
1586
  setInterceptOptions: SetInterceptOptionsPayload;
1560
1587
  setPluginData: SetPluginDataPayload;
1561
1588
  startAuthenticationFlow: StartAuthenticationFlowPayload;
@@ -1852,6 +1879,9 @@ export type MutationRootSetGlobalConfigOnboardingArgs = {
1852
1879
  export type MutationRootSetGlobalConfigPortArgs = {
1853
1880
  input: Scalars["Int"]["input"];
1854
1881
  };
1882
+ export type MutationRootSetGlobalConfigProjectArgs = {
1883
+ input: SetConfigProjectInput;
1884
+ };
1855
1885
  export type MutationRootSetInterceptOptionsArgs = {
1856
1886
  input: InterceptOptionsInput;
1857
1887
  };
@@ -1997,7 +2027,7 @@ export type Plugin = {
1997
2027
  export type PluginAuthor = {
1998
2028
  email?: Maybe<Scalars["String"]["output"]>;
1999
2029
  name?: Maybe<Scalars["String"]["output"]>;
2000
- url?: Maybe<Scalars["String"]["output"]>;
2030
+ url?: Maybe<Scalars["Url"]["output"]>;
2001
2031
  };
2002
2032
  export type PluginBackend = Plugin & {
2003
2033
  enabled: Scalars["Boolean"]["output"];
@@ -2017,6 +2047,7 @@ export declare const PluginErrorReason: {
2017
2047
  };
2018
2048
  export type PluginErrorReason = (typeof PluginErrorReason)[keyof typeof PluginErrorReason];
2019
2049
  export type PluginFrontend = Plugin & {
2050
+ assets?: Maybe<Scalars["String"]["output"]>;
2020
2051
  backend?: Maybe<PluginBackend>;
2021
2052
  data?: Maybe<Scalars["JSON"]["output"]>;
2022
2053
  enabled: Scalars["Boolean"]["output"];
@@ -2027,11 +2058,15 @@ export type PluginFrontend = Plugin & {
2027
2058
  package: PluginPackage;
2028
2059
  style?: Maybe<Scalars["String"]["output"]>;
2029
2060
  };
2061
+ export type PluginLinks = {
2062
+ sponsor?: Maybe<Scalars["Url"]["output"]>;
2063
+ };
2030
2064
  export type PluginPackage = {
2031
2065
  author?: Maybe<PluginAuthor>;
2032
2066
  description?: Maybe<Scalars["String"]["output"]>;
2033
2067
  id: Scalars["ID"]["output"];
2034
2068
  installedAt: Scalars["DateTime"]["output"];
2069
+ links?: Maybe<PluginLinks>;
2035
2070
  manifestId: Scalars["ID"]["output"];
2036
2071
  name?: Maybe<Scalars["String"]["output"]>;
2037
2072
  plugins: Array<Plugin>;
@@ -2075,6 +2110,10 @@ export type Project = {
2075
2110
  updatedAt: Scalars["DateTime"]["output"];
2076
2111
  version: Scalars["String"]["output"];
2077
2112
  };
2113
+ export type ProjectConfig = {
2114
+ selectOnStart: ProjectSelectOnStart;
2115
+ selectProjectId?: Maybe<Scalars["ID"]["output"]>;
2116
+ };
2078
2117
  export declare const ProjectErrorReason: {
2079
2118
  readonly Deleting: "DELETING";
2080
2119
  readonly Exporting: "EXPORTING";
@@ -2083,6 +2122,12 @@ export declare const ProjectErrorReason: {
2083
2122
  readonly TooRecent: "TOO_RECENT";
2084
2123
  };
2085
2124
  export type ProjectErrorReason = (typeof ProjectErrorReason)[keyof typeof ProjectErrorReason];
2125
+ export declare const ProjectSelectOnStart: {
2126
+ readonly LastUsed: "LAST_USED";
2127
+ readonly Nothing: "NOTHING";
2128
+ readonly Selected: "SELECTED";
2129
+ };
2130
+ export type ProjectSelectOnStart = (typeof ProjectSelectOnStart)[keyof typeof ProjectSelectOnStart];
2086
2131
  export declare const ProjectStatus: {
2087
2132
  readonly Error: "ERROR";
2088
2133
  readonly Ready: "READY";
@@ -2636,6 +2681,7 @@ export type ReplayWorkflowPreprocessorInput = {
2636
2681
  };
2637
2682
  export type Request = {
2638
2683
  alteration: Alteration;
2684
+ browser: BrowserRequest;
2639
2685
  createdAt: Scalars["Timestamp"]["output"];
2640
2686
  edited: Scalars["Boolean"]["output"];
2641
2687
  edits: Array<Request>;
@@ -2802,6 +2848,13 @@ export type SetConfigOnboardingPayload = {
2802
2848
  export type SetConfigPortPayload = {
2803
2849
  config: GlobalConfig;
2804
2850
  };
2851
+ export type SetConfigProjectInput = {
2852
+ selectOnStart: ProjectSelectOnStart;
2853
+ selectProjectId?: InputMaybe<Scalars["ID"]["input"]>;
2854
+ };
2855
+ export type SetConfigProjectPayload = {
2856
+ config: GlobalConfig;
2857
+ };
2805
2858
  export type SetInterceptOptionsPayload = {
2806
2859
  options: InterceptOptions;
2807
2860
  };
@@ -3050,6 +3103,7 @@ export type SubscriptionRoot = {
3050
3103
  createdFinding: CreatedFindingPayload;
3051
3104
  createdInterceptEntry: CreatedInterceptEntryPayload;
3052
3105
  createdInterceptMessage: CreatedInterceptMessagePayload;
3106
+ createdLogLines: CreatedLogLinesPayload;
3053
3107
  createdPluginEvent: CreatedPluginEventPayload;
3054
3108
  createdPluginPackage: CreatedPluginPackagePayload;
3055
3109
  createdProject: CreatedProjectPayload;
@@ -3142,6 +3196,9 @@ export type SubscriptionRootCreatedInterceptEntryArgs = {
3142
3196
  filter?: InputMaybe<Scalars["HTTPQL"]["input"]>;
3143
3197
  scopeId?: InputMaybe<Scalars["ID"]["input"]>;
3144
3198
  };
3199
+ export type SubscriptionRootCreatedLogLinesArgs = {
3200
+ duration: Scalars["Duration"]["input"];
3201
+ };
3145
3202
  export type SubscriptionRootCreatedRequestArgs = {
3146
3203
  filter?: InputMaybe<Scalars["HTTPQL"]["input"]>;
3147
3204
  scopeId?: InputMaybe<Scalars["ID"]["input"]>;
@@ -6585,6 +6642,11 @@ export type OnboardingFullFragment = {
6585
6642
  license: boolean;
6586
6643
  project: boolean;
6587
6644
  };
6645
+ export type ProjectConfigFullFragment = {
6646
+ __typename: "ProjectConfig";
6647
+ selectOnStart: ProjectSelectOnStart;
6648
+ selectProjectId?: string | undefined | null;
6649
+ };
6588
6650
  export type UpdateOnboardingMutationVariables = Exact<{
6589
6651
  input: SetConfigOnboardingInput;
6590
6652
  }>;
@@ -6600,6 +6662,20 @@ export type UpdateOnboardingMutation = {
6600
6662
  };
6601
6663
  };
6602
6664
  };
6665
+ export type UpdateProjectConfigMutationVariables = Exact<{
6666
+ input: SetConfigProjectInput;
6667
+ }>;
6668
+ export type UpdateProjectConfigMutation = {
6669
+ setGlobalConfigProject: {
6670
+ config: {
6671
+ project: {
6672
+ __typename: "ProjectConfig";
6673
+ selectOnStart: ProjectSelectOnStart;
6674
+ selectProjectId?: string | undefined | null;
6675
+ };
6676
+ };
6677
+ };
6678
+ };
6603
6679
  export type GlobalConfigQueryVariables = Exact<{
6604
6680
  [key: string]: never;
6605
6681
  }>;
@@ -6612,6 +6688,23 @@ export type GlobalConfigQuery = {
6612
6688
  license: boolean;
6613
6689
  project: boolean;
6614
6690
  };
6691
+ project: {
6692
+ __typename: "ProjectConfig";
6693
+ selectOnStart: ProjectSelectOnStart;
6694
+ selectProjectId?: string | undefined | null;
6695
+ };
6696
+ };
6697
+ };
6698
+ export type ProjectGlobalConfigQueryVariables = Exact<{
6699
+ [key: string]: never;
6700
+ }>;
6701
+ export type ProjectGlobalConfigQuery = {
6702
+ globalConfig: {
6703
+ project: {
6704
+ __typename: "ProjectConfig";
6705
+ selectOnStart: ProjectSelectOnStart;
6706
+ selectProjectId?: string | undefined | null;
6707
+ };
6615
6708
  };
6616
6709
  };
6617
6710
  export type ConnectionInfoFullFragment = {
@@ -9601,6 +9694,9 @@ export type PluginAuthorFullFragment = {
9601
9694
  email?: string | undefined | null;
9602
9695
  url?: string | undefined | null;
9603
9696
  };
9697
+ export type PluginLinksFullFragment = {
9698
+ sponsor?: string | undefined | null;
9699
+ };
9604
9700
  export type PluginPackageMetaFragment = {
9605
9701
  id: string;
9606
9702
  name?: string | undefined | null;
@@ -9613,6 +9709,9 @@ export type PluginPackageMetaFragment = {
9613
9709
  email?: string | undefined | null;
9614
9710
  url?: string | undefined | null;
9615
9711
  } | undefined | null;
9712
+ links?: {
9713
+ sponsor?: string | undefined | null;
9714
+ } | undefined | null;
9616
9715
  };
9617
9716
  export type PluginPackageFullFragment = {
9618
9717
  id: string;
@@ -9675,6 +9774,9 @@ export type PluginPackageFullFragment = {
9675
9774
  email?: string | undefined | null;
9676
9775
  url?: string | undefined | null;
9677
9776
  } | undefined | null;
9777
+ links?: {
9778
+ sponsor?: string | undefined | null;
9779
+ } | undefined | null;
9678
9780
  };
9679
9781
  export type StorePluginPackageFullFragment = {
9680
9782
  description?: string | undefined | null;
@@ -9755,6 +9857,9 @@ export type PluginPackagesQuery = {
9755
9857
  email?: string | undefined | null;
9756
9858
  url?: string | undefined | null;
9757
9859
  } | undefined | null;
9860
+ links?: {
9861
+ sponsor?: string | undefined | null;
9862
+ } | undefined | null;
9758
9863
  }>;
9759
9864
  };
9760
9865
  export type StorePluginPackagesQueryVariables = Exact<{
@@ -9844,6 +9949,9 @@ export type InstallPluginPackageMutation = {
9844
9949
  email?: string | undefined | null;
9845
9950
  url?: string | undefined | null;
9846
9951
  } | undefined | null;
9952
+ links?: {
9953
+ sponsor?: string | undefined | null;
9954
+ } | undefined | null;
9847
9955
  } | undefined | null;
9848
9956
  error?: {
9849
9957
  __typename: "CloudUserError";
@@ -10083,6 +10191,9 @@ export type CreatedPluginPackageSubscription = {
10083
10191
  email?: string | undefined | null;
10084
10192
  url?: string | undefined | null;
10085
10193
  } | undefined | null;
10194
+ links?: {
10195
+ sponsor?: string | undefined | null;
10196
+ } | undefined | null;
10086
10197
  };
10087
10198
  };
10088
10199
  };
@@ -13334,6 +13445,17 @@ export type RequestQuery = {
13334
13445
  } | undefined | null;
13335
13446
  } | undefined | null;
13336
13447
  };
13448
+ export type RequestBrowserUrlQueryVariables = Exact<{
13449
+ id: Scalars["ID"]["input"];
13450
+ }>;
13451
+ export type RequestBrowserUrlQuery = {
13452
+ request?: {
13453
+ browser: {
13454
+ replay: string;
13455
+ showResponse: string;
13456
+ };
13457
+ } | undefined | null;
13458
+ };
13337
13459
  export type RequestsByOffsetQueryVariables = Exact<{
13338
13460
  limit?: InputMaybe<Scalars["Int"]["input"]>;
13339
13461
  offset?: InputMaybe<Scalars["Int"]["input"]>;
@@ -15648,6 +15770,7 @@ export declare const FinishedRestoreBackupTaskCancelledFullFragmentDoc = "\n
15648
15770
  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 ";
15649
15771
  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 ";
15650
15772
  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 ";
15651
15774
  export declare const EnvironmentMetaFragmentDoc = "\n fragment environmentMeta on Environment {\n __typename\n id\n name\n version\n}\n ";
15652
15775
  export declare const EnvironmentVariableFullFragmentDoc = "\n fragment environmentVariableFull on EnvironmentVariable {\n name\n value\n kind\n}\n ";
15653
15776
  export declare const EnvironmentFullFragmentDoc = "\n fragment environmentFull on Environment {\n ...environmentMeta\n variables {\n ...environmentVariableFull\n }\n}\n ";
@@ -15697,7 +15820,8 @@ export declare const InterceptOptionsMetaFragmentDoc = "\n fragment intercept
15697
15820
  export declare const TamperRuleFullFragmentDoc = "\n fragment tamperRuleFull on TamperRule {\n __typename\n id\n isEnabled\n isRegex\n name\n matchTerm\n replaceTerm\n strategy\n rank\n condition\n collection {\n id\n }\n}\n ";
15698
15821
  export declare const TamperRuleCollectionFullFragmentDoc = "\n fragment tamperRuleCollectionFull on TamperRuleCollection {\n __typename\n id\n name\n rules {\n ...tamperRuleFull\n }\n}\n ";
15699
15822
  export declare const PluginAuthorFullFragmentDoc = "\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n ";
15700
- export declare const PluginPackageMetaFragmentDoc = "\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n version\n installedAt\n manifestId\n}\n ";
15823
+ export declare const PluginLinksFullFragmentDoc = "\n fragment pluginLinksFull on PluginLinks {\n sponsor\n}\n ";
15824
+ export declare const PluginPackageMetaFragmentDoc = "\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n links {\n ...pluginLinksFull\n }\n version\n installedAt\n manifestId\n}\n ";
15701
15825
  export declare const PluginMetaFragmentDoc = "\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n ";
15702
15826
  export declare const PluginBackendMetaFragmentDoc = "\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n ";
15703
15827
  export declare const PluginFrontendFullFragmentDoc = "\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n ";
@@ -15809,7 +15933,9 @@ export declare const DeletedBrowserDocument = "\n subscription deletedBrowser
15809
15933
  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 ";
15810
15934
  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 ";
15811
15935
  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 ";
15812
- export declare const GlobalConfigDocument = "\n query globalConfig {\n globalConfig {\n address\n onboarding {\n ...onboardingFull\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 ";
15813
15939
  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 ";
15814
15940
  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 ";
15815
15941
  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 ";
@@ -15890,13 +16016,13 @@ export declare const EnableTamperRuleDocument = "\n mutation enableTamperRule
15890
16016
  export declare const DisableTamperRuleDocument = "\n mutation disableTamperRule($id: ID!) {\n disableTamperRule(id: $id) {\n rule {\n ...tamperRuleFull\n }\n }\n}\n \n fragment tamperRuleFull on TamperRule {\n __typename\n id\n isEnabled\n isRegex\n name\n matchTerm\n replaceTerm\n strategy\n rank\n condition\n collection {\n id\n }\n}\n ";
15891
16017
  export declare const RankTamperRuleDocument = "\n mutation rankTamperRule($id: ID!, $input: RankTamperRuleInput!) {\n rankTamperRule(id: $id, input: $input) {\n rule {\n ...tamperRuleFull\n }\n }\n}\n \n fragment tamperRuleFull on TamperRule {\n __typename\n id\n isEnabled\n isRegex\n name\n matchTerm\n replaceTerm\n strategy\n rank\n condition\n collection {\n id\n }\n}\n ";
15892
16018
  export declare const MoveTamperRuleDocument = "\n mutation moveTamperRule($id: ID!, $collectionId: ID!) {\n moveTamperRule(id: $id, collectionId: $collectionId) {\n rule {\n ...tamperRuleFull\n }\n }\n}\n \n fragment tamperRuleFull on TamperRule {\n __typename\n id\n isEnabled\n isRegex\n name\n matchTerm\n replaceTerm\n strategy\n rank\n condition\n collection {\n id\n }\n}\n ";
15893
- export declare const PluginPackagesDocument = "\n query pluginPackages {\n pluginPackages {\n ...pluginPackageFull\n }\n}\n \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 \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n version\n installedAt\n manifestId\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
16019
+ export declare const PluginPackagesDocument = "\n query pluginPackages {\n pluginPackages {\n ...pluginPackageFull\n }\n}\n \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 \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n links {\n ...pluginLinksFull\n }\n version\n installedAt\n manifestId\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginLinksFull on PluginLinks {\n sponsor\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
15894
16020
  export declare const StorePluginPackagesDocument = "\n query storePluginPackages {\n store {\n pluginPackages {\n ...storePluginPackageFull\n }\n }\n}\n \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 ";
15895
- export declare const InstallPluginPackageDocument = "\n mutation installPluginPackage($input: InstallPluginPackageInput!) {\n installPluginPackage(input: $input) {\n package {\n ...pluginPackageFull\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on PluginUserError {\n ...pluginUserErrorFull\n }\n ... on StoreUserError {\n ...storeUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n }\n }\n}\n \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 \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n version\n installedAt\n manifestId\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\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 otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment pluginUserErrorFull on PluginUserError {\n ...userErrorFull\n reason\n}\n \n\n fragment storeUserErrorFull on StoreUserError {\n ...userErrorFull\n storeReason: reason\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n ";
16021
+ export declare const InstallPluginPackageDocument = "\n mutation installPluginPackage($input: InstallPluginPackageInput!) {\n installPluginPackage(input: $input) {\n package {\n ...pluginPackageFull\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on PluginUserError {\n ...pluginUserErrorFull\n }\n ... on StoreUserError {\n ...storeUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n }\n }\n}\n \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 \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n links {\n ...pluginLinksFull\n }\n version\n installedAt\n manifestId\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginLinksFull on PluginLinks {\n sponsor\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\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 otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment pluginUserErrorFull on PluginUserError {\n ...userErrorFull\n reason\n}\n \n\n fragment storeUserErrorFull on StoreUserError {\n ...userErrorFull\n storeReason: reason\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n ";
15896
16022
  export declare const UninstallPluginPackageDocument = "\n mutation uninstallPluginPackage($id: ID!) {\n uninstallPluginPackage(id: $id) {\n deletedId\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n }\n }\n}\n \n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\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 ";
15897
16023
  export declare const TogglePluginDocument = "\n mutation togglePlugin($id: ID!, $enabled: Boolean!) {\n togglePlugin(id: $id, enabled: $enabled) {\n plugin {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on PluginUserError {\n ...pluginUserErrorFull\n }\n }\n }\n}\n \n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\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 otherUserErrorFull on OtherUserError {\n ...userErrorFull\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 pluginUserErrorFull on PluginUserError {\n ...userErrorFull\n reason\n}\n ";
15898
16024
  export declare const SetPluginDataDocument = "\n mutation setPluginData($id: ID!, $data: JSON!) {\n setPluginData(id: $id, data: $data) {\n plugin {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on PluginUserError {\n ...pluginUserErrorFull\n }\n }\n }\n}\n \n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\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 otherUserErrorFull on OtherUserError {\n ...userErrorFull\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 pluginUserErrorFull on PluginUserError {\n ...userErrorFull\n reason\n}\n ";
15899
- export declare const CreatedPluginPackageDocument = "\n subscription createdPluginPackage {\n createdPluginPackage {\n package {\n ...pluginPackageFull\n }\n }\n}\n \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 \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n version\n installedAt\n manifestId\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
16025
+ export declare const CreatedPluginPackageDocument = "\n subscription createdPluginPackage {\n createdPluginPackage {\n package {\n ...pluginPackageFull\n }\n }\n}\n \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 \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n links {\n ...pluginLinksFull\n }\n version\n installedAt\n manifestId\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginLinksFull on PluginLinks {\n sponsor\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
15900
16026
  export declare const DeletedPluginPackageDocument = "\n subscription deletedPluginPackage {\n deletedPluginPackage {\n deletedPackageId\n }\n}\n ";
15901
16027
  export declare const UpdatedPluginDocument = "\n subscription updatedPlugin {\n updatedPlugin {\n plugin {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n }\n}\n \n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
15902
16028
  export declare const CreatedPluginEventDocument = "\n subscription createdPluginEvent {\n createdPluginEvent {\n pluginId\n eventArgs\n eventName\n }\n}\n ";
@@ -15932,6 +16058,7 @@ export declare const DeletedReplaySessionCollectionDocument = "\n subscriptio
15932
16058
  export declare const RequestsDocument = "\n query requests($after: String, $before: String, $first: Int, $last: Int, $order: RequestResponseOrderInput, $scopeId: ID, $filter: HTTPQL) {\n requests(\n after: $after\n before: $before\n first: $first\n last: $last\n order: $order\n scopeId: $scopeId\n filter: $filter\n ) {\n edges {\n ...requestEdgeMeta\n }\n pageInfo {\n ...pageInfoFull\n }\n snapshot\n }\n}\n \n fragment requestEdgeMeta on RequestEdge {\n __typename\n cursor\n node {\n ...requestMeta\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}\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 ";
15933
16059
  export declare const RequestCountDocument = "\n query requestCount($scopeId: ID, $filter: HTTPQL) {\n requests(first: 0, scopeId: $scopeId, filter: $filter) {\n count {\n ...countFull\n }\n snapshot\n }\n}\n \n fragment countFull on Count {\n __typename\n value\n snapshot\n}\n ";
15934
16060
  export declare const RequestDocument = "\n query request($id: ID!) {\n request(id: $id) {\n ...requestFull\n }\n}\n \n fragment requestFull on Request {\n ...requestFullFields\n}\n \n\n fragment requestFullFields on Request {\n ...requestMeta\n raw\n edits {\n ...requestMeta\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}\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 ";
16061
+ export declare const RequestBrowserUrlDocument = "\n query requestBrowserUrl($id: ID!) {\n request(id: $id) {\n browser {\n replay\n showResponse\n }\n }\n}\n ";
15935
16062
  export declare const RequestsByOffsetDocument = "\n query requestsByOffset($limit: Int, $offset: Int, $order: RequestResponseOrderInput, $scopeId: ID, $filter: HTTPQL) {\n requestsByOffset(\n limit: $limit\n offset: $offset\n order: $order\n scopeId: $scopeId\n filter: $filter\n ) {\n edges {\n ...requestEdgeMeta\n }\n snapshot\n pageInfo {\n ...pageInfoFull\n }\n }\n}\n \n fragment requestEdgeMeta on RequestEdge {\n __typename\n cursor\n node {\n ...requestMeta\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}\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 ";
15936
16063
  export declare const UpdateRequestMetadataDocument = "\n mutation updateRequestMetadata($id: ID!, $input: UpdateRequestMetadataInput!) {\n updateRequestMetadata(id: $id, input: $input) {\n snapshot\n metadata {\n ...requestMetadataFull\n }\n }\n}\n \n fragment requestMetadataFull on RequestMetadata {\n __typename\n id\n color\n}\n ";
15937
16064
  export declare const StartExportRequestsTaskDocument = "\n mutation startExportRequestsTask($input: StartExportRequestsTaskInput!) {\n startExportRequestsTask(input: $input) {\n task {\n ...dataExportTaskMeta\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n }\n }\n}\n \n fragment dataExportTaskMeta on DataExportTask {\n ...dataExportTaskMetaFields\n}\n \n\n fragment dataExportTaskMetaFields on DataExportTask {\n __typename\n id\n export {\n ...dataExportMeta\n }\n}\n \n\n fragment dataExportMeta on DataExport {\n ...dataExportMetaFields\n}\n \n\n fragment dataExportMetaFields on DataExport {\n __typename\n id\n name\n path\n size\n status\n format\n error\n createdAt\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\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 ";
@@ -16078,7 +16205,9 @@ export declare function getSdk<C>(requester: Requester<C>): {
16078
16205
  installedBrowser(variables?: InstalledBrowserSubscriptionVariables, options?: C): AsyncIterable<InstalledBrowserSubscription>;
16079
16206
  updatedBrowser(variables?: UpdatedBrowserSubscriptionVariables, options?: C): AsyncIterable<UpdatedBrowserSubscription>;
16080
16207
  updateOnboarding(variables: UpdateOnboardingMutationVariables, options?: C): Promise<UpdateOnboardingMutation>;
16208
+ updateProjectConfig(variables: UpdateProjectConfigMutationVariables, options?: C): Promise<UpdateProjectConfigMutation>;
16081
16209
  globalConfig(variables?: GlobalConfigQueryVariables, options?: C): Promise<GlobalConfigQuery>;
16210
+ projectGlobalConfig(variables?: ProjectGlobalConfigQueryVariables, options?: C): Promise<ProjectGlobalConfigQuery>;
16082
16211
  environment(variables: EnvironmentQueryVariables, options?: C): Promise<EnvironmentQuery>;
16083
16212
  environments(variables?: EnvironmentsQueryVariables, options?: C): Promise<EnvironmentsQuery>;
16084
16213
  environmentContext(variables?: EnvironmentContextQueryVariables, options?: C): Promise<EnvironmentContextQuery>;
@@ -16201,6 +16330,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
16201
16330
  requests(variables?: RequestsQueryVariables, options?: C): Promise<RequestsQuery>;
16202
16331
  requestCount(variables?: RequestCountQueryVariables, options?: C): Promise<RequestCountQuery>;
16203
16332
  request(variables: RequestQueryVariables, options?: C): Promise<RequestQuery>;
16333
+ requestBrowserUrl(variables: RequestBrowserUrlQueryVariables, options?: C): Promise<RequestBrowserUrlQuery>;
16204
16334
  requestsByOffset(variables?: RequestsByOffsetQueryVariables, options?: C): Promise<RequestsByOffsetQuery>;
16205
16335
  updateRequestMetadata(variables: UpdateRequestMetadataMutationVariables, options?: C): Promise<UpdateRequestMetadataMutation>;
16206
16336
  startExportRequestsTask(variables: StartExportRequestsTaskMutationVariables, options?: C): Promise<StartExportRequestsTaskMutation>;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Utilities to interact with the plugin's static assets.
3
+ * @category Files
4
+ */
5
+ export type AssetsSDK = {
6
+ /**
7
+ * Get a file from the assets folder.
8
+ * @returns The asset file.
9
+ */
10
+ get: (path: string) => Promise<Asset>;
11
+ };
12
+ /**
13
+ * A static asset.
14
+ * @category Files
15
+ */
16
+ type Asset = {
17
+ asReadableStream: () => ReadableStream;
18
+ asArrayBuffer: () => Promise<ArrayBuffer>;
19
+ asString: () => Promise<string>;
20
+ asJson: <T = unknown>() => Promise<T>;
21
+ };
22
+ export {};
@@ -1,4 +1,5 @@
1
1
  import type { Sdk as GraphqlSDK } from "./__generated__/graphql-sdk";
2
+ import type { AssetsSDK } from "./assets";
2
3
  import type { BackendEndpoints, BackendEvents, BackendSDK } from "./backend";
3
4
  import type { CommandPaletteSDK } from "./commandPalette";
4
5
  import type { CommandsSDK } from "./commands";
@@ -74,6 +75,10 @@ export type API<T extends BackendEndpoints = Record<string, never>, E extends Ba
74
75
  * Utilities to interact with frontend-plugin storage.
75
76
  */
76
77
  storage: StorageSDK;
78
+ /**
79
+ * Utilities to interact with the plugin's static assets.
80
+ */
81
+ assets: AssetsSDK;
77
82
  /**
78
83
  * Utilities to interact with shortcuts.
79
84
  */