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

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.5",
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"];
@@ -13797,6 +13801,14 @@ export type UpdatedScopeSubscription = {
13797
13801
  };
13798
13802
  };
13799
13803
  };
13804
+ export type DeletedScopeSubscriptionVariables = Exact<{
13805
+ [key: string]: never;
13806
+ }>;
13807
+ export type DeletedScopeSubscription = {
13808
+ deletedScope: {
13809
+ deletedScopeId: string;
13810
+ };
13811
+ };
13800
13812
  export type SitemapEntryEdgeMetaFragment = {
13801
13813
  __typename: "SitemapEntryEdge";
13802
13814
  cursor: string;
@@ -15933,6 +15945,7 @@ export declare const DeleteScopeDocument = "\n mutation deleteScope($id: ID!)
15933
15945
  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
15946
  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
15947
  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 ";
15948
+ export declare const DeletedScopeDocument = "\n subscription deletedScope {\n deletedScope {\n deletedScopeId\n }\n}\n ";
15936
15949
  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
15950
  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
15951
  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 +16215,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
16202
16215
  scopes(variables?: ScopesQueryVariables, options?: C): Promise<ScopesQuery>;
16203
16216
  createdScope(variables?: CreatedScopeSubscriptionVariables, options?: C): AsyncIterable<CreatedScopeSubscription>;
16204
16217
  updatedScope(variables?: UpdatedScopeSubscriptionVariables, options?: C): AsyncIterable<UpdatedScopeSubscription>;
16218
+ deletedScope(variables?: DeletedScopeSubscriptionVariables, options?: C): AsyncIterable<DeletedScopeSubscription>;
16205
16219
  sitemapRootEntries(variables?: SitemapRootEntriesQueryVariables, options?: C): Promise<SitemapRootEntriesQuery>;
16206
16220
  sitemapEntryChildren(variables: SitemapEntryChildrenQueryVariables, options?: C): Promise<SitemapEntryChildrenQuery>;
16207
16221
  sitemapEntryRequests(variables: SitemapEntryRequestsQueryVariables, options?: C): Promise<SitemapEntryRequestsQuery>;