@caido/sdk-frontend 0.38.0 → 0.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caido/sdk-frontend",
3
- "version": "0.38.0",
3
+ "version": "0.39.0",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -631,6 +631,17 @@ export type CreateFilterPresetPayload = {
631
631
  error?: Maybe<CreateFilterPresetError>;
632
632
  filter?: Maybe<FilterPreset>;
633
633
  };
634
+ export type CreateFindingError = OtherUserError | UnknownIdUserError;
635
+ export type CreateFindingInput = {
636
+ dedupeKey?: InputMaybe<Scalars["String"]["input"]>;
637
+ description?: InputMaybe<Scalars["String"]["input"]>;
638
+ reporter: Scalars["String"]["input"];
639
+ title: Scalars["String"]["input"];
640
+ };
641
+ export type CreateFindingPayload = {
642
+ error?: Maybe<CreateFindingError>;
643
+ finding?: Maybe<Finding>;
644
+ };
634
645
  export type CreateProjectInput = {
635
646
  name: Scalars["String"]["input"];
636
647
  };
@@ -1059,6 +1070,7 @@ export type FilterPresetEdge = {
1059
1070
  };
1060
1071
  export type Finding = {
1061
1072
  createdAt: Scalars["Timestamp"]["output"];
1073
+ dedupeKey?: Maybe<Scalars["String"]["output"]>;
1062
1074
  description?: Maybe<Scalars["String"]["output"]>;
1063
1075
  host: Scalars["String"]["output"];
1064
1076
  id: Scalars["ID"]["output"];
@@ -1320,6 +1332,7 @@ export type MutationRoot = {
1320
1332
  createAutomateSession: CreateAutomateSessionPayload;
1321
1333
  createBackup: CreateBackupPayload;
1322
1334
  createFilterPreset: CreateFilterPresetPayload;
1335
+ createFinding: CreateFindingPayload;
1323
1336
  createProject: CreateProjectPayload;
1324
1337
  createReplaySession: CreateReplaySessionPayload;
1325
1338
  createReplaySessionCollection: CreateReplaySessionCollectionPayload;
@@ -1439,6 +1452,10 @@ export type MutationRootCreateBackupArgs = {
1439
1452
  export type MutationRootCreateFilterPresetArgs = {
1440
1453
  input: CreateFilterPresetInput;
1441
1454
  };
1455
+ export type MutationRootCreateFindingArgs = {
1456
+ input: CreateFindingInput;
1457
+ requestId: Scalars["ID"]["input"];
1458
+ };
1442
1459
  export type MutationRootCreateProjectArgs = {
1443
1460
  input: CreateProjectInput;
1444
1461
  };
@@ -1779,14 +1796,25 @@ export type PluginAuthor = {
1779
1796
  name?: Maybe<Scalars["String"]["output"]>;
1780
1797
  url?: Maybe<Scalars["String"]["output"]>;
1781
1798
  };
1799
+ export type PluginBackend = Plugin & {
1800
+ enabled: Scalars["Boolean"]["output"];
1801
+ id: Scalars["ID"]["output"];
1802
+ manifestId: Scalars["ID"]["output"];
1803
+ name?: Maybe<Scalars["String"]["output"]>;
1804
+ package: PluginPackage;
1805
+ runtime: PluginRuntime;
1806
+ state: PluginState;
1807
+ };
1782
1808
  export declare const PluginErrorReason: {
1783
1809
  readonly AlreadyInstalled: "ALREADY_INSTALLED";
1784
1810
  readonly InvalidManifest: "INVALID_MANIFEST";
1811
+ readonly InvalidOperation: "INVALID_OPERATION";
1785
1812
  readonly InvalidPackage: "INVALID_PACKAGE";
1786
1813
  readonly MissingFile: "MISSING_FILE";
1787
1814
  };
1788
1815
  export type PluginErrorReason = (typeof PluginErrorReason)[keyof typeof PluginErrorReason];
1789
1816
  export type PluginFrontend = Plugin & {
1817
+ backend?: Maybe<PluginBackend>;
1790
1818
  data?: Maybe<Scalars["JSON"]["output"]>;
1791
1819
  enabled: Scalars["Boolean"]["output"];
1792
1820
  entrypoint?: Maybe<Scalars["String"]["output"]>;
@@ -1809,6 +1837,14 @@ export type PluginPackage = {
1809
1837
  export type PluginPackageSource = {
1810
1838
  file: Scalars["Upload"]["input"];
1811
1839
  };
1840
+ export declare const PluginRuntime: {
1841
+ readonly Javascript: "JAVASCRIPT";
1842
+ };
1843
+ export type PluginRuntime = (typeof PluginRuntime)[keyof typeof PluginRuntime];
1844
+ export type PluginState = {
1845
+ error?: Maybe<Scalars["String"]["output"]>;
1846
+ running: Scalars["Boolean"]["output"];
1847
+ };
1812
1848
  export type PluginUserError = UserError & {
1813
1849
  code: Scalars["String"]["output"];
1814
1850
  reason: PluginErrorReason;
@@ -4664,8 +4700,8 @@ export type PageInfoFullFragment = {
4664
4700
  startCursor?: string | undefined | null;
4665
4701
  endCursor?: string | undefined | null;
4666
4702
  };
4667
- export type PluginMetaFragment = {
4668
- __typename: "PluginFrontend";
4703
+ type PluginMeta_PluginBackend_Fragment = {
4704
+ __typename: "PluginBackend";
4669
4705
  id: string;
4670
4706
  name?: string | undefined | null;
4671
4707
  enabled: boolean;
@@ -4674,10 +4710,8 @@ export type PluginMetaFragment = {
4674
4710
  id: string;
4675
4711
  };
4676
4712
  };
4677
- export type PluginFrontendMetaFragment = {
4713
+ type PluginMeta_PluginFrontend_Fragment = {
4678
4714
  __typename: "PluginFrontend";
4679
- entrypoint?: string | undefined | null;
4680
- style?: string | undefined | null;
4681
4715
  id: string;
4682
4716
  name?: string | undefined | null;
4683
4717
  enabled: boolean;
@@ -4686,15 +4720,39 @@ export type PluginFrontendMetaFragment = {
4686
4720
  id: string;
4687
4721
  };
4688
4722
  };
4723
+ export type PluginMetaFragment = PluginMeta_PluginBackend_Fragment | PluginMeta_PluginFrontend_Fragment;
4724
+ export type PluginBackendMetaFragment = {
4725
+ __typename: "PluginBackend";
4726
+ id: string;
4727
+ };
4728
+ export type PluginBackendFullFragment = {
4729
+ __typename: "PluginBackend";
4730
+ runtime: PluginRuntime;
4731
+ id: string;
4732
+ name?: string | undefined | null;
4733
+ enabled: boolean;
4734
+ manifestId: string;
4735
+ state: {
4736
+ error?: string | undefined | null;
4737
+ running: boolean;
4738
+ };
4739
+ package: {
4740
+ id: string;
4741
+ };
4742
+ };
4689
4743
  export type PluginFrontendFullFragment = {
4690
4744
  __typename: "PluginFrontend";
4691
- data?: JSONValue | undefined | null;
4692
4745
  entrypoint?: string | undefined | null;
4693
4746
  style?: string | undefined | null;
4747
+ data?: JSONValue | undefined | null;
4694
4748
  id: string;
4695
4749
  name?: string | undefined | null;
4696
4750
  enabled: boolean;
4697
4751
  manifestId: string;
4752
+ backend?: {
4753
+ __typename: "PluginBackend";
4754
+ id: string;
4755
+ } | undefined | null;
4698
4756
  package: {
4699
4757
  id: string;
4700
4758
  };
@@ -4725,14 +4783,32 @@ export type PluginPackageFullFragment = {
4725
4783
  installedAt: Date;
4726
4784
  manifestId: string;
4727
4785
  plugins: Array<{
4786
+ __typename: "PluginBackend";
4787
+ runtime: PluginRuntime;
4788
+ id: string;
4789
+ name?: string | undefined | null;
4790
+ enabled: boolean;
4791
+ manifestId: string;
4792
+ state: {
4793
+ error?: string | undefined | null;
4794
+ running: boolean;
4795
+ };
4796
+ package: {
4797
+ id: string;
4798
+ };
4799
+ } | {
4728
4800
  __typename: "PluginFrontend";
4729
- data?: JSONValue | undefined | null;
4730
4801
  entrypoint?: string | undefined | null;
4731
4802
  style?: string | undefined | null;
4803
+ data?: JSONValue | undefined | null;
4732
4804
  id: string;
4733
4805
  name?: string | undefined | null;
4734
4806
  enabled: boolean;
4735
4807
  manifestId: string;
4808
+ backend?: {
4809
+ __typename: "PluginBackend";
4810
+ id: string;
4811
+ } | undefined | null;
4736
4812
  package: {
4737
4813
  id: string;
4738
4814
  };
@@ -4811,6 +4887,36 @@ export type ReplayEntryFullFragment = {
4811
4887
  raw: string;
4812
4888
  id: string;
4813
4889
  error?: string | undefined | null;
4890
+ settings: {
4891
+ placeholders: Array<{
4892
+ __typename: "ReplayPlaceholder";
4893
+ inputRange: {
4894
+ start: number;
4895
+ end: number;
4896
+ };
4897
+ outputRange: {
4898
+ start: number;
4899
+ end: number;
4900
+ };
4901
+ preprocessors: Array<{
4902
+ __typename: "ReplayPreprocessor";
4903
+ options: {
4904
+ __typename: "ReplayPrefixPreprocessor";
4905
+ value: string;
4906
+ } | {
4907
+ __typename: "ReplaySuffixPreprocessor";
4908
+ value: string;
4909
+ } | {
4910
+ __typename: "ReplayUrlEncodePreprocessor";
4911
+ charset?: string | undefined | null;
4912
+ nonAscii: boolean;
4913
+ } | {
4914
+ __typename: "ReplayWorkflowPreprocessor";
4915
+ id: string;
4916
+ };
4917
+ }>;
4918
+ }>;
4919
+ };
4814
4920
  connection: {
4815
4921
  __typename: "ConnectionInfo";
4816
4922
  host: string;
@@ -5131,6 +5237,68 @@ export type ReplayTaskMetaFragment = {
5131
5237
  } | undefined | null;
5132
5238
  };
5133
5239
  };
5240
+ export type ReplayPrefixPreprocessorFullFragment = {
5241
+ __typename: "ReplayPrefixPreprocessor";
5242
+ value: string;
5243
+ };
5244
+ export type ReplaySuffixPreprocessorFullFragment = {
5245
+ __typename: "ReplaySuffixPreprocessor";
5246
+ value: string;
5247
+ };
5248
+ export type ReplayUrlEncodePreprocessorFullFragment = {
5249
+ __typename: "ReplayUrlEncodePreprocessor";
5250
+ charset?: string | undefined | null;
5251
+ nonAscii: boolean;
5252
+ };
5253
+ export type ReplayWorkflowPreprocessorFullFragment = {
5254
+ __typename: "ReplayWorkflowPreprocessor";
5255
+ id: string;
5256
+ };
5257
+ export type ReplayPreprocessorFullFragment = {
5258
+ __typename: "ReplayPreprocessor";
5259
+ options: {
5260
+ __typename: "ReplayPrefixPreprocessor";
5261
+ value: string;
5262
+ } | {
5263
+ __typename: "ReplaySuffixPreprocessor";
5264
+ value: string;
5265
+ } | {
5266
+ __typename: "ReplayUrlEncodePreprocessor";
5267
+ charset?: string | undefined | null;
5268
+ nonAscii: boolean;
5269
+ } | {
5270
+ __typename: "ReplayWorkflowPreprocessor";
5271
+ id: string;
5272
+ };
5273
+ };
5274
+ export type ReplayPlaceholderFullFragment = {
5275
+ __typename: "ReplayPlaceholder";
5276
+ inputRange: {
5277
+ start: number;
5278
+ end: number;
5279
+ };
5280
+ outputRange: {
5281
+ start: number;
5282
+ end: number;
5283
+ };
5284
+ preprocessors: Array<{
5285
+ __typename: "ReplayPreprocessor";
5286
+ options: {
5287
+ __typename: "ReplayPrefixPreprocessor";
5288
+ value: string;
5289
+ } | {
5290
+ __typename: "ReplaySuffixPreprocessor";
5291
+ value: string;
5292
+ } | {
5293
+ __typename: "ReplayUrlEncodePreprocessor";
5294
+ charset?: string | undefined | null;
5295
+ nonAscii: boolean;
5296
+ } | {
5297
+ __typename: "ReplayWorkflowPreprocessor";
5298
+ id: string;
5299
+ };
5300
+ }>;
5301
+ };
5134
5302
  export type RequestFullFragment = {
5135
5303
  __typename: "Request";
5136
5304
  raw: string;
@@ -6583,6 +6751,62 @@ export type DeleteFilterPresetMutation = {
6583
6751
  deletedId?: string | undefined | null;
6584
6752
  };
6585
6753
  };
6754
+ export type CreateFindingMutationVariables = Exact<{
6755
+ requestId: Scalars["ID"]["input"];
6756
+ input: CreateFindingInput;
6757
+ }>;
6758
+ export type CreateFindingMutation = {
6759
+ createFinding: {
6760
+ finding?: {
6761
+ id: string;
6762
+ title: string;
6763
+ description?: string | undefined | null;
6764
+ reporter: string;
6765
+ host: string;
6766
+ path: string;
6767
+ createdAt: Date;
6768
+ request: {
6769
+ __typename: "Request";
6770
+ id: string;
6771
+ host: string;
6772
+ port: number;
6773
+ path: string;
6774
+ query: string;
6775
+ method: string;
6776
+ edited: boolean;
6777
+ isTls: boolean;
6778
+ length: number;
6779
+ alteration: Alteration;
6780
+ fileExtension?: string | undefined | null;
6781
+ source: Source;
6782
+ createdAt: Date;
6783
+ metadata: {
6784
+ __typename: "RequestMetadata";
6785
+ id: string;
6786
+ color?: string | undefined | null;
6787
+ };
6788
+ response?: {
6789
+ __typename: "Response";
6790
+ id: string;
6791
+ statusCode: number;
6792
+ roundtripTime: number;
6793
+ length: number;
6794
+ createdAt: Date;
6795
+ alteration: Alteration;
6796
+ edited: boolean;
6797
+ } | undefined | null;
6798
+ };
6799
+ } | undefined | null;
6800
+ error?: {
6801
+ __typename: "OtherUserError";
6802
+ code: string;
6803
+ } | {
6804
+ __typename: "UnknownIdUserError";
6805
+ id: string;
6806
+ code: string;
6807
+ } | undefined | null;
6808
+ };
6809
+ };
6586
6810
  export type DeleteFindingsMutationVariables = Exact<{
6587
6811
  ids: Array<Scalars["ID"]["input"]> | Scalars["ID"]["input"];
6588
6812
  }>;
@@ -6820,14 +7044,32 @@ export type InstallPluginPackageMutation = {
6820
7044
  installedAt: Date;
6821
7045
  manifestId: string;
6822
7046
  plugins: Array<{
7047
+ __typename: "PluginBackend";
7048
+ runtime: PluginRuntime;
7049
+ id: string;
7050
+ name?: string | undefined | null;
7051
+ enabled: boolean;
7052
+ manifestId: string;
7053
+ state: {
7054
+ error?: string | undefined | null;
7055
+ running: boolean;
7056
+ };
7057
+ package: {
7058
+ id: string;
7059
+ };
7060
+ } | {
6823
7061
  __typename: "PluginFrontend";
6824
- data?: JSONValue | undefined | null;
6825
7062
  entrypoint?: string | undefined | null;
6826
7063
  style?: string | undefined | null;
7064
+ data?: JSONValue | undefined | null;
6827
7065
  id: string;
6828
7066
  name?: string | undefined | null;
6829
7067
  enabled: boolean;
6830
7068
  manifestId: string;
7069
+ backend?: {
7070
+ __typename: "PluginBackend";
7071
+ id: string;
7072
+ } | undefined | null;
6831
7073
  package: {
6832
7074
  id: string;
6833
7075
  };
@@ -6871,14 +7113,32 @@ export type TogglePluginMutationVariables = Exact<{
6871
7113
  export type TogglePluginMutation = {
6872
7114
  togglePlugin: {
6873
7115
  plugin?: {
7116
+ __typename: "PluginBackend";
7117
+ runtime: PluginRuntime;
7118
+ id: string;
7119
+ name?: string | undefined | null;
7120
+ enabled: boolean;
7121
+ manifestId: string;
7122
+ state: {
7123
+ error?: string | undefined | null;
7124
+ running: boolean;
7125
+ };
7126
+ package: {
7127
+ id: string;
7128
+ };
7129
+ } | {
6874
7130
  __typename: "PluginFrontend";
6875
- data?: JSONValue | undefined | null;
6876
7131
  entrypoint?: string | undefined | null;
6877
7132
  style?: string | undefined | null;
7133
+ data?: JSONValue | undefined | null;
6878
7134
  id: string;
6879
7135
  name?: string | undefined | null;
6880
7136
  enabled: boolean;
6881
7137
  manifestId: string;
7138
+ backend?: {
7139
+ __typename: "PluginBackend";
7140
+ id: string;
7141
+ } | undefined | null;
6882
7142
  package: {
6883
7143
  id: string;
6884
7144
  };
@@ -6904,14 +7164,32 @@ export type SetPluginDataMutationVariables = Exact<{
6904
7164
  export type SetPluginDataMutation = {
6905
7165
  setPluginData: {
6906
7166
  plugin?: {
7167
+ __typename: "PluginBackend";
7168
+ runtime: PluginRuntime;
7169
+ id: string;
7170
+ name?: string | undefined | null;
7171
+ enabled: boolean;
7172
+ manifestId: string;
7173
+ state: {
7174
+ error?: string | undefined | null;
7175
+ running: boolean;
7176
+ };
7177
+ package: {
7178
+ id: string;
7179
+ };
7180
+ } | {
6907
7181
  __typename: "PluginFrontend";
6908
- data?: JSONValue | undefined | null;
6909
7182
  entrypoint?: string | undefined | null;
6910
7183
  style?: string | undefined | null;
7184
+ data?: JSONValue | undefined | null;
6911
7185
  id: string;
6912
7186
  name?: string | undefined | null;
6913
7187
  enabled: boolean;
6914
7188
  manifestId: string;
7189
+ backend?: {
7190
+ __typename: "PluginBackend";
7191
+ id: string;
7192
+ } | undefined | null;
6915
7193
  package: {
6916
7194
  id: string;
6917
7195
  };
@@ -10031,14 +10309,32 @@ export type PluginPackagesQuery = {
10031
10309
  installedAt: Date;
10032
10310
  manifestId: string;
10033
10311
  plugins: Array<{
10312
+ __typename: "PluginBackend";
10313
+ runtime: PluginRuntime;
10314
+ id: string;
10315
+ name?: string | undefined | null;
10316
+ enabled: boolean;
10317
+ manifestId: string;
10318
+ state: {
10319
+ error?: string | undefined | null;
10320
+ running: boolean;
10321
+ };
10322
+ package: {
10323
+ id: string;
10324
+ };
10325
+ } | {
10034
10326
  __typename: "PluginFrontend";
10035
- data?: JSONValue | undefined | null;
10036
10327
  entrypoint?: string | undefined | null;
10037
10328
  style?: string | undefined | null;
10329
+ data?: JSONValue | undefined | null;
10038
10330
  id: string;
10039
10331
  name?: string | undefined | null;
10040
10332
  enabled: boolean;
10041
10333
  manifestId: string;
10334
+ backend?: {
10335
+ __typename: "PluginBackend";
10336
+ id: string;
10337
+ } | undefined | null;
10042
10338
  package: {
10043
10339
  id: string;
10044
10340
  };
@@ -10097,6 +10393,36 @@ export type ReplayEntryQuery = {
10097
10393
  raw: string;
10098
10394
  id: string;
10099
10395
  error?: string | undefined | null;
10396
+ settings: {
10397
+ placeholders: Array<{
10398
+ __typename: "ReplayPlaceholder";
10399
+ inputRange: {
10400
+ start: number;
10401
+ end: number;
10402
+ };
10403
+ outputRange: {
10404
+ start: number;
10405
+ end: number;
10406
+ };
10407
+ preprocessors: Array<{
10408
+ __typename: "ReplayPreprocessor";
10409
+ options: {
10410
+ __typename: "ReplayPrefixPreprocessor";
10411
+ value: string;
10412
+ } | {
10413
+ __typename: "ReplaySuffixPreprocessor";
10414
+ value: string;
10415
+ } | {
10416
+ __typename: "ReplayUrlEncodePreprocessor";
10417
+ charset?: string | undefined | null;
10418
+ nonAscii: boolean;
10419
+ } | {
10420
+ __typename: "ReplayWorkflowPreprocessor";
10421
+ id: string;
10422
+ };
10423
+ }>;
10424
+ }>;
10425
+ };
10100
10426
  connection: {
10101
10427
  __typename: "ConnectionInfo";
10102
10428
  host: string;
@@ -12393,14 +12719,32 @@ export type CreatedPluginPackageSubscription = {
12393
12719
  installedAt: Date;
12394
12720
  manifestId: string;
12395
12721
  plugins: Array<{
12722
+ __typename: "PluginBackend";
12723
+ runtime: PluginRuntime;
12724
+ id: string;
12725
+ name?: string | undefined | null;
12726
+ enabled: boolean;
12727
+ manifestId: string;
12728
+ state: {
12729
+ error?: string | undefined | null;
12730
+ running: boolean;
12731
+ };
12732
+ package: {
12733
+ id: string;
12734
+ };
12735
+ } | {
12396
12736
  __typename: "PluginFrontend";
12397
- data?: JSONValue | undefined | null;
12398
12737
  entrypoint?: string | undefined | null;
12399
12738
  style?: string | undefined | null;
12739
+ data?: JSONValue | undefined | null;
12400
12740
  id: string;
12401
12741
  name?: string | undefined | null;
12402
12742
  enabled: boolean;
12403
12743
  manifestId: string;
12744
+ backend?: {
12745
+ __typename: "PluginBackend";
12746
+ id: string;
12747
+ } | undefined | null;
12404
12748
  package: {
12405
12749
  id: string;
12406
12750
  };
@@ -12427,14 +12771,32 @@ export type UpdatedPluginSubscriptionVariables = Exact<{
12427
12771
  export type UpdatedPluginSubscription = {
12428
12772
  updatedPlugin: {
12429
12773
  plugin: {
12774
+ __typename: "PluginBackend";
12775
+ runtime: PluginRuntime;
12776
+ id: string;
12777
+ name?: string | undefined | null;
12778
+ enabled: boolean;
12779
+ manifestId: string;
12780
+ state: {
12781
+ error?: string | undefined | null;
12782
+ running: boolean;
12783
+ };
12784
+ package: {
12785
+ id: string;
12786
+ };
12787
+ } | {
12430
12788
  __typename: "PluginFrontend";
12431
- data?: JSONValue | undefined | null;
12432
12789
  entrypoint?: string | undefined | null;
12433
12790
  style?: string | undefined | null;
12791
+ data?: JSONValue | undefined | null;
12434
12792
  id: string;
12435
12793
  name?: string | undefined | null;
12436
12794
  enabled: boolean;
12437
12795
  manifestId: string;
12796
+ backend?: {
12797
+ __typename: "PluginBackend";
12798
+ id: string;
12799
+ } | undefined | null;
12438
12800
  package: {
12439
12801
  id: string;
12440
12802
  };
@@ -13240,11 +13602,18 @@ export declare const UpstreamProxyFullFragmentDoc = "\n fragment upstreamProx
13240
13602
  export declare const PluginAuthorFullFragmentDoc = "\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n ";
13241
13603
  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 ";
13242
13604
  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 ";
13243
- export declare const PluginFrontendMetaFragmentDoc = "\n fragment pluginFrontendMeta on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n}\n ";
13244
- export declare const PluginFrontendFullFragmentDoc = "\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginFrontendMeta\n data\n}\n ";
13245
- export declare const PluginPackageFullFragmentDoc = "\n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n }\n}\n ";
13605
+ export declare const PluginBackendMetaFragmentDoc = "\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n ";
13606
+ export declare const PluginFrontendFullFragmentDoc = "\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n ";
13607
+ export declare const PluginBackendFullFragmentDoc = "\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n ";
13608
+ 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 }\n}\n ";
13246
13609
  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 ";
13247
- export declare const ReplayEntryFullFragmentDoc = "\n fragment replayEntryFull on ReplayEntry {\n ...replayEntryMeta\n raw\n}\n ";
13610
+ export declare const ReplayPrefixPreprocessorFullFragmentDoc = "\n fragment replayPrefixPreprocessorFull on ReplayPrefixPreprocessor {\n __typename\n value\n}\n ";
13611
+ export declare const ReplaySuffixPreprocessorFullFragmentDoc = "\n fragment replaySuffixPreprocessorFull on ReplaySuffixPreprocessor {\n __typename\n value\n}\n ";
13612
+ export declare const ReplayUrlEncodePreprocessorFullFragmentDoc = "\n fragment replayUrlEncodePreprocessorFull on ReplayUrlEncodePreprocessor {\n __typename\n charset\n nonAscii\n}\n ";
13613
+ export declare const ReplayWorkflowPreprocessorFullFragmentDoc = "\n fragment replayWorkflowPreprocessorFull on ReplayWorkflowPreprocessor {\n __typename\n id\n}\n ";
13614
+ export declare const ReplayPreprocessorFullFragmentDoc = "\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 }\n}\n ";
13615
+ export declare const ReplayPlaceholderFullFragmentDoc = "\n fragment replayPlaceholderFull on ReplayPlaceholder {\n __typename\n inputRange {\n ...rangeFull\n }\n outputRange {\n ...rangeFull\n }\n preprocessors {\n ...replayPreprocessorFull\n }\n}\n ";
13616
+ export declare const ReplayEntryFullFragmentDoc = "\n fragment replayEntryFull on ReplayEntry {\n ...replayEntryMeta\n raw\n settings {\n placeholders {\n ...replayPlaceholderFull\n }\n }\n}\n ";
13248
13617
  export declare const PageInfoFullFragmentDoc = "\n fragment pageInfoFull on PageInfo {\n __typename\n hasPreviousPage\n hasNextPage\n startCursor\n endCursor\n}\n ";
13249
13618
  export declare const CountFullFragmentDoc = "\n fragment countFull on Count {\n __typename\n value\n snapshot\n}\n ";
13250
13619
  export declare const ReplaySessionMetaFragmentDoc = "\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 ";
@@ -13305,6 +13674,7 @@ export declare const CancelDataExportTaskDocument = "\n mutation cancelDataEx
13305
13674
  export declare const CreateFilterPresetDocument = "\n mutation createFilterPreset($input: CreateFilterPresetInput!) {\n createFilterPreset(input: $input) {\n filter {\n ...filterPresetFull\n }\n error {\n ... on NameTakenUserError {\n ...nameTakenUserErrorFull\n }\n ... on AliasTakenUserError {\n ...aliasTakenUserErrorFull\n }\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment filterPresetFull on FilterPreset {\n __typename\n id\n alias\n name\n clause\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 aliasTakenUserErrorFull on AliasTakenUserError {\n ...userErrorFull\n alias\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 ";
13306
13675
  export declare const UpdateFilterPresetDocument = "\n mutation updateFilterPreset($id: ID!, $input: UpdateFilterPresetInput!) {\n updateFilterPreset(id: $id, input: $input) {\n filter {\n ...filterPresetFull\n }\n error {\n ... on NameTakenUserError {\n ...nameTakenUserErrorFull\n }\n ... on AliasTakenUserError {\n ...aliasTakenUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment filterPresetFull on FilterPreset {\n __typename\n id\n alias\n name\n clause\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 aliasTakenUserErrorFull on AliasTakenUserError {\n ...userErrorFull\n alias\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
13307
13676
  export declare const DeleteFilterPresetDocument = "\n mutation deleteFilterPreset($id: ID!) {\n deleteFilterPreset(id: $id) {\n deletedId\n }\n}\n ";
13677
+ export declare const CreateFindingDocument = "\n mutation createFinding($requestId: ID!, $input: CreateFindingInput!) {\n createFinding(requestId: $requestId, input: $input) {\n finding {\n ...findingMeta\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n }\n }\n}\n \n fragment findingMeta on Finding {\n id\n title\n description\n reporter\n host\n path\n createdAt\n request {\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 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 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 ";
13308
13678
  export declare const DeleteFindingsDocument = "\n mutation deleteFindings($ids: [ID!]!) {\n deleteFindings(ids: $ids) {\n deletedIds\n }\n}\n ";
13309
13679
  export declare const DeleteInterceptEntriesDocument = "\n mutation deleteInterceptEntries($filter: HTTPQL, $scopeId: ID) {\n deleteInterceptEntries(filter: $filter, scopeId: $scopeId) {\n task {\n ...deleteInterceptEntriesTaskFull\n }\n error: userError {\n ... on TaskInProgressUserError {\n ...taskInProgressUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment deleteInterceptEntriesTaskFull on DeleteInterceptEntriesTask {\n __typename\n id\n deletedEntryIds\n}\n \n\n fragment taskInProgressUserErrorFull on TaskInProgressUserError {\n ...userErrorFull\n taskId\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
13310
13680
  export declare const DeleteInterceptEntryDocument = "\n mutation deleteInterceptEntry($id: ID!) {\n deleteInterceptEntry(id: $id) {\n deletedId\n error: userError {\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment unknownIdUserErrorFull on UnknownIdUserError {\n ...userErrorFull\n id\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
@@ -13321,10 +13691,10 @@ export declare const UpdateUpstreamProxyDocument = "\n mutation updateUpstrea
13321
13691
  export declare const DeleteUpstreamProxyDocument = "\n mutation deleteUpstreamProxy($id: ID!) {\n deleteUpstreamProxy(id: $id) {\n deletedId\n }\n}\n ";
13322
13692
  export declare const TestUpstreamProxyDocument = "\n mutation testUpstreamProxy($input: TestUpstreamProxyInput!) {\n testUpstreamProxy(input: $input) {\n success\n }\n}\n ";
13323
13693
  export declare const RankUpstreamProxyDocument = "\n mutation rankUpstreamProxy($id: ID!, $input: RankUpstreamProxyInput!) {\n rankUpstreamProxy(id: $id, input: $input) {\n proxy {\n ...upstreamProxyFull\n }\n }\n}\n \n fragment upstreamProxyFull on UpstreamProxy {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n enabled\n host\n kind\n port\n rank\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n ";
13324
- 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 }\n }\n}\n \n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\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 ...pluginFrontendMeta\n data\n}\n \n\n fragment pluginFrontendMeta on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\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 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 ";
13694
+ 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 }\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 }\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 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 ";
13325
13695
  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 ";
13326
- 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 }\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 ...pluginFrontendMeta\n data\n}\n \n\n fragment pluginFrontendMeta on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\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 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 ";
13327
- 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 }\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 ...pluginFrontendMeta\n data\n}\n \n\n fragment pluginFrontendMeta on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\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 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 ";
13696
+ 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 }\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 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 ";
13697
+ 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 }\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 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 ";
13328
13698
  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 }\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 ";
13329
13699
  export declare const SelectProjectDocument = "\n mutation selectProject($id: ID!) {\n selectProject(id: $id) {\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 ";
13330
13700
  export declare const DeleteProjectDocument = "\n mutation deleteProject($id: ID!) {\n deleteProject(id: $id) {\n deletedId\n }\n}\n ";
@@ -13404,10 +13774,10 @@ export declare const InterceptResponseMessagesDocument = "\n query interceptR
13404
13774
  export declare const InterceptOptionsDocument = "\n query interceptOptions {\n interceptOptions {\n ...interceptOptionsMeta\n }\n}\n \n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n \n\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n}\n \n\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n}\n \n\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
13405
13775
  export declare const InterceptStatusDocument = "\n query interceptStatus {\n interceptStatus\n}\n ";
13406
13776
  export declare const UpstreamProxiesDocument = "\n query upstreamProxies {\n upstreamProxies {\n ...upstreamProxyFull\n }\n}\n \n fragment upstreamProxyFull on UpstreamProxy {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n enabled\n host\n kind\n port\n rank\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n ";
13407
- 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 }\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 ...pluginFrontendMeta\n data\n}\n \n\n fragment pluginFrontendMeta on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\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 ";
13777
+ 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 }\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 ";
13408
13778
  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 ";
13409
13779
  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 ";
13410
- 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}\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}\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 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 ";
13780
+ 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}\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 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 }\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 ";
13411
13781
  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}\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 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 ";
13412
13782
  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}\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 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 ";
13413
13783
  export declare const ReplaySessionEntriesDocument = "\n query replaySessionEntries($id: ID!) {\n replaySession(id: $id) {\n activeEntry {\n ...replayEntryMeta\n }\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 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}\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 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 ";
@@ -13476,9 +13846,9 @@ export declare const UpdatedDeleteInterceptEntriesTaskDocument = "\n subscrip
13476
13846
  export declare const FinishedDeleteInterceptEntriesTaskDocument = "\n subscription finishedDeleteInterceptEntriesTask {\n finishedDeleteInterceptEntriesTask {\n task {\n ...deleteInterceptEntriesTaskFull\n }\n error {\n ... on InternalUserError {\n ...internalUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment deleteInterceptEntriesTaskFull on DeleteInterceptEntriesTask {\n __typename\n id\n deletedEntryIds\n}\n \n\n fragment internalUserErrorFull on InternalUserError {\n ...userErrorFull\n message\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
13477
13847
  export declare const CreatedInterceptMessageDocument = "\n subscription createdInterceptMessage {\n createdInterceptMessage {\n messageEdge {\n node {\n ...interceptMessageMeta\n }\n }\n snapshot\n }\n}\n \n fragment interceptMessageMeta on InterceptMessage {\n __typename\n ... on InterceptRequestMessage {\n ...interceptRequestMessageMeta\n }\n ... on InterceptResponseMessage {\n ...interceptResponseMessageMeta\n }\n}\n \n\n fragment interceptRequestMessageMeta on InterceptRequestMessage {\n __typename\n id\n request {\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 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 interceptResponseMessageMeta on InterceptResponseMessage {\n __typename\n id\n response {\n ...responseMeta\n }\n request {\n ...requestMeta\n }\n}\n ";
13478
13848
  export declare const UpdatedInterceptOptionsDocument = "\n subscription updatedInterceptOptions {\n updatedInterceptOptions {\n options {\n ...interceptOptionsMeta\n }\n }\n}\n \n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n \n\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n}\n \n\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n}\n \n\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
13479
- 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 }\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 ...pluginFrontendMeta\n data\n}\n \n\n fragment pluginFrontendMeta on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\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 ";
13849
+ 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 }\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 ";
13480
13850
  export declare const DeletedPluginPackageDocument = "\n subscription deletedPluginPackage {\n deletedPluginPackage {\n deletedPackageId\n }\n}\n ";
13481
- export declare const UpdatedPluginDocument = "\n subscription updatedPlugin {\n updatedPlugin {\n plugin {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n }\n }\n}\n \n fragment pluginFrontendFull on PluginFrontend {\n ...pluginFrontendMeta\n data\n}\n \n\n fragment pluginFrontendMeta on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\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 ";
13851
+ export declare const UpdatedPluginDocument = "\n subscription updatedPlugin {\n updatedPlugin {\n plugin {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\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 ";
13482
13852
  export declare const CreatedProjectDocument = "\n subscription createdProject {\n createdProject {\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 ";
13483
13853
  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 ";
13484
13854
  export declare const DeletedProjectDocument = "\n subscription deletedProject {\n deletedProject {\n deletedProjectId\n }\n}\n ";
@@ -13533,6 +13903,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
13533
13903
  createFilterPreset(variables: CreateFilterPresetMutationVariables, options?: C): Promise<CreateFilterPresetMutation>;
13534
13904
  updateFilterPreset(variables: UpdateFilterPresetMutationVariables, options?: C): Promise<UpdateFilterPresetMutation>;
13535
13905
  deleteFilterPreset(variables: DeleteFilterPresetMutationVariables, options?: C): Promise<DeleteFilterPresetMutation>;
13906
+ createFinding(variables: CreateFindingMutationVariables, options?: C): Promise<CreateFindingMutation>;
13536
13907
  deleteFindings(variables: DeleteFindingsMutationVariables, options?: C): Promise<DeleteFindingsMutation>;
13537
13908
  deleteInterceptEntries(variables?: DeleteInterceptEntriesMutationVariables, options?: C): Promise<DeleteInterceptEntriesMutation>;
13538
13909
  deleteInterceptEntry(variables: DeleteInterceptEntryMutationVariables, options?: C): Promise<DeleteInterceptEntryMutation>;
@@ -0,0 +1,4 @@
1
+ export type BackendAPI = Record<string, (...args: any[]) => any>;
2
+ export type ToBackendRPC<T extends BackendAPI> = {
3
+ [K in keyof T]: (...args: Parameters<T[K]>) => ReturnType<T[K]> extends Promise<infer U> ? Promise<U> : Promise<ReturnType<T[K]>>;
4
+ };
@@ -0,0 +1,18 @@
1
+ export type Findings = {
2
+ createFinding: (requestId: string, options: CreateFindingsOptions) => Promise<Finding | undefined>;
3
+ };
4
+ type Finding = {
5
+ id: string;
6
+ title: string;
7
+ description?: string;
8
+ reporter: string;
9
+ host: string;
10
+ path: string;
11
+ };
12
+ type CreateFindingsOptions = {
13
+ title: string;
14
+ description?: string;
15
+ reporter: string;
16
+ dedupeKey?: string;
17
+ };
18
+ export {};
@@ -1,5 +1,7 @@
1
1
  import type { Sdk } from "./__generated__/graphql-sdk";
2
+ import type { BackendAPI, ToBackendRPC } from "./backend";
2
3
  import type { Commands } from "./commands";
4
+ import type { Findings } from "./findings";
3
5
  import type { Menu } from "./menu";
4
6
  import type { Navigation } from "./navigation";
5
7
  import type { Scopes } from "./scopes";
@@ -7,9 +9,11 @@ import type { Storage } from "./storage";
7
9
  import type { UI } from "./ui";
8
10
  import type { Window } from "./window";
9
11
  export type { CommandContext } from "./commands";
10
- export type API = {
12
+ export type API<T extends BackendAPI = Record<string, never>> = {
11
13
  ui: UI;
14
+ backend: ToBackendRPC<T>;
12
15
  scopes: Scopes;
16
+ findings: Findings;
13
17
  commands: Commands;
14
18
  menu: Menu;
15
19
  navigation: Navigation;
@@ -1,14 +1,6 @@
1
- type JSONPrimitive = string | number | boolean | null | undefined;
2
- type JSONValue = JSONPrimitive | JSONValue[] | {
3
- [key: string]: JSONValue;
4
- };
5
- type NotAssignableToJson = bigint | symbol | Function;
6
- type JSONCompatible<T> = unknown extends T ? never : {
7
- [P in keyof T]: T[P] extends JSONValue ? T[P] : T[P] extends NotAssignableToJson ? never : JSONCompatible<T[P]>;
8
- };
1
+ import type { JSONCompatible, JSONValue } from "./utils";
9
2
  export type Storage = {
10
3
  get: () => JSONValue;
11
4
  set: <T>(value: JSONCompatible<T>) => Promise<void>;
12
5
  onChange: (callback: (value: JSONValue) => void) => void;
13
6
  };
14
- export {};
@@ -0,0 +1,9 @@
1
+ type JSONPrimitive = string | number | boolean | null | undefined;
2
+ export type JSONValue = JSONPrimitive | JSONValue[] | {
3
+ [key: string]: JSONValue;
4
+ };
5
+ type NotAssignableToJson = bigint | symbol | Function;
6
+ export type JSONCompatible<T> = unknown extends T ? never : {
7
+ [P in keyof T]: T[P] extends JSONValue ? T[P] : T[P] extends NotAssignableToJson ? never : JSONCompatible<T[P]>;
8
+ };
9
+ export {};