@caido/sdk-frontend 0.44.2-beta.3 → 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
|
@@ -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"];
|
|
@@ -13604,17 +13608,6 @@ export type RuntimeFullFragment = {
|
|
|
13604
13608
|
__typename: "Runtime";
|
|
13605
13609
|
version: string;
|
|
13606
13610
|
platform: string;
|
|
13607
|
-
availableUpdate?: {
|
|
13608
|
-
__typename: "Release";
|
|
13609
|
-
releasedAt: Date;
|
|
13610
|
-
version: string;
|
|
13611
|
-
links: Array<{
|
|
13612
|
-
__typename: "ReleaseLink";
|
|
13613
|
-
display: string;
|
|
13614
|
-
link: string;
|
|
13615
|
-
platform: string;
|
|
13616
|
-
}>;
|
|
13617
|
-
} | undefined | null;
|
|
13618
13611
|
};
|
|
13619
13612
|
export type ReleaseFullFragment = {
|
|
13620
13613
|
__typename: "Release";
|
|
@@ -13627,14 +13620,11 @@ export type ReleaseFullFragment = {
|
|
|
13627
13620
|
platform: string;
|
|
13628
13621
|
}>;
|
|
13629
13622
|
};
|
|
13630
|
-
export type
|
|
13623
|
+
export type GetUpdateStateQueryVariables = Exact<{
|
|
13631
13624
|
[key: string]: never;
|
|
13632
13625
|
}>;
|
|
13633
|
-
export type
|
|
13626
|
+
export type GetUpdateStateQuery = {
|
|
13634
13627
|
runtime: {
|
|
13635
|
-
__typename: "Runtime";
|
|
13636
|
-
version: string;
|
|
13637
|
-
platform: string;
|
|
13638
13628
|
availableUpdate?: {
|
|
13639
13629
|
__typename: "Release";
|
|
13640
13630
|
releasedAt: Date;
|
|
@@ -13648,6 +13638,16 @@ export type GetRuntimeQuery = {
|
|
|
13648
13638
|
} | undefined | null;
|
|
13649
13639
|
};
|
|
13650
13640
|
};
|
|
13641
|
+
export type GetInstanceStateQueryVariables = Exact<{
|
|
13642
|
+
[key: string]: never;
|
|
13643
|
+
}>;
|
|
13644
|
+
export type GetInstanceStateQuery = {
|
|
13645
|
+
runtime: {
|
|
13646
|
+
__typename: "Runtime";
|
|
13647
|
+
version: string;
|
|
13648
|
+
platform: string;
|
|
13649
|
+
};
|
|
13650
|
+
};
|
|
13651
13651
|
export type GetLogsQueryVariables = Exact<{
|
|
13652
13652
|
[key: string]: never;
|
|
13653
13653
|
}>;
|
|
@@ -13801,6 +13801,14 @@ export type UpdatedScopeSubscription = {
|
|
|
13801
13801
|
};
|
|
13802
13802
|
};
|
|
13803
13803
|
};
|
|
13804
|
+
export type DeletedScopeSubscriptionVariables = Exact<{
|
|
13805
|
+
[key: string]: never;
|
|
13806
|
+
}>;
|
|
13807
|
+
export type DeletedScopeSubscription = {
|
|
13808
|
+
deletedScope: {
|
|
13809
|
+
deletedScopeId: string;
|
|
13810
|
+
};
|
|
13811
|
+
};
|
|
13804
13812
|
export type SitemapEntryEdgeMetaFragment = {
|
|
13805
13813
|
__typename: "SitemapEntryEdge";
|
|
13806
13814
|
cursor: string;
|
|
@@ -15707,8 +15715,8 @@ export declare const TaskMetaFragmentDoc = "\n fragment taskMeta on Task {\n
|
|
|
15707
15715
|
export declare const ReplayTaskMetaFragmentDoc = "\n fragment replayTaskMeta on ReplayTask {\n ...taskMeta\n replayEntry {\n ...replayEntryMeta\n }\n}\n ";
|
|
15708
15716
|
export declare const RequestEdgeMetaFragmentDoc = "\n fragment requestEdgeMeta on RequestEdge {\n __typename\n cursor\n node {\n ...requestMeta\n }\n}\n ";
|
|
15709
15717
|
export declare const ResponseFullFragmentDoc = "\n fragment responseFull on Response {\n ...responseMeta\n raw\n edits {\n ...responseMeta\n }\n}\n ";
|
|
15718
|
+
export declare const RuntimeFullFragmentDoc = "\n fragment runtimeFull on Runtime {\n __typename\n version\n platform\n}\n ";
|
|
15710
15719
|
export declare const ReleaseFullFragmentDoc = "\n fragment releaseFull on Release {\n __typename\n links {\n __typename\n display\n link\n platform\n }\n releasedAt\n version\n}\n ";
|
|
15711
|
-
export declare const RuntimeFullFragmentDoc = "\n fragment runtimeFull on Runtime {\n __typename\n version\n platform\n availableUpdate {\n ...releaseFull\n }\n}\n ";
|
|
15712
15720
|
export declare const ScopeFullFragmentDoc = "\n fragment scopeFull on Scope {\n __typename\n id\n name\n allowlist\n denylist\n indexed\n}\n ";
|
|
15713
15721
|
export declare const SitemapEntryMetaFragmentDoc = "\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 ";
|
|
15714
15722
|
export declare const SitemapEntryEdgeMetaFragmentDoc = "\n fragment sitemapEntryEdgeMeta on SitemapEntryEdge {\n __typename\n cursor\n node {\n ...sitemapEntryMeta\n }\n}\n ";
|
|
@@ -15925,7 +15933,8 @@ export declare const CreatedRequestDocument = "\n subscription createdRequest
|
|
|
15925
15933
|
export declare const UpdatedRequestDocument = "\n subscription updatedRequest($order: RequestResponseOrderInput, $scopeId: ID, $filter: HTTPQL) {\n updatedRequest(scopeId: $scopeId, filter: $filter) {\n requestEdge(order: $order) {\n ...requestEdgeMeta\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 ";
|
|
15926
15934
|
export declare const UpdatedRequestMetadataDocument = "\n subscription updatedRequestMetadata {\n updatedRequestMetadata {\n metadata {\n ...requestMetadataFull\n }\n snapshot\n }\n}\n \n fragment requestMetadataFull on RequestMetadata {\n __typename\n id\n color\n}\n ";
|
|
15927
15935
|
export declare const ResponseDocument = "\n query response($id: ID!) {\n response(id: $id) {\n ...responseFull\n }\n}\n \n fragment responseFull on Response {\n ...responseMeta\n raw\n edits {\n ...responseMeta\n }\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 ";
|
|
15928
|
-
export declare const
|
|
15936
|
+
export declare const GetUpdateStateDocument = "\n query getUpdateState {\n runtime {\n availableUpdate {\n ...releaseFull\n }\n }\n}\n \n fragment releaseFull on Release {\n __typename\n links {\n __typename\n display\n link\n platform\n }\n releasedAt\n version\n}\n ";
|
|
15937
|
+
export declare const GetInstanceStateDocument = "\n query getInstanceState {\n runtime {\n ...runtimeFull\n }\n}\n \n fragment runtimeFull on Runtime {\n __typename\n version\n platform\n}\n ";
|
|
15929
15938
|
export declare const GetLogsDocument = "\n query getLogs {\n runtime {\n logs\n }\n}\n ";
|
|
15930
15939
|
export declare const GetCertificateDocument = "\n query getCertificate($password: Sensitive) {\n runtime {\n certificate {\n p12(password: $password)\n }\n }\n}\n ";
|
|
15931
15940
|
export declare const ImportCertificateDocument = "\n mutation importCertificate($input: ImportCertificateInput!) {\n importCertificate(input: $input) {\n error {\n __typename\n ... on CertificateUserError {\n ...certificateUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment certificateUserErrorFull on CertificateUserError {\n ...userErrorFull\n certificateReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
|
|
@@ -15936,6 +15945,7 @@ export declare const DeleteScopeDocument = "\n mutation deleteScope($id: ID!)
|
|
|
15936
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 ";
|
|
15937
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 ";
|
|
15938
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 ";
|
|
15939
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 ";
|
|
15940
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 ";
|
|
15941
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 ";
|
|
@@ -16193,7 +16203,8 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
16193
16203
|
updatedRequest(variables?: UpdatedRequestSubscriptionVariables, options?: C): AsyncIterable<UpdatedRequestSubscription>;
|
|
16194
16204
|
updatedRequestMetadata(variables?: UpdatedRequestMetadataSubscriptionVariables, options?: C): AsyncIterable<UpdatedRequestMetadataSubscription>;
|
|
16195
16205
|
response(variables: ResponseQueryVariables, options?: C): Promise<ResponseQuery>;
|
|
16196
|
-
|
|
16206
|
+
getUpdateState(variables?: GetUpdateStateQueryVariables, options?: C): Promise<GetUpdateStateQuery>;
|
|
16207
|
+
getInstanceState(variables?: GetInstanceStateQueryVariables, options?: C): Promise<GetInstanceStateQuery>;
|
|
16197
16208
|
getLogs(variables?: GetLogsQueryVariables, options?: C): Promise<GetLogsQuery>;
|
|
16198
16209
|
getCertificate(variables?: GetCertificateQueryVariables, options?: C): Promise<GetCertificateQuery>;
|
|
16199
16210
|
importCertificate(variables: ImportCertificateMutationVariables, options?: C): Promise<ImportCertificateMutation>;
|
|
@@ -16204,6 +16215,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
16204
16215
|
scopes(variables?: ScopesQueryVariables, options?: C): Promise<ScopesQuery>;
|
|
16205
16216
|
createdScope(variables?: CreatedScopeSubscriptionVariables, options?: C): AsyncIterable<CreatedScopeSubscription>;
|
|
16206
16217
|
updatedScope(variables?: UpdatedScopeSubscriptionVariables, options?: C): AsyncIterable<UpdatedScopeSubscription>;
|
|
16218
|
+
deletedScope(variables?: DeletedScopeSubscriptionVariables, options?: C): AsyncIterable<DeletedScopeSubscription>;
|
|
16207
16219
|
sitemapRootEntries(variables?: SitemapRootEntriesQueryVariables, options?: C): Promise<SitemapRootEntriesQuery>;
|
|
16208
16220
|
sitemapEntryChildren(variables: SitemapEntryChildrenQueryVariables, options?: C): Promise<SitemapEntryChildrenQuery>;
|
|
16209
16221
|
sitemapEntryRequests(variables: SitemapEntryRequestsQueryVariables, options?: C): Promise<SitemapEntryRequestsQuery>;
|