@caido/sdk-frontend 0.44.2-beta.5 → 0.44.2-beta.7
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
|
@@ -2924,6 +2924,7 @@ export type StoreErrorReason = (typeof StoreErrorReason)[keyof typeof StoreError
|
|
|
2924
2924
|
export type StorePluginPackage = {
|
|
2925
2925
|
author?: Maybe<StorePluginPackageAuthor>;
|
|
2926
2926
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
2927
|
+
downloads: Scalars["Int"]["output"];
|
|
2927
2928
|
license: Scalars["String"]["output"];
|
|
2928
2929
|
manifestId: Scalars["ID"]["output"];
|
|
2929
2930
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -3704,17 +3705,6 @@ export type AssistantUsageFullFragment = {
|
|
|
3704
3705
|
__typename: "AssistantUsage";
|
|
3705
3706
|
balance: number;
|
|
3706
3707
|
};
|
|
3707
|
-
export type AssistantModelsQueryVariables = Exact<{
|
|
3708
|
-
[key: string]: never;
|
|
3709
|
-
}>;
|
|
3710
|
-
export type AssistantModelsQuery = {
|
|
3711
|
-
assistantModels: Array<{
|
|
3712
|
-
__typename: "AssistantModel";
|
|
3713
|
-
id: string;
|
|
3714
|
-
name: string;
|
|
3715
|
-
tokenCredit: number;
|
|
3716
|
-
}>;
|
|
3717
|
-
};
|
|
3718
3708
|
export type AssistantSessionsQueryVariables = Exact<{
|
|
3719
3709
|
[key: string]: never;
|
|
3720
3710
|
}>;
|
|
@@ -3750,10 +3740,10 @@ export type AssistantSessionQuery = {
|
|
|
3750
3740
|
}>;
|
|
3751
3741
|
} | undefined | null;
|
|
3752
3742
|
};
|
|
3753
|
-
export type
|
|
3743
|
+
export type AssistantCloudStateQueryVariables = Exact<{
|
|
3754
3744
|
[key: string]: never;
|
|
3755
3745
|
}>;
|
|
3756
|
-
export type
|
|
3746
|
+
export type AssistantCloudStateQuery = {
|
|
3757
3747
|
viewer: {
|
|
3758
3748
|
id: string;
|
|
3759
3749
|
assistantUsage: {
|
|
@@ -3761,6 +3751,12 @@ export type AssistantUsageQuery = {
|
|
|
3761
3751
|
balance: number;
|
|
3762
3752
|
};
|
|
3763
3753
|
};
|
|
3754
|
+
assistantModels: Array<{
|
|
3755
|
+
__typename: "AssistantModel";
|
|
3756
|
+
id: string;
|
|
3757
|
+
name: string;
|
|
3758
|
+
tokenCredit: number;
|
|
3759
|
+
}>;
|
|
3764
3760
|
};
|
|
3765
3761
|
export type SendAssistantMessageMutationVariables = Exact<{
|
|
3766
3762
|
sessionId: Scalars["ID"]["input"];
|
|
@@ -9672,6 +9668,7 @@ export type PluginPackageFullFragment = {
|
|
|
9672
9668
|
};
|
|
9673
9669
|
export type StorePluginPackageFullFragment = {
|
|
9674
9670
|
description?: string | undefined | null;
|
|
9671
|
+
downloads: number;
|
|
9675
9672
|
license: string;
|
|
9676
9673
|
manifestId: string;
|
|
9677
9674
|
name?: string | undefined | null;
|
|
@@ -9757,6 +9754,7 @@ export type StorePluginPackagesQuery = {
|
|
|
9757
9754
|
store: {
|
|
9758
9755
|
pluginPackages: Array<{
|
|
9759
9756
|
description?: string | undefined | null;
|
|
9757
|
+
downloads: number;
|
|
9760
9758
|
license: string;
|
|
9761
9759
|
manifestId: string;
|
|
9762
9760
|
name?: string | undefined | null;
|
|
@@ -15697,7 +15695,7 @@ export declare const PluginBackendFullFragmentDoc = "\n fragment pluginBacken
|
|
|
15697
15695
|
export declare const WorkflowMetaFragmentDoc = "\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
|
|
15698
15696
|
export declare const PluginWorkflowFullFragmentDoc = "\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n ";
|
|
15699
15697
|
export declare const PluginPackageFullFragmentDoc = "\n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n}\n ";
|
|
15700
|
-
export declare const StorePluginPackageFullFragmentDoc = "\n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n license\n manifestId\n name\n repository\n version\n}\n ";
|
|
15698
|
+
export declare const StorePluginPackageFullFragmentDoc = "\n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n downloads\n license\n manifestId\n name\n repository\n version\n}\n ";
|
|
15701
15699
|
export declare const ReplayEntryMetaFragmentDoc = "\n fragment replayEntryMeta on ReplayEntry {\n __typename\n id\n error\n connection {\n ...connectionInfoFull\n }\n session {\n id\n }\n request {\n ...requestMeta\n }\n}\n ";
|
|
15702
15700
|
export declare const ReplayPrefixPreprocessorFullFragmentDoc = "\n fragment replayPrefixPreprocessorFull on ReplayPrefixPreprocessor {\n __typename\n value\n}\n ";
|
|
15703
15701
|
export declare const ReplaySuffixPreprocessorFullFragmentDoc = "\n fragment replaySuffixPreprocessorFull on ReplaySuffixPreprocessor {\n __typename\n value\n}\n ";
|
|
@@ -15733,10 +15731,9 @@ export declare const UserSettingsFullFragmentDoc = "\n fragment userSettingsF
|
|
|
15733
15731
|
export declare const WorkflowFullFragmentDoc = "\n fragment workflowFull on Workflow {\n ...workflowMeta\n definition\n}\n ";
|
|
15734
15732
|
export declare const WorkflowNodeDefinitionFullFragmentDoc = "\n fragment workflowNodeDefinitionFull on WorkflowNodeDefinition {\n __typename\n raw\n}\n ";
|
|
15735
15733
|
export declare const WorkflowTaskMetaFragmentDoc = "\n fragment workflowTaskMeta on WorkflowTask {\n ...taskMeta\n workflow {\n ...workflowMeta\n }\n}\n ";
|
|
15736
|
-
export declare const AssistantModelsDocument = "\n query assistantModels {\n assistantModels {\n ...assistantModelFull\n }\n}\n \n fragment assistantModelFull on AssistantModel {\n __typename\n id\n name\n tokenCredit\n}\n ";
|
|
15737
15734
|
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 ";
|
|
15738
15735
|
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 ";
|
|
15739
|
-
export declare const
|
|
15736
|
+
export declare const AssistantCloudStateDocument = "\n query assistantCloudState {\n viewer {\n id\n assistantUsage {\n ...assistantUsageFull\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 ";
|
|
15740
15737
|
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 ";
|
|
15741
15738
|
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 ";
|
|
15742
15739
|
export declare const DeleteAssistantSessionDocument = "\n mutation deleteAssistantSession($id: ID!) {\n deleteAssistantSession(id: $id) {\n deletedId\n }\n}\n ";
|
|
@@ -15884,7 +15881,7 @@ export declare const DisableTamperRuleDocument = "\n mutation disableTamperRu
|
|
|
15884
15881
|
export declare const RankTamperRuleDocument = "\n mutation rankTamperRule($id: ID!, $input: RankTamperRuleInput!) {\n rankTamperRule(id: $id, input: $input) {\n rule {\n ...tamperRuleFull\n }\n }\n}\n \n fragment tamperRuleFull on TamperRule {\n __typename\n id\n isEnabled\n isRegex\n name\n matchTerm\n replaceTerm\n strategy\n rank\n condition\n collection {\n id\n }\n}\n ";
|
|
15885
15882
|
export declare const MoveTamperRuleDocument = "\n mutation moveTamperRule($id: ID!, $collectionId: ID!) {\n moveTamperRule(id: $id, collectionId: $collectionId) {\n rule {\n ...tamperRuleFull\n }\n }\n}\n \n fragment tamperRuleFull on TamperRule {\n __typename\n id\n isEnabled\n isRegex\n name\n matchTerm\n replaceTerm\n strategy\n rank\n condition\n collection {\n id\n }\n}\n ";
|
|
15886
15883
|
export declare const PluginPackagesDocument = "\n query pluginPackages {\n pluginPackages {\n ...pluginPackageFull\n }\n}\n \n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n}\n \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n version\n installedAt\n manifestId\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
|
|
15887
|
-
export declare const StorePluginPackagesDocument = "\n query storePluginPackages {\n store {\n pluginPackages {\n ...storePluginPackageFull\n }\n }\n}\n \n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n license\n manifestId\n name\n repository\n version\n}\n ";
|
|
15884
|
+
export declare const StorePluginPackagesDocument = "\n query storePluginPackages {\n store {\n pluginPackages {\n ...storePluginPackageFull\n }\n }\n}\n \n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n downloads\n license\n manifestId\n name\n repository\n version\n}\n ";
|
|
15888
15885
|
export declare const InstallPluginPackageDocument = "\n mutation installPluginPackage($input: InstallPluginPackageInput!) {\n installPluginPackage(input: $input) {\n package {\n ...pluginPackageFull\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on PluginUserError {\n ...pluginUserErrorFull\n }\n ... on StoreUserError {\n ...storeUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n }\n }\n}\n \n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n}\n \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n version\n installedAt\n manifestId\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\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 pluginUserErrorFull on PluginUserError {\n ...userErrorFull\n reason\n}\n \n\n fragment storeUserErrorFull on StoreUserError {\n ...userErrorFull\n storeReason: reason\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n ";
|
|
15889
15886
|
export declare const UninstallPluginPackageDocument = "\n mutation uninstallPluginPackage($id: ID!) {\n uninstallPluginPackage(id: $id) {\n deletedId\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\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 unknownIdUserErrorFull on UnknownIdUserError {\n ...userErrorFull\n id\n}\n ";
|
|
15890
15887
|
export declare const TogglePluginDocument = "\n mutation togglePlugin($id: ID!, $enabled: Boolean!) {\n togglePlugin(id: $id, enabled: $enabled) {\n plugin {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on PluginUserError {\n ...pluginUserErrorFull\n }\n }\n }\n}\n \n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\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 unknownIdUserErrorFull on UnknownIdUserError {\n ...userErrorFull\n id\n}\n \n\n fragment pluginUserErrorFull on PluginUserError {\n ...userErrorFull\n reason\n}\n ";
|
|
@@ -16003,10 +16000,9 @@ export declare const GlobalizeWorkflowDocument = "\n mutation globalizeWorkfl
|
|
|
16003
16000
|
export declare const LocalizeWorkflowDocument = "\n mutation localizeWorkflow($id: ID!) {\n localizeWorkflow(id: $id) {\n error {\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on WorkflowUserError {\n ...workflowUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on ReadOnlyUserError {\n ...readOnlyUserErrorFull\n }\n }\n workflow {\n ...workflowFull\n }\n }\n}\n \n fragment unknownIdUserErrorFull on UnknownIdUserError {\n ...userErrorFull\n id\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment workflowUserErrorFull on WorkflowUserError {\n ...userErrorFull\n node\n message\n reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment readOnlyUserErrorFull on ReadOnlyUserError {\n ...userErrorFull\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 ";
|
|
16004
16001
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
|
|
16005
16002
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
16006
|
-
assistantModels(variables?: AssistantModelsQueryVariables, options?: C): Promise<AssistantModelsQuery>;
|
|
16007
16003
|
assistantSessions(variables?: AssistantSessionsQueryVariables, options?: C): Promise<AssistantSessionsQuery>;
|
|
16008
16004
|
assistantSession(variables: AssistantSessionQueryVariables, options?: C): Promise<AssistantSessionQuery>;
|
|
16009
|
-
|
|
16005
|
+
assistantCloudState(variables?: AssistantCloudStateQueryVariables, options?: C): Promise<AssistantCloudStateQuery>;
|
|
16010
16006
|
sendAssistantMessage(variables: SendAssistantMessageMutationVariables, options?: C): Promise<SendAssistantMessageMutation>;
|
|
16011
16007
|
createAssistantSession(variables: CreateAssistantSessionMutationVariables, options?: C): Promise<CreateAssistantSessionMutation>;
|
|
16012
16008
|
deleteAssistantSession(variables: DeleteAssistantSessionMutationVariables, options?: C): Promise<DeleteAssistantSessionMutation>;
|