@caido/sdk-frontend 0.51.2-beta.12 → 0.51.2-beta.13

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.51.2-beta.12",
3
+ "version": "0.51.2-beta.13",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -1214,6 +1214,7 @@ export type DeletedAutomateTaskPayload = {
1214
1214
  deletedAutomateTaskId: Scalars["ID"]["output"];
1215
1215
  error?: Maybe<DeletedAutomateTaskError>;
1216
1216
  snapshot: Scalars["Snapshot"]["output"];
1217
+ status: TaskStatus;
1217
1218
  };
1218
1219
  export type DeletedBackupPayload = {
1219
1220
  deletedBackupId: Scalars["ID"]["output"];
@@ -1424,6 +1425,7 @@ export type FinishedRestoreBackupTaskSuccess = {
1424
1425
  };
1425
1426
  export type FinishedTaskPayload = {
1426
1427
  error?: Maybe<UserError>;
1428
+ status: TaskStatus;
1427
1429
  task: Task;
1428
1430
  };
1429
1431
  export type ForwardInterceptMessageInput = {
@@ -4102,6 +4104,12 @@ export type TaskInProgressUserError = UserError & {
4102
4104
  code: Scalars["String"]["output"];
4103
4105
  taskId: Scalars["ID"]["output"];
4104
4106
  };
4107
+ export declare const TaskStatus: {
4108
+ readonly Cancelled: "CANCELLED";
4109
+ readonly Done: "DONE";
4110
+ readonly Error: "ERROR";
4111
+ };
4112
+ export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
4105
4113
  export type TestAiProviderError = AiUserError | OtherUserError;
4106
4114
  export type TestAiProviderInput = {
4107
4115
  anthropic: AiProviderAnthropicInput;
@@ -6749,6 +6757,7 @@ export type DeletedAutomateTaskSubscription = {
6749
6757
  deletedAutomateTask: {
6750
6758
  deletedAutomateTaskId: string;
6751
6759
  snapshot: number;
6760
+ status: TaskStatus;
6752
6761
  };
6753
6762
  };
6754
6763
  export type UpdatedAutomateTaskSubscriptionVariables = Exact<{
@@ -23231,7 +23240,7 @@ export declare const ResumeAutomateTaskDocument = "\n mutation resumeAutomate
23231
23240
  export declare const StartAutomateTaskDocument = "\n mutation startAutomateTask($automateSessionId: ID!) {\n startAutomateTask(automateSessionId: $automateSessionId) {\n automateTask {\n ...automateTaskMeta\n }\n }\n}\n \n fragment automateTaskMeta on AutomateTask {\n id\n paused\n entry {\n ...automateEntryMeta\n }\n}\n \n\n fragment automateEntryMeta on AutomateEntry {\n __typename\n id\n name\n createdAt\n session {\n id\n }\n}\n ";
23232
23241
  export declare const CreatedAutomateEntryRequestDocument = "\n subscription createdAutomateEntryRequest($order: AutomateEntryRequestOrderInput, $filter: HTTPQL) {\n createdAutomateEntryRequest(filter: $filter) {\n automateEntryRequestEdge(order: $order) {\n ...automateEntryRequestEdgeMeta\n }\n snapshot\n }\n}\n \n fragment automateEntryRequestEdgeMeta on AutomateEntryRequestEdge {\n __typename\n node {\n ...automateEntryRequestMeta\n }\n cursor\n}\n \n\n fragment automateEntryRequestMeta on AutomateEntryRequest {\n __typename\n sequenceId\n automateEntryId\n error\n request {\n ...requestMeta\n }\n payloads {\n ...automateEntryRequestPayloadFull\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 stream {\n id\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 automateEntryRequestPayloadFull on AutomateEntryRequestPayload {\n __typename\n position\n raw\n}\n ";
23233
23242
  export declare const CreatedAutomateTaskDocument = "\n subscription createdAutomateTask {\n createdAutomateTask {\n automateTaskEdge {\n ...automateTaskEdgeMeta\n }\n snapshot\n }\n}\n \n fragment automateTaskEdgeMeta on AutomateTaskEdge {\n node {\n ...automateTaskMeta\n }\n}\n \n\n fragment automateTaskMeta on AutomateTask {\n id\n paused\n entry {\n ...automateEntryMeta\n }\n}\n \n\n fragment automateEntryMeta on AutomateEntry {\n __typename\n id\n name\n createdAt\n session {\n id\n }\n}\n ";
23234
- export declare const DeletedAutomateTaskDocument = "\n subscription deletedAutomateTask {\n deletedAutomateTask {\n deletedAutomateTaskId\n snapshot\n }\n}\n ";
23243
+ export declare const DeletedAutomateTaskDocument = "\n subscription deletedAutomateTask {\n deletedAutomateTask {\n deletedAutomateTaskId\n snapshot\n status\n }\n}\n ";
23235
23244
  export declare const UpdatedAutomateTaskDocument = "\n subscription updatedAutomateTask {\n updatedAutomateTask {\n automateTaskEdge {\n ...automateTaskEdgeMeta\n }\n snapshot\n }\n}\n \n fragment automateTaskEdgeMeta on AutomateTaskEdge {\n node {\n ...automateTaskMeta\n }\n}\n \n\n fragment automateTaskMeta on AutomateTask {\n id\n paused\n entry {\n ...automateEntryMeta\n }\n}\n \n\n fragment automateEntryMeta on AutomateEntry {\n __typename\n id\n name\n createdAt\n session {\n id\n }\n}\n ";
23236
23245
  export declare const CreatedAutomateEntryDocument = "\n subscription createdAutomateEntry {\n createdAutomateEntry {\n automateEntryEdge {\n ...automateEntryEdgeMeta\n }\n }\n}\n \n fragment automateEntryEdgeMeta on AutomateEntryEdge {\n node {\n ...automateEntryMeta\n }\n}\n \n\n fragment automateEntryMeta on AutomateEntry {\n __typename\n id\n name\n createdAt\n session {\n id\n }\n}\n ";
23237
23246
  export declare const UpdatedAutomateEntryDocument = "\n subscription updatedAutomateEntry {\n updatedAutomateEntry {\n automateEntryEdge {\n ...automateEntryEdgeMeta\n }\n snapshot\n }\n}\n \n fragment automateEntryEdgeMeta on AutomateEntryEdge {\n node {\n ...automateEntryMeta\n }\n}\n \n\n fragment automateEntryMeta on AutomateEntry {\n __typename\n id\n name\n createdAt\n session {\n id\n }\n}\n ";