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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caido/sdk-frontend",
3
- "version": "0.44.2-beta.4",
3
+ "version": "0.44.2-beta.6",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -1405,9 +1405,11 @@ export type InterceptRequestMessage = InterceptMessage & {
1405
1405
  };
1406
1406
  export type InterceptRequestOptions = {
1407
1407
  enabled: Scalars["Boolean"]["output"];
1408
+ filter?: Maybe<Scalars["HTTPQL"]["output"]>;
1408
1409
  };
1409
1410
  export type InterceptRequestOptionsInput = {
1410
1411
  enabled: Scalars["Boolean"]["input"];
1412
+ filter?: InputMaybe<Scalars["HTTPQL"]["input"]>;
1411
1413
  };
1412
1414
  export type InterceptResponseMessage = InterceptMessage & {
1413
1415
  id: Scalars["ID"]["output"];
@@ -1416,9 +1418,11 @@ export type InterceptResponseMessage = InterceptMessage & {
1416
1418
  };
1417
1419
  export type InterceptResponseOptions = {
1418
1420
  enabled: Scalars["Boolean"]["output"];
1421
+ filter?: Maybe<Scalars["HTTPQL"]["output"]>;
1419
1422
  };
1420
1423
  export type InterceptResponseOptionsInput = {
1421
1424
  enabled: Scalars["Boolean"]["input"];
1425
+ filter?: InputMaybe<Scalars["HTTPQL"]["input"]>;
1422
1426
  };
1423
1427
  export type InterceptScopeOptions = {
1424
1428
  scopeId: Scalars["ID"]["output"];
@@ -2920,6 +2924,7 @@ export type StoreErrorReason = (typeof StoreErrorReason)[keyof typeof StoreError
2920
2924
  export type StorePluginPackage = {
2921
2925
  author?: Maybe<StorePluginPackageAuthor>;
2922
2926
  description?: Maybe<Scalars["String"]["output"]>;
2927
+ downloads: Scalars["Int"]["output"];
2923
2928
  license: Scalars["String"]["output"];
2924
2929
  manifestId: Scalars["ID"]["output"];
2925
2930
  name?: Maybe<Scalars["String"]["output"]>;
@@ -9668,6 +9673,7 @@ export type PluginPackageFullFragment = {
9668
9673
  };
9669
9674
  export type StorePluginPackageFullFragment = {
9670
9675
  description?: string | undefined | null;
9676
+ downloads: number;
9671
9677
  license: string;
9672
9678
  manifestId: string;
9673
9679
  name?: string | undefined | null;
@@ -9753,6 +9759,7 @@ export type StorePluginPackagesQuery = {
9753
9759
  store: {
9754
9760
  pluginPackages: Array<{
9755
9761
  description?: string | undefined | null;
9762
+ downloads: number;
9756
9763
  license: string;
9757
9764
  manifestId: string;
9758
9765
  name?: string | undefined | null;
@@ -13797,6 +13804,14 @@ export type UpdatedScopeSubscription = {
13797
13804
  };
13798
13805
  };
13799
13806
  };
13807
+ export type DeletedScopeSubscriptionVariables = Exact<{
13808
+ [key: string]: never;
13809
+ }>;
13810
+ export type DeletedScopeSubscription = {
13811
+ deletedScope: {
13812
+ deletedScopeId: string;
13813
+ };
13814
+ };
13800
13815
  export type SitemapEntryEdgeMetaFragment = {
13801
13816
  __typename: "SitemapEntryEdge";
13802
13817
  cursor: string;
@@ -15685,7 +15700,7 @@ export declare const PluginBackendFullFragmentDoc = "\n fragment pluginBacken
15685
15700
  export declare const WorkflowMetaFragmentDoc = "\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
15686
15701
  export declare const PluginWorkflowFullFragmentDoc = "\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n ";
15687
15702
  export declare const PluginPackageFullFragmentDoc = "\n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n}\n ";
15688
- export declare const StorePluginPackageFullFragmentDoc = "\n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n license\n manifestId\n name\n repository\n version\n}\n ";
15703
+ export declare const StorePluginPackageFullFragmentDoc = "\n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n downloads\n license\n manifestId\n name\n repository\n version\n}\n ";
15689
15704
  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 ";
15690
15705
  export declare const ReplayPrefixPreprocessorFullFragmentDoc = "\n fragment replayPrefixPreprocessorFull on ReplayPrefixPreprocessor {\n __typename\n value\n}\n ";
15691
15706
  export declare const ReplaySuffixPreprocessorFullFragmentDoc = "\n fragment replaySuffixPreprocessorFull on ReplaySuffixPreprocessor {\n __typename\n value\n}\n ";
@@ -15872,7 +15887,7 @@ export declare const DisableTamperRuleDocument = "\n mutation disableTamperRu
15872
15887
  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 ";
15873
15888
  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 ";
15874
15889
  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 ";
15875
- 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 license\n manifestId\n name\n repository\n version\n}\n ";
15890
+ 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 ";
15876
15891
  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 ";
15877
15892
  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 ";
15878
15893
  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 ";
@@ -15933,6 +15948,7 @@ export declare const DeleteScopeDocument = "\n mutation deleteScope($id: ID!)
15933
15948
  export declare const ScopesDocument = "\n query scopes {\n scopes {\n ...scopeFull\n }\n}\n \n fragment scopeFull on Scope {\n __typename\n id\n name\n allowlist\n denylist\n indexed\n}\n ";
15934
15949
  export declare const CreatedScopeDocument = "\n subscription createdScope {\n createdScope {\n scopeEdge {\n node {\n ...scopeFull\n }\n }\n snapshot\n }\n}\n \n fragment scopeFull on Scope {\n __typename\n id\n name\n allowlist\n denylist\n indexed\n}\n ";
15935
15950
  export declare const UpdatedScopeDocument = "\n subscription updatedScope {\n updatedScope {\n scopeEdge {\n node {\n ...scopeFull\n }\n }\n snapshot\n }\n}\n \n fragment scopeFull on Scope {\n __typename\n id\n name\n allowlist\n denylist\n indexed\n}\n ";
15951
+ export declare const DeletedScopeDocument = "\n subscription deletedScope {\n deletedScope {\n deletedScopeId\n }\n}\n ";
15936
15952
  export declare const SitemapRootEntriesDocument = "\n query sitemapRootEntries($scopeId: ID) {\n sitemapRootEntries(scopeId: $scopeId) {\n edges {\n ...sitemapEntryEdgeMeta\n }\n }\n}\n \n fragment sitemapEntryEdgeMeta on SitemapEntryEdge {\n __typename\n cursor\n node {\n ...sitemapEntryMeta\n }\n}\n \n\n fragment sitemapEntryMeta on SitemapEntry {\n __typename\n id\n label\n kind\n parentId\n metadata {\n ... on SitemapEntryMetadataDomain {\n isTls\n port\n }\n }\n hasDescendants\n}\n ";
15937
15953
  export declare const SitemapEntryChildrenDocument = "\n query sitemapEntryChildren($id: ID!) {\n sitemapDescendantEntries(parentId: $id, depth: DIRECT) {\n edges {\n cursor\n node {\n ...sitemapEntryMeta\n }\n }\n }\n}\n \n fragment sitemapEntryMeta on SitemapEntry {\n __typename\n id\n label\n kind\n parentId\n metadata {\n ... on SitemapEntryMetadataDomain {\n isTls\n port\n }\n }\n hasDescendants\n}\n ";
15938
15954
  export declare const SitemapEntryRequestsDocument = "\n query sitemapEntryRequests($id: ID!, $after: String, $before: String, $first: Int, $last: Int) {\n sitemapEntry(id: $id) {\n ...sitemapEntryMeta\n requests(after: $after, before: $before, first: $first, last: $last) {\n edges {\n cursor\n node {\n ...requestMeta\n }\n }\n }\n }\n}\n \n fragment sitemapEntryMeta on SitemapEntry {\n __typename\n id\n label\n kind\n parentId\n metadata {\n ... on SitemapEntryMetadataDomain {\n isTls\n port\n }\n }\n hasDescendants\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 ";
@@ -16202,6 +16218,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
16202
16218
  scopes(variables?: ScopesQueryVariables, options?: C): Promise<ScopesQuery>;
16203
16219
  createdScope(variables?: CreatedScopeSubscriptionVariables, options?: C): AsyncIterable<CreatedScopeSubscription>;
16204
16220
  updatedScope(variables?: UpdatedScopeSubscriptionVariables, options?: C): AsyncIterable<UpdatedScopeSubscription>;
16221
+ deletedScope(variables?: DeletedScopeSubscriptionVariables, options?: C): AsyncIterable<DeletedScopeSubscription>;
16205
16222
  sitemapRootEntries(variables?: SitemapRootEntriesQueryVariables, options?: C): Promise<SitemapRootEntriesQuery>;
16206
16223
  sitemapEntryChildren(variables: SitemapEntryChildrenQueryVariables, options?: C): Promise<SitemapEntryChildrenQuery>;
16207
16224
  sitemapEntryRequests(variables: SitemapEntryRequestsQueryVariables, options?: C): Promise<SitemapEntryRequestsQuery>;