@caido/sdk-frontend 0.51.2-beta.7 → 0.51.2-beta.9
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
|
@@ -730,7 +730,7 @@ export type CreateAutomateSessionInput = {
|
|
|
730
730
|
export type CreateAutomateSessionPayload = {
|
|
731
731
|
session?: Maybe<AutomateSession>;
|
|
732
732
|
};
|
|
733
|
-
export type CreateBackupError =
|
|
733
|
+
export type CreateBackupError = OtherUserError | TaskInProgressUserError;
|
|
734
734
|
export type CreateBackupPayload = {
|
|
735
735
|
error?: Maybe<CreateBackupError>;
|
|
736
736
|
task?: Maybe<BackupTask>;
|
|
@@ -1015,6 +1015,8 @@ export type CreatedWorkflowPayload = {
|
|
|
1015
1015
|
export type CurrentProject = {
|
|
1016
1016
|
config: ProjectConfig;
|
|
1017
1017
|
project: Project;
|
|
1018
|
+
/** Defines if the selected project is read-only */
|
|
1019
|
+
readOnly: Scalars["Boolean"]["output"];
|
|
1018
1020
|
};
|
|
1019
1021
|
export type DnsIpResolver = {
|
|
1020
1022
|
ip: Scalars["String"]["output"];
|
|
@@ -2394,6 +2396,7 @@ export type Project = {
|
|
|
2394
2396
|
id: Scalars["ID"]["output"];
|
|
2395
2397
|
name: Scalars["String"]["output"];
|
|
2396
2398
|
path: Scalars["String"]["output"];
|
|
2399
|
+
/** Defines if the project would be read-only if selected by the caller */
|
|
2397
2400
|
readOnly: Scalars["Boolean"]["output"];
|
|
2398
2401
|
size: Scalars["Int"]["output"];
|
|
2399
2402
|
status: ProjectStatus;
|
|
@@ -7069,16 +7072,8 @@ export type CreateBackupMutation = {
|
|
|
7069
7072
|
};
|
|
7070
7073
|
} | undefined | null;
|
|
7071
7074
|
error?: {
|
|
7072
|
-
__typename: "CloudUserError";
|
|
7073
|
-
code: string;
|
|
7074
|
-
cloudReason: CloudErrorReason;
|
|
7075
|
-
} | {
|
|
7076
7075
|
__typename: "OtherUserError";
|
|
7077
7076
|
code: string;
|
|
7078
|
-
} | {
|
|
7079
|
-
__typename: "PermissionDeniedUserError";
|
|
7080
|
-
code: string;
|
|
7081
|
-
permissionDeniedReason: PermissionDeniedErrorReason;
|
|
7082
7077
|
} | {
|
|
7083
7078
|
__typename: "TaskInProgressUserError";
|
|
7084
7079
|
taskId: string;
|
|
@@ -10304,6 +10299,81 @@ export type InterceptRequestMessageMetaFragment = {
|
|
|
10304
10299
|
} | undefined | null;
|
|
10305
10300
|
};
|
|
10306
10301
|
};
|
|
10302
|
+
export type InterceptRequestMessageFullFragment = {
|
|
10303
|
+
__typename: "InterceptRequestMessage";
|
|
10304
|
+
id: string;
|
|
10305
|
+
request: {
|
|
10306
|
+
__typename: "Request";
|
|
10307
|
+
raw: string;
|
|
10308
|
+
id: string;
|
|
10309
|
+
host: string;
|
|
10310
|
+
port: number;
|
|
10311
|
+
path: string;
|
|
10312
|
+
query: string;
|
|
10313
|
+
method: string;
|
|
10314
|
+
edited: boolean;
|
|
10315
|
+
isTls: boolean;
|
|
10316
|
+
sni?: string | undefined | null;
|
|
10317
|
+
length: number;
|
|
10318
|
+
alteration: Alteration;
|
|
10319
|
+
fileExtension?: string | undefined | null;
|
|
10320
|
+
source: Source;
|
|
10321
|
+
createdAt: Date;
|
|
10322
|
+
edits: Array<{
|
|
10323
|
+
__typename: "Request";
|
|
10324
|
+
id: string;
|
|
10325
|
+
host: string;
|
|
10326
|
+
port: number;
|
|
10327
|
+
path: string;
|
|
10328
|
+
query: string;
|
|
10329
|
+
method: string;
|
|
10330
|
+
edited: boolean;
|
|
10331
|
+
isTls: boolean;
|
|
10332
|
+
sni?: string | undefined | null;
|
|
10333
|
+
length: number;
|
|
10334
|
+
alteration: Alteration;
|
|
10335
|
+
fileExtension?: string | undefined | null;
|
|
10336
|
+
source: Source;
|
|
10337
|
+
createdAt: Date;
|
|
10338
|
+
metadata: {
|
|
10339
|
+
__typename: "RequestMetadata";
|
|
10340
|
+
id: string;
|
|
10341
|
+
color?: string | undefined | null;
|
|
10342
|
+
};
|
|
10343
|
+
response?: {
|
|
10344
|
+
__typename: "Response";
|
|
10345
|
+
id: string;
|
|
10346
|
+
statusCode: number;
|
|
10347
|
+
roundtripTime: number;
|
|
10348
|
+
length: number;
|
|
10349
|
+
createdAt: Date;
|
|
10350
|
+
alteration: Alteration;
|
|
10351
|
+
edited: boolean;
|
|
10352
|
+
} | undefined | null;
|
|
10353
|
+
stream?: {
|
|
10354
|
+
id: string;
|
|
10355
|
+
} | undefined | null;
|
|
10356
|
+
}>;
|
|
10357
|
+
metadata: {
|
|
10358
|
+
__typename: "RequestMetadata";
|
|
10359
|
+
id: string;
|
|
10360
|
+
color?: string | undefined | null;
|
|
10361
|
+
};
|
|
10362
|
+
response?: {
|
|
10363
|
+
__typename: "Response";
|
|
10364
|
+
id: string;
|
|
10365
|
+
statusCode: number;
|
|
10366
|
+
roundtripTime: number;
|
|
10367
|
+
length: number;
|
|
10368
|
+
createdAt: Date;
|
|
10369
|
+
alteration: Alteration;
|
|
10370
|
+
edited: boolean;
|
|
10371
|
+
} | undefined | null;
|
|
10372
|
+
stream?: {
|
|
10373
|
+
id: string;
|
|
10374
|
+
} | undefined | null;
|
|
10375
|
+
};
|
|
10376
|
+
};
|
|
10307
10377
|
export type InterceptResponseMessageMetaFragment = {
|
|
10308
10378
|
__typename: "InterceptResponseMessage";
|
|
10309
10379
|
id: string;
|
|
@@ -22414,6 +22484,7 @@ export declare const DeleteInterceptEntriesTaskFullFragmentDoc = "\n fragment
|
|
|
22414
22484
|
export declare const HostedFileFullFragmentDoc = "\n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
|
|
22415
22485
|
export declare const InstanceSettingsFullFragmentDoc = "\n fragment instanceSettingsFull on InstanceSettings {\n __typename\n aiProviders {\n anthropic {\n apiKey\n }\n google {\n apiKey\n }\n openai {\n apiKey\n }\n openrouter {\n apiKey\n }\n }\n}\n ";
|
|
22416
22486
|
export declare const TestAiProviderPayloadFullFragmentDoc = "\n fragment testAiProviderPayloadFull on TestAIProviderPayload {\n error {\n ... on AIUserError {\n code\n message\n reason\n }\n ... on OtherUserError {\n code\n }\n }\n success\n}\n ";
|
|
22487
|
+
export declare const InterceptRequestMessageFullFragmentDoc = "\n fragment interceptRequestMessageFull on InterceptRequestMessage {\n __typename\n id\n request {\n ...requestFull\n }\n}\n ";
|
|
22417
22488
|
export declare const InterceptRequestMessageMetaFragmentDoc = "\n fragment interceptRequestMessageMeta on InterceptRequestMessage {\n __typename\n id\n request {\n ...requestMeta\n }\n}\n ";
|
|
22418
22489
|
export declare const InterceptResponseMessageMetaFragmentDoc = "\n fragment interceptResponseMessageMeta on InterceptResponseMessage {\n __typename\n id\n response {\n ...responseMeta\n }\n request {\n ...requestMeta\n }\n}\n ";
|
|
22419
22490
|
export declare const StreamWsMessageEditRefFragmentDoc = "\n fragment streamWsMessageEditRef on StreamWsMessageEditRef {\n id\n alteration\n}\n ";
|
|
@@ -22554,7 +22625,7 @@ export declare const BackupsDocument = "\n query backups {\n backups {\n
|
|
|
22554
22625
|
export declare const BackupUriDocument = "\n query backupUri($id: ID!) {\n backup(id: $id) {\n downloadUri\n }\n}\n ";
|
|
22555
22626
|
export declare const BackupTasksDocument = "\n query backupTasks {\n backupTasks {\n ...backupTaskMeta\n }\n}\n \n fragment backupTaskMeta on BackupTask {\n __typename\n id\n backup {\n ...backupMeta\n }\n}\n \n\n fragment backupMeta on Backup {\n __typename\n id\n name\n path\n size\n status\n createdAt\n updatedAt\n project {\n id\n }\n}\n ";
|
|
22556
22627
|
export declare const RestoreBackupTasksDocument = "\n query restoreBackupTasks {\n restoreBackupTasks {\n ...restoreBackupTaskMeta\n }\n}\n \n fragment restoreBackupTaskMeta on RestoreBackupTask {\n __typename\n id\n backup {\n ...backupMeta\n }\n project {\n ...projectFull\n }\n}\n \n\n fragment backupMeta on Backup {\n __typename\n id\n name\n path\n size\n status\n createdAt\n updatedAt\n project {\n id\n }\n}\n \n\n fragment projectFull on Project {\n __typename\n id\n name\n path\n version\n status\n temporary\n size\n createdAt\n updatedAt\n readOnly\n backups {\n id\n }\n}\n ";
|
|
22557
|
-
export declare const CreateBackupDocument = "\n mutation createBackup($id: ID!) {\n createBackup(projectId: $id) {\n task {\n ...backupTaskMeta\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on TaskInProgressUserError {\n ...taskInProgressUserErrorFull\n }\n
|
|
22628
|
+
export declare const CreateBackupDocument = "\n mutation createBackup($id: ID!) {\n createBackup(projectId: $id) {\n task {\n ...backupTaskMeta\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on TaskInProgressUserError {\n ...taskInProgressUserErrorFull\n }\n }\n }\n}\n \n fragment backupTaskMeta on BackupTask {\n __typename\n id\n backup {\n ...backupMeta\n }\n}\n \n\n fragment backupMeta on Backup {\n __typename\n id\n name\n path\n size\n status\n createdAt\n updatedAt\n project {\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 taskInProgressUserErrorFull on TaskInProgressUserError {\n ...userErrorFull\n taskId\n}\n ";
|
|
22558
22629
|
export declare const DeleteBackupDocument = "\n mutation deleteBackup($id: ID!) {\n deleteBackup(id: $id) {\n deletedId\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on TaskInProgressUserError {\n ...taskInProgressUserErrorFull\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 taskInProgressUserErrorFull on TaskInProgressUserError {\n ...userErrorFull\n taskId\n}\n ";
|
|
22559
22630
|
export declare const RenameBackupDocument = "\n mutation renameBackup($id: ID!, $name: String!) {\n renameBackup(id: $id, name: $name) {\n backup {\n ...backupMeta\n }\n }\n}\n \n fragment backupMeta on Backup {\n __typename\n id\n name\n path\n size\n status\n createdAt\n updatedAt\n project {\n id\n }\n}\n ";
|
|
22560
22631
|
export declare const RestoreBackupFromFileDocument = "\n mutation restoreBackupFromFile($name: String!, $file: Upload!) {\n restoreBackup(input: {name: $name, source: {file: $file}}) {\n error {\n ... on NameTakenUserError {\n ...nameTakenUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n }\n task {\n ...restoreBackupTaskMeta\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 otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\n}\n \n\n fragment restoreBackupTaskMeta on RestoreBackupTask {\n __typename\n id\n backup {\n ...backupMeta\n }\n project {\n ...projectFull\n }\n}\n \n\n fragment backupMeta on Backup {\n __typename\n id\n name\n path\n size\n status\n createdAt\n updatedAt\n project {\n id\n }\n}\n \n\n fragment projectFull on Project {\n __typename\n id\n name\n path\n version\n status\n temporary\n size\n createdAt\n updatedAt\n readOnly\n backups {\n id\n }\n}\n ";
|