@masterteam/flowplus-workflow 0.0.11 → 0.0.12

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.
@@ -15,7 +15,9 @@ import * as i1 from '@foblex/flow';
15
15
  import { FFlowComponent, FCanvasComponent, EFMarkerType, EFCanvasLayer, FCanvasChangeEvent, FCreateNodeEvent, FCreateConnectionEvent, FReassignConnectionEvent, FDragStartedEvent, FMoveNodesEvent, FSelectionChangeEvent } from '@foblex/flow';
16
16
  import { IPoint } from '@foblex/2d';
17
17
  import { ColumnDef, TableAction } from '@masterteam/components/table';
18
+ import { PageHeaderTab } from '@masterteam/components/page-header';
18
19
  import { OptionItem } from '@masterteam/components/tabs';
20
+ import { ClientPageMenuItem } from '@masterteam/components/client-page-menu';
19
21
 
20
22
  /**
21
23
  * Common API envelope used by FlowPlus2 backend.
@@ -639,597 +641,6 @@ interface WorkflowBuilderPermissionsDto {
639
641
  isAdmin: boolean;
640
642
  }
641
643
 
642
- type WorkflowFormBindingMode = 'None' | 'ModuleFallback' | 'LevelFallback' | 'StepSpecific' | string;
643
- interface WorkflowStepFormBindingDto {
644
- stepId: number;
645
- mode: WorkflowFormBindingMode;
646
- formId?: number | null;
647
- moduleId?: number | null;
648
- formKey?: string | null;
649
- formName?: TranslatableText | string | null;
650
- inheritedFrom?: 'Module' | 'Level' | null;
651
- visibleFieldKeys?: string[];
652
- readOnlyFieldKeys?: string[];
653
- requiredFieldKeys?: string[];
654
- hiddenFieldKeys?: string[];
655
- }
656
- interface WorkflowStepFormUpdateRequest {
657
- mode: WorkflowFormBindingMode;
658
- formId?: number | null;
659
- visibleFieldKeys?: string[];
660
- readOnlyFieldKeys?: string[];
661
- requiredFieldKeys?: string[];
662
- hiddenFieldKeys?: string[];
663
- rowVersion?: string | null;
664
- clientMutationId?: string;
665
- }
666
- interface WorkflowFormBindingContractDto {
667
- bindingType: string;
668
- workflowId?: number | null;
669
- stepSchemaId?: number | null;
670
- moduleType?: string | null;
671
- moduleId?: number | null;
672
- levelType?: string | null;
673
- levelId?: number | null;
674
- runtimeLoaderEndpoint?: string | null;
675
- designTimeEndpoint?: string | null;
676
- }
677
- interface WorkflowStepFormContractDto {
678
- workflowId?: number | null;
679
- stepSchemaId?: number | null;
680
- binding?: WorkflowFormBindingContractDto | null;
681
- runtimeEndpoint?: string | null;
682
- method?: string | null;
683
- runtimeRequestDto?: string | null;
684
- designTimeEndpointTemplate?: string | null;
685
- designTimeLevelEndpointTemplate?: string | null;
686
- requiredFields?: string[];
687
- optionalFields?: string[];
688
- notes?: Record<string, string> | null;
689
- }
690
-
691
- type WorkflowStepCategory = 'Trigger' | 'Human' | 'Forms' | 'Automation' | 'Apps' | 'Logic' | 'FlowControl' | 'Subworkflow' | 'System' | string;
692
- interface WorkflowCatalogOptionDto {
693
- key: string;
694
- value?: string;
695
- label?: string;
696
- displayName?: TranslatableText | string;
697
- description?: TranslatableText | string | null;
698
- icon?: string | null;
699
- colorToken?: string | null;
700
- metadata?: Record<string, unknown> | null;
701
- }
702
- interface WorkflowStepTypeCapabilityItemDto {
703
- stepType: string;
704
- canAttachForm?: boolean;
705
- canAttachPlugin?: boolean;
706
- canAttachAppAction?: boolean;
707
- canTargetActor?: boolean;
708
- canHaveIncomingConnections?: boolean;
709
- canHaveOutgoingConnections?: boolean;
710
- canUseSelectedActionConnections?: boolean;
711
- supportsSubworkflow?: boolean;
712
- supportsParallelBranching?: boolean;
713
- supportsInputMappings?: boolean;
714
- supportsOutputMappings?: boolean;
715
- supportsContextInput?: boolean;
716
- producesContextOutput?: boolean;
717
- supportsRetry?: boolean;
718
- supportsTimeout?: boolean;
719
- supportsMappings?: boolean;
720
- canBeStartStep?: boolean;
721
- canBeTerminalStep?: boolean;
722
- canBeSystemStep?: boolean;
723
- isHumanStep?: boolean;
724
- isSystemStep?: boolean;
725
- isRuntimeExecutable?: boolean;
726
- }
727
- interface WorkflowStepDefaultsItemDto {
728
- stepType: string;
729
- targetType?: string | null;
730
- groupSelection?: string;
731
- sla?: number | null;
732
- slaHours?: number | null;
733
- actions?: unknown[];
734
- config?: Record<string, unknown> | null;
735
- }
736
- interface WorkflowStepTypeCatalogItemDto {
737
- type: WorkflowStepType;
738
- key: string;
739
- typeKey?: string | null;
740
- displayName: TranslatableText | string;
741
- description?: TranslatableText | string | null;
742
- category: WorkflowStepCategory;
743
- icon: string;
744
- colorToken: string;
745
- tags?: string[];
746
- canCreate: boolean;
747
- isAvailable?: boolean;
748
- unavailableReason?: TranslatableText | string | null;
749
- supportsForm: boolean;
750
- supportsActions: boolean;
751
- supportsInputMappings: boolean;
752
- supportsOutputMappings: boolean;
753
- supportsContextWrites: boolean;
754
- isSystem: boolean;
755
- isLocked?: boolean;
756
- requiresTarget?: boolean;
757
- isSystemExecutable?: boolean;
758
- isHuman?: boolean;
759
- supportsContextInput?: boolean;
760
- producesContextOutput?: boolean;
761
- supportsRetry?: boolean;
762
- supportsTimeout?: boolean;
763
- supportsMappings?: boolean;
764
- canBeStartStep?: boolean;
765
- canBeTerminalStep?: boolean;
766
- capabilities?: WorkflowStepTypeCapabilityItemDto | null;
767
- routeOutputKeys?: string[];
768
- defaults?: WorkflowStepDefaultsItemDto | null;
769
- configSchema?: JsonSchemaLite | null;
770
- defaultConfig?: Record<string, unknown> | null;
771
- metadata?: Record<string, unknown> | null;
772
- }
773
- interface WorkflowStepActionCatalogItemDto extends WorkflowCatalogOptionDto {
774
- type?: string;
775
- typeKey?: string;
776
- routingBehavior?: string | null;
777
- routesThroughSelectedActionConnection?: boolean;
778
- isTerminal?: boolean;
779
- isRouteable?: boolean;
780
- canRoute?: boolean;
781
- }
782
- interface WorkflowCatalogDefaultsDto {
783
- triggerType?: string;
784
- groupSelection?: string;
785
- failureBehavior?: string;
786
- contextWritePolicy?: string;
787
- }
788
- interface WorkflowBuilderCapabilitiesDto {
789
- supportsBatchSave?: boolean;
790
- supportsClientMutationId?: boolean;
791
- supportsRowVersion?: boolean;
792
- supportsTestRun?: boolean;
793
- supportsContextPathValidation?: boolean;
794
- supportsLayoutOnCreate?: boolean;
795
- supportsMultiAppActions?: boolean;
796
- supportsContextCatalogPerStep?: boolean;
797
- supportsWorkflowTemplates?: boolean;
798
- }
799
- interface WorkflowRuntimeRoutingPolicyDto {
800
- routeableActions?: string[];
801
- routeableSelectedActionTypes?: string[];
802
- terminalActions?: string[];
803
- terminalActionTypes?: string[];
804
- returnActionBehavior?: 'ReturnToRequester' | 'ReturnToPrevious' | string;
805
- behavior?: string | null;
806
- }
807
- interface WorkflowCatalogDto {
808
- stepTypes: WorkflowStepTypeCatalogItemDto[];
809
- triggerTypes: WorkflowCatalogOptionDto[];
810
- targetTypes: WorkflowCatalogOptionDto[];
811
- groupSelections: WorkflowCatalogOptionDto[];
812
- stepActions: WorkflowStepActionCatalogItemDto[];
813
- connectionConditionTypes: WorkflowCatalogOptionDto[];
814
- appActionFailureBehaviors: WorkflowCatalogOptionDto[];
815
- pluginFailureBehaviors: WorkflowCatalogOptionDto[];
816
- contextWritePolicies: WorkflowCatalogOptionDto[];
817
- dataTypes?: WorkflowCatalogOptionDto[];
818
- systemStepTypes: WorkflowCatalogOptionDto[];
819
- configSchemas?: Array<{
820
- stepType: string;
821
- fields: unknown[];
822
- }>;
823
- defaults: WorkflowCatalogDefaultsDto;
824
- capabilities: WorkflowBuilderCapabilitiesDto;
825
- runtimeRoutingPolicy?: WorkflowRuntimeRoutingPolicyDto | null;
826
- stepFormContract?: WorkflowStepFormContractDto | null;
827
- }
828
- interface WorkflowAppDescriptorDto {
829
- appCode: string;
830
- displayName: TranslatableText | string;
831
- description?: TranslatableText | string | null;
832
- icon?: string | null;
833
- category?: string | null;
834
- actionCount?: number | null;
835
- }
836
- interface WorkflowAppActionDescriptorDto {
837
- actionKey: string;
838
- appCode?: string | null;
839
- displayName: TranslatableText | string;
840
- description?: TranslatableText | string | null;
841
- category?: string | null;
842
- icon?: string | null;
843
- configSchema?: JsonSchemaLite | null;
844
- configSchemaJson?: string | null;
845
- runtimeInputsSchema?: JsonSchemaLite | null;
846
- outputsSchema?: JsonSchemaLite | null;
847
- inputSchema?: unknown[];
848
- outputSchema?: unknown[];
849
- fields?: unknown[];
850
- configFields?: unknown[];
851
- runtimeInputs?: unknown[];
852
- outputs?: unknown[];
853
- supportsAsync?: boolean;
854
- supportsRetry?: boolean;
855
- failureBehaviors?: string[];
856
- requiredPermissions?: string[];
857
- outputsPersistableToContext?: string[];
858
- requiredContextKeys?: string[];
859
- supportedScopes?: string[];
860
- supportedPhases?: string[];
861
- }
862
- interface WorkflowAppActionOptionDto {
863
- value: string;
864
- label: TranslatableText | string;
865
- description?: TranslatableText | string | null;
866
- metadata?: Record<string, unknown> | null;
867
- }
868
- interface WorkflowPluginDescriptorDto {
869
- pluginId: string;
870
- displayName: TranslatableText | string;
871
- description?: TranslatableText | string | null;
872
- category?: string | null;
873
- icon?: string | null;
874
- inputSchema?: JsonSchemaLite | null;
875
- outputSchema?: JsonSchemaLite | null;
876
- inputSchemaJson?: string | null;
877
- outputSchemaJson?: string | null;
878
- inputFields?: unknown[];
879
- outputFields?: unknown[];
880
- supportsAsync?: boolean;
881
- defaultTimeoutSeconds?: number | null;
882
- isAvailable?: boolean;
883
- errorMessage?: string | null;
884
- }
885
-
886
- type WorkflowContextValueType = 'string' | 'number' | 'boolean' | 'date' | 'datetime' | 'object' | 'array' | 'file' | 'secret' | 'reference' | string;
887
- type WorkflowContextSourceType = 'Property' | 'property' | 'Trigger' | 'trigger' | 'Variable' | 'variable' | 'StepOutput' | 'stepOutput' | 'StepAction' | 'stepAction' | 'System' | 'system' | 'Resource' | 'resource' | 'Environment' | 'environment' | 'Metadata' | 'metadata' | 'Context' | 'context' | string;
888
- interface WorkflowContextCatalogSourceDto {
889
- path: string;
890
- type: WorkflowContextValueType;
891
- label: TranslatableText | string;
892
- sourceType: WorkflowContextSourceType;
893
- entityType?: string | null;
894
- entityId?: number | null;
895
- stepSchemaId?: number | null;
896
- stepKey?: string | null;
897
- availableFromStepKey?: string | null;
898
- isSecret: boolean;
899
- isWritable: boolean;
900
- isProducedBeforeCurrentStep?: boolean | null;
901
- isCollection?: boolean | null;
902
- isExternalized?: boolean | null;
903
- description?: TranslatableText | string | null;
904
- exampleValue?: unknown;
905
- }
906
- interface WorkflowContextCatalogDto {
907
- workflowId: number;
908
- forStepSchemaId?: number | null;
909
- sources: WorkflowContextCatalogSourceDto[];
910
- generatedAt?: string | null;
911
- }
912
- interface WorkflowContextPathValidationRequest {
913
- paths: string[];
914
- forStepSchemaId?: number | null;
915
- }
916
- interface WorkflowContextPathValidationResultDto {
917
- results: Array<{
918
- path: string;
919
- isValid: boolean;
920
- isAvailable: boolean;
921
- type?: WorkflowContextValueType | null;
922
- message?: TranslatableText | string | null;
923
- }>;
924
- }
925
-
926
- type WorkflowValidationIssueSeverity = 'Error' | 'Warning' | 'Info' | string;
927
- type WorkflowValidationEntityType = 'Workflow' | 'Trigger' | 'Step' | 'Connection' | 'Credential' | 'Form' | 'Expression' | 'ContextPath' | 'Resource' | string;
928
- type WorkflowValidationGroupKey = 'issues' | 'errors' | 'warnings' | 'graphErrors' | 'triggerErrors' | 'nodeErrors' | 'routeErrors' | 'credentialSecurityErrors' | 'formBindingErrors' | 'expressionErrors' | 'publishBlockers' | string;
929
- interface WorkflowValidationIssueDto {
930
- code: string;
931
- severity: WorkflowValidationIssueSeverity;
932
- entityType: WorkflowValidationEntityType;
933
- entityId?: number | string | null;
934
- targetType?: string | null;
935
- targetKey?: string | null;
936
- field?: string | null;
937
- fieldPath?: string | null;
938
- message: TranslatableText | string;
939
- helpText?: TranslatableText | string | null;
940
- suggestedAction?: TranslatableText | string | null;
941
- relatedEntityType?: WorkflowValidationEntityType | string | null;
942
- relatedEntityId?: number | string | null;
943
- suggestedFix?: string | null;
944
- blocksPublish?: boolean | null;
945
- sourceGroup?: WorkflowValidationGroupKey | null;
946
- }
947
- interface WorkflowValidationGroupedIssuesDto {
948
- issues: WorkflowValidationIssueDto[];
949
- errors: WorkflowValidationIssueDto[];
950
- warnings: WorkflowValidationIssueDto[];
951
- graphErrors: WorkflowValidationIssueDto[];
952
- triggerErrors: WorkflowValidationIssueDto[];
953
- nodeErrors: WorkflowValidationIssueDto[];
954
- routeErrors: WorkflowValidationIssueDto[];
955
- credentialSecurityErrors: WorkflowValidationIssueDto[];
956
- formBindingErrors: WorkflowValidationIssueDto[];
957
- expressionErrors: WorkflowValidationIssueDto[];
958
- publishBlockers: WorkflowValidationIssueDto[];
959
- }
960
- interface WorkflowValidationResultDto {
961
- isValid: boolean;
962
- canPublish?: boolean | null;
963
- issues?: WorkflowValidationIssueDto[];
964
- errors: WorkflowValidationIssueDto[];
965
- warnings: WorkflowValidationIssueDto[];
966
- info?: WorkflowValidationIssueDto[];
967
- groups?: WorkflowValidationGroupedIssuesDto | null;
968
- publishBlockers?: WorkflowValidationIssueDto[];
969
- raw?: unknown;
970
- checkedAt?: string | null;
971
- }
972
-
973
- interface WorkflowBuilderDto {
974
- workflow: WorkflowDefinitionDto;
975
- definition?: WorkflowDefinitionDto;
976
- workflowId?: number;
977
- version?: number | null;
978
- draftVersion?: number | null;
979
- publishedVersion?: number | null;
980
- canPublish?: boolean;
981
- supports?: WorkflowStepType[];
982
- catalog?: WorkflowCatalogDto | null;
983
- triggers: WorkflowTriggerDto[];
984
- steps: WorkflowStepDto[];
985
- connections: WorkflowConnectionDto[];
986
- variables: WorkflowVariableDto[];
987
- resources: WorkflowResourceBindingDto[];
988
- contextCatalog?: WorkflowContextCatalogDto | null;
989
- layout?: WorkflowLayoutDto | null;
990
- validation?: WorkflowValidationResultDto | null;
991
- permissions?: WorkflowBuilderPermissionsDto | null;
992
- rowVersion?: string | null;
993
- }
994
- interface BatchBuilderPatchRequest {
995
- rowVersion?: string | null;
996
- clientMutationId?: string;
997
- createSteps?: unknown[];
998
- updateSteps?: unknown[];
999
- deleteStepIds?: number[];
1000
- createConnections?: unknown[];
1001
- updateConnections?: unknown[];
1002
- deleteConnectionIds?: number[];
1003
- layout?: WorkflowLayoutDto | null;
1004
- }
1005
-
1006
- type WorkflowTestRunMode = 'ValidateOnly' | 'DryRun' | 'ExecuteSandbox' | string;
1007
- type WorkflowTestRunStatus = 'Pending' | 'Running' | 'Succeeded' | 'Failed' | string;
1008
- type WorkflowTestStepStatus = 'Pending' | 'Running' | 'Succeeded' | 'Failed' | 'Skipped' | string;
1009
- interface WorkflowTestRunRequest {
1010
- triggerId?: number | null;
1011
- triggerKey?: string | null;
1012
- triggerType?: string | null;
1013
- payload?: Record<string, unknown> | null;
1014
- propertyValues?: Record<string, unknown> | null;
1015
- pinnedContext?: Record<string, unknown> | null;
1016
- runUntilStepId?: number | null;
1017
- mode: WorkflowTestRunMode;
1018
- samplePayload?: Record<string, unknown> | null;
1019
- sampleProperties?: Record<string, unknown> | null;
1020
- startStepSchemaId?: number | null;
1021
- maxSteps?: number | null;
1022
- dryRun?: boolean | null;
1023
- startStepId?: number | null;
1024
- selectedActionType?: string | null;
1025
- selectedActionsByStepId?: Record<number, string | null>;
1026
- inputs?: Record<string, unknown> | null;
1027
- triggerPayload?: Record<string, unknown> | null;
1028
- contextValues?: Record<string, unknown> | null;
1029
- mockStepOutputs?: Record<string, Record<string, unknown>> | null;
1030
- mockPlugins?: boolean | null;
1031
- mockAppActions?: boolean | null;
1032
- }
1033
- interface WorkflowTestStepResultDto {
1034
- stepId: number;
1035
- stepKey?: string | null;
1036
- stepType?: string | null;
1037
- status: WorkflowTestStepStatus;
1038
- startedAt?: string | null;
1039
- completedAt?: string | null;
1040
- durationMs?: number | null;
1041
- inputs?: Record<string, unknown> | null;
1042
- outputs?: Record<string, unknown> | null;
1043
- errors?: WorkflowValidationIssueDto[];
1044
- selectedRouteConnectionId?: number | null;
1045
- selectedActionType?: string | null;
1046
- producedContextPaths?: string[];
1047
- }
1048
- interface WorkflowTestRunConnectionDecisionDto {
1049
- connectionId: number;
1050
- sourceStepId: number;
1051
- targetStepId: number;
1052
- expression?: string | null;
1053
- selectedActionMatched?: boolean;
1054
- expressionMatched?: boolean;
1055
- taken?: boolean;
1056
- reason?: string | null;
1057
- }
1058
- interface WorkflowTestRunContextValueDto {
1059
- path: string;
1060
- value?: unknown;
1061
- type?: string | null;
1062
- isSecret?: boolean;
1063
- isExternalized?: boolean;
1064
- }
1065
- interface WorkflowTestRunContextChangeDto {
1066
- path: string;
1067
- value?: unknown;
1068
- previousValue?: unknown;
1069
- writePolicy?: string | null;
1070
- sourceStepId?: number | null;
1071
- }
1072
- interface WorkflowTestRunResultDto {
1073
- workflowId?: number | null;
1074
- testRunId: string;
1075
- status: WorkflowTestRunStatus;
1076
- success?: boolean;
1077
- canStart?: boolean;
1078
- validation?: WorkflowValidationResultDto | null;
1079
- stepsPreview?: WorkflowStepDto[];
1080
- connectionsPreview?: WorkflowConnectionDto[];
1081
- startedAt?: string | null;
1082
- completedAt?: string | null;
1083
- stepResults: WorkflowTestStepResultDto[];
1084
- connectionDecisions?: WorkflowTestRunConnectionDecisionDto[];
1085
- contextPreview?: WorkflowTestRunContextValueDto[] | Record<string, unknown> | null;
1086
- visitedSteps?: WorkflowTestStepResultDto[];
1087
- selectedConnections?: WorkflowTestRunConnectionDecisionDto[];
1088
- contextChanges?: WorkflowTestRunContextChangeDto[];
1089
- validationIssues?: WorkflowValidationIssueDto[];
1090
- errors?: WorkflowValidationIssueDto[] | string[];
1091
- warnings?: WorkflowValidationIssueDto[] | string[];
1092
- reachedEnd?: boolean;
1093
- maxIterationsReached?: boolean;
1094
- notes?: string[];
1095
- contextSnapshot?: Record<string, unknown> | null;
1096
- }
1097
- type ProcessSubmitOperationKey = 'Create' | 'Update' | 'Delete' | 'Action' | string;
1098
- type ProcessSubmitStatus = 'Executed' | 'PendingApproval' | string;
1099
- interface ProcessFormLoadRequest {
1100
- moduleKey?: string | null;
1101
- operationKey?: ProcessSubmitOperationKey | null;
1102
- moduleId?: number | null;
1103
- recordId?: number | string | null;
1104
- requestId?: number | string | null;
1105
- stepId?: number | string | null;
1106
- stepSchemaId?: number | string | null;
1107
- workflowId?: number | null;
1108
- requestSchemaId?: number | null;
1109
- draftProcessId?: number | string | null;
1110
- mode?: string | null;
1111
- values?: Record<string, unknown> | null;
1112
- context?: Record<string, unknown> | null;
1113
- }
1114
- interface ProcessFormLoadResponseDto {
1115
- flow: 'Approval' | 'Direct' | string;
1116
- requiresForm: boolean;
1117
- formConfig?: Record<string, unknown> | null;
1118
- formSource?: string | null;
1119
- formConfiguration?: Record<string, unknown> | null;
1120
- availableActions?: Array<{
1121
- key: string;
1122
- label?: TranslatableText | string | null;
1123
- isTerminal?: boolean;
1124
- requiresComment?: boolean;
1125
- requiresConfirmation?: boolean;
1126
- }>;
1127
- values?: Record<string, unknown> | null;
1128
- context?: Record<string, unknown> | null;
1129
- permissions?: Record<string, unknown> | null;
1130
- validationRules?: Record<string, unknown> | null;
1131
- errors?: WorkflowValidationIssueDto[];
1132
- }
1133
- interface ProcessSubmitRequest {
1134
- moduleKey?: string | null;
1135
- operationKey?: ProcessSubmitOperationKey | null;
1136
- recordId?: number | string | null;
1137
- requestId?: number | string | null;
1138
- stepId?: number | string | null;
1139
- workflowId?: number | null;
1140
- requestSchemaId?: number | null;
1141
- actionKey?: string | null;
1142
- values?: Record<string, unknown> | null;
1143
- comment?: string | null;
1144
- clientMutationId?: string;
1145
- rowVersion?: string | null;
1146
- context?: Record<string, unknown> | null;
1147
- }
1148
- interface ProcessSubmitResponseDto {
1149
- status: ProcessSubmitStatus;
1150
- requestId?: number | string | null;
1151
- recordId?: number | string | null;
1152
- nextStepId?: number | string | null;
1153
- rowVersion?: string | null;
1154
- errors?: WorkflowValidationIssueDto[];
1155
- }
1156
- /** @deprecated Use {@link ProcessFormLoadRequest}. */
1157
- interface ProcessStartRequest {
1158
- workflowId: number;
1159
- triggerId?: number | null;
1160
- payload?: Record<string, unknown> | null;
1161
- propertyValues?: Record<string, unknown> | null;
1162
- }
1163
- /** @deprecated Use {@link ProcessSubmitResponseDto}. */
1164
- interface ProcessStartResultDto {
1165
- requestId: number;
1166
- currentStepId?: number | null;
1167
- status: string;
1168
- }
1169
- /** @deprecated Use {@link ProcessSubmitRequest}. */
1170
- interface TaskActionRequest {
1171
- requestId: number;
1172
- stepId: number;
1173
- actionKey: string;
1174
- propertyValues?: Record<string, unknown> | null;
1175
- comment?: string | null;
1176
- }
1177
- /** @deprecated Use {@link ProcessSubmitResponseDto}. */
1178
- interface TaskActionResultDto {
1179
- requestId: number;
1180
- status: string;
1181
- nextStepId?: number | null;
1182
- errors?: WorkflowValidationIssueDto[];
1183
- }
1184
-
1185
- interface ProcessContextEntryDto {
1186
- path: string;
1187
- value?: unknown;
1188
- type?: string | null;
1189
- sourceStepId?: number | null;
1190
- sourceStepKey?: string | null;
1191
- version?: number | null;
1192
- isSecret?: boolean;
1193
- isExternalized?: boolean;
1194
- updatedAt?: string | null;
1195
- }
1196
- interface ProcessContextSnapshotDto {
1197
- requestId: number;
1198
- entries: ProcessContextEntryDto[];
1199
- snapshotAt?: string | null;
1200
- }
1201
- interface ProcessContextTimelineEventDto {
1202
- eventId: string;
1203
- occurredAt: string;
1204
- sourceStepId?: number | null;
1205
- sourceStepKey?: string | null;
1206
- path: string;
1207
- oldValue?: unknown;
1208
- newValue?: unknown;
1209
- writePolicy?: string | null;
1210
- message?: TranslatableText | string | null;
1211
- }
1212
- interface ProcessContextLineageNodeDto {
1213
- path: string;
1214
- producedByStepId?: number | null;
1215
- producedByStepKey?: string | null;
1216
- producedByAction?: string | null;
1217
- inputs?: string[];
1218
- transform?: string | null;
1219
- }
1220
- interface EngineEventDto {
1221
- eventId: string;
1222
- occurredAt: string;
1223
- type: string;
1224
- stepId?: number | null;
1225
- stepKey?: string | null;
1226
- payload?: Record<string, unknown> | null;
1227
- errors?: Array<{
1228
- code: string;
1229
- message: string;
1230
- }>;
1231
- }
1232
-
1233
644
  /**
1234
645
  * AI node contracts (Builder + Execution Inspector).
1235
646
  *
@@ -1994,6 +1405,7 @@ interface InlineFormCreateRequest {
1994
1405
  interface InlineFormDraftUpdateRequest {
1995
1406
  /** Optimistic-concurrency guard — the hash last returned for this draft. */
1996
1407
  expectedRevisionHash: string;
1408
+ displayName?: string | null;
1997
1409
  schemaSnapshotJson: string;
1998
1410
  layoutSnapshotJson: string;
1999
1411
  fieldBindingSnapshotJson: string;
@@ -2096,793 +1508,1389 @@ interface TriggerTypeCatalogItem {
2096
1508
  activationRequirements?: string[];
2097
1509
  canCreate?: boolean;
2098
1510
  }
2099
- interface ExpressionNamespaceDescriptor {
2100
- key?: '$json' | '$item.json' | '$trigger' | '$context' | '$node' | '$execution' | string;
2101
- name?: string;
2102
- label?: string;
1511
+ interface ExpressionNamespaceDescriptor {
1512
+ key?: '$json' | '$item.json' | '$trigger' | '$context' | '$node' | '$execution' | string;
1513
+ name?: string;
1514
+ label?: string;
1515
+ description?: string | null;
1516
+ examples?: string[];
1517
+ paths?: Array<{
1518
+ path: string;
1519
+ type?: string | null;
1520
+ masked?: boolean;
1521
+ }>;
1522
+ }
1523
+ interface ExpressionValidationRequest {
1524
+ expression?: string | null;
1525
+ expressions?: string[] | null;
1526
+ automationId?: number | string | null;
1527
+ nodeKey?: string | null;
1528
+ triggerKey?: string | null;
1529
+ context?: unknown;
1530
+ [key: string]: unknown;
1531
+ }
1532
+ interface ExpressionValidationResult {
1533
+ isValid?: boolean;
1534
+ succeeded?: boolean;
1535
+ issues?: unknown[];
1536
+ message?: string | null;
1537
+ [key: string]: unknown;
1538
+ }
1539
+ interface ExpressionPreviewRequest extends ExpressionValidationRequest {
1540
+ sampleInput?: unknown;
1541
+ }
1542
+ interface ExpressionPreviewResult extends ExpressionValidationResult {
1543
+ value?: unknown;
1544
+ maskedJson?: string | null;
1545
+ }
1546
+ interface CredentialReference {
1547
+ credentialRef: string;
1548
+ providerKey?: string | null;
1549
+ displayName?: string | null;
1550
+ credentialType?: string | null;
1551
+ resolved?: boolean;
1552
+ status?: string | null;
1553
+ maskedFields?: Record<string, unknown> | null;
1554
+ createdAtUtc?: string | null;
1555
+ updatedAtUtc?: string | null;
1556
+ revokedAtUtc?: string | null;
1557
+ [key: string]: unknown;
1558
+ }
1559
+ interface CredentialReferenceListResult {
1560
+ items?: CredentialReference[];
1561
+ unresolvedRefs?: CredentialReference[];
1562
+ [key: string]: unknown;
1563
+ }
1564
+ interface CredentialTypeCatalogItem {
1565
+ type?: string;
1566
+ credentialType?: string;
1567
+ displayName?: string | null;
1568
+ fields?: CredentialFieldDescriptor[];
1569
+ schema?: unknown;
1570
+ authPolicySchema?: unknown;
1571
+ [key: string]: unknown;
1572
+ }
1573
+ interface CredentialFieldDescriptor {
1574
+ key: string;
1575
+ displayName?: string | null;
1576
+ isSecret?: boolean;
1577
+ required?: boolean;
1578
+ inputType?: string | null;
1579
+ placeholder?: string | null;
1580
+ [key: string]: unknown;
1581
+ }
1582
+ interface CredentialProviderCatalogItem {
1583
+ providerKey: string;
1584
+ displayName: string;
1585
+ iconKey?: string | null;
1586
+ credentialTypes?: string[];
1587
+ authModes?: string[];
1588
+ requiredScopes?: string[];
1589
+ requiredPermissions?: string[];
1590
+ connectAvailable?: boolean;
1591
+ manualSetupAvailable?: boolean;
1592
+ setupInstructions?: string | null;
1593
+ }
1594
+ interface CredentialTypeCatalogResult {
1595
+ providers?: CredentialProviderCatalogItem[];
1596
+ items?: CredentialTypeCatalogItem[];
1597
+ [key: string]: unknown;
1598
+ }
1599
+ interface CredentialTestRequest {
1600
+ credentialRef?: string | null;
1601
+ providerKey?: string | null;
1602
+ credentialType?: string | null;
1603
+ config?: unknown;
1604
+ [key: string]: unknown;
1605
+ }
1606
+ interface CredentialTestResult {
1607
+ credentialRef?: string | null;
1608
+ supported?: boolean;
1609
+ succeeded?: boolean;
1610
+ status?: string | null;
1611
+ message?: string | null;
1612
+ issues?: unknown[];
1613
+ [key: string]: unknown;
1614
+ }
1615
+ interface ManualCredentialCreateRequest {
1616
+ providerKey: string;
1617
+ credentialType: string;
1618
+ displayName?: string | null;
1619
+ fields: Record<string, string>;
1620
+ }
1621
+ interface CredentialMutationResult {
1622
+ accepted?: boolean;
1623
+ credential?: CredentialReference | null;
1624
+ errorCode?: string | null;
1625
+ message?: string | null;
1626
+ [key: string]: unknown;
1627
+ }
1628
+ interface CredentialOAuthStartRequest {
1629
+ providerKey: string;
1630
+ credentialType?: string | null;
1631
+ returnUrl?: string | null;
1632
+ }
1633
+ interface CredentialOAuthStartResult {
1634
+ supported?: boolean;
1635
+ started?: boolean;
1636
+ authorizationUrl?: string | null;
1637
+ state?: string | null;
1638
+ message?: string | null;
1639
+ missingConfigurationKeys?: string[];
1640
+ [key: string]: unknown;
1641
+ }
1642
+ interface FlowPlusModuleCatalogItem {
1643
+ moduleKey: string;
1644
+ moduleId?: number | string | null;
1645
+ displayName?: string | null;
1646
+ moduleType?: string | null;
1647
+ [key: string]: unknown;
1648
+ }
1649
+ interface FlowPlusModuleCatalogResult {
1650
+ items?: FlowPlusModuleCatalogItem[];
1651
+ [key: string]: unknown;
1652
+ }
1653
+ interface FlowPlusModuleField {
1654
+ fieldId?: number | string | null;
1655
+ key: string;
1656
+ displayName?: string | null;
1657
+ viewType?: string | null;
1658
+ required?: boolean;
1659
+ isTranslatable?: boolean;
1660
+ [key: string]: unknown;
1661
+ }
1662
+ interface FlowPlusModuleSchemaResult {
1663
+ moduleKey: string;
1664
+ moduleId?: number | string | null;
1665
+ fields?: FlowPlusModuleField[];
1666
+ allowedOperations?: string[];
1667
+ [key: string]: unknown;
1668
+ }
1669
+ interface FlowPlusCommitMappingValidationRequest {
1670
+ moduleKey?: string | null;
1671
+ targetModule?: string | null;
1672
+ operation?: string | null;
1673
+ mapping?: Record<string, unknown> | null;
1674
+ automationId?: number | string | null;
1675
+ nodeKey?: string | null;
1676
+ [key: string]: unknown;
1677
+ }
1678
+ type ModuleDefinitionStatus = 'Draft' | 'Active' | 'Archived' | string;
1679
+ type ModuleFieldDataType = 'Text' | 'LongText' | 'Integer' | 'Decimal' | 'Boolean' | 'Date' | 'DateTime' | 'Lookup' | 'Json' | number | string;
1680
+ type ModuleFieldStorageType = 'String' | 'Int64' | 'Decimal' | 'Boolean' | 'DateTime' | 'Json' | number | string;
1681
+ interface CanonicalModuleDefinitionListParams extends Record<string, string | number | boolean | null | undefined> {
1682
+ status?: ModuleDefinitionStatus | null;
1683
+ search?: string | null;
1684
+ }
1685
+ interface CanonicalModuleDefinitionSummary {
1686
+ moduleDefinitionId: number;
1687
+ tenantId?: string | null;
1688
+ key: string;
1689
+ displayName: string;
1690
+ description?: string | null;
1691
+ projectId?: string | null;
1692
+ ownerId?: string | null;
1693
+ status?: ModuleDefinitionStatus | null;
1694
+ defaultFormDefinitionId?: number | null;
1695
+ fieldCount?: number | null;
1696
+ createdAtUtc?: string | null;
1697
+ updatedAtUtc?: string | null;
1698
+ createdBy?: string | null;
1699
+ updatedBy?: string | null;
1700
+ }
1701
+ interface CanonicalModuleDefinitionDetail extends CanonicalModuleDefinitionSummary {
1702
+ capabilitiesJson?: string | null;
1703
+ recordIdentityPolicyJson?: string | null;
1704
+ concurrencyPolicyJson?: string | null;
1705
+ fields?: CanonicalModuleField[];
1706
+ }
1707
+ interface CreateCanonicalModuleDefinitionRequest {
1708
+ key: string;
1709
+ displayName: string;
1710
+ description?: string | null;
1711
+ status?: ModuleDefinitionStatus | null;
1712
+ }
1713
+ interface CanonicalModuleSchema {
1714
+ moduleDefinitionId: number;
1715
+ tenantId?: string | null;
1716
+ key: string;
1717
+ displayName: string;
1718
+ description?: string | null;
1719
+ status?: ModuleDefinitionStatus | null;
1720
+ fields?: CanonicalModuleField[];
1721
+ }
1722
+ interface CanonicalModuleField {
1723
+ fieldId: number;
1724
+ moduleDefinitionId: number;
1725
+ tenantId?: string | null;
1726
+ key: string;
1727
+ displayName: string;
1728
+ description?: string | null;
1729
+ dataType: ModuleFieldDataType;
1730
+ storageType: ModuleFieldStorageType;
1731
+ isRequired?: boolean;
1732
+ isEditable?: boolean;
1733
+ isComputed?: boolean;
1734
+ isSystem?: boolean;
1735
+ isSearchable?: boolean;
1736
+ defaultValueJson?: string | null;
1737
+ validationRulesJson?: string | null;
1738
+ optionsSourceJson?: string | null;
1739
+ displayHintsJson?: string | null;
1740
+ order?: number | null;
1741
+ createdAtUtc?: string | null;
1742
+ updatedAtUtc?: string | null;
1743
+ }
1744
+ interface CreateCanonicalModuleFieldRequest {
1745
+ key?: string;
1746
+ displayName: string;
1747
+ description?: string | null;
1748
+ dataType?: ModuleFieldDataType;
1749
+ storageType?: ModuleFieldStorageType;
1750
+ isRequired?: boolean;
1751
+ isEditable?: boolean;
1752
+ isComputed?: boolean;
1753
+ isSystem?: boolean;
1754
+ isSearchable?: boolean;
1755
+ defaultValueJson?: string | null;
1756
+ validationRulesJson?: string | null;
1757
+ optionsSourceJson?: string | null;
1758
+ displayHintsJson?: string | null;
1759
+ order?: number | null;
1760
+ }
1761
+ type UpdateCanonicalModuleFieldRequest = CreateCanonicalModuleFieldRequest;
1762
+ interface ReorderCanonicalModuleFieldRequestItem {
1763
+ fieldId: number;
1764
+ order: number;
1765
+ }
1766
+ interface ReorderCanonicalModuleFieldsRequest {
1767
+ fields: ReorderCanonicalModuleFieldRequestItem[];
1768
+ }
1769
+ type FormDefinitionStatus = 'Draft' | 'Active' | 'Archived' | string;
1770
+ type FormPurpose = 'Create' | 'Edit' | 'Review' | 'TaskInput' | 'ApprovalReview' | 'EditAndDecide' | 'Custom' | number | string;
1771
+ type FormRevisionStatus = 'Draft' | 'Published' | 'Archived' | string;
1772
+ interface CanonicalFormListParams extends Record<string, string | number | boolean | null | undefined> {
1773
+ moduleDefinitionId?: number | string | null;
1774
+ purpose?: FormPurpose | null;
1775
+ status?: FormDefinitionStatus | null;
1776
+ search?: string | null;
1777
+ }
1778
+ interface CanonicalFormDefinitionSummary {
1779
+ formDefinitionId: number;
1780
+ tenantId?: string | null;
1781
+ moduleDefinitionId?: number | null;
1782
+ key: string;
1783
+ displayName: string;
2103
1784
  description?: string | null;
2104
- examples?: string[];
2105
- paths?: Array<{
2106
- path: string;
2107
- type?: string | null;
2108
- masked?: boolean;
2109
- }>;
1785
+ purpose?: FormPurpose | null;
1786
+ status?: FormDefinitionStatus | null;
1787
+ currentDraftRevisionId?: number | null;
1788
+ latestPublishedRevisionId?: number | null;
1789
+ createdFromAutomationId?: number | null;
1790
+ createdFromNodeKey?: string | null;
1791
+ createdFromTriggerKey?: string | null;
1792
+ draftOwnerType?: string | null;
1793
+ createdAtUtc?: string | null;
1794
+ updatedAtUtc?: string | null;
1795
+ createdBy?: string | null;
1796
+ updatedBy?: string | null;
2110
1797
  }
2111
- interface ExpressionValidationRequest {
2112
- expression?: string | null;
2113
- expressions?: string[] | null;
2114
- automationId?: number | string | null;
2115
- nodeKey?: string | null;
2116
- triggerKey?: string | null;
2117
- context?: unknown;
2118
- [key: string]: unknown;
1798
+ interface CanonicalFormDefinitionDetail {
1799
+ form?: CanonicalFormDefinitionSummary | null;
1800
+ revisions?: CanonicalFormRevisionSummary[];
2119
1801
  }
2120
- interface ExpressionValidationResult {
2121
- isValid?: boolean;
2122
- succeeded?: boolean;
2123
- issues?: unknown[];
2124
- message?: string | null;
2125
- [key: string]: unknown;
1802
+ interface CreateCanonicalFormDefinitionRequest {
1803
+ moduleDefinitionId?: number | null;
1804
+ key: string;
1805
+ displayName: string;
1806
+ description?: string | null;
1807
+ purpose?: FormPurpose;
2126
1808
  }
2127
- interface ExpressionPreviewRequest extends ExpressionValidationRequest {
2128
- sampleInput?: unknown;
1809
+ interface UpdateCanonicalFormDefinitionRequest {
1810
+ moduleDefinitionId?: number | null;
1811
+ displayName: string;
1812
+ description?: string | null;
1813
+ purpose?: FormPurpose;
1814
+ status?: FormDefinitionStatus | null;
2129
1815
  }
2130
- interface ExpressionPreviewResult extends ExpressionValidationResult {
2131
- value?: unknown;
2132
- maskedJson?: string | null;
1816
+ interface CreateCanonicalFormRevisionRequest {
1817
+ copyFromRevisionId?: number | null;
1818
+ schemaSnapshotJson?: string;
1819
+ layoutSnapshotJson?: string;
1820
+ fieldBindingSnapshotJson?: string;
1821
+ validationRulesSnapshotJson?: string;
1822
+ visibilityRulesSnapshotJson?: string;
2133
1823
  }
2134
- interface CredentialReference {
2135
- credentialRef: string;
2136
- providerKey?: string | null;
2137
- displayName?: string | null;
2138
- credentialType?: string | null;
2139
- resolved?: boolean;
2140
- status?: string | null;
2141
- maskedFields?: Record<string, unknown> | null;
1824
+ interface UpdateCanonicalFormRevisionRequest {
1825
+ schemaSnapshotJson: string;
1826
+ layoutSnapshotJson: string;
1827
+ fieldBindingSnapshotJson: string;
1828
+ validationRulesSnapshotJson?: string;
1829
+ visibilityRulesSnapshotJson?: string;
1830
+ }
1831
+ interface CanonicalFormRevisionSummary {
1832
+ formRevisionId: number;
1833
+ formDefinitionId: number;
1834
+ tenantId?: string | null;
1835
+ revisionNumber: number;
1836
+ status?: FormRevisionStatus | null;
1837
+ hash?: string | null;
1838
+ publishedAtUtc?: string | null;
1839
+ publishedBy?: string | null;
2142
1840
  createdAtUtc?: string | null;
2143
1841
  updatedAtUtc?: string | null;
2144
- revokedAtUtc?: string | null;
2145
- [key: string]: unknown;
1842
+ isCurrentDraft?: boolean;
1843
+ isLatestPublished?: boolean;
2146
1844
  }
2147
- interface CredentialReferenceListResult {
2148
- items?: CredentialReference[];
2149
- unresolvedRefs?: CredentialReference[];
2150
- [key: string]: unknown;
1845
+ interface CanonicalFormRevisionDetail {
1846
+ revision?: CanonicalFormRevisionSummary | null;
1847
+ schemaSnapshotJson?: string | null;
1848
+ layoutSnapshotJson?: string | null;
1849
+ fieldBindingSnapshotJson?: string | null;
1850
+ validationRulesSnapshotJson?: string | null;
1851
+ visibilityRulesSnapshotJson?: string | null;
2151
1852
  }
2152
- interface CredentialTypeCatalogItem {
2153
- type?: string;
2154
- credentialType?: string;
2155
- displayName?: string | null;
2156
- fields?: CredentialFieldDescriptor[];
2157
- schema?: unknown;
2158
- authPolicySchema?: unknown;
2159
- [key: string]: unknown;
1853
+ interface CanonicalFormRevisionValidationResult {
1854
+ isValid?: boolean;
1855
+ hash?: string | null;
1856
+ issues?: Array<{
1857
+ code?: string | null;
1858
+ message?: string | null;
1859
+ fieldPath?: string | null;
1860
+ }>;
2160
1861
  }
2161
- interface CredentialFieldDescriptor {
2162
- key: string;
1862
+ interface CanonicalFormRevisionPublishResult {
1863
+ formDefinitionId: number;
1864
+ formRevisionId: number;
1865
+ revisionNumber: number;
1866
+ hash?: string | null;
1867
+ publishedAtUtc?: string | null;
1868
+ publishedBy?: string | null;
1869
+ latestPublishedRevisionId?: number | null;
1870
+ }
1871
+ interface FormSelectorItem {
1872
+ formId: string;
1873
+ formDefinitionId?: number | string | null;
2163
1874
  displayName?: string | null;
2164
- isSecret?: boolean;
2165
- required?: boolean;
2166
- inputType?: string | null;
2167
- placeholder?: string | null;
1875
+ moduleId?: number | string | null;
1876
+ moduleDefinitionId?: number | string | null;
1877
+ moduleType?: string | null;
1878
+ latestVersionId?: string | null;
1879
+ currentDraftVersionId?: string | null;
1880
+ purpose?: FormPurpose | string | null;
1881
+ status?: FormDefinitionStatus | string | null;
2168
1882
  [key: string]: unknown;
2169
1883
  }
2170
- interface CredentialProviderCatalogItem {
2171
- providerKey: string;
2172
- displayName: string;
2173
- iconKey?: string | null;
2174
- credentialTypes?: string[];
2175
- authModes?: string[];
2176
- requiredScopes?: string[];
2177
- requiredPermissions?: string[];
2178
- connectAvailable?: boolean;
2179
- manualSetupAvailable?: boolean;
2180
- setupInstructions?: string | null;
2181
- }
2182
- interface CredentialTypeCatalogResult {
2183
- providers?: CredentialProviderCatalogItem[];
2184
- items?: CredentialTypeCatalogItem[];
1884
+ interface FormSelectorContractResult {
1885
+ items?: FormSelectorItem[];
1886
+ forms?: FormSelectorItem[];
1887
+ versioningMode?: string | null;
1888
+ publishBehavior?: string | null;
2185
1889
  [key: string]: unknown;
2186
1890
  }
2187
- interface CredentialTestRequest {
2188
- credentialRef?: string | null;
2189
- providerKey?: string | null;
2190
- credentialType?: string | null;
2191
- config?: unknown;
1891
+ interface FormVersionSummary {
1892
+ formVersionId: string;
1893
+ formDefinitionId?: number | string | null;
1894
+ formRevisionId?: number | string | null;
1895
+ revisionNumber?: number | null;
1896
+ status?: FormRevisionStatus | string | null;
1897
+ hash?: string | null;
1898
+ updatedAtUtc?: string | null;
1899
+ publishedAtUtc?: string | null;
1900
+ publishedBy?: string | null;
1901
+ isLatest?: boolean;
1902
+ isImmutable?: boolean;
1903
+ requiresSnapshotOnPublish?: boolean;
1904
+ source?: string | null;
2192
1905
  [key: string]: unknown;
2193
1906
  }
2194
- interface CredentialTestResult {
2195
- credentialRef?: string | null;
2196
- supported?: boolean;
2197
- succeeded?: boolean;
2198
- status?: string | null;
2199
- message?: string | null;
2200
- issues?: unknown[];
1907
+ interface FormVersionListResult {
1908
+ items?: FormVersionSummary[];
1909
+ versions?: FormVersionSummary[];
1910
+ immutableVersionsAvailable?: boolean;
1911
+ versioningMode?: string | null;
1912
+ requiresSnapshotOnPublish?: boolean;
1913
+ publishBehavior?: string | null;
2201
1914
  [key: string]: unknown;
2202
1915
  }
2203
- interface ManualCredentialCreateRequest {
2204
- providerKey: string;
2205
- credentialType: string;
2206
- displayName?: string | null;
2207
- fields: Record<string, string>;
2208
- }
2209
- interface CredentialMutationResult {
2210
- accepted?: boolean;
2211
- credential?: CredentialReference | null;
2212
- errorCode?: string | null;
2213
- message?: string | null;
1916
+ interface FormSchemaResult {
1917
+ formId: string;
1918
+ formVersionId: string;
1919
+ schema?: unknown;
1920
+ requiresSnapshotOnPublish?: boolean;
2214
1921
  [key: string]: unknown;
2215
1922
  }
2216
- interface CredentialOAuthStartRequest {
2217
- providerKey: string;
2218
- credentialType?: string | null;
2219
- returnUrl?: string | null;
2220
- }
2221
- interface CredentialOAuthStartResult {
2222
- supported?: boolean;
2223
- started?: boolean;
2224
- authorizationUrl?: string | null;
2225
- state?: string | null;
2226
- message?: string | null;
2227
- missingConfigurationKeys?: string[];
1923
+ interface AssignmentSelectorContractResult {
1924
+ providerBacked?: boolean;
1925
+ providerStatus?: string | null;
1926
+ limit?: number | null;
1927
+ users?: Array<Record<string, unknown>>;
1928
+ roles?: Array<Record<string, unknown>>;
1929
+ groups?: Array<Record<string, unknown>>;
2228
1930
  [key: string]: unknown;
2229
1931
  }
2230
- interface FlowPlusModuleCatalogItem {
2231
- moduleKey: string;
2232
- moduleId?: number | string | null;
2233
- displayName?: string | null;
2234
- moduleType?: string | null;
1932
+ interface AssignmentValidationRequest {
1933
+ assignment?: unknown;
1934
+ automationId?: number | string | null;
1935
+ nodeKey?: string | null;
2235
1936
  [key: string]: unknown;
2236
1937
  }
2237
- interface FlowPlusModuleCatalogResult {
2238
- items?: FlowPlusModuleCatalogItem[];
1938
+ interface WebhookSetupResult {
1939
+ webhookUrl?: string | null;
1940
+ authMode?: string | null;
1941
+ requiredHeaders?: string[];
1942
+ hmacSigning?: string | null;
1943
+ sampleRequest?: unknown;
1944
+ lastDelivery?: unknown;
2239
1945
  [key: string]: unknown;
2240
1946
  }
2241
- interface FlowPlusModuleField {
2242
- fieldId?: number | string | null;
2243
- key: string;
2244
- displayName?: string | null;
2245
- viewType?: string | null;
2246
- required?: boolean;
2247
- isTranslatable?: boolean;
1947
+ interface ScheduleOptionsResult {
1948
+ timeZones?: string[];
1949
+ misfirePolicies?: string[];
2248
1950
  [key: string]: unknown;
2249
1951
  }
2250
- interface FlowPlusModuleSchemaResult {
2251
- moduleKey: string;
2252
- moduleId?: number | string | null;
2253
- fields?: FlowPlusModuleField[];
2254
- allowedOperations?: string[];
1952
+ interface ScheduleValidationRequest {
1953
+ config?: unknown;
1954
+ automationId?: number | string | null;
1955
+ triggerKey?: string | null;
2255
1956
  [key: string]: unknown;
2256
1957
  }
2257
- interface FlowPlusCommitMappingValidationRequest {
2258
- moduleKey?: string | null;
2259
- targetModule?: string | null;
2260
- operation?: string | null;
2261
- mapping?: Record<string, unknown> | null;
2262
- automationId?: number | string | null;
2263
- nodeKey?: string | null;
1958
+ type SchedulePreviewRequest = ScheduleValidationRequest;
1959
+ interface SchedulePreviewResult {
1960
+ isValid?: boolean;
1961
+ nextFireAtUtc?: string | null;
1962
+ timeZone?: string | null;
1963
+ misfirePolicy?: string | null;
1964
+ issues?: unknown[];
2264
1965
  [key: string]: unknown;
2265
1966
  }
2266
- type ModuleDefinitionStatus = 'Draft' | 'Active' | 'Archived' | string;
2267
- type ModuleFieldDataType = 'Text' | 'LongText' | 'Integer' | 'Decimal' | 'Boolean' | 'Date' | 'DateTime' | 'Lookup' | 'Json' | number | string;
2268
- type ModuleFieldStorageType = 'String' | 'Int64' | 'Decimal' | 'Boolean' | 'DateTime' | 'Json' | number | string;
2269
- interface CanonicalModuleDefinitionListParams extends Record<string, string | number | boolean | null | undefined> {
2270
- status?: ModuleDefinitionStatus | null;
2271
- search?: string | null;
1967
+ interface AutomationValidationSummary {
1968
+ canPublish: boolean;
1969
+ errorCount: number;
1970
+ warningCount: number;
2272
1971
  }
2273
- interface CanonicalModuleDefinitionSummary {
2274
- moduleDefinitionId: number;
2275
- tenantId?: string | null;
2276
- key: string;
2277
- displayName: string;
2278
- description?: string | null;
2279
- projectId?: string | null;
2280
- ownerId?: string | null;
2281
- status?: ModuleDefinitionStatus | null;
2282
- defaultFormDefinitionId?: number | null;
2283
- fieldCount?: number | null;
1972
+ interface AutomationValidationIssue {
1973
+ severity: 'Error' | 'Warning' | 'Info' | string;
1974
+ targetType: 'Automation' | 'Trigger' | 'Node' | 'Route' | 'Credential' | 'FormBinding' | 'Expression' | string;
1975
+ targetKey?: string | null;
1976
+ field?: string | null;
1977
+ fieldPath?: string | null;
1978
+ message: string;
1979
+ code?: string | null;
1980
+ suggestedFix?: string | null;
1981
+ blocksPublish?: boolean | null;
1982
+ }
1983
+ interface AutomationValidationReport {
1984
+ isValid?: boolean;
1985
+ canPublish: boolean;
1986
+ issues?: AutomationValidationIssue[];
1987
+ errors?: AutomationValidationIssue[];
1988
+ warnings?: AutomationValidationIssue[];
1989
+ graphErrors?: AutomationValidationIssue[];
1990
+ triggerErrors?: AutomationValidationIssue[];
1991
+ nodeErrors?: AutomationValidationIssue[];
1992
+ routeErrors?: AutomationValidationIssue[];
1993
+ credentialSecurityErrors?: AutomationValidationIssue[];
1994
+ formBindingErrors?: AutomationValidationIssue[];
1995
+ expressionErrors?: AutomationValidationIssue[];
1996
+ publishBlockers?: AutomationValidationIssue[];
1997
+ summary?: AutomationValidationSummary | null;
1998
+ }
1999
+ interface PublishAutomationRequest {
2000
+ notes?: string | null;
2001
+ }
2002
+ interface PublishAutomationResult {
2003
+ revisionId?: number | string;
2004
+ revision?: AutomationRevisionSummary | null;
2005
+ canActivate?: boolean;
2006
+ validation?: AutomationValidationReport | null;
2007
+ }
2008
+ interface ActivateAutomationRequest {
2009
+ revisionId: number | string;
2010
+ }
2011
+ interface ActivationResult {
2012
+ automationId: number | string;
2013
+ activeRevisionId?: number | string | null;
2014
+ status: AutomationStatus;
2015
+ }
2016
+ interface AutomationRevisionSummary {
2017
+ revisionId?: number | string;
2018
+ automationRevisionId?: number | string;
2019
+ automationId?: number | string;
2020
+ revisionNumber?: number | null;
2284
2021
  createdAtUtc?: string | null;
2285
- updatedAtUtc?: string | null;
2286
2022
  createdBy?: string | null;
2287
- updatedBy?: string | null;
2023
+ isActive?: boolean;
2024
+ publishedAtUtc?: string | null;
2025
+ activatedAtUtc?: string | null;
2026
+ publishedBy?: string | null;
2027
+ changeSummary?: string | null;
2028
+ executionCount?: number | null;
2288
2029
  }
2289
- interface CanonicalModuleDefinitionDetail extends CanonicalModuleDefinitionSummary {
2290
- capabilitiesJson?: string | null;
2291
- recordIdentityPolicyJson?: string | null;
2292
- concurrencyPolicyJson?: string | null;
2293
- fields?: CanonicalModuleField[];
2030
+ interface AutomationLastExecutionSummary {
2031
+ executionId?: number | string;
2032
+ status?: AutomationExecutionStatus | string | null;
2033
+ triggerType?: AutomationTriggerType | string | null;
2034
+ triggerKey?: string | null;
2035
+ createdAtUtc?: string | null;
2036
+ completedAtUtc?: string | null;
2294
2037
  }
2295
- interface CreateCanonicalModuleDefinitionRequest {
2296
- key: string;
2297
- displayName: string;
2298
- description?: string | null;
2299
- status?: ModuleDefinitionStatus | null;
2038
+ interface AutomationExportDefinition extends AutomationFrontendDetail {
2039
+ exportedAtUtc?: string | null;
2300
2040
  }
2301
- interface CanonicalModuleSchema {
2302
- moduleDefinitionId: number;
2303
- tenantId?: string | null;
2304
- key: string;
2305
- displayName: string;
2306
- description?: string | null;
2307
- status?: ModuleDefinitionStatus | null;
2308
- fields?: CanonicalModuleField[];
2041
+ interface AutomationImportRequest {
2042
+ definition: AutomationExportDefinition;
2043
+ nameOverride?: TranslatableText | string | null;
2309
2044
  }
2310
- interface CanonicalModuleField {
2311
- fieldId: number;
2312
- moduleDefinitionId: number;
2313
- tenantId?: string | null;
2314
- key: string;
2315
- displayName: string;
2316
- description?: string | null;
2317
- dataType: ModuleFieldDataType;
2318
- storageType: ModuleFieldStorageType;
2319
- isRequired?: boolean;
2320
- isEditable?: boolean;
2321
- isComputed?: boolean;
2322
- isSystem?: boolean;
2323
- isSearchable?: boolean;
2324
- defaultValueJson?: string | null;
2325
- validationRulesJson?: string | null;
2326
- optionsSourceJson?: string | null;
2327
- displayHintsJson?: string | null;
2328
- order?: number | null;
2329
- createdAtUtc?: string | null;
2330
- updatedAtUtc?: string | null;
2045
+ interface AutomationImportResult {
2046
+ automation: AutomationSummary;
2047
+ validation?: AutomationValidationReport | null;
2048
+ unresolvedCredentialRefs?: string[];
2331
2049
  }
2332
- interface CreateCanonicalModuleFieldRequest {
2333
- key: string;
2334
- displayName: string;
2335
- description?: string | null;
2336
- dataType?: ModuleFieldDataType;
2337
- storageType?: ModuleFieldStorageType;
2338
- isRequired?: boolean;
2339
- isEditable?: boolean;
2340
- isComputed?: boolean;
2341
- isSystem?: boolean;
2342
- isSearchable?: boolean;
2343
- defaultValueJson?: string | null;
2344
- validationRulesJson?: string | null;
2345
- optionsSourceJson?: string | null;
2346
- displayHintsJson?: string | null;
2347
- order?: number | null;
2050
+ interface AutomationRevisionDiffResult {
2051
+ leftRevisionId?: number | string;
2052
+ rightRevisionId?: number | string;
2053
+ fromRevisionId?: number | string;
2054
+ toRevisionId?: number | string;
2055
+ changedTriggers?: string[];
2056
+ changedNodes?: string[];
2057
+ changedRoutes?: string[];
2058
+ changedFormBindings?: string[];
2059
+ changedConfigKeys?: string[];
2060
+ changes?: Array<{
2061
+ path: string;
2062
+ kind: string;
2063
+ before?: unknown;
2064
+ after?: unknown;
2065
+ }>;
2066
+ }
2067
+ interface AutomationRunResult {
2068
+ accepted?: boolean;
2069
+ executionId: number | string;
2070
+ status: AutomationExecutionStatus;
2071
+ correlationId?: string | null;
2072
+ queuedNodes?: QueuedNodeSummary[];
2073
+ }
2074
+ interface QueuedNodeSummary {
2075
+ nodeKey?: string | null;
2076
+ nodeType?: AutomationNodeType | string | null;
2077
+ status?: AutomationExecutionStatus | string | null;
2078
+ nodeRunId?: number | string | null;
2079
+ routeOutputKey?: string | null;
2080
+ [key: string]: unknown;
2081
+ }
2082
+ interface AutomationExecutionListResult {
2083
+ items: AutomationExecutionSummary[];
2084
+ count?: number;
2085
+ limit?: number;
2086
+ nextCursor?: string | null;
2087
+ nextCursorStartedAtUtc?: string | null;
2088
+ nextCursorExecutionId?: number | string | null;
2089
+ hasMore?: boolean;
2090
+ }
2091
+ interface AutomationExecutionSummary {
2092
+ executionId: number | string;
2093
+ automationId: number | string;
2094
+ revisionId?: number | string | null;
2095
+ automationRevisionId?: number | string | null;
2096
+ automationName?: string | null;
2097
+ revisionNumber?: number | null;
2098
+ status: AutomationExecutionStatus;
2099
+ triggerType?: AutomationTriggerType | string | null;
2100
+ triggerKey?: string | null;
2101
+ createdAtUtc?: string | null;
2102
+ startedAtUtc?: string | null;
2103
+ completedAtUtc?: string | null;
2104
+ durationMs?: number | null;
2105
+ correlationId?: string | null;
2106
+ failedNode?: unknown;
2107
+ waitingNode?: unknown;
2348
2108
  }
2349
- type UpdateCanonicalModuleFieldRequest = CreateCanonicalModuleFieldRequest;
2350
- interface ReorderCanonicalModuleFieldRequestItem {
2351
- fieldId: number;
2352
- order: number;
2109
+ interface AutomationExecutionDetail extends AutomationExecutionSummary {
2110
+ tenantId?: string | null;
2111
+ triggerSummaryJson?: string | null;
2112
+ triggerSummary?: unknown;
2113
+ nodeRuns: AutomationNodeRun[];
2114
+ waits?: AutomationRuntimeWait[];
2115
+ runtimeWaits?: AutomationRuntimeWait[];
2116
+ events: AutomationExecutionEvent[];
2117
+ timeline?: AutomationExecutionEvent[];
2118
+ externalCallAudits?: unknown[];
2119
+ flowPlusCommitAudits?: unknown[];
2120
+ approvalDecisions?: unknown[];
2121
+ timelineHasMore?: boolean;
2122
+ timelineNextAfterUtc?: string | null;
2353
2123
  }
2354
- interface ReorderCanonicalModuleFieldsRequest {
2355
- fields: ReorderCanonicalModuleFieldRequestItem[];
2124
+ interface AutomationNodeRun {
2125
+ nodeRunId: number | string;
2126
+ nodeKey: string;
2127
+ nodeType: AutomationNodeType;
2128
+ status: AutomationExecutionStatus;
2129
+ inputDataRef?: string | null;
2130
+ outputDataRef?: string | null;
2131
+ queuedAtUtc?: string | null;
2132
+ runAfterUtc?: string | null;
2133
+ startedAtUtc?: string | null;
2134
+ completedAtUtc?: string | null;
2135
+ waitUntilUtc?: string | null;
2136
+ waitReason?: string | null;
2137
+ attemptCount?: number | null;
2138
+ maxAttempts?: number | null;
2139
+ errorJson?: string | null;
2140
+ attempts?: AutomationNodeAttempt[];
2141
+ /** Safe AI execution summary (`node.ai`) — diagnostic metadata only. */
2142
+ ai?: ExecutionNodeAiSummary | null;
2356
2143
  }
2357
- type FormDefinitionStatus = 'Draft' | 'Active' | 'Archived' | string;
2358
- type FormPurpose = 'Create' | 'Edit' | 'Review' | 'TaskInput' | 'ApprovalReview' | 'EditAndDecide' | 'Custom' | number | string;
2359
- type FormRevisionStatus = 'Draft' | 'Published' | 'Archived' | string;
2360
- interface CanonicalFormListParams extends Record<string, string | number | boolean | null | undefined> {
2361
- moduleDefinitionId?: number | string | null;
2362
- purpose?: FormPurpose | null;
2363
- status?: FormDefinitionStatus | null;
2364
- search?: string | null;
2144
+ interface AutomationNodeAttempt {
2145
+ attemptId?: number | string;
2146
+ nodeAttemptId?: number | string;
2147
+ attemptNumber?: number | null;
2148
+ status: AutomationExecutionStatus;
2149
+ startedAtUtc?: string | null;
2150
+ completedAtUtc?: string | null;
2151
+ durationMs?: number | null;
2152
+ workerId?: string | null;
2153
+ externalCallCount?: number | null;
2154
+ errorMessage?: string | null;
2155
+ errorJson?: string | null;
2156
+ logsRef?: string | null;
2365
2157
  }
2366
- interface CanonicalFormDefinitionSummary {
2367
- formDefinitionId: number;
2368
- tenantId?: string | null;
2369
- moduleDefinitionId?: number | null;
2370
- key: string;
2371
- displayName: string;
2372
- description?: string | null;
2373
- purpose?: FormPurpose | null;
2374
- status?: FormDefinitionStatus | null;
2375
- currentDraftRevisionId?: number | null;
2376
- latestPublishedRevisionId?: number | null;
2158
+ interface AutomationRuntimeWait {
2159
+ runtimeWaitId: number | string;
2160
+ nodeRunId?: number | string | null;
2161
+ nodeKey?: string | null;
2162
+ waitType: string;
2163
+ status: string;
2164
+ waitReason?: string | null;
2165
+ resumeToken?: string | null;
2377
2166
  createdAtUtc?: string | null;
2378
- updatedAtUtc?: string | null;
2379
- createdBy?: string | null;
2380
- updatedBy?: string | null;
2167
+ expiresAtUtc?: string | null;
2168
+ dueDateUtc?: string | null;
2169
+ metadata?: unknown;
2381
2170
  }
2382
- interface CanonicalFormDefinitionDetail {
2383
- form?: CanonicalFormDefinitionSummary | null;
2384
- revisions?: CanonicalFormRevisionSummary[];
2171
+ interface AutomationExecutionEvent {
2172
+ eventId: number | string;
2173
+ eventType: string;
2174
+ severity: 'Info' | 'Warning' | 'Error' | string;
2175
+ occurredAtUtc: string;
2176
+ nodeRunId?: number | string | null;
2177
+ nodeAttemptId?: number | string | null;
2178
+ nodeKey?: string | null;
2179
+ correlationId?: string | null;
2180
+ data?: unknown;
2181
+ dataJson?: string | null;
2385
2182
  }
2386
- interface CreateCanonicalFormDefinitionRequest {
2387
- moduleDefinitionId?: number | null;
2388
- key: string;
2389
- displayName: string;
2390
- description?: string | null;
2391
- purpose?: FormPurpose;
2183
+ interface AutomationExecutionNodeDataDetail {
2184
+ executionId?: number | string;
2185
+ nodeRunId: number | string;
2186
+ nodeKey?: string | null;
2187
+ nodeType?: AutomationNodeType | string | null;
2188
+ status?: AutomationExecutionStatus | string | null;
2189
+ includeFull?: boolean;
2190
+ summary: unknown;
2191
+ input?: unknown;
2192
+ output?: unknown;
2193
+ errorJson?: string | null;
2194
+ attempts?: AutomationNodeAttempt[];
2195
+ logs?: AutomationExecutionEvent[];
2196
+ fullData?: unknown;
2197
+ state?: 'Available' | 'Forbidden' | 'Pruned' | 'Missing' | 'Truncated' | string;
2198
+ sensitive?: boolean;
2199
+ truncated?: boolean;
2200
+ replayAvailable?: boolean;
2201
+ replayAvailabilityReason?: string | null;
2202
+ /** Safe AI execution summary (`node.ai`) — diagnostic metadata only. */
2203
+ ai?: ExecutionNodeAiSummary | null;
2392
2204
  }
2393
- interface UpdateCanonicalFormDefinitionRequest {
2394
- moduleDefinitionId?: number | null;
2395
- displayName: string;
2396
- description?: string | null;
2397
- purpose?: FormPurpose;
2398
- status?: FormDefinitionStatus | null;
2205
+ interface ExecutionRetryRequest {
2206
+ nodeRunId?: number | string | null;
2207
+ nodeKey?: string | null;
2399
2208
  }
2400
- interface CreateCanonicalFormRevisionRequest {
2401
- copyFromRevisionId?: number | null;
2402
- schemaSnapshotJson?: string;
2403
- layoutSnapshotJson?: string;
2404
- fieldBindingSnapshotJson?: string;
2405
- validationRulesSnapshotJson?: string;
2406
- visibilityRulesSnapshotJson?: string;
2209
+ interface ExecutionRetryResult {
2210
+ executionId: number | string;
2211
+ status: AutomationExecutionStatus;
2407
2212
  }
2408
- interface UpdateCanonicalFormRevisionRequest {
2409
- schemaSnapshotJson: string;
2410
- layoutSnapshotJson: string;
2411
- fieldBindingSnapshotJson: string;
2412
- validationRulesSnapshotJson?: string;
2413
- visibilityRulesSnapshotJson?: string;
2213
+ interface ExecutionCancelResult {
2214
+ executionId: number | string;
2215
+ status: AutomationExecutionStatus;
2414
2216
  }
2415
- interface CanonicalFormRevisionSummary {
2416
- formRevisionId: number;
2417
- formDefinitionId: number;
2418
- tenantId?: string | null;
2419
- revisionNumber: number;
2420
- status?: FormRevisionStatus | null;
2421
- hash?: string | null;
2422
- publishedAtUtc?: string | null;
2423
- publishedBy?: string | null;
2424
- createdAtUtc?: string | null;
2425
- updatedAtUtc?: string | null;
2426
- isCurrentDraft?: boolean;
2427
- isLatestPublished?: boolean;
2217
+ interface AutomationRuntimeWaitResumeTokenResult {
2218
+ resumeToken: string;
2219
+ expiresAtUtc?: string | null;
2428
2220
  }
2429
- interface CanonicalFormRevisionDetail {
2430
- revision?: CanonicalFormRevisionSummary | null;
2431
- schemaSnapshotJson?: string | null;
2432
- layoutSnapshotJson?: string | null;
2433
- fieldBindingSnapshotJson?: string | null;
2434
- validationRulesSnapshotJson?: string | null;
2435
- visibilityRulesSnapshotJson?: string | null;
2221
+ interface WaitResumeRequest {
2222
+ payload?: unknown;
2436
2223
  }
2437
- interface CanonicalFormRevisionValidationResult {
2438
- isValid?: boolean;
2439
- hash?: string | null;
2440
- issues?: Array<{
2441
- code?: string | null;
2442
- message?: string | null;
2443
- fieldPath?: string | null;
2444
- }>;
2224
+ interface WaitResumeResult {
2225
+ executionId: number | string;
2226
+ status: AutomationExecutionStatus;
2445
2227
  }
2446
- interface CanonicalFormRevisionPublishResult {
2447
- formDefinitionId: number;
2448
- formRevisionId: number;
2449
- revisionNumber: number;
2450
- hash?: string | null;
2451
- publishedAtUtc?: string | null;
2452
- publishedBy?: string | null;
2453
- latestPublishedRevisionId?: number | null;
2228
+ interface HumanApprovalDecisionRequest {
2229
+ decision: string;
2230
+ comments?: string | null;
2231
+ metadata?: Record<string, unknown> | null;
2454
2232
  }
2455
- interface FormSelectorItem {
2456
- formId: string;
2457
- formDefinitionId?: number | string | null;
2233
+ interface HumanApprovalDecisionResult {
2234
+ executionId: number | string;
2235
+ decision: string;
2236
+ status: AutomationExecutionStatus;
2237
+ }
2238
+ interface HumanTaskAssignment {
2239
+ userId?: string | null;
2240
+ roleId?: string | null;
2241
+ groupId?: string | null;
2458
2242
  displayName?: string | null;
2459
- moduleId?: number | string | null;
2460
- moduleDefinitionId?: number | string | null;
2461
- moduleType?: string | null;
2462
- latestVersionId?: string | null;
2463
- currentDraftVersionId?: string | null;
2464
- purpose?: FormPurpose | string | null;
2465
- status?: FormDefinitionStatus | string | null;
2466
2243
  [key: string]: unknown;
2467
2244
  }
2468
- interface FormSelectorContractResult {
2469
- items?: FormSelectorItem[];
2470
- forms?: FormSelectorItem[];
2471
- versioningMode?: string | null;
2472
- publishBehavior?: string | null;
2473
- [key: string]: unknown;
2245
+ interface HumanTaskPayloadResult {
2246
+ accepted?: boolean;
2247
+ executionId?: number | string | null;
2248
+ nodeRunId?: number | string | null;
2249
+ resumeToken?: string | null;
2250
+ nodeKey?: string | null;
2251
+ title?: string | null;
2252
+ description?: string | null;
2253
+ formSource?: 'ExplicitFormBinding' | 'ReuseTriggerForm' | string | null;
2254
+ formId?: string | null;
2255
+ formVersionId?: string | null;
2256
+ canSaveDraft?: boolean | null;
2257
+ contextOutputPath?: string | null;
2258
+ priority?: string | null;
2259
+ dueDateUtc?: string | null;
2260
+ assignment?: HumanTaskAssignment | null;
2261
+ prefill?: unknown;
2262
+ draft?: unknown;
2263
+ payload?: unknown;
2264
+ errorCode?: string | null;
2265
+ message?: string | null;
2266
+ }
2267
+ interface HumanTaskDraftRequest {
2268
+ values?: Record<string, unknown> | null;
2269
+ metadata?: Record<string, unknown> | null;
2270
+ }
2271
+ interface HumanTaskSubmitRequest {
2272
+ values?: Record<string, unknown> | null;
2273
+ metadata?: Record<string, unknown> | null;
2474
2274
  }
2475
- interface FormVersionSummary {
2476
- formVersionId: string;
2477
- formDefinitionId?: number | string | null;
2478
- formRevisionId?: number | string | null;
2479
- revisionNumber?: number | null;
2480
- status?: FormRevisionStatus | string | null;
2481
- hash?: string | null;
2482
- updatedAtUtc?: string | null;
2483
- publishedAtUtc?: string | null;
2484
- publishedBy?: string | null;
2485
- isLatest?: boolean;
2486
- isImmutable?: boolean;
2487
- requiresSnapshotOnPublish?: boolean;
2488
- source?: string | null;
2489
- [key: string]: unknown;
2275
+ interface HumanTaskCancelRequest {
2276
+ reason?: string | null;
2277
+ metadata?: Record<string, unknown> | null;
2490
2278
  }
2491
- interface FormVersionListResult {
2492
- items?: FormVersionSummary[];
2493
- versions?: FormVersionSummary[];
2494
- immutableVersionsAvailable?: boolean;
2495
- versioningMode?: string | null;
2496
- requiresSnapshotOnPublish?: boolean;
2497
- publishBehavior?: string | null;
2498
- [key: string]: unknown;
2279
+ interface HumanTaskActionResult {
2280
+ accepted?: boolean;
2281
+ executionId?: number | string | null;
2282
+ nodeRunId?: number | string | null;
2283
+ status?: AutomationExecutionStatus | string | null;
2284
+ queuedNode?: QueuedNodeSummary | null;
2285
+ errorCode?: string | null;
2286
+ message?: string | null;
2287
+ action?: string | null;
2499
2288
  }
2500
- interface FormSchemaResult {
2501
- formId: string;
2502
- formVersionId: string;
2503
- schema?: unknown;
2504
- requiresSnapshotOnPublish?: boolean;
2505
- [key: string]: unknown;
2289
+ interface AutomationEngineHealthSnapshot {
2290
+ enabled: boolean;
2291
+ queuedCount: number;
2292
+ runningCount: number;
2293
+ waitingCount: number;
2294
+ failedCount: number;
2295
+ scheduleDueCount?: number;
2296
+ flags?: Record<string, boolean>;
2506
2297
  }
2507
- interface AssignmentSelectorContractResult {
2508
- providerBacked?: boolean;
2509
- providerStatus?: string | null;
2510
- limit?: number | null;
2511
- users?: Array<Record<string, unknown>>;
2512
- roles?: Array<Record<string, unknown>>;
2513
- groups?: Array<Record<string, unknown>>;
2514
- [key: string]: unknown;
2298
+ interface AutomationRetentionPruneResult {
2299
+ candidateCount: number;
2300
+ oldestCandidateUtc?: string | null;
2301
+ dryRun: boolean;
2515
2302
  }
2516
- interface AssignmentValidationRequest {
2517
- assignment?: unknown;
2518
- automationId?: number | string | null;
2519
- nodeKey?: string | null;
2520
- [key: string]: unknown;
2303
+
2304
+ type WorkflowFormBindingMode = 'None' | 'ModuleFallback' | 'LevelFallback' | 'StepSpecific' | string;
2305
+ interface WorkflowStepFormBindingDto {
2306
+ stepId: number;
2307
+ mode: WorkflowFormBindingMode;
2308
+ formId?: number | null;
2309
+ moduleId?: number | null;
2310
+ formKey?: string | null;
2311
+ formName?: TranslatableText | string | null;
2312
+ inheritedFrom?: 'Module' | 'Level' | null;
2313
+ visibleFieldKeys?: string[];
2314
+ readOnlyFieldKeys?: string[];
2315
+ requiredFieldKeys?: string[];
2316
+ hiddenFieldKeys?: string[];
2521
2317
  }
2522
- interface WebhookSetupResult {
2523
- webhookUrl?: string | null;
2524
- authMode?: string | null;
2525
- requiredHeaders?: string[];
2526
- hmacSigning?: string | null;
2527
- sampleRequest?: unknown;
2528
- lastDelivery?: unknown;
2529
- [key: string]: unknown;
2318
+ interface WorkflowStepFormUpdateRequest {
2319
+ mode: WorkflowFormBindingMode;
2320
+ formId?: number | null;
2321
+ visibleFieldKeys?: string[];
2322
+ readOnlyFieldKeys?: string[];
2323
+ requiredFieldKeys?: string[];
2324
+ hiddenFieldKeys?: string[];
2325
+ rowVersion?: string | null;
2326
+ clientMutationId?: string;
2530
2327
  }
2531
- interface ScheduleOptionsResult {
2532
- timeZones?: string[];
2533
- misfirePolicies?: string[];
2534
- [key: string]: unknown;
2328
+ interface WorkflowFormBindingContractDto {
2329
+ bindingType: string;
2330
+ workflowId?: number | null;
2331
+ stepSchemaId?: number | null;
2332
+ moduleType?: string | null;
2333
+ moduleId?: number | null;
2334
+ levelType?: string | null;
2335
+ levelId?: number | null;
2336
+ runtimeLoaderEndpoint?: string | null;
2337
+ designTimeEndpoint?: string | null;
2535
2338
  }
2536
- interface ScheduleValidationRequest {
2537
- config?: unknown;
2538
- automationId?: number | string | null;
2539
- triggerKey?: string | null;
2540
- [key: string]: unknown;
2339
+ interface WorkflowStepFormContractDto {
2340
+ workflowId?: number | null;
2341
+ stepSchemaId?: number | null;
2342
+ binding?: WorkflowFormBindingContractDto | null;
2343
+ runtimeEndpoint?: string | null;
2344
+ method?: string | null;
2345
+ runtimeRequestDto?: string | null;
2346
+ designTimeEndpointTemplate?: string | null;
2347
+ designTimeLevelEndpointTemplate?: string | null;
2348
+ requiredFields?: string[];
2349
+ optionalFields?: string[];
2350
+ notes?: Record<string, string> | null;
2541
2351
  }
2542
- type SchedulePreviewRequest = ScheduleValidationRequest;
2543
- interface SchedulePreviewResult {
2544
- isValid?: boolean;
2545
- nextFireAtUtc?: string | null;
2546
- timeZone?: string | null;
2547
- misfirePolicy?: string | null;
2548
- issues?: unknown[];
2549
- [key: string]: unknown;
2352
+
2353
+ type WorkflowStepCategory = 'Trigger' | 'Human' | 'Forms' | 'Automation' | 'Apps' | 'Logic' | 'FlowControl' | 'Subworkflow' | 'System' | string;
2354
+ interface WorkflowCatalogOptionDto {
2355
+ key: string;
2356
+ value?: string;
2357
+ label?: string;
2358
+ displayName?: TranslatableText | string;
2359
+ description?: TranslatableText | string | null;
2360
+ icon?: string | null;
2361
+ colorToken?: string | null;
2362
+ metadata?: Record<string, unknown> | null;
2550
2363
  }
2551
- interface AutomationValidationSummary {
2552
- canPublish: boolean;
2553
- errorCount: number;
2554
- warningCount: number;
2364
+ interface WorkflowStepTypeCapabilityItemDto {
2365
+ stepType: string;
2366
+ canAttachForm?: boolean;
2367
+ canAttachPlugin?: boolean;
2368
+ canAttachAppAction?: boolean;
2369
+ canTargetActor?: boolean;
2370
+ canHaveIncomingConnections?: boolean;
2371
+ canHaveOutgoingConnections?: boolean;
2372
+ canUseSelectedActionConnections?: boolean;
2373
+ supportsSubworkflow?: boolean;
2374
+ supportsParallelBranching?: boolean;
2375
+ supportsInputMappings?: boolean;
2376
+ supportsOutputMappings?: boolean;
2377
+ supportsContextInput?: boolean;
2378
+ producesContextOutput?: boolean;
2379
+ supportsRetry?: boolean;
2380
+ supportsTimeout?: boolean;
2381
+ supportsMappings?: boolean;
2382
+ canBeStartStep?: boolean;
2383
+ canBeTerminalStep?: boolean;
2384
+ canBeSystemStep?: boolean;
2385
+ isHumanStep?: boolean;
2386
+ isSystemStep?: boolean;
2387
+ isRuntimeExecutable?: boolean;
2555
2388
  }
2556
- interface AutomationValidationIssue {
2557
- severity: 'Error' | 'Warning' | 'Info' | string;
2558
- targetType: 'Automation' | 'Trigger' | 'Node' | 'Route' | 'Credential' | 'FormBinding' | 'Expression' | string;
2559
- targetKey?: string | null;
2560
- field?: string | null;
2561
- fieldPath?: string | null;
2562
- message: string;
2563
- code?: string | null;
2564
- suggestedFix?: string | null;
2565
- blocksPublish?: boolean | null;
2389
+ interface WorkflowStepDefaultsItemDto {
2390
+ stepType: string;
2391
+ targetType?: string | null;
2392
+ groupSelection?: string;
2393
+ sla?: number | null;
2394
+ slaHours?: number | null;
2395
+ actions?: unknown[];
2396
+ config?: Record<string, unknown> | null;
2566
2397
  }
2567
- interface AutomationValidationReport {
2568
- isValid?: boolean;
2569
- canPublish: boolean;
2570
- issues?: AutomationValidationIssue[];
2571
- errors?: AutomationValidationIssue[];
2572
- warnings?: AutomationValidationIssue[];
2573
- graphErrors?: AutomationValidationIssue[];
2574
- triggerErrors?: AutomationValidationIssue[];
2575
- nodeErrors?: AutomationValidationIssue[];
2576
- routeErrors?: AutomationValidationIssue[];
2577
- credentialSecurityErrors?: AutomationValidationIssue[];
2578
- formBindingErrors?: AutomationValidationIssue[];
2579
- expressionErrors?: AutomationValidationIssue[];
2580
- publishBlockers?: AutomationValidationIssue[];
2581
- summary?: AutomationValidationSummary | null;
2398
+ interface WorkflowStepTypeCatalogItemDto {
2399
+ type: WorkflowStepType;
2400
+ key: string;
2401
+ typeKey?: string | null;
2402
+ displayName: TranslatableText | string;
2403
+ description?: TranslatableText | string | null;
2404
+ category: WorkflowStepCategory;
2405
+ icon: string;
2406
+ colorToken: string;
2407
+ tags?: string[];
2408
+ canCreate: boolean;
2409
+ isAvailable?: boolean;
2410
+ unavailableReason?: TranslatableText | string | null;
2411
+ supportsForm: boolean;
2412
+ supportsActions: boolean;
2413
+ supportsInputMappings: boolean;
2414
+ supportsOutputMappings: boolean;
2415
+ supportsContextWrites: boolean;
2416
+ isSystem: boolean;
2417
+ isLocked?: boolean;
2418
+ requiresTarget?: boolean;
2419
+ isSystemExecutable?: boolean;
2420
+ isHuman?: boolean;
2421
+ supportsContextInput?: boolean;
2422
+ producesContextOutput?: boolean;
2423
+ supportsRetry?: boolean;
2424
+ supportsTimeout?: boolean;
2425
+ supportsMappings?: boolean;
2426
+ canBeStartStep?: boolean;
2427
+ canBeTerminalStep?: boolean;
2428
+ capabilities?: WorkflowStepTypeCapabilityItemDto | null;
2429
+ routeOutputKeys?: string[];
2430
+ defaults?: WorkflowStepDefaultsItemDto | null;
2431
+ configSchema?: JsonSchemaLite | null;
2432
+ configUiSchema?: NodeConfigUiSchema | null;
2433
+ defaultConfig?: Record<string, unknown> | null;
2434
+ metadata?: Record<string, unknown> | null;
2435
+ }
2436
+ interface WorkflowStepActionCatalogItemDto extends WorkflowCatalogOptionDto {
2437
+ type?: string;
2438
+ typeKey?: string;
2439
+ routingBehavior?: string | null;
2440
+ routesThroughSelectedActionConnection?: boolean;
2441
+ isTerminal?: boolean;
2442
+ isRouteable?: boolean;
2443
+ canRoute?: boolean;
2582
2444
  }
2583
- interface PublishAutomationRequest {
2584
- notes?: string | null;
2445
+ interface WorkflowCatalogDefaultsDto {
2446
+ triggerType?: string;
2447
+ groupSelection?: string;
2448
+ failureBehavior?: string;
2449
+ contextWritePolicy?: string;
2585
2450
  }
2586
- interface PublishAutomationResult {
2587
- revisionId?: number | string;
2588
- revision?: AutomationRevisionSummary | null;
2589
- canActivate?: boolean;
2590
- validation?: AutomationValidationReport | null;
2451
+ interface WorkflowBuilderCapabilitiesDto {
2452
+ supportsBatchSave?: boolean;
2453
+ supportsClientMutationId?: boolean;
2454
+ supportsRowVersion?: boolean;
2455
+ supportsTestRun?: boolean;
2456
+ supportsContextPathValidation?: boolean;
2457
+ supportsLayoutOnCreate?: boolean;
2458
+ supportsMultiAppActions?: boolean;
2459
+ supportsContextCatalogPerStep?: boolean;
2460
+ supportsWorkflowTemplates?: boolean;
2591
2461
  }
2592
- interface ActivateAutomationRequest {
2593
- revisionId: number | string;
2462
+ interface WorkflowRuntimeRoutingPolicyDto {
2463
+ routeableActions?: string[];
2464
+ routeableSelectedActionTypes?: string[];
2465
+ terminalActions?: string[];
2466
+ terminalActionTypes?: string[];
2467
+ returnActionBehavior?: 'ReturnToRequester' | 'ReturnToPrevious' | string;
2468
+ behavior?: string | null;
2594
2469
  }
2595
- interface ActivationResult {
2596
- automationId: number | string;
2597
- activeRevisionId?: number | string | null;
2598
- status: AutomationStatus;
2470
+ interface WorkflowCatalogDto {
2471
+ stepTypes: WorkflowStepTypeCatalogItemDto[];
2472
+ triggerTypes: WorkflowCatalogOptionDto[];
2473
+ targetTypes: WorkflowCatalogOptionDto[];
2474
+ groupSelections: WorkflowCatalogOptionDto[];
2475
+ stepActions: WorkflowStepActionCatalogItemDto[];
2476
+ connectionConditionTypes: WorkflowCatalogOptionDto[];
2477
+ appActionFailureBehaviors: WorkflowCatalogOptionDto[];
2478
+ pluginFailureBehaviors: WorkflowCatalogOptionDto[];
2479
+ contextWritePolicies: WorkflowCatalogOptionDto[];
2480
+ dataTypes?: WorkflowCatalogOptionDto[];
2481
+ systemStepTypes: WorkflowCatalogOptionDto[];
2482
+ configSchemas?: Array<{
2483
+ stepType: string;
2484
+ fields: unknown[];
2485
+ }>;
2486
+ defaults: WorkflowCatalogDefaultsDto;
2487
+ capabilities: WorkflowBuilderCapabilitiesDto;
2488
+ runtimeRoutingPolicy?: WorkflowRuntimeRoutingPolicyDto | null;
2489
+ stepFormContract?: WorkflowStepFormContractDto | null;
2599
2490
  }
2600
- interface AutomationRevisionSummary {
2601
- revisionId?: number | string;
2602
- automationRevisionId?: number | string;
2603
- automationId?: number | string;
2604
- revisionNumber?: number | null;
2605
- createdAtUtc?: string | null;
2606
- createdBy?: string | null;
2607
- isActive?: boolean;
2608
- publishedAtUtc?: string | null;
2609
- activatedAtUtc?: string | null;
2610
- publishedBy?: string | null;
2611
- changeSummary?: string | null;
2612
- executionCount?: number | null;
2491
+ interface WorkflowAppDescriptorDto {
2492
+ appCode: string;
2493
+ displayName: TranslatableText | string;
2494
+ description?: TranslatableText | string | null;
2495
+ icon?: string | null;
2496
+ category?: string | null;
2497
+ actionCount?: number | null;
2613
2498
  }
2614
- interface AutomationLastExecutionSummary {
2615
- executionId?: number | string;
2616
- status?: AutomationExecutionStatus | string | null;
2617
- triggerType?: AutomationTriggerType | string | null;
2618
- triggerKey?: string | null;
2619
- createdAtUtc?: string | null;
2620
- completedAtUtc?: string | null;
2499
+ interface WorkflowAppActionDescriptorDto {
2500
+ actionKey: string;
2501
+ appCode?: string | null;
2502
+ displayName: TranslatableText | string;
2503
+ description?: TranslatableText | string | null;
2504
+ category?: string | null;
2505
+ icon?: string | null;
2506
+ configSchema?: JsonSchemaLite | null;
2507
+ configSchemaJson?: string | null;
2508
+ runtimeInputsSchema?: JsonSchemaLite | null;
2509
+ outputsSchema?: JsonSchemaLite | null;
2510
+ inputSchema?: unknown[];
2511
+ outputSchema?: unknown[];
2512
+ fields?: unknown[];
2513
+ configFields?: unknown[];
2514
+ runtimeInputs?: unknown[];
2515
+ outputs?: unknown[];
2516
+ supportsAsync?: boolean;
2517
+ supportsRetry?: boolean;
2518
+ failureBehaviors?: string[];
2519
+ requiredPermissions?: string[];
2520
+ outputsPersistableToContext?: string[];
2521
+ requiredContextKeys?: string[];
2522
+ supportedScopes?: string[];
2523
+ supportedPhases?: string[];
2621
2524
  }
2622
- interface AutomationExportDefinition extends AutomationFrontendDetail {
2623
- exportedAtUtc?: string | null;
2525
+ interface WorkflowAppActionOptionDto {
2526
+ value: string;
2527
+ label: TranslatableText | string;
2528
+ description?: TranslatableText | string | null;
2529
+ metadata?: Record<string, unknown> | null;
2624
2530
  }
2625
- interface AutomationImportRequest {
2626
- definition: AutomationExportDefinition;
2627
- nameOverride?: TranslatableText | string | null;
2531
+ interface WorkflowPluginDescriptorDto {
2532
+ pluginId: string;
2533
+ displayName: TranslatableText | string;
2534
+ description?: TranslatableText | string | null;
2535
+ category?: string | null;
2536
+ icon?: string | null;
2537
+ inputSchema?: JsonSchemaLite | null;
2538
+ outputSchema?: JsonSchemaLite | null;
2539
+ inputSchemaJson?: string | null;
2540
+ outputSchemaJson?: string | null;
2541
+ inputFields?: unknown[];
2542
+ outputFields?: unknown[];
2543
+ supportsAsync?: boolean;
2544
+ defaultTimeoutSeconds?: number | null;
2545
+ isAvailable?: boolean;
2546
+ errorMessage?: string | null;
2628
2547
  }
2629
- interface AutomationImportResult {
2630
- automation: AutomationSummary;
2631
- validation?: AutomationValidationReport | null;
2632
- unresolvedCredentialRefs?: string[];
2548
+
2549
+ type WorkflowContextValueType = 'string' | 'number' | 'boolean' | 'date' | 'datetime' | 'object' | 'array' | 'file' | 'secret' | 'reference' | string;
2550
+ type WorkflowContextSourceType = 'Property' | 'property' | 'Trigger' | 'trigger' | 'Variable' | 'variable' | 'StepOutput' | 'stepOutput' | 'StepAction' | 'stepAction' | 'System' | 'system' | 'Resource' | 'resource' | 'Environment' | 'environment' | 'Metadata' | 'metadata' | 'Context' | 'context' | string;
2551
+ interface WorkflowContextCatalogSourceDto {
2552
+ path: string;
2553
+ type: WorkflowContextValueType;
2554
+ label: TranslatableText | string;
2555
+ sourceType: WorkflowContextSourceType;
2556
+ entityType?: string | null;
2557
+ entityId?: number | null;
2558
+ stepSchemaId?: number | null;
2559
+ stepKey?: string | null;
2560
+ availableFromStepKey?: string | null;
2561
+ isSecret: boolean;
2562
+ isWritable: boolean;
2563
+ isProducedBeforeCurrentStep?: boolean | null;
2564
+ isCollection?: boolean | null;
2565
+ isExternalized?: boolean | null;
2566
+ description?: TranslatableText | string | null;
2567
+ exampleValue?: unknown;
2633
2568
  }
2634
- interface AutomationRevisionDiffResult {
2635
- leftRevisionId?: number | string;
2636
- rightRevisionId?: number | string;
2637
- fromRevisionId?: number | string;
2638
- toRevisionId?: number | string;
2639
- changedTriggers?: string[];
2640
- changedNodes?: string[];
2641
- changedRoutes?: string[];
2642
- changedFormBindings?: string[];
2643
- changedConfigKeys?: string[];
2644
- changes?: Array<{
2645
- path: string;
2646
- kind: string;
2647
- before?: unknown;
2648
- after?: unknown;
2649
- }>;
2569
+ interface WorkflowContextCatalogDto {
2570
+ workflowId: number;
2571
+ forStepSchemaId?: number | null;
2572
+ sources: WorkflowContextCatalogSourceDto[];
2573
+ generatedAt?: string | null;
2650
2574
  }
2651
- interface AutomationRunResult {
2652
- accepted?: boolean;
2653
- executionId: number | string;
2654
- status: AutomationExecutionStatus;
2655
- correlationId?: string | null;
2656
- queuedNodes?: QueuedNodeSummary[];
2575
+ interface WorkflowContextPathValidationRequest {
2576
+ paths: string[];
2577
+ forStepSchemaId?: number | null;
2657
2578
  }
2658
- interface QueuedNodeSummary {
2659
- nodeKey?: string | null;
2660
- nodeType?: AutomationNodeType | string | null;
2661
- status?: AutomationExecutionStatus | string | null;
2662
- nodeRunId?: number | string | null;
2663
- routeOutputKey?: string | null;
2664
- [key: string]: unknown;
2579
+ interface WorkflowContextPathValidationResultDto {
2580
+ results: Array<{
2581
+ path: string;
2582
+ isValid: boolean;
2583
+ isAvailable: boolean;
2584
+ type?: WorkflowContextValueType | null;
2585
+ message?: TranslatableText | string | null;
2586
+ }>;
2665
2587
  }
2666
- interface AutomationExecutionListResult {
2667
- items: AutomationExecutionSummary[];
2668
- count?: number;
2669
- limit?: number;
2670
- nextCursor?: string | null;
2671
- nextCursorStartedAtUtc?: string | null;
2672
- nextCursorExecutionId?: number | string | null;
2673
- hasMore?: boolean;
2588
+
2589
+ type WorkflowValidationIssueSeverity = 'Error' | 'Warning' | 'Info' | string;
2590
+ type WorkflowValidationEntityType = 'Workflow' | 'Trigger' | 'Step' | 'Connection' | 'Credential' | 'Form' | 'Expression' | 'ContextPath' | 'Resource' | string;
2591
+ type WorkflowValidationGroupKey = 'issues' | 'errors' | 'warnings' | 'graphErrors' | 'triggerErrors' | 'nodeErrors' | 'routeErrors' | 'credentialSecurityErrors' | 'formBindingErrors' | 'expressionErrors' | 'publishBlockers' | string;
2592
+ interface WorkflowValidationIssueDto {
2593
+ code: string;
2594
+ severity: WorkflowValidationIssueSeverity;
2595
+ entityType: WorkflowValidationEntityType;
2596
+ entityId?: number | string | null;
2597
+ targetType?: string | null;
2598
+ targetKey?: string | null;
2599
+ field?: string | null;
2600
+ fieldPath?: string | null;
2601
+ message: TranslatableText | string;
2602
+ helpText?: TranslatableText | string | null;
2603
+ suggestedAction?: TranslatableText | string | null;
2604
+ relatedEntityType?: WorkflowValidationEntityType | string | null;
2605
+ relatedEntityId?: number | string | null;
2606
+ suggestedFix?: string | null;
2607
+ blocksPublish?: boolean | null;
2608
+ sourceGroup?: WorkflowValidationGroupKey | null;
2674
2609
  }
2675
- interface AutomationExecutionSummary {
2676
- executionId: number | string;
2677
- automationId: number | string;
2678
- revisionId?: number | string | null;
2679
- automationRevisionId?: number | string | null;
2680
- automationName?: string | null;
2681
- revisionNumber?: number | null;
2682
- status: AutomationExecutionStatus;
2683
- triggerType?: AutomationTriggerType | string | null;
2684
- triggerKey?: string | null;
2685
- createdAtUtc?: string | null;
2686
- startedAtUtc?: string | null;
2687
- completedAtUtc?: string | null;
2688
- durationMs?: number | null;
2689
- correlationId?: string | null;
2690
- failedNode?: unknown;
2691
- waitingNode?: unknown;
2610
+ interface WorkflowValidationGroupedIssuesDto {
2611
+ issues: WorkflowValidationIssueDto[];
2612
+ errors: WorkflowValidationIssueDto[];
2613
+ warnings: WorkflowValidationIssueDto[];
2614
+ graphErrors: WorkflowValidationIssueDto[];
2615
+ triggerErrors: WorkflowValidationIssueDto[];
2616
+ nodeErrors: WorkflowValidationIssueDto[];
2617
+ routeErrors: WorkflowValidationIssueDto[];
2618
+ credentialSecurityErrors: WorkflowValidationIssueDto[];
2619
+ formBindingErrors: WorkflowValidationIssueDto[];
2620
+ expressionErrors: WorkflowValidationIssueDto[];
2621
+ publishBlockers: WorkflowValidationIssueDto[];
2692
2622
  }
2693
- interface AutomationExecutionDetail extends AutomationExecutionSummary {
2694
- tenantId?: string | null;
2695
- triggerSummaryJson?: string | null;
2696
- triggerSummary?: unknown;
2697
- nodeRuns: AutomationNodeRun[];
2698
- waits?: AutomationRuntimeWait[];
2699
- runtimeWaits?: AutomationRuntimeWait[];
2700
- events: AutomationExecutionEvent[];
2701
- timeline?: AutomationExecutionEvent[];
2702
- externalCallAudits?: unknown[];
2703
- flowPlusCommitAudits?: unknown[];
2704
- approvalDecisions?: unknown[];
2705
- timelineHasMore?: boolean;
2706
- timelineNextAfterUtc?: string | null;
2623
+ interface WorkflowValidationResultDto {
2624
+ isValid: boolean;
2625
+ canPublish?: boolean | null;
2626
+ issues?: WorkflowValidationIssueDto[];
2627
+ errors: WorkflowValidationIssueDto[];
2628
+ warnings: WorkflowValidationIssueDto[];
2629
+ info?: WorkflowValidationIssueDto[];
2630
+ groups?: WorkflowValidationGroupedIssuesDto | null;
2631
+ publishBlockers?: WorkflowValidationIssueDto[];
2632
+ raw?: unknown;
2633
+ checkedAt?: string | null;
2707
2634
  }
2708
- interface AutomationNodeRun {
2709
- nodeRunId: number | string;
2710
- nodeKey: string;
2711
- nodeType: AutomationNodeType;
2712
- status: AutomationExecutionStatus;
2713
- inputDataRef?: string | null;
2714
- outputDataRef?: string | null;
2715
- queuedAtUtc?: string | null;
2716
- runAfterUtc?: string | null;
2717
- startedAtUtc?: string | null;
2718
- completedAtUtc?: string | null;
2719
- waitUntilUtc?: string | null;
2720
- waitReason?: string | null;
2721
- attemptCount?: number | null;
2722
- maxAttempts?: number | null;
2723
- errorJson?: string | null;
2724
- attempts?: AutomationNodeAttempt[];
2725
- /** Safe AI execution summary (`node.ai`) — diagnostic metadata only. */
2726
- ai?: ExecutionNodeAiSummary | null;
2635
+
2636
+ interface WorkflowBuilderDto {
2637
+ workflow: WorkflowDefinitionDto;
2638
+ definition?: WorkflowDefinitionDto;
2639
+ workflowId?: number;
2640
+ version?: number | null;
2641
+ draftVersion?: number | null;
2642
+ publishedVersion?: number | null;
2643
+ canPublish?: boolean;
2644
+ supports?: WorkflowStepType[];
2645
+ catalog?: WorkflowCatalogDto | null;
2646
+ triggers: WorkflowTriggerDto[];
2647
+ steps: WorkflowStepDto[];
2648
+ connections: WorkflowConnectionDto[];
2649
+ variables: WorkflowVariableDto[];
2650
+ resources: WorkflowResourceBindingDto[];
2651
+ contextCatalog?: WorkflowContextCatalogDto | null;
2652
+ layout?: WorkflowLayoutDto | null;
2653
+ validation?: WorkflowValidationResultDto | null;
2654
+ permissions?: WorkflowBuilderPermissionsDto | null;
2655
+ rowVersion?: string | null;
2727
2656
  }
2728
- interface AutomationNodeAttempt {
2729
- attemptId?: number | string;
2730
- nodeAttemptId?: number | string;
2731
- attemptNumber?: number | null;
2732
- status: AutomationExecutionStatus;
2733
- startedAtUtc?: string | null;
2734
- completedAtUtc?: string | null;
2735
- durationMs?: number | null;
2736
- workerId?: string | null;
2737
- externalCallCount?: number | null;
2738
- errorMessage?: string | null;
2739
- errorJson?: string | null;
2740
- logsRef?: string | null;
2657
+ interface BatchBuilderPatchRequest {
2658
+ rowVersion?: string | null;
2659
+ clientMutationId?: string;
2660
+ createSteps?: unknown[];
2661
+ updateSteps?: unknown[];
2662
+ deleteStepIds?: number[];
2663
+ createConnections?: unknown[];
2664
+ updateConnections?: unknown[];
2665
+ deleteConnectionIds?: number[];
2666
+ layout?: WorkflowLayoutDto | null;
2741
2667
  }
2742
- interface AutomationRuntimeWait {
2743
- runtimeWaitId: number | string;
2744
- nodeRunId?: number | string | null;
2745
- nodeKey?: string | null;
2746
- waitType: string;
2747
- status: string;
2748
- waitReason?: string | null;
2749
- resumeToken?: string | null;
2750
- createdAtUtc?: string | null;
2751
- expiresAtUtc?: string | null;
2752
- dueDateUtc?: string | null;
2753
- metadata?: unknown;
2668
+
2669
+ type WorkflowTestRunMode = 'ValidateOnly' | 'DryRun' | 'ExecuteSandbox' | string;
2670
+ type WorkflowTestRunStatus = 'Pending' | 'Running' | 'Succeeded' | 'Failed' | string;
2671
+ type WorkflowTestStepStatus = 'Pending' | 'Running' | 'Succeeded' | 'Failed' | 'Skipped' | string;
2672
+ interface WorkflowTestRunRequest {
2673
+ triggerId?: number | null;
2674
+ triggerKey?: string | null;
2675
+ triggerType?: string | null;
2676
+ payload?: Record<string, unknown> | null;
2677
+ propertyValues?: Record<string, unknown> | null;
2678
+ pinnedContext?: Record<string, unknown> | null;
2679
+ runUntilStepId?: number | null;
2680
+ mode: WorkflowTestRunMode;
2681
+ samplePayload?: Record<string, unknown> | null;
2682
+ sampleProperties?: Record<string, unknown> | null;
2683
+ startStepSchemaId?: number | null;
2684
+ maxSteps?: number | null;
2685
+ dryRun?: boolean | null;
2686
+ startStepId?: number | null;
2687
+ selectedActionType?: string | null;
2688
+ selectedActionsByStepId?: Record<number, string | null>;
2689
+ inputs?: Record<string, unknown> | null;
2690
+ triggerPayload?: Record<string, unknown> | null;
2691
+ contextValues?: Record<string, unknown> | null;
2692
+ mockStepOutputs?: Record<string, Record<string, unknown>> | null;
2693
+ mockPlugins?: boolean | null;
2694
+ mockAppActions?: boolean | null;
2754
2695
  }
2755
- interface AutomationExecutionEvent {
2756
- eventId: number | string;
2757
- eventType: string;
2758
- severity: 'Info' | 'Warning' | 'Error' | string;
2759
- occurredAtUtc: string;
2760
- nodeRunId?: number | string | null;
2761
- nodeAttemptId?: number | string | null;
2762
- nodeKey?: string | null;
2763
- correlationId?: string | null;
2764
- data?: unknown;
2765
- dataJson?: string | null;
2696
+ interface WorkflowTestStepResultDto {
2697
+ stepId: number;
2698
+ stepKey?: string | null;
2699
+ stepType?: string | null;
2700
+ status: WorkflowTestStepStatus;
2701
+ startedAt?: string | null;
2702
+ completedAt?: string | null;
2703
+ durationMs?: number | null;
2704
+ inputs?: Record<string, unknown> | null;
2705
+ outputs?: Record<string, unknown> | null;
2706
+ errors?: WorkflowValidationIssueDto[];
2707
+ selectedRouteConnectionId?: number | null;
2708
+ selectedActionType?: string | null;
2709
+ producedContextPaths?: string[];
2766
2710
  }
2767
- interface AutomationExecutionNodeDataDetail {
2768
- executionId?: number | string;
2769
- nodeRunId: number | string;
2770
- nodeKey?: string | null;
2771
- nodeType?: AutomationNodeType | string | null;
2772
- status?: AutomationExecutionStatus | string | null;
2773
- includeFull?: boolean;
2774
- summary: unknown;
2775
- input?: unknown;
2776
- output?: unknown;
2777
- errorJson?: string | null;
2778
- attempts?: AutomationNodeAttempt[];
2779
- logs?: AutomationExecutionEvent[];
2780
- fullData?: unknown;
2781
- state?: 'Available' | 'Forbidden' | 'Pruned' | 'Missing' | 'Truncated' | string;
2782
- sensitive?: boolean;
2783
- truncated?: boolean;
2784
- replayAvailable?: boolean;
2785
- replayAvailabilityReason?: string | null;
2786
- /** Safe AI execution summary (`node.ai`) — diagnostic metadata only. */
2787
- ai?: ExecutionNodeAiSummary | null;
2711
+ interface WorkflowTestRunConnectionDecisionDto {
2712
+ connectionId: number;
2713
+ sourceStepId: number;
2714
+ targetStepId: number;
2715
+ expression?: string | null;
2716
+ selectedActionMatched?: boolean;
2717
+ expressionMatched?: boolean;
2718
+ taken?: boolean;
2719
+ reason?: string | null;
2788
2720
  }
2789
- interface ExecutionRetryRequest {
2790
- nodeRunId?: number | string | null;
2791
- nodeKey?: string | null;
2721
+ interface WorkflowTestRunContextValueDto {
2722
+ path: string;
2723
+ value?: unknown;
2724
+ type?: string | null;
2725
+ isSecret?: boolean;
2726
+ isExternalized?: boolean;
2792
2727
  }
2793
- interface ExecutionRetryResult {
2794
- executionId: number | string;
2795
- status: AutomationExecutionStatus;
2728
+ interface WorkflowTestRunContextChangeDto {
2729
+ path: string;
2730
+ value?: unknown;
2731
+ previousValue?: unknown;
2732
+ writePolicy?: string | null;
2733
+ sourceStepId?: number | null;
2796
2734
  }
2797
- interface ExecutionCancelResult {
2798
- executionId: number | string;
2799
- status: AutomationExecutionStatus;
2735
+ interface WorkflowTestRunResultDto {
2736
+ workflowId?: number | null;
2737
+ testRunId: string;
2738
+ status: WorkflowTestRunStatus;
2739
+ success?: boolean;
2740
+ canStart?: boolean;
2741
+ validation?: WorkflowValidationResultDto | null;
2742
+ stepsPreview?: WorkflowStepDto[];
2743
+ connectionsPreview?: WorkflowConnectionDto[];
2744
+ startedAt?: string | null;
2745
+ completedAt?: string | null;
2746
+ stepResults: WorkflowTestStepResultDto[];
2747
+ connectionDecisions?: WorkflowTestRunConnectionDecisionDto[];
2748
+ contextPreview?: WorkflowTestRunContextValueDto[] | Record<string, unknown> | null;
2749
+ visitedSteps?: WorkflowTestStepResultDto[];
2750
+ selectedConnections?: WorkflowTestRunConnectionDecisionDto[];
2751
+ contextChanges?: WorkflowTestRunContextChangeDto[];
2752
+ validationIssues?: WorkflowValidationIssueDto[];
2753
+ errors?: WorkflowValidationIssueDto[] | string[];
2754
+ warnings?: WorkflowValidationIssueDto[] | string[];
2755
+ reachedEnd?: boolean;
2756
+ maxIterationsReached?: boolean;
2757
+ notes?: string[];
2758
+ contextSnapshot?: Record<string, unknown> | null;
2800
2759
  }
2801
- interface AutomationRuntimeWaitResumeTokenResult {
2802
- resumeToken: string;
2803
- expiresAtUtc?: string | null;
2760
+ type ProcessSubmitOperationKey = 'Create' | 'Update' | 'Delete' | 'Action' | string;
2761
+ type ProcessSubmitStatus = 'Executed' | 'PendingApproval' | string;
2762
+ interface ProcessFormLoadRequest {
2763
+ moduleKey?: string | null;
2764
+ operationKey?: ProcessSubmitOperationKey | null;
2765
+ moduleId?: number | null;
2766
+ recordId?: number | string | null;
2767
+ requestId?: number | string | null;
2768
+ stepId?: number | string | null;
2769
+ stepSchemaId?: number | string | null;
2770
+ workflowId?: number | null;
2771
+ requestSchemaId?: number | null;
2772
+ draftProcessId?: number | string | null;
2773
+ mode?: string | null;
2774
+ values?: Record<string, unknown> | null;
2775
+ context?: Record<string, unknown> | null;
2804
2776
  }
2805
- interface WaitResumeRequest {
2806
- payload?: unknown;
2777
+ interface ProcessFormLoadResponseDto {
2778
+ flow: 'Approval' | 'Direct' | string;
2779
+ requiresForm: boolean;
2780
+ formConfig?: Record<string, unknown> | null;
2781
+ formSource?: string | null;
2782
+ formConfiguration?: Record<string, unknown> | null;
2783
+ availableActions?: Array<{
2784
+ key: string;
2785
+ label?: TranslatableText | string | null;
2786
+ isTerminal?: boolean;
2787
+ requiresComment?: boolean;
2788
+ requiresConfirmation?: boolean;
2789
+ }>;
2790
+ values?: Record<string, unknown> | null;
2791
+ context?: Record<string, unknown> | null;
2792
+ permissions?: Record<string, unknown> | null;
2793
+ validationRules?: Record<string, unknown> | null;
2794
+ errors?: WorkflowValidationIssueDto[];
2807
2795
  }
2808
- interface WaitResumeResult {
2809
- executionId: number | string;
2810
- status: AutomationExecutionStatus;
2796
+ interface ProcessSubmitRequest {
2797
+ moduleKey?: string | null;
2798
+ operationKey?: ProcessSubmitOperationKey | null;
2799
+ recordId?: number | string | null;
2800
+ requestId?: number | string | null;
2801
+ stepId?: number | string | null;
2802
+ workflowId?: number | null;
2803
+ requestSchemaId?: number | null;
2804
+ actionKey?: string | null;
2805
+ values?: Record<string, unknown> | null;
2806
+ comment?: string | null;
2807
+ clientMutationId?: string;
2808
+ rowVersion?: string | null;
2809
+ context?: Record<string, unknown> | null;
2811
2810
  }
2812
- interface HumanApprovalDecisionRequest {
2813
- decision: string;
2814
- comments?: string | null;
2815
- metadata?: Record<string, unknown> | null;
2811
+ interface ProcessSubmitResponseDto {
2812
+ status: ProcessSubmitStatus;
2813
+ requestId?: number | string | null;
2814
+ recordId?: number | string | null;
2815
+ nextStepId?: number | string | null;
2816
+ rowVersion?: string | null;
2817
+ errors?: WorkflowValidationIssueDto[];
2816
2818
  }
2817
- interface HumanApprovalDecisionResult {
2818
- executionId: number | string;
2819
- decision: string;
2820
- status: AutomationExecutionStatus;
2819
+ /** @deprecated Use {@link ProcessFormLoadRequest}. */
2820
+ interface ProcessStartRequest {
2821
+ workflowId: number;
2822
+ triggerId?: number | null;
2823
+ payload?: Record<string, unknown> | null;
2824
+ propertyValues?: Record<string, unknown> | null;
2821
2825
  }
2822
- interface HumanTaskAssignment {
2823
- userId?: string | null;
2824
- roleId?: string | null;
2825
- groupId?: string | null;
2826
- displayName?: string | null;
2827
- [key: string]: unknown;
2826
+ /** @deprecated Use {@link ProcessSubmitResponseDto}. */
2827
+ interface ProcessStartResultDto {
2828
+ requestId: number;
2829
+ currentStepId?: number | null;
2830
+ status: string;
2828
2831
  }
2829
- interface HumanTaskPayloadResult {
2830
- accepted?: boolean;
2831
- executionId?: number | string | null;
2832
- nodeRunId?: number | string | null;
2833
- resumeToken?: string | null;
2834
- nodeKey?: string | null;
2835
- title?: string | null;
2836
- description?: string | null;
2837
- formSource?: 'ExplicitFormBinding' | 'ReuseTriggerForm' | string | null;
2838
- formId?: string | null;
2839
- formVersionId?: string | null;
2840
- canSaveDraft?: boolean | null;
2841
- contextOutputPath?: string | null;
2842
- priority?: string | null;
2843
- dueDateUtc?: string | null;
2844
- assignment?: HumanTaskAssignment | null;
2845
- prefill?: unknown;
2846
- draft?: unknown;
2847
- payload?: unknown;
2848
- errorCode?: string | null;
2849
- message?: string | null;
2832
+ /** @deprecated Use {@link ProcessSubmitRequest}. */
2833
+ interface TaskActionRequest {
2834
+ requestId: number;
2835
+ stepId: number;
2836
+ actionKey: string;
2837
+ propertyValues?: Record<string, unknown> | null;
2838
+ comment?: string | null;
2850
2839
  }
2851
- interface HumanTaskDraftRequest {
2852
- values?: Record<string, unknown> | null;
2853
- metadata?: Record<string, unknown> | null;
2840
+ /** @deprecated Use {@link ProcessSubmitResponseDto}. */
2841
+ interface TaskActionResultDto {
2842
+ requestId: number;
2843
+ status: string;
2844
+ nextStepId?: number | null;
2845
+ errors?: WorkflowValidationIssueDto[];
2854
2846
  }
2855
- interface HumanTaskSubmitRequest {
2856
- values?: Record<string, unknown> | null;
2857
- metadata?: Record<string, unknown> | null;
2847
+
2848
+ interface ProcessContextEntryDto {
2849
+ path: string;
2850
+ value?: unknown;
2851
+ type?: string | null;
2852
+ sourceStepId?: number | null;
2853
+ sourceStepKey?: string | null;
2854
+ version?: number | null;
2855
+ isSecret?: boolean;
2856
+ isExternalized?: boolean;
2857
+ updatedAt?: string | null;
2858
2858
  }
2859
- interface HumanTaskCancelRequest {
2860
- reason?: string | null;
2861
- metadata?: Record<string, unknown> | null;
2859
+ interface ProcessContextSnapshotDto {
2860
+ requestId: number;
2861
+ entries: ProcessContextEntryDto[];
2862
+ snapshotAt?: string | null;
2862
2863
  }
2863
- interface HumanTaskActionResult {
2864
- accepted?: boolean;
2865
- executionId?: number | string | null;
2866
- nodeRunId?: number | string | null;
2867
- status?: AutomationExecutionStatus | string | null;
2868
- queuedNode?: QueuedNodeSummary | null;
2869
- errorCode?: string | null;
2870
- message?: string | null;
2871
- action?: string | null;
2864
+ interface ProcessContextTimelineEventDto {
2865
+ eventId: string;
2866
+ occurredAt: string;
2867
+ sourceStepId?: number | null;
2868
+ sourceStepKey?: string | null;
2869
+ path: string;
2870
+ oldValue?: unknown;
2871
+ newValue?: unknown;
2872
+ writePolicy?: string | null;
2873
+ message?: TranslatableText | string | null;
2872
2874
  }
2873
- interface AutomationEngineHealthSnapshot {
2874
- enabled: boolean;
2875
- queuedCount: number;
2876
- runningCount: number;
2877
- waitingCount: number;
2878
- failedCount: number;
2879
- scheduleDueCount?: number;
2880
- flags?: Record<string, boolean>;
2875
+ interface ProcessContextLineageNodeDto {
2876
+ path: string;
2877
+ producedByStepId?: number | null;
2878
+ producedByStepKey?: string | null;
2879
+ producedByAction?: string | null;
2880
+ inputs?: string[];
2881
+ transform?: string | null;
2881
2882
  }
2882
- interface AutomationRetentionPruneResult {
2883
- candidateCount: number;
2884
- oldestCandidateUtc?: string | null;
2885
- dryRun: boolean;
2883
+ interface EngineEventDto {
2884
+ eventId: string;
2885
+ occurredAt: string;
2886
+ type: string;
2887
+ stepId?: number | null;
2888
+ stepKey?: string | null;
2889
+ payload?: Record<string, unknown> | null;
2890
+ errors?: Array<{
2891
+ code: string;
2892
+ message: string;
2893
+ }>;
2886
2894
  }
2887
2895
 
2888
2896
  /**
@@ -2928,7 +2936,7 @@ interface EngineCommandError {
2928
2936
  /** Headers required on command (start/action) submissions. */
2929
2937
  interface AutomationCommandHeaders {
2930
2938
  'X-Correlation-Id': string;
2931
- 'Idempotency-Key': string;
2939
+ 'X-Idempotency-Key': string;
2932
2940
  'X-Tenant-Id'?: string;
2933
2941
  }
2934
2942
 
@@ -2945,7 +2953,7 @@ interface AutomationCommandHeaders {
2945
2953
  * - Raw prompt/response storage is unsupported — keep those toggles off/disabled.
2946
2954
  */
2947
2955
 
2948
- type IntegrationSectionKey = 'ai-providers' | 'connected-accounts' | 'local-on-prem' | 'security-policies';
2956
+ type IntegrationSectionKey = 'ai-providers' | 'connected-accounts' | 'security-policies';
2949
2957
  interface IntegrationSection {
2950
2958
  key: IntegrationSectionKey | string;
2951
2959
  title?: TranslatableText | string | null;
@@ -3312,10 +3320,10 @@ interface OperationsAuditEvent {
3312
3320
  * User-scoped. The backend resolves the current user from auth context.
3313
3321
  *
3314
3322
  * RULES:
3315
- * - Render action buttons strictly from `allowedActions` never status-hardcoded.
3316
- * - Run manual triggers by `triggerId` (NOT `triggerKey`).
3317
- * - Submit start forms with the SAME `formRevisionId` the user opened.
3318
- * - Command submissions need `X-Correlation-Id` + `Idempotency-Key`.
3323
+ * - Render action buttons strictly from `allowedActions`; never status-hardcode.
3324
+ * - Run manual triggers by `triggerId` (not `triggerKey`).
3325
+ * - Submit start forms with the same `formRevisionId` the user opened.
3326
+ * - Command submissions need `X-Correlation-Id` + `X-Idempotency-Key`.
3319
3327
  */
3320
3328
  interface ClientManualTrigger {
3321
3329
  startRef: string;
@@ -3324,7 +3332,7 @@ interface ClientManualTrigger {
3324
3332
  automationName?: string | null;
3325
3333
  automationStatus?: string | null;
3326
3334
  activeAutomationRevisionId?: number | string | null;
3327
- /** Use this to RUN the trigger (not triggerKey). */
3335
+ /** Use this to run the trigger. */
3328
3336
  triggerId: number | string;
3329
3337
  triggerKey?: string | null;
3330
3338
  triggerName?: string | null;
@@ -3395,10 +3403,27 @@ interface ClientInteraction {
3395
3403
  moduleRecordDraftId?: number | string | null;
3396
3404
  runtimeWaitId?: number | string | null;
3397
3405
  workCenterItemId?: string | null;
3398
- /** The ONLY source of truth for which action buttons to render. */
3406
+ /** The only source of truth for action buttons. */
3399
3407
  allowedActions?: InteractionAllowedAction[] | null;
3400
3408
  assignment?: Record<string, unknown> | null;
3401
3409
  }
3410
+ interface ClientRequestSummary {
3411
+ instanceRef: string;
3412
+ tenantId?: string | null;
3413
+ executionId: number | string;
3414
+ automationId?: number | string | null;
3415
+ automationName?: string | null;
3416
+ triggerKey?: string | null;
3417
+ triggerType?: string | null;
3418
+ status: string;
3419
+ createdAtUtc?: string | null;
3420
+ startedAtUtc?: string | null;
3421
+ completedAtUtc?: string | null;
3422
+ failedAtUtc?: string | null;
3423
+ createdBy?: string | null;
3424
+ correlationId?: string | null;
3425
+ openInteractionCount?: number | null;
3426
+ }
3402
3427
  interface ClientRequestLifecycleStep {
3403
3428
  nodeRunId: number | string;
3404
3429
  nodeKey: string;
@@ -3426,9 +3451,28 @@ interface ClientRequestLifecycle {
3426
3451
  }
3427
3452
  interface ClientInteractionDetail {
3428
3453
  interaction: ClientInteraction;
3429
- payload?: unknown;
3454
+ payload?: ClientInteractionPayload | null;
3430
3455
  lifecycle?: ClientRequestLifecycle | null;
3431
3456
  }
3457
+ interface ClientInteractionFormSurface {
3458
+ formDefinitionId?: number | string | null;
3459
+ formRevisionId?: number | string | null;
3460
+ schemaSnapshotJson?: string | null;
3461
+ layoutSnapshotJson?: string | null;
3462
+ fieldBindingSnapshotJson?: string | null;
3463
+ validationRulesSnapshotJson?: string | null;
3464
+ visibilityRulesSnapshotJson?: string | null;
3465
+ }
3466
+ interface ClientInteractionPayload {
3467
+ accepted?: boolean | null;
3468
+ interaction?: ClientInteraction | null;
3469
+ form?: ClientInteractionFormSurface | null;
3470
+ payload?: Record<string, unknown> | null;
3471
+ draft?: Record<string, unknown> | null;
3472
+ safePayloadSummary?: Record<string, unknown> | null;
3473
+ errorCode?: string | null;
3474
+ message?: string | null;
3475
+ }
3432
3476
  interface SaveInteractionDraftRequest {
3433
3477
  tenantId?: string | null;
3434
3478
  values: Record<string, unknown>;
@@ -3442,23 +3486,6 @@ interface InteractionActionRequest {
3442
3486
  delegateTo?: string | null;
3443
3487
  metadata?: Record<string, unknown> | null;
3444
3488
  }
3445
- interface ClientRequestSummary {
3446
- instanceRef: string;
3447
- tenantId?: string | null;
3448
- executionId: number | string;
3449
- automationId?: number | string | null;
3450
- automationName?: string | null;
3451
- triggerKey?: string | null;
3452
- triggerType?: string | null;
3453
- status: string;
3454
- createdAtUtc?: string | null;
3455
- startedAtUtc?: string | null;
3456
- completedAtUtc?: string | null;
3457
- failedAtUtc?: string | null;
3458
- createdBy?: string | null;
3459
- correlationId?: string | null;
3460
- openInteractionCount?: number | null;
3461
- }
3462
3489
 
3463
3490
  /**
3464
3491
  * Optional configuration for {@link provideFlowplusWorkflow}.
@@ -3763,8 +3790,6 @@ declare class WorkflowDefinitionApiService {
3763
3790
  private rememberCachedLayout;
3764
3791
  private resolveAutomationId;
3765
3792
  private resolveWorkflowIdForAutomation;
3766
- private loadLegacyLayout;
3767
- private saveLegacyLayout;
3768
3793
  private requireIndexByWorkflowId;
3769
3794
  private findIndexByStepId;
3770
3795
  private requireIndexByStepId;
@@ -3805,10 +3830,13 @@ declare class WorkflowCatalogApiService {
3805
3830
  }
3806
3831
 
3807
3832
  declare class WorkflowContextApiService {
3833
+ private readonly http;
3834
+ private readonly endpoints;
3808
3835
  private readonly catalogApi;
3809
3836
  getCatalog(workflowId: number): Observable<WorkflowContextCatalogDto>;
3810
3837
  getCatalogForStep(workflowId: number, stepSchemaId: number): Observable<WorkflowContextCatalogDto>;
3811
3838
  validatePaths(workflowId: number, body: WorkflowContextPathValidationRequest): Observable<WorkflowContextPathValidationResultDto>;
3839
+ private loadAutomationContextSchema;
3812
3840
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<WorkflowContextApiService, never>;
3813
3841
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<WorkflowContextApiService>;
3814
3842
  }
@@ -3881,7 +3909,9 @@ declare class AutomationDesignApiService {
3881
3909
  private readonly diagnostics;
3882
3910
  listAutomations(params?: Record<string, string | number | boolean | null | undefined>): Observable<AutomationFrontendListResult>;
3883
3911
  createAutomation(request: AutomationMetadataRequest): Observable<AutomationSummary>;
3884
- getAutomation(automationId: number | string): Observable<AutomationFrontendDetail>;
3912
+ getAutomation(automationId: number | string, options?: {
3913
+ silent?: boolean;
3914
+ }): Observable<AutomationFrontendDetail>;
3885
3915
  updateAutomation(automationId: number | string, request: AutomationMetadataRequest): Observable<AutomationSummary>;
3886
3916
  upsertTrigger(automationId: number | string, request: TriggerDefinitionRequest, triggerKey?: string | null, options?: {
3887
3917
  silent?: boolean;
@@ -5060,7 +5090,7 @@ declare class FlowplusWorkflowFacade {
5060
5090
  readonly studio: _angular_core.Signal<_masterteam_flowplus_workflow.FlowplusStudioSlice>;
5061
5091
  readonly studioWorkflows: _angular_core.Signal<_masterteam_flowplus_workflow.WorkflowDefinitionSummaryDto[]>;
5062
5092
  readonly studioSearch: _angular_core.Signal<string>;
5063
- readonly studioStatusFilter: _angular_core.Signal<"published" | "all" | "draft" | "invalid" | "archived">;
5093
+ readonly studioStatusFilter: _angular_core.Signal<"invalid" | "draft" | "published" | "all" | "archived">;
5064
5094
  readonly builder: _angular_core.Signal<FlowplusBuilderSlice>;
5065
5095
  readonly workflow: _angular_core.Signal<_masterteam_flowplus_workflow.WorkflowDefinitionDto | null>;
5066
5096
  readonly steps: _angular_core.Signal<WorkflowStepDto[]>;
@@ -5210,6 +5240,7 @@ declare class FlowplusWorkflowFacade {
5210
5240
  toggleMinimap(open?: boolean): Observable<void>;
5211
5241
  createStep(tempStep: WorkflowStepDto, request: ConstructorParameters<typeof CreateStep>[1]): Observable<void>;
5212
5242
  updateStep(stepId: number, patch: Partial<WorkflowStepDto>): Observable<void>;
5243
+ commitStepUpdates(): Observable<void>;
5213
5244
  deleteStep(stepId: number): Observable<void>;
5214
5245
  moveStep(stepId: number, x: number, y: number): Observable<void>;
5215
5246
  createConnection(tempConnection: WorkflowConnectionDto, request: ConstructorParameters<typeof CreateConnection>[1]): Observable<void>;
@@ -5373,6 +5404,7 @@ declare class FlowplusWorkflowState {
5373
5404
  private commitStepUpdate;
5374
5405
  private commitStepUpdate$;
5375
5406
  private flushPendingStepUpdates;
5407
+ commitPendingStepUpdates(ctx: StateContext<FlowplusWorkflowStateModel>): Observable<unknown>;
5376
5408
  private hasPendingStepSaves;
5377
5409
  deleteStep(ctx: StateContext<FlowplusWorkflowStateModel>, action: DeleteStep): Observable<void> | undefined;
5378
5410
  moveStep(ctx: StateContext<FlowplusWorkflowStateModel>, action: MoveStep): void;
@@ -5812,11 +5844,26 @@ declare class OperationsState {
5812
5844
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<OperationsState>;
5813
5845
  }
5814
5846
 
5847
+ declare class LoadClientAutomationCounts {
5848
+ query?: ClientAutomationQuery | undefined;
5849
+ static readonly type = "[ClientAutomation] Load Counts";
5850
+ constructor(query?: ClientAutomationQuery | undefined);
5851
+ }
5815
5852
  declare class LoadStartCatalog {
5816
5853
  query?: ClientAutomationQuery | undefined;
5817
5854
  static readonly type = "[ClientAutomation] Load Start Catalog";
5818
5855
  constructor(query?: ClientAutomationQuery | undefined);
5819
5856
  }
5857
+ declare class LoadClientForms {
5858
+ query?: ClientAutomationQuery | undefined;
5859
+ static readonly type = "[ClientAutomation] Load Forms";
5860
+ constructor(query?: ClientAutomationQuery | undefined);
5861
+ }
5862
+ declare class LoadManualTriggers {
5863
+ query?: ClientAutomationQuery | undefined;
5864
+ static readonly type = "[ClientAutomation] Load Manual Triggers";
5865
+ constructor(query?: ClientAutomationQuery | undefined);
5866
+ }
5820
5867
  declare class RunManualTrigger {
5821
5868
  triggerId: number | string;
5822
5869
  payload: RunManualTriggerRequest;
@@ -5872,11 +5919,15 @@ declare class LoadRequestLifecycle {
5872
5919
  declare class ClientAutomationFacade {
5873
5920
  private readonly store;
5874
5921
  readonly startCatalog: _angular_core.Signal<_masterteam_flowplus_workflow.ClientStartCatalog | null>;
5922
+ readonly counts: _angular_core.Signal<_masterteam_flowplus_workflow.ClientAutomationCounts | null>;
5923
+ readonly formsPage: _angular_core.Signal<_masterteam_flowplus_workflow.AutomationPagedResult<_masterteam_flowplus_workflow.ClientStartForm> | null>;
5924
+ readonly manualTriggersPage: _angular_core.Signal<_masterteam_flowplus_workflow.AutomationPagedResult<_masterteam_flowplus_workflow.ClientManualTrigger> | null>;
5875
5925
  readonly current: _angular_core.Signal<_masterteam_flowplus_workflow.AutomationPagedResult<_masterteam_flowplus_workflow.ClientInteraction> | null>;
5876
5926
  readonly history: _angular_core.Signal<_masterteam_flowplus_workflow.AutomationPagedResult<_masterteam_flowplus_workflow.ClientInteraction> | null>;
5877
5927
  readonly interactionDetail: _angular_core.Signal<_masterteam_flowplus_workflow.ClientInteractionDetail | null>;
5878
5928
  readonly requests: _angular_core.Signal<_masterteam_flowplus_workflow.AutomationPagedResult<_masterteam_flowplus_workflow.ClientRequestSummary> | null>;
5879
5929
  readonly lifecycle: _angular_core.Signal<_masterteam_flowplus_workflow.ClientRequestLifecycle | null>;
5930
+ readonly lifecycleInstanceRef: _angular_core.Signal<string | null>;
5880
5931
  readonly lastRunResult: _angular_core.Signal<_masterteam_flowplus_workflow.AutomationRunResult | null>;
5881
5932
  private readonly loadingActive;
5882
5933
  private readonly errors;
@@ -5885,8 +5936,15 @@ declare class ClientAutomationFacade {
5885
5936
  readonly currentRows: _angular_core.Signal<_masterteam_flowplus_workflow.ClientInteraction[]>;
5886
5937
  readonly historyRows: _angular_core.Signal<_masterteam_flowplus_workflow.ClientInteraction[]>;
5887
5938
  readonly requestRows: _angular_core.Signal<_masterteam_flowplus_workflow.ClientRequestSummary[]>;
5939
+ readonly manualTriggersCount: _angular_core.Signal<number>;
5940
+ readonly formsCount: _angular_core.Signal<number>;
5888
5941
  readonly currentCount: _angular_core.Signal<number>;
5942
+ readonly historyCount: _angular_core.Signal<number>;
5943
+ readonly requestCount: _angular_core.Signal<number>;
5944
+ readonly isLoadingCounts: _angular_core.Signal<boolean>;
5889
5945
  readonly isLoadingCatalog: _angular_core.Signal<boolean>;
5946
+ readonly isLoadingForms: _angular_core.Signal<boolean>;
5947
+ readonly isLoadingManualTriggers: _angular_core.Signal<boolean>;
5890
5948
  readonly isRunningTrigger: _angular_core.Signal<boolean>;
5891
5949
  readonly isSubmittingForm: _angular_core.Signal<boolean>;
5892
5950
  readonly isLoadingCurrent: _angular_core.Signal<boolean>;
@@ -5894,8 +5952,17 @@ declare class ClientAutomationFacade {
5894
5952
  readonly isLoadingDetail: _angular_core.Signal<boolean>;
5895
5953
  readonly isExecutingAction: _angular_core.Signal<boolean>;
5896
5954
  readonly isLoadingRequests: _angular_core.Signal<boolean>;
5955
+ readonly isLoadingLifecycle: _angular_core.Signal<boolean>;
5897
5956
  readonly actionError: _angular_core.Signal<string | null>;
5957
+ readonly catalogError: _angular_core.Signal<string | null>;
5958
+ readonly formsError: _angular_core.Signal<string | null>;
5959
+ readonly manualTriggersError: _angular_core.Signal<string | null>;
5960
+ readonly triggerError: _angular_core.Signal<string | null>;
5961
+ readonly lifecycleError: _angular_core.Signal<string | null>;
5962
+ loadCounts(query?: ClientAutomationQuery): rxjs.Observable<void>;
5898
5963
  loadStartCatalog(query?: ClientAutomationQuery): rxjs.Observable<void>;
5964
+ loadForms(query?: ClientAutomationQuery): rxjs.Observable<void>;
5965
+ loadManualTriggers(query?: ClientAutomationQuery): rxjs.Observable<void>;
5899
5966
  runManualTrigger(triggerId: number | string, payload: RunManualTriggerRequest): rxjs.Observable<void>;
5900
5967
  submitForm(formDefinitionId: number | string, payload: SubmitStartFormRequest): rxjs.Observable<void>;
5901
5968
  loadCurrent(query?: ClientAutomationQuery): rxjs.Observable<void>;
@@ -5910,7 +5977,10 @@ declare class ClientAutomationFacade {
5910
5977
  }
5911
5978
 
5912
5979
  declare enum ClientAutomationActionKey {
5980
+ LoadCounts = "loadCounts",
5913
5981
  LoadStartCatalog = "loadStartCatalog",
5982
+ LoadForms = "loadForms",
5983
+ LoadManualTriggers = "loadManualTriggers",
5914
5984
  RunManualTrigger = "runManualTrigger",
5915
5985
  SubmitForm = "submitForm",
5916
5986
  LoadCurrent = "loadCurrent",
@@ -5921,13 +5991,24 @@ declare enum ClientAutomationActionKey {
5921
5991
  LoadRequests = "loadRequests",
5922
5992
  LoadLifecycle = "loadLifecycle"
5923
5993
  }
5994
+ interface ClientAutomationCounts {
5995
+ forms?: number;
5996
+ manualTriggers?: number;
5997
+ current?: number;
5998
+ history?: number;
5999
+ requests?: number;
6000
+ }
5924
6001
  interface ClientAutomationStateModel extends LoadingStateShape<ClientAutomationActionKey> {
6002
+ counts: ClientAutomationCounts | null;
5925
6003
  startCatalog: ClientStartCatalog | null;
6004
+ forms: AutomationPagedResult<ClientStartForm> | null;
6005
+ manualTriggers: AutomationPagedResult<ClientManualTrigger> | null;
5926
6006
  current: AutomationPagedResult<ClientInteraction> | null;
5927
6007
  history: AutomationPagedResult<ClientInteraction> | null;
5928
6008
  interactionDetail: ClientInteractionDetail | null;
5929
6009
  requests: AutomationPagedResult<ClientRequestSummary> | null;
5930
6010
  lifecycle: ClientRequestLifecycle | null;
6011
+ lifecycleInstanceRef: string | null;
5931
6012
  lastRunResult: AutomationRunResult | null;
5932
6013
  }
5933
6014
  declare const CLIENT_AUTOMATION_DEFAULT_STATE: ClientAutomationStateModel;
@@ -5935,15 +6016,28 @@ declare const CLIENT_AUTOMATION_DEFAULT_STATE: ClientAutomationStateModel;
5935
6016
  declare class ClientAutomationState {
5936
6017
  private readonly api;
5937
6018
  static getStartCatalog(state: ClientAutomationStateModel): ClientStartCatalog | null;
6019
+ static getCounts(state: ClientAutomationStateModel): ClientAutomationCounts | null;
6020
+ static getForms(state: ClientAutomationStateModel): AutomationPagedResult<ClientStartForm> | null;
6021
+ static getManualTriggers(state: ClientAutomationStateModel): AutomationPagedResult<ClientManualTrigger> | null;
5938
6022
  static getCurrent(state: ClientAutomationStateModel): AutomationPagedResult<ClientInteraction> | null;
5939
6023
  static getHistory(state: ClientAutomationStateModel): AutomationPagedResult<ClientInteraction> | null;
5940
6024
  static getInteractionDetail(state: ClientAutomationStateModel): ClientInteractionDetail | null;
5941
6025
  static getRequests(state: ClientAutomationStateModel): AutomationPagedResult<ClientRequestSummary> | null;
5942
6026
  static getLifecycle(state: ClientAutomationStateModel): ClientRequestLifecycle | null;
6027
+ static getLifecycleInstanceRef(state: ClientAutomationStateModel): string | null;
5943
6028
  static getLastRunResult(state: ClientAutomationStateModel): AutomationRunResult | null;
5944
6029
  static getLoadingActive(state: ClientAutomationStateModel): ClientAutomationActionKey[];
5945
6030
  static getErrors(state: ClientAutomationStateModel): Partial<Record<ClientAutomationActionKey, string>>;
6031
+ loadCounts(ctx: StateContext<ClientAutomationStateModel>, { query }: LoadClientAutomationCounts): rxjs.Observable<{
6032
+ forms: number | null;
6033
+ manualTriggers: number | null;
6034
+ current: number | null;
6035
+ history: number | null;
6036
+ requests: number | null;
6037
+ }>;
5946
6038
  loadStartCatalog(ctx: StateContext<ClientAutomationStateModel>, { query }: LoadStartCatalog): rxjs.Observable<ClientStartCatalog>;
6039
+ loadForms(ctx: StateContext<ClientAutomationStateModel>, { query }: LoadClientForms): rxjs.Observable<AutomationPagedResult<ClientStartForm>>;
6040
+ loadManualTriggers(ctx: StateContext<ClientAutomationStateModel>, { query }: LoadManualTriggers): rxjs.Observable<AutomationPagedResult<ClientManualTrigger>>;
5947
6041
  runManualTrigger(ctx: StateContext<ClientAutomationStateModel>, { triggerId, payload }: RunManualTrigger): rxjs.Observable<AutomationRunResult>;
5948
6042
  submitForm(ctx: StateContext<ClientAutomationStateModel>, { formDefinitionId, payload }: SubmitStartForm): rxjs.Observable<AutomationRunResult>;
5949
6043
  loadCurrent(ctx: StateContext<ClientAutomationStateModel>, { query }: LoadCurrentInteractions): rxjs.Observable<AutomationPagedResult<ClientInteraction>>;
@@ -5968,6 +6062,8 @@ type NavigationTarget = string | (string | number)[] | UrlTree | ((args: Record<
5968
6062
  interface FlowplusWorkflowNavigationConfig {
5969
6063
  /** Studio (list of workflows). */
5970
6064
  toStudio?: NavigationTarget;
6065
+ /** Control Panel → Integrations. */
6066
+ toIntegrations?: NavigationTarget;
5971
6067
  /** Builder for a specific workflow. */
5972
6068
  toBuilder?: NavigationTarget;
5973
6069
  /** Automation Engine execution list for a workflow. */
@@ -6013,6 +6109,7 @@ declare class FlowplusWorkflowNavigationService {
6013
6109
  private readonly router;
6014
6110
  private readonly config;
6015
6111
  toStudio(): Promise<boolean>;
6112
+ toIntegrations(): Promise<boolean>;
6016
6113
  toBuilder(workflowId: number | string): Promise<boolean>;
6017
6114
  toExecutions(workflowId: number | string): Promise<boolean>;
6018
6115
  toExecution(workflowId: number | string, executionId: number | string): Promise<boolean>;
@@ -6286,6 +6383,7 @@ declare class FlowNodeComponent {
6286
6383
  private readonly transloco;
6287
6384
  readonly node: _angular_core.InputSignal<FlowCanvasNodeVm>;
6288
6385
  readonly connectedOutputKeys: _angular_core.InputSignal<readonly string[]>;
6386
+ readonly readonly: _angular_core.InputSignal<boolean>;
6289
6387
  positionChange: EventEmitter<{
6290
6388
  x: number;
6291
6389
  y: number;
@@ -6334,9 +6432,9 @@ declare class FlowNodeComponent {
6334
6432
  readonly issueSeverity: _angular_core.Signal<CanvasIssueSeverity>;
6335
6433
  readonly issueTooltip: _angular_core.Signal<string>;
6336
6434
  readonly issueTooltipClass: _angular_core.Signal<string>;
6337
- readonly runtimeTone: _angular_core.Signal<"failed" | "skipped" | "waiting" | "completed" | "running" | null>;
6435
+ readonly runtimeTone: _angular_core.Signal<"running" | "waiting" | "completed" | "failed" | "skipped" | null>;
6338
6436
  readonly isRuntimeCancelled: _angular_core.Signal<boolean>;
6339
- readonly runtimeIcon: _angular_core.Signal<"arrow.refresh-cw-05" | "alert.alert-triangle" | "general.activity-heart" | "general.check" | "general.minus-circle" | "media.stop" | "time.clock">;
6437
+ readonly runtimeIcon: _angular_core.Signal<"general.check" | "alert.alert-triangle" | "time.clock" | "media.stop" | "general.minus-circle" | "arrow.refresh-cw-05" | "general.activity-heart">;
6340
6438
  readonly runtimeColor: _angular_core.Signal<"rgb(var(--fp-commit))" | "rgb(var(--fp-error))" | "rgb(var(--fp-warning))" | "var(--p-primary-color)" | "color-mix(in srgb, rgb(var(--fp-error)) 72%, var(--p-text-color))" | "rgb(var(--fp-text-muted))">;
6341
6439
  readonly runtimeTooltip: _angular_core.Signal<string>;
6342
6440
  readonly runtimeStatusLabel: _angular_core.Signal<string>;
@@ -6359,7 +6457,7 @@ declare class FlowNodeComponent {
6359
6457
  private formatTarget;
6360
6458
  private stepConfig;
6361
6459
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FlowNodeComponent, never>;
6362
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<FlowNodeComponent, "fp-flow-node", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "connectedOutputKeys": { "alias": "connectedOutputKeys"; "required": false; "isSignal": true; }; }, { "positionChange": "positionChange"; "nodeClick": "nodeClick"; "quickAdd": "quickAdd"; "portPlusClick": "portPlusClick"; "duplicate": "duplicate"; "remove": "remove"; "testStep": "testStep"; "openChild": "openChild"; "openDetails": "openDetails"; }, never, never, true, never>;
6460
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FlowNodeComponent, "fp-flow-node", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "connectedOutputKeys": { "alias": "connectedOutputKeys"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "positionChange": "positionChange"; "nodeClick": "nodeClick"; "quickAdd": "quickAdd"; "portPlusClick": "portPlusClick"; "duplicate": "duplicate"; "remove": "remove"; "testStep": "testStep"; "openChild": "openChild"; "openDetails": "openDetails"; }, never, never, true, never>;
6363
6461
  }
6364
6462
 
6365
6463
  interface PaletteDropEvent {
@@ -6410,6 +6508,13 @@ interface EdgeInsertStepEvent {
6410
6508
  triggerId?: number | null;
6411
6509
  targetStepId?: number | null;
6412
6510
  }
6511
+ interface FlowCanvasReadonlyGraph {
6512
+ nodes: readonly FlowCanvasNodeVm[];
6513
+ edges: readonly FlowCanvasEdgeVm[];
6514
+ triggerNodes?: readonly TriggerNodeVm[];
6515
+ branchLanes?: readonly FlowBranchLaneVm[];
6516
+ viewport?: WorkflowViewportDto | null;
6517
+ }
6413
6518
  /**
6414
6519
  * Emitted when a canvas "+" affordance (port plus, drop-to-empty, edge
6415
6520
  * insert, trigger first-step) asks to add a step. The page opens the left
@@ -6438,6 +6543,15 @@ declare class FlowCanvasComponent {
6438
6543
  private readonly destroyRef;
6439
6544
  readonly flow: _angular_core.Signal<FFlowComponent | undefined>;
6440
6545
  readonly canvas: _angular_core.Signal<FCanvasComponent | undefined>;
6546
+ /**
6547
+ * Optional read-only graph for request/runtime viewers. The builder keeps
6548
+ * using facade state; callers that pass a graph get a scoped, non-mutating
6549
+ * canvas so request views never show the latest builder execution by mistake.
6550
+ */
6551
+ readonly graph: _angular_core.InputSignal<FlowCanvasReadonlyGraph | null>;
6552
+ readonly readonly: _angular_core.InputSignal<boolean>;
6553
+ readonly showControls: _angular_core.InputSignal<boolean>;
6554
+ readonly readOnlyMode: _angular_core.Signal<boolean>;
6441
6555
  /** Arrow head drawn at the target end of every edge (all states). */
6442
6556
  readonly markerEnd = EFMarkerType.END_ALL_STATES;
6443
6557
  /**
@@ -6521,12 +6635,12 @@ declare class FlowCanvasComponent {
6521
6635
  noteId: string;
6522
6636
  }>;
6523
6637
  readonly canvasLayers: EFCanvasLayer[];
6524
- readonly nodes: _angular_core.Signal<_masterteam_flowplus_workflow.FlowCanvasNodeVm[]>;
6638
+ readonly nodes: _angular_core.Signal<readonly FlowCanvasNodeVm[]>;
6525
6639
  readonly canvasNotes: _angular_core.Signal<CanvasNoteVm[]>;
6526
- readonly edges: _angular_core.Signal<FlowCanvasEdgeVm[]>;
6527
- readonly triggerNodes: _angular_core.Signal<_masterteam_flowplus_workflow.TriggerNodeVm[]>;
6528
- readonly branchLanes: _angular_core.Signal<_masterteam_flowplus_workflow.FlowBranchLaneVm[]>;
6529
- readonly viewport: _angular_core.Signal<_masterteam_flowplus_workflow.WorkflowViewportDto>;
6640
+ readonly edges: _angular_core.Signal<readonly FlowCanvasEdgeVm[]>;
6641
+ readonly triggerNodes: _angular_core.Signal<readonly TriggerNodeVm[]>;
6642
+ readonly branchLanes: _angular_core.Signal<readonly FlowBranchLaneVm[]>;
6643
+ readonly viewport: _angular_core.Signal<WorkflowViewportDto>;
6530
6644
  readonly selectedCanvasNoteIds: _angular_core.Signal<string[]>;
6531
6645
  readonly editingNoteId: _angular_core.WritableSignal<string | null>;
6532
6646
  /**
@@ -6839,7 +6953,7 @@ declare class FlowCanvasComponent {
6839
6953
  triggerId: number;
6840
6954
  }): void;
6841
6955
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FlowCanvasComponent, never>;
6842
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<FlowCanvasComponent, "fp-flow-canvas", never, {}, { "paletteDrop": "paletteDrop"; "connectionCreate": "connectionCreate"; "connectionReassign": "connectionReassign"; "triggerStartConnect": "triggerStartConnect"; "triggerStartReassign": "triggerStartReassign"; "triggerStartDisconnect": "triggerStartDisconnect"; "connectionQuickAdd": "connectionQuickAdd"; "quickAddPick": "quickAddPick"; "autoLayoutRequested": "autoLayoutRequested"; "loaded": "loaded"; "nodeQuickAdd": "nodeQuickAdd"; "nodePortPlusClick": "nodePortPlusClick"; "nodeDuplicate": "nodeDuplicate"; "nodeRemove": "nodeRemove"; "nodeOpenDetails": "nodeOpenDetails"; "edgeInsertStep": "edgeInsertStep"; "edgeRemove": "edgeRemove"; "edgeEditFormula": "edgeEditFormula"; "edgeOpenDetails": "edgeOpenDetails"; "assignNodeToConnection": "assignNodeToConnection"; "openChildWorkflow": "openChildWorkflow"; "starterAddTrigger": "starterAddTrigger"; "triggerOpenDetails": "triggerOpenDetails"; "triggerExecute": "triggerExecute"; "triggerToggleEnabled": "triggerToggleEnabled"; "triggerDelete": "triggerDelete"; "canvasBackgroundClick": "canvasBackgroundClick"; "requestAddStep": "requestAddStep"; "noteUpdate": "noteUpdate"; "noteDuplicate": "noteDuplicate"; "noteDelete": "noteDelete"; }, never, never, true, never>;
6956
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FlowCanvasComponent, "fp-flow-canvas", never, { "graph": { "alias": "graph"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "showControls": { "alias": "showControls"; "required": false; "isSignal": true; }; }, { "paletteDrop": "paletteDrop"; "connectionCreate": "connectionCreate"; "connectionReassign": "connectionReassign"; "triggerStartConnect": "triggerStartConnect"; "triggerStartReassign": "triggerStartReassign"; "triggerStartDisconnect": "triggerStartDisconnect"; "connectionQuickAdd": "connectionQuickAdd"; "quickAddPick": "quickAddPick"; "autoLayoutRequested": "autoLayoutRequested"; "loaded": "loaded"; "nodeQuickAdd": "nodeQuickAdd"; "nodePortPlusClick": "nodePortPlusClick"; "nodeDuplicate": "nodeDuplicate"; "nodeRemove": "nodeRemove"; "nodeOpenDetails": "nodeOpenDetails"; "edgeInsertStep": "edgeInsertStep"; "edgeRemove": "edgeRemove"; "edgeEditFormula": "edgeEditFormula"; "edgeOpenDetails": "edgeOpenDetails"; "assignNodeToConnection": "assignNodeToConnection"; "openChildWorkflow": "openChildWorkflow"; "starterAddTrigger": "starterAddTrigger"; "triggerOpenDetails": "triggerOpenDetails"; "triggerExecute": "triggerExecute"; "triggerToggleEnabled": "triggerToggleEnabled"; "triggerDelete": "triggerDelete"; "canvasBackgroundClick": "canvasBackgroundClick"; "requestAddStep": "requestAddStep"; "noteUpdate": "noteUpdate"; "noteDuplicate": "noteDuplicate"; "noteDelete": "noteDelete"; }, never, never, true, never>;
6843
6957
  }
6844
6958
 
6845
6959
  /** A single command. `kind: 'addStep'` carries the catalog item; `kind:
@@ -7376,11 +7490,18 @@ declare class IntegrationsPageComponent implements OnInit {
7376
7490
  readonly facade: IntegrationsFacade;
7377
7491
  private readonly modal;
7378
7492
  private readonly transloco;
7493
+ /** Re-translate the page tabs whenever the active language changes. */
7494
+ private readonly lang;
7379
7495
  readonly activeSection: _angular_core.WritableSignal<IntegrationSectionKey>;
7380
7496
  readonly sectionTabs: {
7381
7497
  key: IntegrationSectionKey;
7382
7498
  label: string;
7383
7499
  }[];
7500
+ /** `mt-page` tabs (translated), mirroring {@link sectionTabs}. */
7501
+ readonly pageTabs: _angular_core.Signal<PageHeaderTab[]>;
7502
+ /** AI-Providers sub-view: profile editor vs. provider connections list. */
7503
+ readonly aiSubTab: _angular_core.WritableSignal<"connections" | "profile">;
7504
+ readonly aiSubTabs: _angular_core.Signal<OptionItem[]>;
7384
7505
  readonly aiForm: FormControl<AiProfileFormValue>;
7385
7506
  private readonly aiValue;
7386
7507
  readonly selectedProvider: _angular_core.Signal<AiProviderMetadata | undefined>;
@@ -7389,12 +7510,12 @@ declare class IntegrationsPageComponent implements OnInit {
7389
7510
  readonly rows: _angular_core.Signal<ConnectionRowVm[]>;
7390
7511
  readonly aiRows: _angular_core.Signal<ConnectionRowVm[]>;
7391
7512
  readonly accountRows: _angular_core.Signal<ConnectionRowVm[]>;
7392
- readonly localRows: _angular_core.Signal<ConnectionRowVm[]>;
7393
- readonly columns: ColumnDef[];
7394
- readonly rowActions: TableAction[];
7513
+ readonly columns: _angular_core.Signal<ColumnDef[]>;
7514
+ readonly rowActions: _angular_core.Signal<TableAction[]>;
7395
7515
  constructor();
7396
7516
  ngOnInit(): void;
7397
7517
  setSection(key: IntegrationSectionKey): void;
7518
+ onTabChange(value: string | number): void;
7398
7519
  saveAiProfile(): void;
7399
7520
  testAiProfile(): void;
7400
7521
  addConnection(kind: ConnectionFormKind): void;
@@ -7442,48 +7563,60 @@ declare class OperationsPageComponent implements OnInit {
7442
7563
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<OperationsPageComponent, "fp-operations-page", never, {}, {}, never, never, true, never>;
7443
7564
  }
7444
7565
 
7445
- type ClientTab = 'start' | 'tasks' | 'history' | 'requests';
7566
+ type ClientTab = 'forms' | 'actions' | 'tasks' | 'history' | 'requests';
7446
7567
  /**
7447
7568
  * Client automation hub: start requests, act on tasks/approvals, review
7448
7569
  * history, and track my requests. Mounted by the client app via route.
7570
+ *
7571
+ * Uses the shared {@link ClientPage} (`mt-client-page`) sidebar layout — the
7572
+ * sidebar menu replaces the old in-page tab bar — and every visible string
7573
+ * (menu titles, table columns, row-action tooltips) is resolved through
7574
+ * Transloco so the page is fully localized and reacts to language switches.
7449
7575
  */
7450
7576
  declare class ClientAutomationPageComponent implements OnInit {
7451
7577
  readonly facade: ClientAutomationFacade;
7452
7578
  private readonly modal;
7579
+ private readonly route;
7580
+ private readonly router;
7581
+ private readonly transloco;
7582
+ /** Tracks the active language so translated labels recompute on switch. */
7583
+ private readonly lang;
7584
+ private readonly queryParamMap;
7453
7585
  readonly activeTab: _angular_core.WritableSignal<ClientTab>;
7454
- readonly selectedRequestRef: _angular_core.WritableSignal<string | null>;
7455
- readonly tabs: _angular_core.Signal<({
7456
- key: ClientTab;
7457
- label: string;
7458
- badge?: undefined;
7459
- } | {
7460
- key: ClientTab;
7461
- label: string;
7462
- badge: number;
7463
- })[]>;
7464
- readonly interactionColumns: ColumnDef[];
7465
- readonly requestColumns: ColumnDef[];
7466
- readonly currentRowActions: TableAction[];
7467
- readonly requestRowActions: TableAction[];
7586
+ /** Id of the manual trigger currently running, for a per-card spinner. */
7587
+ readonly runningTriggerId: _angular_core.WritableSignal<string | number | null>;
7588
+ private lastLoadedTab;
7589
+ private readonly defaultQuery;
7590
+ /** Sidebar navigation for the client-page layout (translated + live counts). */
7591
+ readonly menuItems: _angular_core.Signal<ClientPageMenuItem[]>;
7592
+ readonly interactionColumns: _angular_core.Signal<ColumnDef[]>;
7593
+ readonly requestColumns: _angular_core.Signal<ColumnDef[]>;
7594
+ readonly currentRowActions: _angular_core.Signal<TableAction[]>;
7595
+ readonly requestRowActions: _angular_core.Signal<TableAction[]>;
7596
+ private t;
7597
+ private statusMap;
7598
+ constructor();
7468
7599
  ngOnInit(): void;
7469
- setTab(tab: ClientTab): void;
7600
+ onMenuSelect(item: ClientPageMenuItem): void;
7601
+ setTab(tab: ClientTab, options?: {
7602
+ syncUrl?: boolean;
7603
+ }): void;
7604
+ reloadCatalog(): void;
7470
7605
  runTrigger(trigger: ClientManualTrigger): void;
7471
7606
  openForm(form: ClientStartForm): void;
7472
7607
  openInteraction(interaction: ClientInteraction): void;
7473
7608
  openRequest(request: ClientRequestSummary): void;
7474
- closeRequest(): void;
7609
+ private refreshCounts;
7610
+ private loadTab;
7475
7611
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClientAutomationPageComponent, never>;
7476
7612
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClientAutomationPageComponent, "fp-client-automation-page", never, {}, {}, never, never, true, never>;
7477
7613
  }
7478
7614
 
7615
+ type RuntimeRenderMode = 'form' | 'steps' | 'tabs' | 'wizard';
7616
+
7479
7617
  interface ClientStartFormDialogData {
7480
7618
  form: ClientStartForm;
7481
7619
  }
7482
- /**
7483
- * Renders a start form from its `schemaSnapshotJson` (JSON-schema `properties`)
7484
- * via the shared DynamicForm, and submits with the SAME `formRevisionId` the
7485
- * user opened. Minimal generic mapping — string/number/boolean.
7486
- */
7487
7620
  declare class ClientStartFormDialogComponent implements OnInit {
7488
7621
  readonly modalService: ModalService;
7489
7622
  private readonly ref;
@@ -7491,12 +7624,33 @@ declare class ClientStartFormDialogComponent implements OnInit {
7491
7624
  readonly data: _angular_core.InputSignal<ClientStartFormDialogData | null>;
7492
7625
  readonly form: FormControl<Record<string, unknown>>;
7493
7626
  readonly formConfig: _angular_core.WritableSignal<DynamicFormConfig>;
7627
+ readonly renderMode: _angular_core.WritableSignal<RuntimeRenderMode>;
7628
+ readonly activeSectionKey: _angular_core.WritableSignal<string | null>;
7494
7629
  readonly error: _angular_core.WritableSignal<string | null>;
7495
7630
  readonly startForm: _angular_core.Signal<ClientStartForm | null>;
7631
+ readonly sectionKeys: _angular_core.Signal<string[]>;
7632
+ readonly sectionNavigationEnabled: _angular_core.Signal<boolean>;
7633
+ readonly tabsEnabled: _angular_core.Signal<boolean>;
7634
+ readonly wizardEnabled: _angular_core.Signal<boolean>;
7635
+ readonly visibleSectionKeys: _angular_core.Signal<string[] | null>;
7636
+ readonly activeSectionIndex: _angular_core.Signal<number>;
7637
+ readonly canGoPrevious: _angular_core.Signal<boolean>;
7638
+ readonly canGoNext: _angular_core.Signal<boolean>;
7639
+ readonly showSubmit: _angular_core.Signal<boolean>;
7640
+ readonly tabOptions: _angular_core.Signal<OptionItem[]>;
7641
+ readonly stepItems: _angular_core.Signal<{
7642
+ key: string;
7643
+ label: string;
7644
+ value: number;
7645
+ active: boolean;
7646
+ complete: boolean;
7647
+ }[]>;
7496
7648
  ngOnInit(): void;
7497
7649
  onSubmit(): void;
7498
7650
  onCancel(): void;
7499
- private buildConfig;
7651
+ onTabChange(value: unknown): void;
7652
+ goPrevious(): void;
7653
+ goNext(): void;
7500
7654
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClientStartFormDialogComponent, never>;
7501
7655
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClientStartFormDialogComponent, "fp-client-start-form-dialog", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7502
7656
  }
@@ -7508,6 +7662,7 @@ interface ActionButton {
7508
7662
  action: InteractionAction;
7509
7663
  label: string;
7510
7664
  severity: 'primary' | 'success' | 'danger' | 'secondary';
7665
+ requiresFormValues?: boolean;
7511
7666
  requiresComment?: boolean;
7512
7667
  requiresDelegate?: boolean;
7513
7668
  }
@@ -7526,17 +7681,27 @@ declare class ClientInteractionDialogComponent implements OnInit {
7526
7681
  private readonly transloco;
7527
7682
  readonly facade: ClientAutomationFacade;
7528
7683
  readonly data: _angular_core.InputSignal<ClientInteractionDialogData | null>;
7529
- readonly form: FormControl<ActionFormValue>;
7530
- private readonly formValue;
7684
+ readonly actionForm: FormControl<ActionFormValue>;
7685
+ readonly taskForm: FormControl<Record<string, unknown>>;
7686
+ private readonly actionFormValue;
7687
+ private readonly taskFormValue;
7688
+ private readonly taskFormStatus;
7689
+ private loadedInteractionId;
7690
+ readonly pendingAction: _angular_core.WritableSignal<ActionButton | null>;
7691
+ readonly executingAction: _angular_core.WritableSignal<InteractionAction | null>;
7531
7692
  readonly actionButtons: _angular_core.Signal<ActionButton[]>;
7532
7693
  readonly hasComment: _angular_core.Signal<boolean>;
7533
7694
  readonly hasDelegate: _angular_core.Signal<boolean>;
7534
- readonly formConfig: _angular_core.Signal<DynamicFormConfig>;
7695
+ readonly isTaskFormReadonly: _angular_core.Signal<boolean>;
7696
+ readonly actionFormConfig: _angular_core.Signal<DynamicFormConfig>;
7535
7697
  readonly hasFormFields: _angular_core.Signal<boolean>;
7536
- readonly payloadJson: _angular_core.Signal<string | null>;
7698
+ readonly taskFormConfig: _angular_core.Signal<DynamicFormConfig>;
7699
+ readonly hasTaskFormFields: _angular_core.Signal<boolean>;
7700
+ constructor();
7537
7701
  ngOnInit(): void;
7538
7702
  canRun(b: ActionButton): boolean;
7539
7703
  run(b: ActionButton): void;
7704
+ private actionNeedsInput;
7540
7705
  onClose(): void;
7541
7706
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClientInteractionDialogComponent, never>;
7542
7707
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClientInteractionDialogComponent, "fp-client-interaction-dialog", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -7674,7 +7839,6 @@ interface InspectorTab {
7674
7839
 
7675
7840
  declare class InspectorShellComponent {
7676
7841
  readonly store: FlowplusWorkflowFacade;
7677
- private readonly transloco;
7678
7842
  readonly mode: _angular_core.InputSignal<"drawer" | "modal">;
7679
7843
  stepChange: EventEmitter<{
7680
7844
  step: WorkflowStepDto;
@@ -7704,14 +7868,6 @@ declare class InspectorShellComponent {
7704
7868
  onConnectionChange(patch: Partial<WorkflowConnectionDto>): void;
7705
7869
  onWorkflowChange(patch: Record<string, unknown>): void;
7706
7870
  issueSeverity(issue: WorkflowValidationIssueDto): 'error' | 'warning' | 'info';
7707
- issueIcon(issue: WorkflowValidationIssueDto): MTIcon;
7708
- issueCardClass(issue: WorkflowValidationIssueDto): string;
7709
- issueIconClass(issue: WorkflowValidationIssueDto): string;
7710
- issuePillClass(issue: WorkflowValidationIssueDto): string;
7711
- issueSeverityLabel(issue: WorkflowValidationIssueDto): string;
7712
- issueText(issue: WorkflowValidationIssueDto): string;
7713
- issueHint(issue: WorkflowValidationIssueDto): string;
7714
- issueTargetLabel(issue: WorkflowValidationIssueDto): string;
7715
7871
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<InspectorShellComponent, never>;
7716
7872
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<InspectorShellComponent, "fp-inspector-shell", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "stepChange": "stepChange"; "connectionChange": "connectionChange"; "workflowChange": "workflowChange"; "closeRequested": "closeRequested"; }, never, never, true, never>;
7717
7873
  }
@@ -8794,5 +8950,5 @@ declare class DagreFlowLayoutEngine implements FlowLayoutEngine {
8794
8950
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<DagreFlowLayoutEngine>;
8795
8951
  }
8796
8952
 
8797
- export { AI_FORBIDDEN_NODE_CONFIG_KEYS, APP_STATES, AddCanvasNote, ApplyAutomationExecutionDetail, ApplyBuilderCommand, ApplyBuilderSnapshot, AutomationBuilderCatalogApiService, AutomationDesignApiService, AutomationExecutionApiService, AutomationExecutionsPageComponent, BottomPanelComponent, BuilderTopbarComponent, CLIENT_AUTOMATION_DEFAULT_STATE, CancelAutomationExecution, ClearAutomationRuntimeState, ClearCommandHistory, ClearConflict, ClearPendingOperation, ClearSelection, ClearWorkflowBuilder, ClientAutomationActionKey, ClientAutomationFacade, ClientAutomationPageComponent, ClientAutomationState, ClientInteractionDialogComponent, ClientStartFormDialogComponent, CommitStepUpdates, CommitWorkflowMetadata, ConnectionCreated, ConnectionCreationFailed, ContextPickerComponent, ContextPillButtonComponent, ContextPillComponent, CreateConnection, CreateLocalOpenAiConnection, CreateManualConnection, CreateOpenAiConnection, CreateStep, CreateTrigger, CreateWorkflow, DagreFlowLayoutEngine, DeleteCanvasNote, DeleteConnection, DeleteStep, DeleteTrigger, DeleteWorkflow, DuplicateCanvasNote, DuplicateWorkflow, EndpointBuilder, ExecuteInteractionAction, FLOWPLUS_FORM_DESIGNER_ADAPTER, FLOWPLUS_RETURN_LOOP_CONNECTION_TYPE, FLOWPLUS_WORKFLOW_CONFIG, FLOWPLUS_WORKFLOW_DEFAULT_RUNTIME, FLOWPLUS_WORKFLOW_DEFAULT_STATE, FLOWPLUS_WORKFLOW_NAVIGATION, FLOWPLUS_WORKFLOW_ROUTES, FLOW_NODE_BASE_HEIGHT, FLOW_NODE_CARD_WIDTH, FLOW_NODE_MULTI_OUTPUT_GAP, FLOW_NODE_OUTPUT_SIZE, FlowCanvasComponent, FlowNodeComponent, FlowplusWorkflowActionKey, FlowplusWorkflowFacade, FlowplusWorkflowNavigationService, FlowplusWorkflowOverlayService, FlowplusWorkflowState, INTEGRATIONS_DEFAULT_STATE, InspectorShellComponent, IntegrationConnectionFormComponent, IntegrationsActionKey, IntegrationsFacade, IntegrationsPageComponent, IntegrationsState, KeyboardShortcutsService, LOCAL_FALLBACK_CATALOG, LoadAiProfile, LoadAutomationExecution, LoadContextCatalog, LoadContextCatalogForStep, LoadCurrentInteractions, LoadIntegrationsCatalog, LoadIntegrationsConnections, LoadIntegrationsOverview, LoadInteractionDetail, LoadInteractionHistory, LoadLatestAutomationExecution, LoadLayout, LoadMyRequests, LoadOperationsAuditEvents, LoadOperationsAutomations, LoadOperationsBottlenecks, LoadOperationsHealth, LoadOperationsInstance, LoadOperationsInstanceTimeline, LoadOperationsInstances, LoadOperationsOverview, LoadOperationsWorkItems, LoadRequestLifecycle, LoadStartCatalog, LoadTriggers, LoadWorkflowBuilder, LoadWorkflowCatalog, LoadWorkflowList, MarkLayoutDirty, MoveStep, NODE_COLOR_TOKEN, NODE_DEFAULT_ICON, NODE_MT_ICON, NoopFlowplusFormDesignerAdapter, OPERATIONS_DEFAULT_STATE, OperationsActionKey, OperationsFacade, OperationsPageComponent, OperationsState, PaletteComponent, PaletteDragSourceDirective, PollAutomationExecution, ProblemsPanelComponent, ProcessCreateDialogComponent, PublishWorkflow, RedoBuilderCommand, ReloadWorkflowBuilder, RevokeConnection, RunAutomationTrigger, RunManualTrigger, RunWorkflowTest, SaveAiProfile, SaveInteractionDraft, SaveLayout, SelectCanvasNote, SelectConnection, SelectRuntimeNodeRun, SelectStep, SelectTrigger, SetActiveInspectorTab, SetBottomPanelHeight, SetBottomPanelOpen, SetBottomPanelTab, SetCanvasViewport, SetContextCatalog, SetCreateDialogOpen, SetInspectorOpen, SetLayout, SetLayoutAutosavePaused, SetMinimap, SetPaletteOpen, SetPaletteSearch, SetPendingOperation, SetReadonly, SetSelectedRuntimeTrigger, SetSelection, SetSelectionFromCanvas, SetStudioFilter, SetValidation, SetWorkflowCatalog, SetWorkflowDefinition, StepCreated, StepCreationFailed, SubmitStartForm, TRIGGER_MT_ICON, TestAiProfile, TestConnection, TestRunPanelComponent, UnconfiguredFormDesignerAdapter, UndoBuilderCommand, UnpublishWorkflow, UpdateCanvasNote, UpdateConnection, UpdateLocalOpenAiConnection, UpdateOpenAiConnection, UpdateStep, UpdateTrigger, UpdateWorkflowMetadata, UpdateWorkflowResources, UpdateWorkflowVariables, ValidateWorkflow, WorkflowBuilderPageComponent, WorkflowCatalogApiService, WorkflowContextApiService, WorkflowDebugApiService, WorkflowDefinitionApiService, WorkflowFormApiService, WorkflowRunDebuggerPageComponent, WorkflowRuntimeApiService, WorkflowStudioPageComponent, WorkflowValidationApiService, allValidationIssues, applyBuilderSnapshot, avatarSeverityForStep, avatarSeverityForTrigger, canShowConnectionQuickAdd, canonicalTriggerTypeForStarterKind, coerceTranslatable, colorVarFor, computeBranchLanes, computeSaveStatus, connectionCanvasId, connectionClosesDirectedCycle, derivePortsForStep, extractMessage, flowNodeCardHeightForOutputs, flowNodeLayoutHeightForOutputs, flowNodeOutputCenterY, flowNodeOutputStackHeight, flowPortKeyExists, fromWorkflowConnectionDomain, fromWorkflowStepDomain, hasOtherPending, iconFor, indexValidationByConnectionId, indexValidationByStepId, indexValidationByTriggerId, inputPortId, isEntityDirty, isReturnConnectionForCanvas, mapHttpError, mtIconForStep, mtIconForTrigger, newClientMutationId, nextOperationId, nodeCanvasId, outputPortId, parseConnectionId, parseNodeId, parsePortId, parseTriggerOutputPortId, parseTriggerStartConnectionId, patchLayoutPosition, patchTriggerLayoutPosition, provideFlowplusFormDesignerAdapter, provideFlowplusWorkflow, provideFlowplusWorkflowNavigation, provideFlowplusWorkflowNavigationDefaults, readAiNodeHelperMetadata, readRecord, removeStepWithEdges, resolveConnectionEndpointStep, resolveTranslatable, resolveTriggerStartNodeKey, resolveTriggerStartStep, resolveTriggerStartStepId, resolveWorkflowTriggerKey, routeConnectionForCanvas, savingOrSaved, shouldPublishCurrentDefinitionBeforeRun, summarizeTriggerCycleValidation, tempNodeCanvasId, toWorkflowConnectionDomain, toWorkflowDefinitionDomain, toWorkflowStepDomain, toWorkflowTriggerDomain, triggerCanvasId, triggerOutputPortId, triggerStartConnectionCanvasId, triggerStarterKindFor, unwrap, unwrapApiData, upsertConnection, upsertStep };
8798
- export type { ActivateAutomationRequest, ActivationResult, AdminOperationsQuery, AiNodeHelperMetadata, AiNodeKind, AiProfile, AiProfileUpdateRequest, AiProfileValidationStatus, AiProviderErrorCode, AiProviderMetadata, AiTokenUsage, ApiEnvelope, AssignmentSelectorContractResult, AssignmentValidationRequest, AutomationBuilderCatalog, AutomationCommandHeaders, AutomationEngineHealthSnapshot, AutomationExecutionDetail, AutomationExecutionEvent, AutomationExecutionListResult, AutomationExecutionNodeDataDetail, AutomationExecutionStatus, AutomationExecutionSummary, AutomationExportDefinition, AutomationFormBindingDefinition, AutomationFrontendDetail, AutomationFrontendListResult, AutomationImportRequest, AutomationImportResult, AutomationLastExecutionSummary, AutomationMetadataRequest, AutomationNodeAttempt, AutomationNodeDefinition, AutomationNodeRun, AutomationNodeTestRunExternalCallAudit, AutomationNodeTestRunLogEntry, AutomationNodeTestRunRequest, AutomationNodeTestRunResult, AutomationNodeTestRunStatus, AutomationNodeTestRunValidationIssue, AutomationNodeType, AutomationPagedResult, AutomationRetentionPruneResult, AutomationRevisionDiffResult, AutomationRevisionSummary, AutomationRouteDefinition, AutomationRunResult, AutomationRuntimeWait, AutomationRuntimeWaitResumeTokenResult, AutomationSelectorItem, AutomationSelectorResult, AutomationStatus, AutomationSummary, AutomationTriggerDefinition, AutomationTriggerType, AutomationValidationIssue, AutomationValidationReport, AutomationValidationSummary, AvatarSeverityVars, BatchBuilderPatchRequest, BusinessActionActorContext, BusinessActionApp, BusinessActionAppsResult, BusinessActionAutomationContext, BusinessActionCatalog, BusinessActionDefinition, BusinessActionDiscoveryContext, BusinessActionError, BusinessActionField, BusinessActionListResult, BusinessActionNodeConfig, BusinessActionOption, BusinessActionOptionProvider, BusinessActionOptionsRequest, BusinessActionOptionsResponse, BusinessActionTestRequest, BusinessActionTestResponse, BusinessActionValidateRequest, BusinessActionValidateResponse, BusinessActionValidationIssue, CanonicalFormDefinitionDetail, CanonicalFormDefinitionSummary, CanonicalFormListParams, CanonicalFormRevisionDetail, CanonicalFormRevisionPublishResult, CanonicalFormRevisionSummary, CanonicalFormRevisionValidationResult, CanonicalModuleDefinitionDetail, CanonicalModuleDefinitionListParams, CanonicalModuleDefinitionSummary, CanonicalModuleField, CanonicalModuleSchema, ClientAutomationQuery, ClientAutomationStateModel, ClientInteraction, ClientInteractionDetail, ClientManualTrigger, ClientRequestLifecycle, ClientRequestLifecycleEvent, ClientRequestLifecycleStep, ClientRequestSummary, ClientStartCatalog, ClientStartForm, ConfigFieldWidget, ConfigUiAction, ConfigUiCompanionWrite, ConfigUiComputedRule, ConfigUiFieldHint, ConfigUiGroupSchema, ConfigUiListItemSchema, ConfigUiOptionsSource, ConfigUiSection, ConfigUiVisibilityRule, ConnectionTestRequest, ConnectionTestResult, ConnectorActionCatalogItem, ConnectorCatalog, ConnectorProviderCatalogItem, ConvertToFileActionCatalogItem, ConvertToFileCatalog, CreateCanonicalFormDefinitionRequest, CreateCanonicalFormRevisionRequest, CreateCanonicalModuleDefinitionRequest, CreateCanonicalModuleFieldRequest, CreateWorkflowConnectionRequest, CreateWorkflowDefinitionRequest, CreateWorkflowPluginStepRequest, CreateWorkflowStepRequest, CredentialFieldDescriptor, CredentialMutationResult, CredentialOAuthStartRequest, CredentialOAuthStartResult, CredentialProviderCatalogItem, CredentialReference, CredentialReferenceListResult, CredentialTestRequest, CredentialTestResult, CredentialTypeCatalogItem, CredentialTypeCatalogResult, DataTransformActionCatalogItem, DataTransformCatalog, EngineCommandError, EngineEventDto, ExecutionCancelResult, ExecutionNodeAiSummary, ExecutionRetryRequest, ExecutionRetryResult, ExpressionNamespaceDescriptor, ExpressionPreviewRequest, ExpressionPreviewResult, ExpressionValidationRequest, ExpressionValidationResult, FlowBranchLaneVm, FlowCanvasConnectionPosition, FlowCanvasConnectionRouting, FlowCanvasConnectionRoutingContext, FlowCanvasConnectionSide, FlowCanvasConnectionType, FlowCanvasConnectionWaypoint, FlowCanvasEdgeVm, FlowCanvasNodeVm, FlowLayoutEngine, FlowNodePortVm, FlowPlusCommitMappingValidationRequest, FlowPlusModuleCatalogItem, FlowPlusModuleCatalogResult, FlowPlusModuleField, FlowPlusModuleSchemaResult, FlowPortDirection, FlowPortSide, FlowplusApiError, FlowplusBuilderCommand, FlowplusBuilderSlice, FlowplusConflictState, FlowplusDirtyFlags, FlowplusExecutionRuntimeSlice, FlowplusFormDesignerAdapter, FlowplusPendingOperation, FlowplusPublishStatus, FlowplusRuntimeNodeState, FlowplusRuntimeNodeVisualState, FlowplusRuntimeReplayMode, FlowplusRuntimeRouteState, FlowplusRuntimeRouteVisualState, FlowplusRuntimeTriggerState, FlowplusRuntimeTriggerVisualState, FlowplusSaveStatus, FlowplusSelection, FlowplusStudioSlice, FlowplusTriggerExecutionRequest, FlowplusUiState, FlowplusWorkflowConfig, FlowplusWorkflowNavigationConfig, FlowplusWorkflowStateModel, FormBindingDefinitionRequest, FormDefinitionStatus, FormPurpose, FormRevisionStatus, FormSchemaResult, FormSelectorContractResult, FormSelectorItem, FormVersionListResult, FormVersionSummary, FormulaBuilderValue, GenericAiNodeConfig, HumanApprovalDecisionRequest, HumanApprovalDecisionResult, HumanTaskActionResult, HumanTaskAssignment, HumanTaskCancelRequest, HumanTaskDraftRequest, HumanTaskPayloadResult, HumanTaskSubmitRequest, InlineFormCreateRequest, InlineFormDraftResult, InlineFormDraftUpdateRequest, InlineFormDraftValidationIssue, InlineFormDraftValidationResult, InlineFormFieldDraft, IntegrationAuthType, IntegrationConnectionSummary, IntegrationConnectionsResponse, IntegrationProviderCatalogItem, IntegrationProviderCategory, IntegrationSection, IntegrationSectionKey, IntegrationsOverview, IntegrationsStateModel, InteractionAction, InteractionActionRequest, InteractionAllowedAction, JsonSchemaLite, LocalOpenAiCompatibleConnectionRequest, LocalProviderRequestMode, ManualConnectionRequest, ManualCredentialCreateRequest, ModuleDefinitionStatus, ModuleFieldDataType, ModuleFieldStorageType, NavigationTarget, NodeConfigUiSchema, NodeDefinitionRequest, NodeTypeCatalogItem, OpenAiConnectionRequest, OpenStepFormDesignerInput, OpenStepFormPreviewInput, OperationsAuditEvent, OperationsAutomationSummary, OperationsBottleneck, OperationsHealth, OperationsInstanceDetail, OperationsInstanceSummary, OperationsNodeRun, OperationsOpenWorkItem, OperationsOverview, OperationsRecentFailure, OperationsRuntimeWait, OperationsStateModel, OperationsStatusCount, OperationsTimelineEvent, OperationsWorkItem, PagedResult, ProcessContextEntryDto, ProcessContextLineageNodeDto, ProcessContextSnapshotDto, ProcessContextTimelineEventDto, ProcessFormLoadRequest, ProcessFormLoadResponseDto, ProcessStartRequest, ProcessStartResultDto, ProcessSubmitOperationKey, ProcessSubmitRequest, ProcessSubmitResponseDto, ProcessSubmitStatus, PublishAutomationRequest, PublishAutomationResult, QueuedNodeSummary, ReorderCanonicalModuleFieldRequestItem, ReorderCanonicalModuleFieldsRequest, RouteDefinitionRequest, RunManualTriggerRequest, SaveInteractionDraftRequest, ScheduleOptionsResult, SchedulePreviewRequest, SchedulePreviewResult, ScheduleValidationRequest, SpecializedAiNodeConfig, StepFormDesignerResult, StepFormPreviewResult, SubmitStartFormRequest, TaskActionRequest, TaskActionResultDto, TranslatableText, TriggerCycleValidationSummary, TriggerDefinitionRequest, TriggerNodeVm, TriggerStarterKind, TriggerTypeCatalogItem, UpdateCanonicalFormDefinitionRequest, UpdateCanonicalFormRevisionRequest, UpdateCanonicalModuleFieldRequest, UpdateWorkflowConnectionRequest, UpdateWorkflowDefinitionRequest, UpdateWorkflowStepRequest, WaitResumeRequest, WaitResumeResult, WebhookSetupResult, WorkflowAppActionDescriptorDto, WorkflowAppActionMappingDto, WorkflowAppActionOptionDto, WorkflowAppActionStepConfigDto, WorkflowAppDescriptorDto, WorkflowAutomatedOutputMappingDto, WorkflowAutomatedStepConfigDto, WorkflowBuilderCapabilitiesDto, WorkflowBuilderDto, WorkflowBuilderPermissionsDto, WorkflowCatalogDefaultsDto, WorkflowCatalogDto, WorkflowCatalogOptionDto, WorkflowConnectionDomain, WorkflowConnectionDto, WorkflowConnectionLayoutDto, WorkflowContextCatalogDto, WorkflowContextCatalogSourceDto, WorkflowContextPathValidationRequest, WorkflowContextPathValidationResultDto, WorkflowContextSourceType, WorkflowContextValueType, WorkflowDefinitionDomain, WorkflowDefinitionDto, WorkflowDefinitionListQuery, WorkflowDefinitionListResult, WorkflowDefinitionSummaryDto, WorkflowFormBindingContractDto, WorkflowFormBindingMode, WorkflowJoinParallelStepConfigDto, WorkflowLayoutDto, WorkflowNodeLayoutDto, WorkflowPluginDescriptorDto, WorkflowPluginStepConfigDto, WorkflowResourceBindingDto, WorkflowRuntimeRoutingPolicyDto, WorkflowSelectedActionDto, WorkflowStartParallelStepConfigDto, WorkflowStatus, WorkflowStepActionCatalogItemDto, WorkflowStepActionDto, WorkflowStepCategory, WorkflowStepDefaultsItemDto, WorkflowStepDomain, WorkflowStepDto, WorkflowStepFormBindingDto, WorkflowStepFormContractDto, WorkflowStepFormUpdateRequest, WorkflowStepPropertyDto, WorkflowStepType, WorkflowStepTypeCapabilityItemDto, WorkflowStepTypeCatalogItemDto, WorkflowSubprocessContextMappingDto, WorkflowSubprocessPropertyMappingDto, WorkflowSubprocessStepConfigDto, WorkflowTestRunConnectionDecisionDto, WorkflowTestRunContextChangeDto, WorkflowTestRunContextValueDto, WorkflowTestRunMode, WorkflowTestRunRequest, WorkflowTestRunResultDto, WorkflowTestRunStatus, WorkflowTestStepResultDto, WorkflowTestStepStatus, WorkflowTriggerDomain, WorkflowTriggerDto, WorkflowTriggerType, WorkflowValidationEntityType, WorkflowValidationGroupKey, WorkflowValidationGroupedIssuesDto, WorkflowValidationIssueDto, WorkflowValidationIssueSeverity, WorkflowValidationResultDto, WorkflowValidationSeverity, WorkflowValidationStateDto, WorkflowVariableCollectionDto, WorkflowVariableDto, WorkflowVariableRequest, WorkflowViewportDto };
8953
+ export { AI_FORBIDDEN_NODE_CONFIG_KEYS, APP_STATES, AddCanvasNote, ApplyAutomationExecutionDetail, ApplyBuilderCommand, ApplyBuilderSnapshot, AutomationBuilderCatalogApiService, AutomationDesignApiService, AutomationExecutionApiService, AutomationExecutionsPageComponent, BottomPanelComponent, BuilderTopbarComponent, CLIENT_AUTOMATION_DEFAULT_STATE, CancelAutomationExecution, ClearAutomationRuntimeState, ClearCommandHistory, ClearConflict, ClearPendingOperation, ClearSelection, ClearWorkflowBuilder, ClientAutomationActionKey, ClientAutomationFacade, ClientAutomationPageComponent, ClientAutomationState, ClientInteractionDialogComponent, ClientStartFormDialogComponent, CommitStepUpdates, CommitWorkflowMetadata, ConnectionCreated, ConnectionCreationFailed, ContextPickerComponent, ContextPillButtonComponent, ContextPillComponent, CreateConnection, CreateLocalOpenAiConnection, CreateManualConnection, CreateOpenAiConnection, CreateStep, CreateTrigger, CreateWorkflow, DagreFlowLayoutEngine, DeleteCanvasNote, DeleteConnection, DeleteStep, DeleteTrigger, DeleteWorkflow, DuplicateCanvasNote, DuplicateWorkflow, EndpointBuilder, ExecuteInteractionAction, FLOWPLUS_FORM_DESIGNER_ADAPTER, FLOWPLUS_RETURN_LOOP_CONNECTION_TYPE, FLOWPLUS_WORKFLOW_CONFIG, FLOWPLUS_WORKFLOW_DEFAULT_RUNTIME, FLOWPLUS_WORKFLOW_DEFAULT_STATE, FLOWPLUS_WORKFLOW_NAVIGATION, FLOWPLUS_WORKFLOW_ROUTES, FLOW_NODE_BASE_HEIGHT, FLOW_NODE_CARD_WIDTH, FLOW_NODE_MULTI_OUTPUT_GAP, FLOW_NODE_OUTPUT_SIZE, FlowCanvasComponent, FlowNodeComponent, FlowplusWorkflowActionKey, FlowplusWorkflowFacade, FlowplusWorkflowNavigationService, FlowplusWorkflowOverlayService, FlowplusWorkflowState, INTEGRATIONS_DEFAULT_STATE, InspectorShellComponent, IntegrationConnectionFormComponent, IntegrationsActionKey, IntegrationsFacade, IntegrationsPageComponent, IntegrationsState, KeyboardShortcutsService, LOCAL_FALLBACK_CATALOG, LoadAiProfile, LoadAutomationExecution, LoadClientAutomationCounts, LoadClientForms, LoadContextCatalog, LoadContextCatalogForStep, LoadCurrentInteractions, LoadIntegrationsCatalog, LoadIntegrationsConnections, LoadIntegrationsOverview, LoadInteractionDetail, LoadInteractionHistory, LoadLatestAutomationExecution, LoadLayout, LoadManualTriggers, LoadMyRequests, LoadOperationsAuditEvents, LoadOperationsAutomations, LoadOperationsBottlenecks, LoadOperationsHealth, LoadOperationsInstance, LoadOperationsInstanceTimeline, LoadOperationsInstances, LoadOperationsOverview, LoadOperationsWorkItems, LoadRequestLifecycle, LoadStartCatalog, LoadTriggers, LoadWorkflowBuilder, LoadWorkflowCatalog, LoadWorkflowList, MarkLayoutDirty, MoveStep, NODE_COLOR_TOKEN, NODE_DEFAULT_ICON, NODE_MT_ICON, NoopFlowplusFormDesignerAdapter, OPERATIONS_DEFAULT_STATE, OperationsActionKey, OperationsFacade, OperationsPageComponent, OperationsState, PaletteComponent, PaletteDragSourceDirective, PollAutomationExecution, ProblemsPanelComponent, ProcessCreateDialogComponent, PublishWorkflow, RedoBuilderCommand, ReloadWorkflowBuilder, RevokeConnection, RunAutomationTrigger, RunManualTrigger, RunWorkflowTest, SaveAiProfile, SaveInteractionDraft, SaveLayout, SelectCanvasNote, SelectConnection, SelectRuntimeNodeRun, SelectStep, SelectTrigger, SetActiveInspectorTab, SetBottomPanelHeight, SetBottomPanelOpen, SetBottomPanelTab, SetCanvasViewport, SetContextCatalog, SetCreateDialogOpen, SetInspectorOpen, SetLayout, SetLayoutAutosavePaused, SetMinimap, SetPaletteOpen, SetPaletteSearch, SetPendingOperation, SetReadonly, SetSelectedRuntimeTrigger, SetSelection, SetSelectionFromCanvas, SetStudioFilter, SetValidation, SetWorkflowCatalog, SetWorkflowDefinition, StepCreated, StepCreationFailed, SubmitStartForm, TRIGGER_MT_ICON, TestAiProfile, TestConnection, TestRunPanelComponent, UnconfiguredFormDesignerAdapter, UndoBuilderCommand, UnpublishWorkflow, UpdateCanvasNote, UpdateConnection, UpdateLocalOpenAiConnection, UpdateOpenAiConnection, UpdateStep, UpdateTrigger, UpdateWorkflowMetadata, UpdateWorkflowResources, UpdateWorkflowVariables, ValidateWorkflow, WorkflowBuilderPageComponent, WorkflowCatalogApiService, WorkflowContextApiService, WorkflowDebugApiService, WorkflowDefinitionApiService, WorkflowFormApiService, WorkflowRunDebuggerPageComponent, WorkflowRuntimeApiService, WorkflowStudioPageComponent, WorkflowValidationApiService, allValidationIssues, applyBuilderSnapshot, avatarSeverityForStep, avatarSeverityForTrigger, canShowConnectionQuickAdd, canonicalTriggerTypeForStarterKind, coerceTranslatable, colorVarFor, computeBranchLanes, computeSaveStatus, connectionCanvasId, connectionClosesDirectedCycle, derivePortsForStep, extractMessage, flowNodeCardHeightForOutputs, flowNodeLayoutHeightForOutputs, flowNodeOutputCenterY, flowNodeOutputStackHeight, flowPortKeyExists, fromWorkflowConnectionDomain, fromWorkflowStepDomain, hasOtherPending, iconFor, indexValidationByConnectionId, indexValidationByStepId, indexValidationByTriggerId, inputPortId, isEntityDirty, isReturnConnectionForCanvas, mapHttpError, mtIconForStep, mtIconForTrigger, newClientMutationId, nextOperationId, nodeCanvasId, outputPortId, parseConnectionId, parseNodeId, parsePortId, parseTriggerOutputPortId, parseTriggerStartConnectionId, patchLayoutPosition, patchTriggerLayoutPosition, provideFlowplusFormDesignerAdapter, provideFlowplusWorkflow, provideFlowplusWorkflowNavigation, provideFlowplusWorkflowNavigationDefaults, readAiNodeHelperMetadata, readRecord, removeStepWithEdges, resolveConnectionEndpointStep, resolveTranslatable, resolveTriggerStartNodeKey, resolveTriggerStartStep, resolveTriggerStartStepId, resolveWorkflowTriggerKey, routeConnectionForCanvas, savingOrSaved, shouldPublishCurrentDefinitionBeforeRun, summarizeTriggerCycleValidation, tempNodeCanvasId, toWorkflowConnectionDomain, toWorkflowDefinitionDomain, toWorkflowStepDomain, toWorkflowTriggerDomain, triggerCanvasId, triggerOutputPortId, triggerStartConnectionCanvasId, triggerStarterKindFor, unwrap, unwrapApiData, upsertConnection, upsertStep };
8954
+ export type { ActivateAutomationRequest, ActivationResult, AdminOperationsQuery, AiNodeHelperMetadata, AiNodeKind, AiProfile, AiProfileUpdateRequest, AiProfileValidationStatus, AiProviderErrorCode, AiProviderMetadata, AiTokenUsage, ApiEnvelope, AssignmentSelectorContractResult, AssignmentValidationRequest, AutomationBuilderCatalog, AutomationCommandHeaders, AutomationEngineHealthSnapshot, AutomationExecutionDetail, AutomationExecutionEvent, AutomationExecutionListResult, AutomationExecutionNodeDataDetail, AutomationExecutionStatus, AutomationExecutionSummary, AutomationExportDefinition, AutomationFormBindingDefinition, AutomationFrontendDetail, AutomationFrontendListResult, AutomationImportRequest, AutomationImportResult, AutomationLastExecutionSummary, AutomationMetadataRequest, AutomationNodeAttempt, AutomationNodeDefinition, AutomationNodeRun, AutomationNodeTestRunExternalCallAudit, AutomationNodeTestRunLogEntry, AutomationNodeTestRunRequest, AutomationNodeTestRunResult, AutomationNodeTestRunStatus, AutomationNodeTestRunValidationIssue, AutomationNodeType, AutomationPagedResult, AutomationRetentionPruneResult, AutomationRevisionDiffResult, AutomationRevisionSummary, AutomationRouteDefinition, AutomationRunResult, AutomationRuntimeWait, AutomationRuntimeWaitResumeTokenResult, AutomationSelectorItem, AutomationSelectorResult, AutomationStatus, AutomationSummary, AutomationTriggerDefinition, AutomationTriggerType, AutomationValidationIssue, AutomationValidationReport, AutomationValidationSummary, AvatarSeverityVars, BatchBuilderPatchRequest, BusinessActionActorContext, BusinessActionApp, BusinessActionAppsResult, BusinessActionAutomationContext, BusinessActionCatalog, BusinessActionDefinition, BusinessActionDiscoveryContext, BusinessActionError, BusinessActionField, BusinessActionListResult, BusinessActionNodeConfig, BusinessActionOption, BusinessActionOptionProvider, BusinessActionOptionsRequest, BusinessActionOptionsResponse, BusinessActionTestRequest, BusinessActionTestResponse, BusinessActionValidateRequest, BusinessActionValidateResponse, BusinessActionValidationIssue, CanonicalFormDefinitionDetail, CanonicalFormDefinitionSummary, CanonicalFormListParams, CanonicalFormRevisionDetail, CanonicalFormRevisionPublishResult, CanonicalFormRevisionSummary, CanonicalFormRevisionValidationResult, CanonicalModuleDefinitionDetail, CanonicalModuleDefinitionListParams, CanonicalModuleDefinitionSummary, CanonicalModuleField, CanonicalModuleSchema, ClientAutomationCounts, ClientAutomationQuery, ClientAutomationStateModel, ClientInteraction, ClientInteractionDetail, ClientInteractionFormSurface, ClientInteractionPayload, ClientManualTrigger, ClientRequestLifecycle, ClientRequestLifecycleEvent, ClientRequestLifecycleStep, ClientRequestSummary, ClientStartCatalog, ClientStartForm, ConfigFieldWidget, ConfigUiAction, ConfigUiCompanionWrite, ConfigUiComputedRule, ConfigUiFieldHint, ConfigUiGroupSchema, ConfigUiListItemSchema, ConfigUiOptionsSource, ConfigUiSection, ConfigUiVisibilityRule, ConnectionTestRequest, ConnectionTestResult, ConnectorActionCatalogItem, ConnectorCatalog, ConnectorProviderCatalogItem, ConvertToFileActionCatalogItem, ConvertToFileCatalog, CreateCanonicalFormDefinitionRequest, CreateCanonicalFormRevisionRequest, CreateCanonicalModuleDefinitionRequest, CreateCanonicalModuleFieldRequest, CreateWorkflowConnectionRequest, CreateWorkflowDefinitionRequest, CreateWorkflowPluginStepRequest, CreateWorkflowStepRequest, CredentialFieldDescriptor, CredentialMutationResult, CredentialOAuthStartRequest, CredentialOAuthStartResult, CredentialProviderCatalogItem, CredentialReference, CredentialReferenceListResult, CredentialTestRequest, CredentialTestResult, CredentialTypeCatalogItem, CredentialTypeCatalogResult, DataTransformActionCatalogItem, DataTransformCatalog, EngineCommandError, EngineEventDto, ExecutionCancelResult, ExecutionNodeAiSummary, ExecutionRetryRequest, ExecutionRetryResult, ExpressionNamespaceDescriptor, ExpressionPreviewRequest, ExpressionPreviewResult, ExpressionValidationRequest, ExpressionValidationResult, FlowBranchLaneVm, FlowCanvasConnectionPosition, FlowCanvasConnectionRouting, FlowCanvasConnectionRoutingContext, FlowCanvasConnectionSide, FlowCanvasConnectionType, FlowCanvasConnectionWaypoint, FlowCanvasEdgeVm, FlowCanvasNodeVm, FlowLayoutEngine, FlowNodePortVm, FlowPlusCommitMappingValidationRequest, FlowPlusModuleCatalogItem, FlowPlusModuleCatalogResult, FlowPlusModuleField, FlowPlusModuleSchemaResult, FlowPortDirection, FlowPortSide, FlowplusApiError, FlowplusBuilderCommand, FlowplusBuilderSlice, FlowplusConflictState, FlowplusDirtyFlags, FlowplusExecutionRuntimeSlice, FlowplusFormDesignerAdapter, FlowplusPendingOperation, FlowplusPublishStatus, FlowplusRuntimeNodeState, FlowplusRuntimeNodeVisualState, FlowplusRuntimeReplayMode, FlowplusRuntimeRouteState, FlowplusRuntimeRouteVisualState, FlowplusRuntimeTriggerState, FlowplusRuntimeTriggerVisualState, FlowplusSaveStatus, FlowplusSelection, FlowplusStudioSlice, FlowplusTriggerExecutionRequest, FlowplusUiState, FlowplusWorkflowConfig, FlowplusWorkflowNavigationConfig, FlowplusWorkflowStateModel, FormBindingDefinitionRequest, FormDefinitionStatus, FormPurpose, FormRevisionStatus, FormSchemaResult, FormSelectorContractResult, FormSelectorItem, FormVersionListResult, FormVersionSummary, FormulaBuilderValue, GenericAiNodeConfig, HumanApprovalDecisionRequest, HumanApprovalDecisionResult, HumanTaskActionResult, HumanTaskAssignment, HumanTaskCancelRequest, HumanTaskDraftRequest, HumanTaskPayloadResult, HumanTaskSubmitRequest, InlineFormCreateRequest, InlineFormDraftResult, InlineFormDraftUpdateRequest, InlineFormDraftValidationIssue, InlineFormDraftValidationResult, InlineFormFieldDraft, IntegrationAuthType, IntegrationConnectionSummary, IntegrationConnectionsResponse, IntegrationProviderCatalogItem, IntegrationProviderCategory, IntegrationSection, IntegrationSectionKey, IntegrationsOverview, IntegrationsStateModel, InteractionAction, InteractionActionRequest, InteractionAllowedAction, JsonSchemaLite, LocalOpenAiCompatibleConnectionRequest, LocalProviderRequestMode, ManualConnectionRequest, ManualCredentialCreateRequest, ModuleDefinitionStatus, ModuleFieldDataType, ModuleFieldStorageType, NavigationTarget, NodeConfigUiSchema, NodeDefinitionRequest, NodeTypeCatalogItem, OpenAiConnectionRequest, OpenStepFormDesignerInput, OpenStepFormPreviewInput, OperationsAuditEvent, OperationsAutomationSummary, OperationsBottleneck, OperationsHealth, OperationsInstanceDetail, OperationsInstanceSummary, OperationsNodeRun, OperationsOpenWorkItem, OperationsOverview, OperationsRecentFailure, OperationsRuntimeWait, OperationsStateModel, OperationsStatusCount, OperationsTimelineEvent, OperationsWorkItem, PagedResult, ProcessContextEntryDto, ProcessContextLineageNodeDto, ProcessContextSnapshotDto, ProcessContextTimelineEventDto, ProcessFormLoadRequest, ProcessFormLoadResponseDto, ProcessStartRequest, ProcessStartResultDto, ProcessSubmitOperationKey, ProcessSubmitRequest, ProcessSubmitResponseDto, ProcessSubmitStatus, PublishAutomationRequest, PublishAutomationResult, QueuedNodeSummary, ReorderCanonicalModuleFieldRequestItem, ReorderCanonicalModuleFieldsRequest, RouteDefinitionRequest, RunManualTriggerRequest, SaveInteractionDraftRequest, ScheduleOptionsResult, SchedulePreviewRequest, SchedulePreviewResult, ScheduleValidationRequest, SpecializedAiNodeConfig, StepFormDesignerResult, StepFormPreviewResult, SubmitStartFormRequest, TaskActionRequest, TaskActionResultDto, TranslatableText, TriggerCycleValidationSummary, TriggerDefinitionRequest, TriggerNodeVm, TriggerStarterKind, TriggerTypeCatalogItem, UpdateCanonicalFormDefinitionRequest, UpdateCanonicalFormRevisionRequest, UpdateCanonicalModuleFieldRequest, UpdateWorkflowConnectionRequest, UpdateWorkflowDefinitionRequest, UpdateWorkflowStepRequest, WaitResumeRequest, WaitResumeResult, WebhookSetupResult, WorkflowAppActionDescriptorDto, WorkflowAppActionMappingDto, WorkflowAppActionOptionDto, WorkflowAppActionStepConfigDto, WorkflowAppDescriptorDto, WorkflowAutomatedOutputMappingDto, WorkflowAutomatedStepConfigDto, WorkflowBuilderCapabilitiesDto, WorkflowBuilderDto, WorkflowBuilderPermissionsDto, WorkflowCatalogDefaultsDto, WorkflowCatalogDto, WorkflowCatalogOptionDto, WorkflowConnectionDomain, WorkflowConnectionDto, WorkflowConnectionLayoutDto, WorkflowContextCatalogDto, WorkflowContextCatalogSourceDto, WorkflowContextPathValidationRequest, WorkflowContextPathValidationResultDto, WorkflowContextSourceType, WorkflowContextValueType, WorkflowDefinitionDomain, WorkflowDefinitionDto, WorkflowDefinitionListQuery, WorkflowDefinitionListResult, WorkflowDefinitionSummaryDto, WorkflowFormBindingContractDto, WorkflowFormBindingMode, WorkflowJoinParallelStepConfigDto, WorkflowLayoutDto, WorkflowNodeLayoutDto, WorkflowPluginDescriptorDto, WorkflowPluginStepConfigDto, WorkflowResourceBindingDto, WorkflowRuntimeRoutingPolicyDto, WorkflowSelectedActionDto, WorkflowStartParallelStepConfigDto, WorkflowStatus, WorkflowStepActionCatalogItemDto, WorkflowStepActionDto, WorkflowStepCategory, WorkflowStepDefaultsItemDto, WorkflowStepDomain, WorkflowStepDto, WorkflowStepFormBindingDto, WorkflowStepFormContractDto, WorkflowStepFormUpdateRequest, WorkflowStepPropertyDto, WorkflowStepType, WorkflowStepTypeCapabilityItemDto, WorkflowStepTypeCatalogItemDto, WorkflowSubprocessContextMappingDto, WorkflowSubprocessPropertyMappingDto, WorkflowSubprocessStepConfigDto, WorkflowTestRunConnectionDecisionDto, WorkflowTestRunContextChangeDto, WorkflowTestRunContextValueDto, WorkflowTestRunMode, WorkflowTestRunRequest, WorkflowTestRunResultDto, WorkflowTestRunStatus, WorkflowTestStepResultDto, WorkflowTestStepStatus, WorkflowTriggerDomain, WorkflowTriggerDto, WorkflowTriggerType, WorkflowValidationEntityType, WorkflowValidationGroupKey, WorkflowValidationGroupedIssuesDto, WorkflowValidationIssueDto, WorkflowValidationIssueSeverity, WorkflowValidationResultDto, WorkflowValidationSeverity, WorkflowValidationStateDto, WorkflowVariableCollectionDto, WorkflowVariableDto, WorkflowVariableRequest, WorkflowViewportDto };