@caido/sdk-frontend 0.46.1-beta.2 → 0.46.1-beta.4
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
|
@@ -87,8 +87,8 @@ export type Scalars = {
|
|
|
87
87
|
output: JSONValue;
|
|
88
88
|
};
|
|
89
89
|
JsonObject: {
|
|
90
|
-
input:
|
|
91
|
-
output:
|
|
90
|
+
input: Record<string, unknown>;
|
|
91
|
+
output: Record<string, unknown>;
|
|
92
92
|
};
|
|
93
93
|
JsonRaw: {
|
|
94
94
|
input: string;
|
|
@@ -1589,6 +1589,9 @@ export type MutationRoot = {
|
|
|
1589
1589
|
testTamperRule: TestTamperRulePayload;
|
|
1590
1590
|
testUpstreamProxyHttp: TestUpstreamProxyHttpPayload;
|
|
1591
1591
|
testUpstreamProxySocks: TestUpstreamProxySocksPayload;
|
|
1592
|
+
testWorkflowActive: TestWorkflowActivePayload;
|
|
1593
|
+
testWorkflowConvert: TestWorkflowConvertPayload;
|
|
1594
|
+
testWorkflowPassive: TestWorkflowPassivePayload;
|
|
1592
1595
|
togglePlugin: TogglePluginPayload;
|
|
1593
1596
|
toggleTamperRule: ToggleTamperRulePayload;
|
|
1594
1597
|
toggleUpstreamProxyHttp: ToggleUpstreamProxyHttpPayload;
|
|
@@ -1903,6 +1906,15 @@ export type MutationRootTestUpstreamProxyHttpArgs = {
|
|
|
1903
1906
|
export type MutationRootTestUpstreamProxySocksArgs = {
|
|
1904
1907
|
input: TestUpstreamProxySocksInput;
|
|
1905
1908
|
};
|
|
1909
|
+
export type MutationRootTestWorkflowActiveArgs = {
|
|
1910
|
+
input: TestWorkflowActiveInput;
|
|
1911
|
+
};
|
|
1912
|
+
export type MutationRootTestWorkflowConvertArgs = {
|
|
1913
|
+
input: TestWorkflowConvertInput;
|
|
1914
|
+
};
|
|
1915
|
+
export type MutationRootTestWorkflowPassiveArgs = {
|
|
1916
|
+
input: TestWorkflowPassiveInput;
|
|
1917
|
+
};
|
|
1906
1918
|
export type MutationRootTogglePluginArgs = {
|
|
1907
1919
|
enabled: Scalars["Boolean"]["input"];
|
|
1908
1920
|
id: Scalars["ID"]["input"];
|
|
@@ -2772,6 +2784,9 @@ export type Response = {
|
|
|
2772
2784
|
roundtripTime: Scalars["Int"]["output"];
|
|
2773
2785
|
statusCode: Scalars["Int"]["output"];
|
|
2774
2786
|
};
|
|
2787
|
+
export type ResponseRawInput = {
|
|
2788
|
+
raw: Scalars["Blob"]["input"];
|
|
2789
|
+
};
|
|
2775
2790
|
export type RestoreBackupError = NameTakenUserError | OtherUserError | PermissionDeniedUserError;
|
|
2776
2791
|
export type RestoreBackupInput = {
|
|
2777
2792
|
name: Scalars["String"]["input"];
|
|
@@ -2931,7 +2946,9 @@ export type SitemapEntryMetadataDomain = {
|
|
|
2931
2946
|
export declare const Source: {
|
|
2932
2947
|
readonly Automate: "AUTOMATE";
|
|
2933
2948
|
readonly Intercept: "INTERCEPT";
|
|
2949
|
+
readonly Plugin: "PLUGIN";
|
|
2934
2950
|
readonly Replay: "REPLAY";
|
|
2951
|
+
readonly Sample: "SAMPLE";
|
|
2935
2952
|
readonly Workflow: "WORKFLOW";
|
|
2936
2953
|
};
|
|
2937
2954
|
export type Source = (typeof Source)[keyof typeof Source];
|
|
@@ -3679,6 +3696,36 @@ export type TestUpstreamProxySocksInput = {
|
|
|
3679
3696
|
export type TestUpstreamProxySocksPayload = {
|
|
3680
3697
|
success?: Maybe<Scalars["Boolean"]["output"]>;
|
|
3681
3698
|
};
|
|
3699
|
+
export type TestWorkflowActiveError = OtherUserError | PermissionDeniedUserError | WorkflowUserError;
|
|
3700
|
+
export type TestWorkflowActiveInput = {
|
|
3701
|
+
definition: Scalars["JsonObject"]["input"];
|
|
3702
|
+
request: RequestRawInput;
|
|
3703
|
+
response?: InputMaybe<ResponseRawInput>;
|
|
3704
|
+
};
|
|
3705
|
+
export type TestWorkflowActivePayload = {
|
|
3706
|
+
error?: Maybe<TestWorkflowActiveError>;
|
|
3707
|
+
runState?: Maybe<Scalars["JsonObject"]["output"]>;
|
|
3708
|
+
};
|
|
3709
|
+
export type TestWorkflowConvertError = OtherUserError | PermissionDeniedUserError | WorkflowUserError;
|
|
3710
|
+
export type TestWorkflowConvertInput = {
|
|
3711
|
+
data: Scalars["Blob"]["input"];
|
|
3712
|
+
definition: Scalars["JsonObject"]["input"];
|
|
3713
|
+
};
|
|
3714
|
+
export type TestWorkflowConvertPayload = {
|
|
3715
|
+
error?: Maybe<TestWorkflowConvertError>;
|
|
3716
|
+
output?: Maybe<Scalars["Blob"]["output"]>;
|
|
3717
|
+
runState?: Maybe<Scalars["JsonObject"]["output"]>;
|
|
3718
|
+
};
|
|
3719
|
+
export type TestWorkflowPassiveError = OtherUserError | PermissionDeniedUserError | WorkflowUserError;
|
|
3720
|
+
export type TestWorkflowPassiveInput = {
|
|
3721
|
+
definition: Scalars["JsonObject"]["input"];
|
|
3722
|
+
request: RequestRawInput;
|
|
3723
|
+
response?: InputMaybe<ResponseRawInput>;
|
|
3724
|
+
};
|
|
3725
|
+
export type TestWorkflowPassivePayload = {
|
|
3726
|
+
error?: Maybe<TestWorkflowPassiveError>;
|
|
3727
|
+
runState?: Maybe<Scalars["JsonObject"]["output"]>;
|
|
3728
|
+
};
|
|
3682
3729
|
export type TogglePluginError = OtherUserError | PluginUserError | UnknownIdUserError;
|
|
3683
3730
|
export type TogglePluginPayload = {
|
|
3684
3731
|
error?: Maybe<TogglePluginError>;
|
|
@@ -4032,6 +4079,7 @@ export declare const WorkflowErrorReason: {
|
|
|
4032
4079
|
readonly ExecutionError: "EXECUTION_ERROR";
|
|
4033
4080
|
readonly InvalidInput: "INVALID_INPUT";
|
|
4034
4081
|
readonly InvalidProperty: "INVALID_PROPERTY";
|
|
4082
|
+
readonly InvalidTrigger: "INVALID_TRIGGER";
|
|
4035
4083
|
readonly InvalidWorkflow: "INVALID_WORKFLOW";
|
|
4036
4084
|
};
|
|
4037
4085
|
export type WorkflowErrorReason = (typeof WorkflowErrorReason)[keyof typeof WorkflowErrorReason];
|
|
@@ -19637,7 +19685,7 @@ export type WorkflowQueryVariables = Exact<{
|
|
|
19637
19685
|
export type WorkflowQuery = {
|
|
19638
19686
|
workflow?: {
|
|
19639
19687
|
__typename: "Workflow";
|
|
19640
|
-
definition:
|
|
19688
|
+
definition: Record<string, unknown>;
|
|
19641
19689
|
id: string;
|
|
19642
19690
|
kind: WorkflowKind;
|
|
19643
19691
|
name: string;
|
|
@@ -19646,13 +19694,13 @@ export type WorkflowQuery = {
|
|
|
19646
19694
|
readOnly: boolean;
|
|
19647
19695
|
} | undefined | null;
|
|
19648
19696
|
};
|
|
19649
|
-
export type
|
|
19697
|
+
export type WorkflowsStateQueryVariables = Exact<{
|
|
19650
19698
|
[key: string]: never;
|
|
19651
19699
|
}>;
|
|
19652
|
-
export type
|
|
19700
|
+
export type WorkflowsStateQuery = {
|
|
19653
19701
|
workflows: Array<{
|
|
19654
19702
|
__typename: "Workflow";
|
|
19655
|
-
definition:
|
|
19703
|
+
definition: Record<string, unknown>;
|
|
19656
19704
|
id: string;
|
|
19657
19705
|
kind: WorkflowKind;
|
|
19658
19706
|
name: string;
|
|
@@ -19660,14 +19708,9 @@ export type WorkflowsQuery = {
|
|
|
19660
19708
|
global: boolean;
|
|
19661
19709
|
readOnly: boolean;
|
|
19662
19710
|
}>;
|
|
19663
|
-
};
|
|
19664
|
-
export type WorkflowNodeDefinitionsQueryVariables = Exact<{
|
|
19665
|
-
[key: string]: never;
|
|
19666
|
-
}>;
|
|
19667
|
-
export type WorkflowNodeDefinitionsQuery = {
|
|
19668
19711
|
workflowNodeDefinitions: Array<{
|
|
19669
19712
|
__typename: "WorkflowNodeDefinition";
|
|
19670
|
-
raw:
|
|
19713
|
+
raw: Record<string, unknown>;
|
|
19671
19714
|
}>;
|
|
19672
19715
|
};
|
|
19673
19716
|
export type CreatedWorkflowSubscriptionVariables = Exact<{
|
|
@@ -19679,7 +19722,7 @@ export type CreatedWorkflowSubscription = {
|
|
|
19679
19722
|
cursor: string;
|
|
19680
19723
|
node: {
|
|
19681
19724
|
__typename: "Workflow";
|
|
19682
|
-
definition:
|
|
19725
|
+
definition: Record<string, unknown>;
|
|
19683
19726
|
id: string;
|
|
19684
19727
|
kind: WorkflowKind;
|
|
19685
19728
|
name: string;
|
|
@@ -19707,7 +19750,7 @@ export type UpdatedWorkflowSubscription = {
|
|
|
19707
19750
|
cursor: string;
|
|
19708
19751
|
node: {
|
|
19709
19752
|
__typename: "Workflow";
|
|
19710
|
-
definition:
|
|
19753
|
+
definition: Record<string, unknown>;
|
|
19711
19754
|
id: string;
|
|
19712
19755
|
kind: WorkflowKind;
|
|
19713
19756
|
name: string;
|
|
@@ -19729,7 +19772,7 @@ export type WorkflowMetaFragment = {
|
|
|
19729
19772
|
};
|
|
19730
19773
|
export type WorkflowFullFragment = {
|
|
19731
19774
|
__typename: "Workflow";
|
|
19732
|
-
definition:
|
|
19775
|
+
definition: Record<string, unknown>;
|
|
19733
19776
|
id: string;
|
|
19734
19777
|
kind: WorkflowKind;
|
|
19735
19778
|
name: string;
|
|
@@ -19739,7 +19782,7 @@ export type WorkflowFullFragment = {
|
|
|
19739
19782
|
};
|
|
19740
19783
|
export type WorkflowNodeDefinitionFullFragment = {
|
|
19741
19784
|
__typename: "WorkflowNodeDefinition";
|
|
19742
|
-
raw:
|
|
19785
|
+
raw: Record<string, unknown>;
|
|
19743
19786
|
};
|
|
19744
19787
|
export type WorkflowTaskMetaFragment = {
|
|
19745
19788
|
__typename: "WorkflowTask";
|
|
@@ -19772,7 +19815,7 @@ export type CreateWorkflowMutation = {
|
|
|
19772
19815
|
} | undefined | null;
|
|
19773
19816
|
workflow?: {
|
|
19774
19817
|
__typename: "Workflow";
|
|
19775
|
-
definition:
|
|
19818
|
+
definition: Record<string, unknown>;
|
|
19776
19819
|
id: string;
|
|
19777
19820
|
kind: WorkflowKind;
|
|
19778
19821
|
name: string;
|
|
@@ -19817,7 +19860,7 @@ export type ToggleWorkflowMutation = {
|
|
|
19817
19860
|
} | undefined | null;
|
|
19818
19861
|
workflow?: {
|
|
19819
19862
|
__typename: "Workflow";
|
|
19820
|
-
definition:
|
|
19863
|
+
definition: Record<string, unknown>;
|
|
19821
19864
|
id: string;
|
|
19822
19865
|
kind: WorkflowKind;
|
|
19823
19866
|
name: string;
|
|
@@ -19846,7 +19889,7 @@ export type RenameWorkflowMutation = {
|
|
|
19846
19889
|
} | undefined | null;
|
|
19847
19890
|
workflow?: {
|
|
19848
19891
|
__typename: "Workflow";
|
|
19849
|
-
definition:
|
|
19892
|
+
definition: Record<string, unknown>;
|
|
19850
19893
|
id: string;
|
|
19851
19894
|
kind: WorkflowKind;
|
|
19852
19895
|
name: string;
|
|
@@ -19881,7 +19924,7 @@ export type UpdateWorkflowMutation = {
|
|
|
19881
19924
|
} | undefined | null;
|
|
19882
19925
|
workflow?: {
|
|
19883
19926
|
__typename: "Workflow";
|
|
19884
|
-
definition:
|
|
19927
|
+
definition: Record<string, unknown>;
|
|
19885
19928
|
id: string;
|
|
19886
19929
|
kind: WorkflowKind;
|
|
19887
19930
|
name: string;
|
|
@@ -19972,7 +20015,7 @@ export type GlobalizeWorkflowMutation = {
|
|
|
19972
20015
|
} | undefined | null;
|
|
19973
20016
|
workflow?: {
|
|
19974
20017
|
__typename: "Workflow";
|
|
19975
|
-
definition:
|
|
20018
|
+
definition: Record<string, unknown>;
|
|
19976
20019
|
id: string;
|
|
19977
20020
|
kind: WorkflowKind;
|
|
19978
20021
|
name: string;
|
|
@@ -20006,7 +20049,7 @@ export type LocalizeWorkflowMutation = {
|
|
|
20006
20049
|
} | undefined | null;
|
|
20007
20050
|
workflow?: {
|
|
20008
20051
|
__typename: "Workflow";
|
|
20009
|
-
definition:
|
|
20052
|
+
definition: Record<string, unknown>;
|
|
20010
20053
|
id: string;
|
|
20011
20054
|
kind: WorkflowKind;
|
|
20012
20055
|
name: string;
|
|
@@ -20016,6 +20059,73 @@ export type LocalizeWorkflowMutation = {
|
|
|
20016
20059
|
} | undefined | null;
|
|
20017
20060
|
};
|
|
20018
20061
|
};
|
|
20062
|
+
export type TestWorkflowConvertMutationVariables = Exact<{
|
|
20063
|
+
input: TestWorkflowConvertInput;
|
|
20064
|
+
}>;
|
|
20065
|
+
export type TestWorkflowConvertMutation = {
|
|
20066
|
+
testWorkflowConvert: {
|
|
20067
|
+
output?: string | undefined | null;
|
|
20068
|
+
runState?: Record<string, unknown> | undefined | null;
|
|
20069
|
+
error?: {
|
|
20070
|
+
__typename: "OtherUserError";
|
|
20071
|
+
code: string;
|
|
20072
|
+
} | {
|
|
20073
|
+
__typename: "PermissionDeniedUserError";
|
|
20074
|
+
code: string;
|
|
20075
|
+
permissionDeniedReason: PermissionDeniedErrorReason;
|
|
20076
|
+
} | {
|
|
20077
|
+
__typename: "WorkflowUserError";
|
|
20078
|
+
node?: string | undefined | null;
|
|
20079
|
+
message: string;
|
|
20080
|
+
reason: WorkflowErrorReason;
|
|
20081
|
+
code: string;
|
|
20082
|
+
} | undefined | null;
|
|
20083
|
+
};
|
|
20084
|
+
};
|
|
20085
|
+
export type TestWorkflowActiveMutationVariables = Exact<{
|
|
20086
|
+
input: TestWorkflowActiveInput;
|
|
20087
|
+
}>;
|
|
20088
|
+
export type TestWorkflowActiveMutation = {
|
|
20089
|
+
testWorkflowActive: {
|
|
20090
|
+
runState?: Record<string, unknown> | undefined | null;
|
|
20091
|
+
error?: {
|
|
20092
|
+
__typename: "OtherUserError";
|
|
20093
|
+
code: string;
|
|
20094
|
+
} | {
|
|
20095
|
+
__typename: "PermissionDeniedUserError";
|
|
20096
|
+
code: string;
|
|
20097
|
+
permissionDeniedReason: PermissionDeniedErrorReason;
|
|
20098
|
+
} | {
|
|
20099
|
+
__typename: "WorkflowUserError";
|
|
20100
|
+
node?: string | undefined | null;
|
|
20101
|
+
message: string;
|
|
20102
|
+
reason: WorkflowErrorReason;
|
|
20103
|
+
code: string;
|
|
20104
|
+
} | undefined | null;
|
|
20105
|
+
};
|
|
20106
|
+
};
|
|
20107
|
+
export type TestWorkflowPassiveMutationVariables = Exact<{
|
|
20108
|
+
input: TestWorkflowPassiveInput;
|
|
20109
|
+
}>;
|
|
20110
|
+
export type TestWorkflowPassiveMutation = {
|
|
20111
|
+
testWorkflowPassive: {
|
|
20112
|
+
runState?: Record<string, unknown> | undefined | null;
|
|
20113
|
+
error?: {
|
|
20114
|
+
__typename: "OtherUserError";
|
|
20115
|
+
code: string;
|
|
20116
|
+
} | {
|
|
20117
|
+
__typename: "PermissionDeniedUserError";
|
|
20118
|
+
code: string;
|
|
20119
|
+
permissionDeniedReason: PermissionDeniedErrorReason;
|
|
20120
|
+
} | {
|
|
20121
|
+
__typename: "WorkflowUserError";
|
|
20122
|
+
node?: string | undefined | null;
|
|
20123
|
+
message: string;
|
|
20124
|
+
reason: WorkflowErrorReason;
|
|
20125
|
+
code: string;
|
|
20126
|
+
} | undefined | null;
|
|
20127
|
+
};
|
|
20128
|
+
};
|
|
20019
20129
|
export declare const AssistantModelFullFragmentDoc = "\n fragment assistantModelFull on AssistantModel {\n __typename\n id\n name\n tokenCredit\n}\n ";
|
|
20020
20130
|
export declare const AssistantSessionMetaFragmentDoc = "\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n ";
|
|
20021
20131
|
export declare const AssistantMessageFullFragmentDoc = "\n fragment assistantMessageFull on AssistantMessage {\n __typename\n id\n content\n role\n session {\n id\n }\n}\n ";
|
|
@@ -20456,8 +20566,7 @@ export declare const UpdateViewerSettingsDocument = "\n mutation updateViewer
|
|
|
20456
20566
|
export declare const UserProfileDocument = "\n query userProfile {\n viewer {\n id\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 ";
|
|
20457
20567
|
export declare const UserSettingsDocument = "\n query userSettings {\n viewer {\n id\n settings {\n ...userSettingsFull\n }\n }\n}\n \n fragment userSettingsFull on UserSettings {\n __typename\n data\n migrations\n}\n ";
|
|
20458
20568
|
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 ";
|
|
20459
|
-
export declare const
|
|
20460
|
-
export declare const WorkflowNodeDefinitionsDocument = "\n query workflowNodeDefinitions {\n workflowNodeDefinitions {\n ...workflowNodeDefinitionFull\n }\n}\n \n fragment workflowNodeDefinitionFull on WorkflowNodeDefinition {\n __typename\n raw\n}\n ";
|
|
20569
|
+
export declare const WorkflowsStateDocument = "\n query workflowsState {\n workflows {\n ...workflowFull\n }\n workflowNodeDefinitions {\n ...workflowNodeDefinitionFull\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 \n\n fragment workflowNodeDefinitionFull on WorkflowNodeDefinition {\n __typename\n raw\n}\n ";
|
|
20461
20570
|
export declare const CreatedWorkflowDocument = "\n subscription createdWorkflow {\n createdWorkflow {\n workflowEdge {\n cursor\n node {\n ...workflowFull\n }\n }\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 ";
|
|
20462
20571
|
export declare const DeletedWorkflowDocument = "\n subscription deletedWorkflow {\n deletedWorkflow {\n deletedWorkflowId\n }\n}\n ";
|
|
20463
20572
|
export declare const UpdatedWorkflowDocument = "\n subscription updatedWorkflow {\n updatedWorkflow {\n workflowEdge {\n cursor\n node {\n ...workflowFull\n }\n }\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 ";
|
|
@@ -20470,6 +20579,9 @@ export declare const RunConvertWorkflowDocument = "\n mutation runConvertWork
|
|
|
20470
20579
|
export declare const RunActiveWorkflowDocument = "\n mutation runActiveWorkflow($id: ID!, $input: RunActiveWorkflowInput!) {\n runActiveWorkflow(id: $id, input: $input) {\n error {\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n task {\n ...workflowTaskMeta\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 permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment workflowTaskMeta on WorkflowTask {\n ...taskMeta\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment taskMeta on Task {\n __typename\n id\n createdAt\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
|
|
20471
20580
|
export declare const GlobalizeWorkflowDocument = "\n mutation globalizeWorkflow($id: ID!) {\n globalizeWorkflow(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 ";
|
|
20472
20581
|
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 ";
|
|
20582
|
+
export declare const TestWorkflowConvertDocument = "\n mutation testWorkflowConvert($input: TestWorkflowConvertInput!) {\n testWorkflowConvert(input: $input) {\n error {\n ... on WorkflowUserError {\n ...workflowUserErrorFull\n }\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n output\n runState\n }\n}\n \n fragment workflowUserErrorFull on WorkflowUserError {\n ...userErrorFull\n node\n message\n reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
|
|
20583
|
+
export declare const TestWorkflowActiveDocument = "\n mutation testWorkflowActive($input: TestWorkflowActiveInput!) {\n testWorkflowActive(input: $input) {\n error {\n ... on WorkflowUserError {\n ...workflowUserErrorFull\n }\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n runState\n }\n}\n \n fragment workflowUserErrorFull on WorkflowUserError {\n ...userErrorFull\n node\n message\n reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
|
|
20584
|
+
export declare const TestWorkflowPassiveDocument = "\n mutation testWorkflowPassive($input: TestWorkflowPassiveInput!) {\n testWorkflowPassive(input: $input) {\n error {\n ... on WorkflowUserError {\n ...workflowUserErrorFull\n }\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n runState\n }\n}\n \n fragment workflowUserErrorFull on WorkflowUserError {\n ...userErrorFull\n node\n message\n reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
|
|
20473
20585
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
|
|
20474
20586
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
20475
20587
|
assistantSessions(variables?: AssistantSessionsQueryVariables, options?: C): Promise<AssistantSessionsQuery>;
|
|
@@ -20728,8 +20840,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
20728
20840
|
userProfile(variables?: UserProfileQueryVariables, options?: C): Promise<UserProfileQuery>;
|
|
20729
20841
|
userSettings(variables?: UserSettingsQueryVariables, options?: C): Promise<UserSettingsQuery>;
|
|
20730
20842
|
workflow(variables: WorkflowQueryVariables, options?: C): Promise<WorkflowQuery>;
|
|
20731
|
-
|
|
20732
|
-
workflowNodeDefinitions(variables?: WorkflowNodeDefinitionsQueryVariables, options?: C): Promise<WorkflowNodeDefinitionsQuery>;
|
|
20843
|
+
workflowsState(variables?: WorkflowsStateQueryVariables, options?: C): Promise<WorkflowsStateQuery>;
|
|
20733
20844
|
createdWorkflow(variables?: CreatedWorkflowSubscriptionVariables, options?: C): AsyncIterable<CreatedWorkflowSubscription>;
|
|
20734
20845
|
deletedWorkflow(variables?: DeletedWorkflowSubscriptionVariables, options?: C): AsyncIterable<DeletedWorkflowSubscription>;
|
|
20735
20846
|
updatedWorkflow(variables?: UpdatedWorkflowSubscriptionVariables, options?: C): AsyncIterable<UpdatedWorkflowSubscription>;
|
|
@@ -20742,6 +20853,9 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
20742
20853
|
runActiveWorkflow(variables: RunActiveWorkflowMutationVariables, options?: C): Promise<RunActiveWorkflowMutation>;
|
|
20743
20854
|
globalizeWorkflow(variables: GlobalizeWorkflowMutationVariables, options?: C): Promise<GlobalizeWorkflowMutation>;
|
|
20744
20855
|
localizeWorkflow(variables: LocalizeWorkflowMutationVariables, options?: C): Promise<LocalizeWorkflowMutation>;
|
|
20856
|
+
testWorkflowConvert(variables: TestWorkflowConvertMutationVariables, options?: C): Promise<TestWorkflowConvertMutation>;
|
|
20857
|
+
testWorkflowActive(variables: TestWorkflowActiveMutationVariables, options?: C): Promise<TestWorkflowActiveMutation>;
|
|
20858
|
+
testWorkflowPassive(variables: TestWorkflowPassiveMutationVariables, options?: C): Promise<TestWorkflowPassiveMutation>;
|
|
20745
20859
|
};
|
|
20746
20860
|
export type Sdk = ReturnType<typeof getSdk>;
|
|
20747
20861
|
export {};
|