@caido/sdk-frontend 0.50.3-beta.1 → 0.50.3-beta.2
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
|
@@ -1445,8 +1445,14 @@ export type HostedFile = {
|
|
|
1445
1445
|
name: Scalars["String"]["output"];
|
|
1446
1446
|
path: Scalars["String"]["output"];
|
|
1447
1447
|
size: Scalars["Int"]["output"];
|
|
1448
|
+
status: HostedFileStatus;
|
|
1448
1449
|
updatedAt: Scalars["DateTime"]["output"];
|
|
1449
1450
|
};
|
|
1451
|
+
export declare const HostedFileStatus: {
|
|
1452
|
+
readonly Error: "ERROR";
|
|
1453
|
+
readonly Ready: "READY";
|
|
1454
|
+
};
|
|
1455
|
+
export type HostedFileStatus = (typeof HostedFileStatus)[keyof typeof HostedFileStatus];
|
|
1450
1456
|
export type ImportCertificateError = CertificateUserError | OtherUserError;
|
|
1451
1457
|
export type ImportCertificateInput = {
|
|
1452
1458
|
certificate: CertificateInput;
|
|
@@ -2227,6 +2233,7 @@ export type PauseInterceptPayload = {
|
|
|
2227
2233
|
export declare const PermissionDeniedErrorReason: {
|
|
2228
2234
|
readonly Entitlement: "ENTITLEMENT";
|
|
2229
2235
|
readonly GuestUser: "GUEST_USER";
|
|
2236
|
+
readonly PluginUser: "PLUGIN_USER";
|
|
2230
2237
|
};
|
|
2231
2238
|
export type PermissionDeniedErrorReason = (typeof PermissionDeniedErrorReason)[keyof typeof PermissionDeniedErrorReason];
|
|
2232
2239
|
export type PermissionDeniedUserError = UserError & {
|
|
@@ -3079,6 +3086,9 @@ export type ScopeEdge = {
|
|
|
3079
3086
|
/** The item at the end of the edge */
|
|
3080
3087
|
node: Scope;
|
|
3081
3088
|
};
|
|
3089
|
+
export type ScriptUser = {
|
|
3090
|
+
id: Scalars["ID"]["output"];
|
|
3091
|
+
};
|
|
3082
3092
|
export type SelectEnvironmentError = OtherUserError | UnknownIdUserError;
|
|
3083
3093
|
export type SelectEnvironmentPayload = {
|
|
3084
3094
|
environment?: Maybe<Environment>;
|
|
@@ -4332,7 +4342,7 @@ export type UpstreamProxySocks = {
|
|
|
4332
4342
|
includeDns: Scalars["Boolean"]["output"];
|
|
4333
4343
|
rank: Scalars["Rank"]["output"];
|
|
4334
4344
|
};
|
|
4335
|
-
export type User = CloudUser | GuestUser;
|
|
4345
|
+
export type User = CloudUser | GuestUser | ScriptUser;
|
|
4336
4346
|
export type UserEntitlement = {
|
|
4337
4347
|
name: Scalars["String"]["output"];
|
|
4338
4348
|
};
|
|
@@ -4533,6 +4543,8 @@ export type AssistantCloudStateQuery = {
|
|
|
4533
4543
|
};
|
|
4534
4544
|
} | {
|
|
4535
4545
|
__typename: "GuestUser";
|
|
4546
|
+
} | {
|
|
4547
|
+
__typename: "ScriptUser";
|
|
4536
4548
|
};
|
|
4537
4549
|
assistantModels: Array<{
|
|
4538
4550
|
__typename: "AssistantModel";
|
|
@@ -9860,6 +9872,7 @@ export type HostedFileFullFragment = {
|
|
|
9860
9872
|
name: string;
|
|
9861
9873
|
path: string;
|
|
9862
9874
|
size: number;
|
|
9875
|
+
status: HostedFileStatus;
|
|
9863
9876
|
updatedAt: Date;
|
|
9864
9877
|
createdAt: Date;
|
|
9865
9878
|
};
|
|
@@ -9883,6 +9896,7 @@ export type RenameHostedFileMutation = {
|
|
|
9883
9896
|
name: string;
|
|
9884
9897
|
path: string;
|
|
9885
9898
|
size: number;
|
|
9899
|
+
status: HostedFileStatus;
|
|
9886
9900
|
updatedAt: Date;
|
|
9887
9901
|
createdAt: Date;
|
|
9888
9902
|
} | undefined | null;
|
|
@@ -9899,6 +9913,7 @@ export type UploadHostedFileMutation = {
|
|
|
9899
9913
|
name: string;
|
|
9900
9914
|
path: string;
|
|
9901
9915
|
size: number;
|
|
9916
|
+
status: HostedFileStatus;
|
|
9902
9917
|
updatedAt: Date;
|
|
9903
9918
|
createdAt: Date;
|
|
9904
9919
|
} | undefined | null;
|
|
@@ -9914,6 +9929,7 @@ export type HostedFilesQuery = {
|
|
|
9914
9929
|
name: string;
|
|
9915
9930
|
path: string;
|
|
9916
9931
|
size: number;
|
|
9932
|
+
status: HostedFileStatus;
|
|
9917
9933
|
updatedAt: Date;
|
|
9918
9934
|
createdAt: Date;
|
|
9919
9935
|
}>;
|
|
@@ -21414,6 +21430,8 @@ export type UserProfileQuery = {
|
|
|
21414
21430
|
};
|
|
21415
21431
|
} | {
|
|
21416
21432
|
__typename: "GuestUser";
|
|
21433
|
+
} | {
|
|
21434
|
+
__typename: "ScriptUser";
|
|
21417
21435
|
};
|
|
21418
21436
|
};
|
|
21419
21437
|
export type UserSettingsQueryVariables = Exact<{
|
|
@@ -21436,6 +21454,8 @@ export type UserSettingsQuery = {
|
|
|
21436
21454
|
data: unknown;
|
|
21437
21455
|
migrations: unknown;
|
|
21438
21456
|
} | undefined | null;
|
|
21457
|
+
} | {
|
|
21458
|
+
__typename: "ScriptUser";
|
|
21439
21459
|
};
|
|
21440
21460
|
};
|
|
21441
21461
|
export type UpdatedViewerProfileSubscriptionVariables = Exact<{
|
|
@@ -22037,7 +22057,7 @@ export declare const RequestFullFragmentDoc = "\n fragment requestFull on Req
|
|
|
22037
22057
|
export declare const InterceptEntryFullFragmentDoc = "\n fragment interceptEntryFull on InterceptEntry {\n ...interceptEntryMeta\n request {\n ...requestFull\n }\n}\n ";
|
|
22038
22058
|
export declare const InterceptEntryEdgeMetaFragmentDoc = "\n fragment interceptEntryEdgeMeta on InterceptEntryEdge {\n __typename\n cursor\n node {\n ...interceptEntryMeta\n }\n}\n ";
|
|
22039
22059
|
export declare const DeleteInterceptEntriesTaskFullFragmentDoc = "\n fragment deleteInterceptEntriesTaskFull on DeleteInterceptEntriesTask {\n __typename\n id\n deletedEntryIds\n}\n ";
|
|
22040
|
-
export declare const HostedFileFullFragmentDoc = "\n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n updatedAt\n createdAt\n}\n ";
|
|
22060
|
+
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 ";
|
|
22041
22061
|
export declare const InterceptRequestMessageMetaFragmentDoc = "\n fragment interceptRequestMessageMeta on InterceptRequestMessage {\n __typename\n id\n request {\n ...requestMeta\n }\n}\n ";
|
|
22042
22062
|
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 ";
|
|
22043
22063
|
export declare const StreamWsMessageEditRefFragmentDoc = "\n fragment streamWsMessageEditRef on StreamWsMessageEditRef {\n id\n alteration\n}\n ";
|
|
@@ -22133,7 +22153,7 @@ export declare const WorkflowNodeDefinitionFullFragmentDoc = "\n fragment wor
|
|
|
22133
22153
|
export declare const WorkflowTaskMetaFragmentDoc = "\n fragment workflowTaskMeta on WorkflowTask {\n ...taskMeta\n workflow {\n ...workflowMeta\n }\n}\n ";
|
|
22134
22154
|
export declare const AssistantSessionsDocument = "\n query assistantSessions {\n assistantSessions {\n ...assistantSessionMeta\n }\n}\n \n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n ";
|
|
22135
22155
|
export declare const AssistantSessionDocument = "\n query assistantSession($id: ID!) {\n assistantSession(id: $id) {\n ...assistantSessionFull\n }\n}\n \n fragment assistantSessionFull on AssistantSession {\n ...assistantSessionMeta\n messages {\n ...assistantMessageFull\n }\n}\n \n\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n \n\n fragment assistantMessageFull on AssistantMessage {\n __typename\n id\n content\n role\n session {\n id\n }\n}\n ";
|
|
22136
|
-
export declare const AssistantCloudStateDocument = "\n query assistantCloudState {\n viewer {\n ... on CloudUser {\n
|
|
22156
|
+
export declare const AssistantCloudStateDocument = "\n query assistantCloudState {\n viewer {\n __typename\n ... on CloudUser {\n id\n assistantUsage {\n ...assistantUsageFull\n }\n }\n }\n assistantModels {\n ...assistantModelFull\n }\n}\n \n fragment assistantUsageFull on AssistantUsage {\n __typename\n balance\n}\n \n\n fragment assistantModelFull on AssistantModel {\n __typename\n id\n name\n tokenCredit\n}\n ";
|
|
22137
22157
|
export declare const SendAssistantMessageDocument = "\n mutation sendAssistantMessage($sessionId: ID!, $message: String) {\n sendAssistantMessage(sessionId: $sessionId, message: $message) {\n error {\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on TaskInProgressUserError {\n ...taskInProgressUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n task {\n ...assistantMessageTaskFull\n }\n }\n}\n \n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\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 \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment assistantMessageTaskFull on AssistantMessageTask {\n __typename\n id\n message {\n ...assistantMessageFull\n }\n session {\n ...assistantSessionMeta\n }\n error {\n ... on AssistantUserError {\n ...assistantUserErrorFull\n }\n ... on AuthenticationUserError {\n ...authenticationUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n }\n}\n \n\n fragment assistantMessageFull on AssistantMessage {\n __typename\n id\n content\n role\n session {\n id\n }\n}\n \n\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n \n\n fragment assistantUserErrorFull on AssistantUserError {\n ...userErrorFull\n assistantReason: reason\n}\n \n\n fragment authenticationUserErrorFull on AuthenticationUserError {\n ...userErrorFull\n reason\n}\n ";
|
|
22138
22158
|
export declare const CreateAssistantSessionDocument = "\n mutation createAssistantSession($input: CreateAssistantSessionInput!) {\n createAssistantSession(input: $input) {\n error {\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n session {\n ...assistantSessionMeta\n }\n }\n}\n \n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n ";
|
|
22139
22159
|
export declare const DeleteAssistantSessionDocument = "\n mutation deleteAssistantSession($id: ID!) {\n deleteAssistantSession(id: $id) {\n deletedId\n }\n}\n ";
|
|
@@ -22271,9 +22291,9 @@ export declare const StartedDeleteInterceptEntriesTaskDocument = "\n subscrip
|
|
|
22271
22291
|
export declare const UpdatedDeleteInterceptEntriesTaskDocument = "\n subscription updatedDeleteInterceptEntriesTask {\n updatedDeleteInterceptEntriesTask {\n snapshot\n task {\n ...deleteInterceptEntriesTaskFull\n }\n }\n}\n \n fragment deleteInterceptEntriesTaskFull on DeleteInterceptEntriesTask {\n __typename\n id\n deletedEntryIds\n}\n ";
|
|
22272
22292
|
export declare const FinishedDeleteInterceptEntriesTaskDocument = "\n subscription finishedDeleteInterceptEntriesTask {\n finishedDeleteInterceptEntriesTask {\n task {\n ...deleteInterceptEntriesTaskFull\n }\n error {\n ... on InternalUserError {\n ...internalUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment deleteInterceptEntriesTaskFull on DeleteInterceptEntriesTask {\n __typename\n id\n deletedEntryIds\n}\n \n\n fragment internalUserErrorFull on InternalUserError {\n ...userErrorFull\n message\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
|
|
22273
22293
|
export declare const DeleteHostedFileDocument = "\n mutation deleteHostedFile($id: ID!) {\n deleteHostedFile(id: $id) {\n deletedId\n }\n}\n ";
|
|
22274
|
-
export declare const RenameHostedFileDocument = "\n mutation renameHostedFile($id: ID!, $name: String!) {\n renameHostedFile(id: $id, name: $name) {\n hostedFile {\n ...hostedFileFull\n }\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n updatedAt\n createdAt\n}\n ";
|
|
22275
|
-
export declare const UploadHostedFileDocument = "\n mutation uploadHostedFile($input: UploadHostedFileInput!) {\n uploadHostedFile(input: $input) {\n hostedFile {\n ...hostedFileFull\n }\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n updatedAt\n createdAt\n}\n ";
|
|
22276
|
-
export declare const HostedFilesDocument = "\n query hostedFiles {\n hostedFiles {\n ...hostedFileFull\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n updatedAt\n createdAt\n}\n ";
|
|
22294
|
+
export declare const RenameHostedFileDocument = "\n mutation renameHostedFile($id: ID!, $name: String!) {\n renameHostedFile(id: $id, name: $name) {\n hostedFile {\n ...hostedFileFull\n }\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
|
|
22295
|
+
export declare const UploadHostedFileDocument = "\n mutation uploadHostedFile($input: UploadHostedFileInput!) {\n uploadHostedFile(input: $input) {\n hostedFile {\n ...hostedFileFull\n }\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
|
|
22296
|
+
export declare const HostedFilesDocument = "\n query hostedFiles {\n hostedFiles {\n ...hostedFileFull\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
|
|
22277
22297
|
export declare const ForwardInterceptMessageDocument = "\n mutation forwardInterceptMessage($id: ID!, $input: ForwardInterceptMessageInput) {\n forwardInterceptMessage(id: $id, input: $input) {\n forwardedId\n }\n}\n ";
|
|
22278
22298
|
export declare const DropInterceptMesageDocument = "\n mutation dropInterceptMesage($id: ID!) {\n dropInterceptMessage(id: $id) {\n droppedId\n }\n}\n ";
|
|
22279
22299
|
export declare const SetInterceptOptionsDocument = "\n mutation setInterceptOptions($input: InterceptOptionsInput!) {\n setInterceptOptions(input: $input) {\n options {\n ...interceptOptionsMeta\n }\n }\n}\n \n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n streamWs {\n ...interceptStreamWsOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n \n\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n filter\n}\n \n\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n filter\n}\n \n\n fragment interceptStreamWsOptionsMeta on InterceptStreamWsOptions {\n enabled\n}\n \n\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
|
|
@@ -22411,8 +22431,8 @@ export declare const CreatedUpstreamProxySocksDocument = "\n subscription cre
|
|
|
22411
22431
|
export declare const UpdatedUpstreamProxySocksDocument = "\n subscription updatedUpstreamProxySocks {\n updatedUpstreamProxySocks {\n proxy {\n ...upstreamProxySocksFull\n }\n }\n}\n \n fragment upstreamProxySocksFull on UpstreamProxySocks {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n connection {\n ...connectionInfoFull\n }\n enabled\n includeDns\n rank\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
|
|
22412
22432
|
export declare const DeletedUpstreamProxySocksDocument = "\n subscription deletedUpstreamProxySocks {\n deletedUpstreamProxySocks {\n deletedProxyId\n }\n}\n ";
|
|
22413
22433
|
export declare const UpdateViewerSettingsDocument = "\n mutation updateViewerSettings($input: UpdateViewerSettingsInput!) {\n updateViewerSettings(input: $input) {\n settings {\n ...userSettingsFull\n }\n }\n}\n \n fragment userSettingsFull on UserSettings {\n __typename\n data\n migrations\n}\n ";
|
|
22414
|
-
export declare const UserProfileDocument = "\n query userProfile {\n viewer {\n ... on CloudUser {\n
|
|
22415
|
-
export declare const UserSettingsDocument = "\n query userSettings {\n viewer {\n ... on CloudUser {\n
|
|
22434
|
+
export declare const UserProfileDocument = "\n query userProfile {\n viewer {\n __typename\n ... on CloudUser {\n id\n profile {\n ...userProfileFull\n }\n }\n }\n}\n \n fragment userProfileFull on UserProfile {\n __typename\n identity {\n __typename\n name\n email\n }\n subscription {\n __typename\n entitlements {\n __typename\n name\n }\n plan {\n __typename\n name\n }\n }\n}\n ";
|
|
22435
|
+
export declare const UserSettingsDocument = "\n query userSettings {\n viewer {\n __typename\n ... on CloudUser {\n id\n settings {\n ...userSettingsFull\n }\n }\n ... on GuestUser {\n id\n settings {\n ...userSettingsFull\n }\n }\n }\n}\n \n fragment userSettingsFull on UserSettings {\n __typename\n data\n migrations\n}\n ";
|
|
22416
22436
|
export declare const UpdatedViewerProfileDocument = "\n subscription updatedViewerProfile {\n updatedViewerProfile {\n profile {\n ...userProfileFull\n }\n }\n}\n \n fragment userProfileFull on UserProfile {\n __typename\n identity {\n __typename\n name\n email\n }\n subscription {\n __typename\n entitlements {\n __typename\n name\n }\n plan {\n __typename\n name\n }\n }\n}\n ";
|
|
22417
22437
|
export declare const UpdatedViewerSettingsDocument = "\n subscription updatedViewerSettings {\n updatedViewerSettings {\n settings {\n data\n }\n }\n}\n ";
|
|
22418
22438
|
export declare const WorkflowDocument = "\n query workflow($id: ID!) {\n workflow(id: $id) {\n ...workflowFull\n }\n}\n \n fragment workflowFull on Workflow {\n ...workflowMeta\n definition\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
|