@n8n/api-types 1.36.2 → 1.37.0

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.
Files changed (109) hide show
  1. package/dist/agents/agent-config-validation.schema.d.ts +8 -0
  2. package/dist/agents/agent-config-validation.schema.js +1 -0
  3. package/dist/agents/agent-config-validation.schema.js.map +1 -1
  4. package/dist/agents/agent-integration.schema.d.ts +43 -0
  5. package/dist/agents/agent-integration.schema.js +18 -4
  6. package/dist/agents/agent-integration.schema.js.map +1 -1
  7. package/dist/agents/agent-interaction.schema.d.ts +5 -0
  8. package/dist/agents/agent-json-config.schema.d.ts +307 -0
  9. package/dist/agents/agent-json-config.schema.js +15 -1
  10. package/dist/agents/agent-json-config.schema.js.map +1 -1
  11. package/dist/agents/agent-task.schema.d.ts +3 -0
  12. package/dist/agents/agent-task.schema.js +2 -0
  13. package/dist/agents/agent-task.schema.js.map +1 -1
  14. package/dist/agents/dto.d.ts +26 -0
  15. package/dist/agents/dto.js +32 -1
  16. package/dist/agents/dto.js.map +1 -1
  17. package/dist/agents/index.d.ts +1 -0
  18. package/dist/agents/index.js +1 -0
  19. package/dist/agents/index.js.map +1 -1
  20. package/dist/agents/inline-agent-config.schema.d.ts +276 -0
  21. package/dist/agents/sanitize-agent-tool-name.d.ts +1 -0
  22. package/dist/agents/sanitize-agent-tool-name.js +15 -0
  23. package/dist/agents/sanitize-agent-tool-name.js.map +1 -0
  24. package/dist/agents/slack/types.d.ts +3 -0
  25. package/dist/agents/types.d.ts +15 -93
  26. package/dist/agents/types.js +28 -17
  27. package/dist/agents/types.js.map +1 -1
  28. package/dist/build.tsbuildinfo +1 -1
  29. package/dist/constants/role-mapping.d.ts +2 -0
  30. package/dist/constants/role-mapping.js +3 -1
  31. package/dist/constants/role-mapping.js.map +1 -1
  32. package/dist/dto/data-table/create-data-table.dto.d.ts +1 -1
  33. package/dist/dto/data-table/public-api-create-data-table.dto.d.ts +1 -1
  34. package/dist/dto/executions/delete-executions.dto.d.ts +13 -0
  35. package/dist/dto/executions/delete-executions.dto.js +13 -0
  36. package/dist/dto/executions/delete-executions.dto.js.map +1 -0
  37. package/dist/dto/git-connections/git-connections.dto.d.ts +331 -0
  38. package/dist/dto/git-connections/git-connections.dto.js +94 -0
  39. package/dist/dto/git-connections/git-connections.dto.js.map +1 -0
  40. package/dist/dto/index.d.ts +10 -3
  41. package/dist/dto/index.js +37 -4
  42. package/dist/dto/index.js.map +1 -1
  43. package/dist/dto/packages/export-package-request.dto.d.ts +2 -0
  44. package/dist/dto/packages/export-package-request.dto.js +4 -0
  45. package/dist/dto/packages/export-package-request.dto.js.map +1 -1
  46. package/dist/dto/packages/import-package-request.dto.d.ts +5 -3
  47. package/dist/dto/packages/import-package-request.dto.js +3 -1
  48. package/dist/dto/packages/import-package-request.dto.js.map +1 -1
  49. package/dist/dto/roles/role-mapping-rule-public.dto.d.ts +84 -0
  50. package/dist/dto/roles/role-mapping-rule-public.dto.js +18 -3
  51. package/dist/dto/roles/role-mapping-rule-public.dto.js.map +1 -1
  52. package/dist/dto/roles/role-public.dto.d.ts +2 -2
  53. package/dist/dto/roles/update-role-mapping-rule-public.dto.d.ts +13 -0
  54. package/dist/dto/roles/update-role-mapping-rule-public.dto.js +13 -0
  55. package/dist/dto/roles/update-role-mapping-rule-public.dto.js.map +1 -0
  56. package/dist/dto/saml/saml-preferences.dto.d.ts +1 -1
  57. package/dist/dto/workflow-history/list-workflow-history-query.dto.d.ts +0 -2
  58. package/dist/dto/workflow-history/list-workflow-history-query.dto.js +1 -1
  59. package/dist/dto/workflow-history/list-workflow-history-query.dto.js.map +1 -1
  60. package/dist/dto/workflow-reviews/get-workflow-review-request-detail.dto.d.ts +1 -0
  61. package/dist/dto/workflow-reviews/list-workflow-review-requests-query.dto.d.ts +2 -2
  62. package/dist/dto/workflows/create-workflow-public.dto.d.ts +373 -0
  63. package/dist/dto/workflows/create-workflow-public.dto.js +167 -0
  64. package/dist/dto/workflows/create-workflow-public.dto.js.map +1 -0
  65. package/dist/dto/workflows/publish-workflow-public.dto.d.ts +27 -0
  66. package/dist/dto/workflows/publish-workflow-public.dto.js +23 -0
  67. package/dist/dto/workflows/publish-workflow-public.dto.js.map +1 -0
  68. package/dist/dto/workflows/transfer-workflow-public.dto.d.ts +9 -0
  69. package/dist/dto/workflows/transfer-workflow-public.dto.js +11 -0
  70. package/dist/dto/workflows/transfer-workflow-public.dto.js.map +1 -0
  71. package/dist/dto/workflows/workflow-public.dto.d.ts +1343 -0
  72. package/dist/dto/workflows/workflow-public.dto.js +40 -11
  73. package/dist/dto/workflows/workflow-public.dto.js.map +1 -1
  74. package/dist/dto/workflows/workflow-public.openapi.d.ts +217 -0
  75. package/dist/dto/workflows/workflow-public.openapi.js +390 -0
  76. package/dist/dto/workflows/workflow-public.openapi.js.map +1 -0
  77. package/dist/dto/workflows/workflow-publish-blocked-error-public.dto.d.ts +26 -0
  78. package/dist/dto/workflows/workflow-publish-blocked-error-public.dto.js +14 -0
  79. package/dist/dto/workflows/workflow-publish-blocked-error-public.dto.js.map +1 -0
  80. package/dist/frontend-settings.d.ts +1 -1
  81. package/dist/index.d.ts +4 -4
  82. package/dist/index.js +9 -3
  83. package/dist/index.js.map +1 -1
  84. package/dist/openapi-extend.d.ts +1 -0
  85. package/dist/openapi-extend.js +6 -0
  86. package/dist/openapi-extend.js.map +1 -0
  87. package/dist/push/execution.d.ts +27 -1
  88. package/dist/push/index.d.ts +1 -0
  89. package/dist/schemas/agent-evals.schema.d.ts +4 -4
  90. package/dist/schemas/agent-evals.schema.js +2 -9
  91. package/dist/schemas/agent-evals.schema.js.map +1 -1
  92. package/dist/schemas/agent-run-reducer.js +1 -0
  93. package/dist/schemas/agent-run-reducer.js.map +1 -1
  94. package/dist/schemas/instance-ai.schema.d.ts +333 -0
  95. package/dist/schemas/instance-ai.schema.js +18 -4
  96. package/dist/schemas/instance-ai.schema.js.map +1 -1
  97. package/dist/schemas/json-value.schema.d.ts +3 -0
  98. package/dist/schemas/json-value.schema.js +13 -0
  99. package/dist/schemas/json-value.schema.js.map +1 -0
  100. package/dist/schemas/mcp.schema.d.ts +1 -0
  101. package/dist/schemas/mcp.schema.js +4 -0
  102. package/dist/schemas/mcp.schema.js.map +1 -1
  103. package/dist/workflow-review-activity.d.ts +33 -6
  104. package/dist/workflow-review-activity.js +11 -6
  105. package/dist/workflow-review-activity.js.map +1 -1
  106. package/dist/zod-class.d.ts +4 -2
  107. package/dist/zod-class.js +3 -3
  108. package/dist/zod-class.js.map +1 -1
  109. package/package.json +5 -4
@@ -1,3 +1,4 @@
1
+ import '../../openapi-extend';
1
2
  import type { IConnections, INode, IWorkflowGroup } from 'n8n-workflow';
2
3
  import { z } from 'zod';
3
4
  export declare const sharedWorkflowPublicSchema: z.ZodObject<{
@@ -856,6 +857,1348 @@ declare const WorkflowPublicDto_base: import("../../zod-class").ZodClass<{
856
857
  }>;
857
858
  export declare class WorkflowPublicDto extends WorkflowPublicDto_base {
858
859
  }
860
+ export declare const workflowParentFolderPublicSchema: z.ZodObject<{
861
+ id: z.ZodString;
862
+ name: z.ZodString;
863
+ parentFolderId: z.ZodNullable<z.ZodString>;
864
+ createdAt: z.ZodString;
865
+ updatedAt: z.ZodString;
866
+ }, "strip", z.ZodTypeAny, {
867
+ id: string;
868
+ name: string;
869
+ parentFolderId: string | null;
870
+ createdAt: string;
871
+ updatedAt: string;
872
+ }, {
873
+ id: string;
874
+ name: string;
875
+ parentFolderId: string | null;
876
+ createdAt: string;
877
+ updatedAt: string;
878
+ }>;
879
+ export declare const createdWorkflowPublicSchema: z.ZodObject<{
880
+ id: z.ZodString;
881
+ name: z.ZodString;
882
+ description: z.ZodNullable<z.ZodString>;
883
+ active: z.ZodBoolean;
884
+ activeVersionId: z.ZodNullable<z.ZodString>;
885
+ createdAt: z.ZodString;
886
+ updatedAt: z.ZodString;
887
+ isArchived: z.ZodBoolean;
888
+ versionId: z.ZodString;
889
+ versionCounter: z.ZodNumber;
890
+ sourceWorkflowId: z.ZodNullable<z.ZodString>;
891
+ triggerCount: z.ZodNumber;
892
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
893
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
894
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
895
+ settings: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
896
+ staticData: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
897
+ pinData: z.ZodOptional<z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>>;
898
+ meta: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
899
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
900
+ id: z.ZodString;
901
+ name: z.ZodString;
902
+ createdAt: z.ZodString;
903
+ updatedAt: z.ZodString;
904
+ }, "strip", z.ZodTypeAny, {
905
+ id: string;
906
+ name: string;
907
+ createdAt: string;
908
+ updatedAt: string;
909
+ }, {
910
+ id: string;
911
+ name: string;
912
+ createdAt: string;
913
+ updatedAt: string;
914
+ }>, "many">>;
915
+ shared: z.ZodArray<z.ZodObject<{
916
+ role: z.ZodString;
917
+ workflowId: z.ZodString;
918
+ projectId: z.ZodString;
919
+ project: z.ZodObject<{
920
+ id: z.ZodString;
921
+ name: z.ZodString;
922
+ type: z.ZodEnum<["personal", "team"]>;
923
+ icon: z.ZodNullable<z.ZodObject<{
924
+ type: z.ZodEnum<["emoji", "icon"]>;
925
+ value: z.ZodString;
926
+ }, "strip", z.ZodTypeAny, {
927
+ type: "emoji" | "icon";
928
+ value: string;
929
+ }, {
930
+ type: "emoji" | "icon";
931
+ value: string;
932
+ }>>;
933
+ description: z.ZodNullable<z.ZodString>;
934
+ customTelemetryTags: z.ZodArray<z.ZodObject<{
935
+ key: z.ZodString;
936
+ value: z.ZodString;
937
+ }, "strip", z.ZodTypeAny, {
938
+ key: string;
939
+ value: string;
940
+ }, {
941
+ key: string;
942
+ value: string;
943
+ }>, "many">;
944
+ creatorId: z.ZodNullable<z.ZodString>;
945
+ createdAt: z.ZodString;
946
+ updatedAt: z.ZodString;
947
+ }, "strip", z.ZodTypeAny, {
948
+ id: string;
949
+ name: string;
950
+ type: "personal" | "team";
951
+ icon: {
952
+ type: "emoji" | "icon";
953
+ value: string;
954
+ } | null;
955
+ description: string | null;
956
+ customTelemetryTags: {
957
+ key: string;
958
+ value: string;
959
+ }[];
960
+ creatorId: string | null;
961
+ createdAt: string;
962
+ updatedAt: string;
963
+ }, {
964
+ id: string;
965
+ name: string;
966
+ type: "personal" | "team";
967
+ icon: {
968
+ type: "emoji" | "icon";
969
+ value: string;
970
+ } | null;
971
+ description: string | null;
972
+ customTelemetryTags: {
973
+ key: string;
974
+ value: string;
975
+ }[];
976
+ creatorId: string | null;
977
+ createdAt: string;
978
+ updatedAt: string;
979
+ }>;
980
+ createdAt: z.ZodString;
981
+ updatedAt: z.ZodString;
982
+ }, "strip", z.ZodTypeAny, {
983
+ role: string;
984
+ workflowId: string;
985
+ projectId: string;
986
+ project: {
987
+ id: string;
988
+ name: string;
989
+ type: "personal" | "team";
990
+ icon: {
991
+ type: "emoji" | "icon";
992
+ value: string;
993
+ } | null;
994
+ description: string | null;
995
+ customTelemetryTags: {
996
+ key: string;
997
+ value: string;
998
+ }[];
999
+ creatorId: string | null;
1000
+ createdAt: string;
1001
+ updatedAt: string;
1002
+ };
1003
+ createdAt: string;
1004
+ updatedAt: string;
1005
+ }, {
1006
+ role: string;
1007
+ workflowId: string;
1008
+ projectId: string;
1009
+ project: {
1010
+ id: string;
1011
+ name: string;
1012
+ type: "personal" | "team";
1013
+ icon: {
1014
+ type: "emoji" | "icon";
1015
+ value: string;
1016
+ } | null;
1017
+ description: string | null;
1018
+ customTelemetryTags: {
1019
+ key: string;
1020
+ value: string;
1021
+ }[];
1022
+ creatorId: string | null;
1023
+ createdAt: string;
1024
+ updatedAt: string;
1025
+ };
1026
+ createdAt: string;
1027
+ updatedAt: string;
1028
+ }>, "many">;
1029
+ activeVersion: z.ZodNullable<z.ZodObject<{
1030
+ versionId: z.ZodString;
1031
+ workflowId: z.ZodString;
1032
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
1033
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
1034
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
1035
+ authors: z.ZodString;
1036
+ name: z.ZodNullable<z.ZodString>;
1037
+ description: z.ZodNullable<z.ZodString>;
1038
+ autosaved: z.ZodBoolean;
1039
+ createdAt: z.ZodString;
1040
+ updatedAt: z.ZodString;
1041
+ workflowPublishHistory: z.ZodArray<z.ZodObject<{
1042
+ id: z.ZodNumber;
1043
+ workflowId: z.ZodString;
1044
+ versionId: z.ZodNullable<z.ZodString>;
1045
+ event: z.ZodEnum<["activated", "deactivated"]>;
1046
+ userId: z.ZodNullable<z.ZodString>;
1047
+ createdAt: z.ZodString;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ id: number;
1050
+ workflowId: string;
1051
+ versionId: string | null;
1052
+ event: "activated" | "deactivated";
1053
+ userId: string | null;
1054
+ createdAt: string;
1055
+ }, {
1056
+ id: number;
1057
+ workflowId: string;
1058
+ versionId: string | null;
1059
+ event: "activated" | "deactivated";
1060
+ userId: string | null;
1061
+ createdAt: string;
1062
+ }>, "many">;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ versionId: string;
1065
+ workflowId: string;
1066
+ nodes: INode[];
1067
+ connections: IConnections;
1068
+ nodeGroups: IWorkflowGroup[];
1069
+ authors: string;
1070
+ name: string | null;
1071
+ description: string | null;
1072
+ autosaved: boolean;
1073
+ createdAt: string;
1074
+ updatedAt: string;
1075
+ workflowPublishHistory: {
1076
+ id: number;
1077
+ workflowId: string;
1078
+ versionId: string | null;
1079
+ event: "activated" | "deactivated";
1080
+ userId: string | null;
1081
+ createdAt: string;
1082
+ }[];
1083
+ }, {
1084
+ versionId: string;
1085
+ workflowId: string;
1086
+ nodes: INode[];
1087
+ connections: IConnections;
1088
+ nodeGroups: IWorkflowGroup[];
1089
+ authors: string;
1090
+ name: string | null;
1091
+ description: string | null;
1092
+ autosaved: boolean;
1093
+ createdAt: string;
1094
+ updatedAt: string;
1095
+ workflowPublishHistory: {
1096
+ id: number;
1097
+ workflowId: string;
1098
+ versionId: string | null;
1099
+ event: "activated" | "deactivated";
1100
+ userId: string | null;
1101
+ createdAt: string;
1102
+ }[];
1103
+ }>>;
1104
+ } & {
1105
+ parentFolder: z.ZodNullable<z.ZodObject<{
1106
+ id: z.ZodString;
1107
+ name: z.ZodString;
1108
+ parentFolderId: z.ZodNullable<z.ZodString>;
1109
+ createdAt: z.ZodString;
1110
+ updatedAt: z.ZodString;
1111
+ }, "strip", z.ZodTypeAny, {
1112
+ id: string;
1113
+ name: string;
1114
+ parentFolderId: string | null;
1115
+ createdAt: string;
1116
+ updatedAt: string;
1117
+ }, {
1118
+ id: string;
1119
+ name: string;
1120
+ parentFolderId: string | null;
1121
+ createdAt: string;
1122
+ updatedAt: string;
1123
+ }>>;
1124
+ }, "strip", z.ZodTypeAny, {
1125
+ id: string;
1126
+ name: string;
1127
+ description: string | null;
1128
+ active: boolean;
1129
+ activeVersionId: string | null;
1130
+ createdAt: string;
1131
+ updatedAt: string;
1132
+ isArchived: boolean;
1133
+ versionId: string;
1134
+ versionCounter: number;
1135
+ sourceWorkflowId: string | null;
1136
+ triggerCount: number;
1137
+ nodes: INode[];
1138
+ connections: IConnections;
1139
+ nodeGroups: IWorkflowGroup[];
1140
+ settings: Record<string, unknown> | null;
1141
+ staticData: Record<string, unknown> | null;
1142
+ pinData?: Record<string, unknown> | null | undefined;
1143
+ meta: Record<string, unknown> | null;
1144
+ tags?: {
1145
+ id: string;
1146
+ name: string;
1147
+ createdAt: string;
1148
+ updatedAt: string;
1149
+ }[] | undefined;
1150
+ shared: {
1151
+ role: string;
1152
+ workflowId: string;
1153
+ projectId: string;
1154
+ project: {
1155
+ id: string;
1156
+ name: string;
1157
+ type: "personal" | "team";
1158
+ icon: {
1159
+ type: "emoji" | "icon";
1160
+ value: string;
1161
+ } | null;
1162
+ description: string | null;
1163
+ customTelemetryTags: {
1164
+ key: string;
1165
+ value: string;
1166
+ }[];
1167
+ creatorId: string | null;
1168
+ createdAt: string;
1169
+ updatedAt: string;
1170
+ };
1171
+ createdAt: string;
1172
+ updatedAt: string;
1173
+ }[];
1174
+ activeVersion: {
1175
+ versionId: string;
1176
+ workflowId: string;
1177
+ nodes: INode[];
1178
+ connections: IConnections;
1179
+ nodeGroups: IWorkflowGroup[];
1180
+ authors: string;
1181
+ name: string | null;
1182
+ description: string | null;
1183
+ autosaved: boolean;
1184
+ createdAt: string;
1185
+ updatedAt: string;
1186
+ workflowPublishHistory: {
1187
+ id: number;
1188
+ workflowId: string;
1189
+ versionId: string | null;
1190
+ event: "activated" | "deactivated";
1191
+ userId: string | null;
1192
+ createdAt: string;
1193
+ }[];
1194
+ } | null;
1195
+ parentFolder: {
1196
+ id: string;
1197
+ name: string;
1198
+ parentFolderId: string | null;
1199
+ createdAt: string;
1200
+ updatedAt: string;
1201
+ } | null;
1202
+ }, {
1203
+ id: string;
1204
+ name: string;
1205
+ description: string | null;
1206
+ active: boolean;
1207
+ activeVersionId: string | null;
1208
+ createdAt: string;
1209
+ updatedAt: string;
1210
+ isArchived: boolean;
1211
+ versionId: string;
1212
+ versionCounter: number;
1213
+ sourceWorkflowId: string | null;
1214
+ triggerCount: number;
1215
+ nodes: INode[];
1216
+ connections: IConnections;
1217
+ nodeGroups: IWorkflowGroup[];
1218
+ settings: Record<string, unknown> | null;
1219
+ staticData: Record<string, unknown> | null;
1220
+ pinData?: Record<string, unknown> | null | undefined;
1221
+ meta: Record<string, unknown> | null;
1222
+ tags?: {
1223
+ id: string;
1224
+ name: string;
1225
+ createdAt: string;
1226
+ updatedAt: string;
1227
+ }[] | undefined;
1228
+ shared: {
1229
+ role: string;
1230
+ workflowId: string;
1231
+ projectId: string;
1232
+ project: {
1233
+ id: string;
1234
+ name: string;
1235
+ type: "personal" | "team";
1236
+ icon: {
1237
+ type: "emoji" | "icon";
1238
+ value: string;
1239
+ } | null;
1240
+ description: string | null;
1241
+ customTelemetryTags: {
1242
+ key: string;
1243
+ value: string;
1244
+ }[];
1245
+ creatorId: string | null;
1246
+ createdAt: string;
1247
+ updatedAt: string;
1248
+ };
1249
+ createdAt: string;
1250
+ updatedAt: string;
1251
+ }[];
1252
+ activeVersion: {
1253
+ versionId: string;
1254
+ workflowId: string;
1255
+ nodes: INode[];
1256
+ connections: IConnections;
1257
+ nodeGroups: IWorkflowGroup[];
1258
+ authors: string;
1259
+ name: string | null;
1260
+ description: string | null;
1261
+ autosaved: boolean;
1262
+ createdAt: string;
1263
+ updatedAt: string;
1264
+ workflowPublishHistory: {
1265
+ id: number;
1266
+ workflowId: string;
1267
+ versionId: string | null;
1268
+ event: "activated" | "deactivated";
1269
+ userId: string | null;
1270
+ createdAt: string;
1271
+ }[];
1272
+ } | null;
1273
+ parentFolder: {
1274
+ id: string;
1275
+ name: string;
1276
+ parentFolderId: string | null;
1277
+ createdAt: string;
1278
+ updatedAt: string;
1279
+ } | null;
1280
+ }>;
1281
+ declare const CreatedWorkflowPublicDto_base: import("../../zod-class").ZodClass<{
1282
+ id: string;
1283
+ name: string;
1284
+ description: string | null;
1285
+ active: boolean;
1286
+ activeVersionId: string | null;
1287
+ createdAt: string;
1288
+ updatedAt: string;
1289
+ isArchived: boolean;
1290
+ versionId: string;
1291
+ versionCounter: number;
1292
+ sourceWorkflowId: string | null;
1293
+ triggerCount: number;
1294
+ nodes: INode[];
1295
+ connections: IConnections;
1296
+ nodeGroups: IWorkflowGroup[];
1297
+ settings: Record<string, unknown> | null;
1298
+ staticData: Record<string, unknown> | null;
1299
+ pinData?: Record<string, unknown> | null | undefined;
1300
+ meta: Record<string, unknown> | null;
1301
+ tags?: {
1302
+ id: string;
1303
+ name: string;
1304
+ createdAt: string;
1305
+ updatedAt: string;
1306
+ }[] | undefined;
1307
+ shared: {
1308
+ role: string;
1309
+ workflowId: string;
1310
+ projectId: string;
1311
+ project: {
1312
+ id: string;
1313
+ name: string;
1314
+ type: "personal" | "team";
1315
+ icon: {
1316
+ type: "emoji" | "icon";
1317
+ value: string;
1318
+ } | null;
1319
+ description: string | null;
1320
+ customTelemetryTags: {
1321
+ key: string;
1322
+ value: string;
1323
+ }[];
1324
+ creatorId: string | null;
1325
+ createdAt: string;
1326
+ updatedAt: string;
1327
+ };
1328
+ createdAt: string;
1329
+ updatedAt: string;
1330
+ }[];
1331
+ activeVersion: {
1332
+ versionId: string;
1333
+ workflowId: string;
1334
+ nodes: INode[];
1335
+ connections: IConnections;
1336
+ nodeGroups: IWorkflowGroup[];
1337
+ authors: string;
1338
+ name: string | null;
1339
+ description: string | null;
1340
+ autosaved: boolean;
1341
+ createdAt: string;
1342
+ updatedAt: string;
1343
+ workflowPublishHistory: {
1344
+ id: number;
1345
+ workflowId: string;
1346
+ versionId: string | null;
1347
+ event: "activated" | "deactivated";
1348
+ userId: string | null;
1349
+ createdAt: string;
1350
+ }[];
1351
+ } | null;
1352
+ parentFolder: {
1353
+ id: string;
1354
+ name: string;
1355
+ parentFolderId: string | null;
1356
+ createdAt: string;
1357
+ updatedAt: string;
1358
+ } | null;
1359
+ }, {
1360
+ id: z.ZodString;
1361
+ name: z.ZodString;
1362
+ description: z.ZodNullable<z.ZodString>;
1363
+ active: z.ZodBoolean;
1364
+ activeVersionId: z.ZodNullable<z.ZodString>;
1365
+ createdAt: z.ZodString;
1366
+ updatedAt: z.ZodString;
1367
+ isArchived: z.ZodBoolean;
1368
+ versionId: z.ZodString;
1369
+ versionCounter: z.ZodNumber;
1370
+ sourceWorkflowId: z.ZodNullable<z.ZodString>;
1371
+ triggerCount: z.ZodNumber;
1372
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
1373
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
1374
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
1375
+ settings: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
1376
+ staticData: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
1377
+ pinData: z.ZodOptional<z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>>;
1378
+ meta: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
1379
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1380
+ id: z.ZodString;
1381
+ name: z.ZodString;
1382
+ createdAt: z.ZodString;
1383
+ updatedAt: z.ZodString;
1384
+ }, "strip", z.ZodTypeAny, {
1385
+ id: string;
1386
+ name: string;
1387
+ createdAt: string;
1388
+ updatedAt: string;
1389
+ }, {
1390
+ id: string;
1391
+ name: string;
1392
+ createdAt: string;
1393
+ updatedAt: string;
1394
+ }>, "many">>;
1395
+ shared: z.ZodArray<z.ZodObject<{
1396
+ role: z.ZodString;
1397
+ workflowId: z.ZodString;
1398
+ projectId: z.ZodString;
1399
+ project: z.ZodObject<{
1400
+ id: z.ZodString;
1401
+ name: z.ZodString;
1402
+ type: z.ZodEnum<["personal", "team"]>;
1403
+ icon: z.ZodNullable<z.ZodObject<{
1404
+ type: z.ZodEnum<["emoji", "icon"]>;
1405
+ value: z.ZodString;
1406
+ }, "strip", z.ZodTypeAny, {
1407
+ type: "emoji" | "icon";
1408
+ value: string;
1409
+ }, {
1410
+ type: "emoji" | "icon";
1411
+ value: string;
1412
+ }>>;
1413
+ description: z.ZodNullable<z.ZodString>;
1414
+ customTelemetryTags: z.ZodArray<z.ZodObject<{
1415
+ key: z.ZodString;
1416
+ value: z.ZodString;
1417
+ }, "strip", z.ZodTypeAny, {
1418
+ key: string;
1419
+ value: string;
1420
+ }, {
1421
+ key: string;
1422
+ value: string;
1423
+ }>, "many">;
1424
+ creatorId: z.ZodNullable<z.ZodString>;
1425
+ createdAt: z.ZodString;
1426
+ updatedAt: z.ZodString;
1427
+ }, "strip", z.ZodTypeAny, {
1428
+ id: string;
1429
+ name: string;
1430
+ type: "personal" | "team";
1431
+ icon: {
1432
+ type: "emoji" | "icon";
1433
+ value: string;
1434
+ } | null;
1435
+ description: string | null;
1436
+ customTelemetryTags: {
1437
+ key: string;
1438
+ value: string;
1439
+ }[];
1440
+ creatorId: string | null;
1441
+ createdAt: string;
1442
+ updatedAt: string;
1443
+ }, {
1444
+ id: string;
1445
+ name: string;
1446
+ type: "personal" | "team";
1447
+ icon: {
1448
+ type: "emoji" | "icon";
1449
+ value: string;
1450
+ } | null;
1451
+ description: string | null;
1452
+ customTelemetryTags: {
1453
+ key: string;
1454
+ value: string;
1455
+ }[];
1456
+ creatorId: string | null;
1457
+ createdAt: string;
1458
+ updatedAt: string;
1459
+ }>;
1460
+ createdAt: z.ZodString;
1461
+ updatedAt: z.ZodString;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ role: string;
1464
+ workflowId: string;
1465
+ projectId: string;
1466
+ project: {
1467
+ id: string;
1468
+ name: string;
1469
+ type: "personal" | "team";
1470
+ icon: {
1471
+ type: "emoji" | "icon";
1472
+ value: string;
1473
+ } | null;
1474
+ description: string | null;
1475
+ customTelemetryTags: {
1476
+ key: string;
1477
+ value: string;
1478
+ }[];
1479
+ creatorId: string | null;
1480
+ createdAt: string;
1481
+ updatedAt: string;
1482
+ };
1483
+ createdAt: string;
1484
+ updatedAt: string;
1485
+ }, {
1486
+ role: string;
1487
+ workflowId: string;
1488
+ projectId: string;
1489
+ project: {
1490
+ id: string;
1491
+ name: string;
1492
+ type: "personal" | "team";
1493
+ icon: {
1494
+ type: "emoji" | "icon";
1495
+ value: string;
1496
+ } | null;
1497
+ description: string | null;
1498
+ customTelemetryTags: {
1499
+ key: string;
1500
+ value: string;
1501
+ }[];
1502
+ creatorId: string | null;
1503
+ createdAt: string;
1504
+ updatedAt: string;
1505
+ };
1506
+ createdAt: string;
1507
+ updatedAt: string;
1508
+ }>, "many">;
1509
+ activeVersion: z.ZodNullable<z.ZodObject<{
1510
+ versionId: z.ZodString;
1511
+ workflowId: z.ZodString;
1512
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
1513
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
1514
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
1515
+ authors: z.ZodString;
1516
+ name: z.ZodNullable<z.ZodString>;
1517
+ description: z.ZodNullable<z.ZodString>;
1518
+ autosaved: z.ZodBoolean;
1519
+ createdAt: z.ZodString;
1520
+ updatedAt: z.ZodString;
1521
+ workflowPublishHistory: z.ZodArray<z.ZodObject<{
1522
+ id: z.ZodNumber;
1523
+ workflowId: z.ZodString;
1524
+ versionId: z.ZodNullable<z.ZodString>;
1525
+ event: z.ZodEnum<["activated", "deactivated"]>;
1526
+ userId: z.ZodNullable<z.ZodString>;
1527
+ createdAt: z.ZodString;
1528
+ }, "strip", z.ZodTypeAny, {
1529
+ id: number;
1530
+ workflowId: string;
1531
+ versionId: string | null;
1532
+ event: "activated" | "deactivated";
1533
+ userId: string | null;
1534
+ createdAt: string;
1535
+ }, {
1536
+ id: number;
1537
+ workflowId: string;
1538
+ versionId: string | null;
1539
+ event: "activated" | "deactivated";
1540
+ userId: string | null;
1541
+ createdAt: string;
1542
+ }>, "many">;
1543
+ }, "strip", z.ZodTypeAny, {
1544
+ versionId: string;
1545
+ workflowId: string;
1546
+ nodes: INode[];
1547
+ connections: IConnections;
1548
+ nodeGroups: IWorkflowGroup[];
1549
+ authors: string;
1550
+ name: string | null;
1551
+ description: string | null;
1552
+ autosaved: boolean;
1553
+ createdAt: string;
1554
+ updatedAt: string;
1555
+ workflowPublishHistory: {
1556
+ id: number;
1557
+ workflowId: string;
1558
+ versionId: string | null;
1559
+ event: "activated" | "deactivated";
1560
+ userId: string | null;
1561
+ createdAt: string;
1562
+ }[];
1563
+ }, {
1564
+ versionId: string;
1565
+ workflowId: string;
1566
+ nodes: INode[];
1567
+ connections: IConnections;
1568
+ nodeGroups: IWorkflowGroup[];
1569
+ authors: string;
1570
+ name: string | null;
1571
+ description: string | null;
1572
+ autosaved: boolean;
1573
+ createdAt: string;
1574
+ updatedAt: string;
1575
+ workflowPublishHistory: {
1576
+ id: number;
1577
+ workflowId: string;
1578
+ versionId: string | null;
1579
+ event: "activated" | "deactivated";
1580
+ userId: string | null;
1581
+ createdAt: string;
1582
+ }[];
1583
+ }>>;
1584
+ } & {
1585
+ parentFolder: z.ZodNullable<z.ZodObject<{
1586
+ id: z.ZodString;
1587
+ name: z.ZodString;
1588
+ parentFolderId: z.ZodNullable<z.ZodString>;
1589
+ createdAt: z.ZodString;
1590
+ updatedAt: z.ZodString;
1591
+ }, "strip", z.ZodTypeAny, {
1592
+ id: string;
1593
+ name: string;
1594
+ parentFolderId: string | null;
1595
+ createdAt: string;
1596
+ updatedAt: string;
1597
+ }, {
1598
+ id: string;
1599
+ name: string;
1600
+ parentFolderId: string | null;
1601
+ createdAt: string;
1602
+ updatedAt: string;
1603
+ }>>;
1604
+ }>;
1605
+ export declare class CreatedWorkflowPublicDto extends CreatedWorkflowPublicDto_base {
1606
+ }
1607
+ export declare const workflowPublishPublicSchema: z.ZodObject<Omit<{
1608
+ id: z.ZodString;
1609
+ name: z.ZodString;
1610
+ description: z.ZodNullable<z.ZodString>;
1611
+ active: z.ZodBoolean;
1612
+ activeVersionId: z.ZodNullable<z.ZodString>;
1613
+ createdAt: z.ZodString;
1614
+ updatedAt: z.ZodString;
1615
+ isArchived: z.ZodBoolean;
1616
+ versionId: z.ZodString;
1617
+ versionCounter: z.ZodNumber;
1618
+ sourceWorkflowId: z.ZodNullable<z.ZodString>;
1619
+ triggerCount: z.ZodNumber;
1620
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
1621
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
1622
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
1623
+ settings: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
1624
+ staticData: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
1625
+ pinData: z.ZodOptional<z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>>;
1626
+ meta: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
1627
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1628
+ id: z.ZodString;
1629
+ name: z.ZodString;
1630
+ createdAt: z.ZodString;
1631
+ updatedAt: z.ZodString;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ id: string;
1634
+ name: string;
1635
+ createdAt: string;
1636
+ updatedAt: string;
1637
+ }, {
1638
+ id: string;
1639
+ name: string;
1640
+ createdAt: string;
1641
+ updatedAt: string;
1642
+ }>, "many">>;
1643
+ shared: z.ZodArray<z.ZodObject<{
1644
+ role: z.ZodString;
1645
+ workflowId: z.ZodString;
1646
+ projectId: z.ZodString;
1647
+ project: z.ZodObject<{
1648
+ id: z.ZodString;
1649
+ name: z.ZodString;
1650
+ type: z.ZodEnum<["personal", "team"]>;
1651
+ icon: z.ZodNullable<z.ZodObject<{
1652
+ type: z.ZodEnum<["emoji", "icon"]>;
1653
+ value: z.ZodString;
1654
+ }, "strip", z.ZodTypeAny, {
1655
+ type: "emoji" | "icon";
1656
+ value: string;
1657
+ }, {
1658
+ type: "emoji" | "icon";
1659
+ value: string;
1660
+ }>>;
1661
+ description: z.ZodNullable<z.ZodString>;
1662
+ customTelemetryTags: z.ZodArray<z.ZodObject<{
1663
+ key: z.ZodString;
1664
+ value: z.ZodString;
1665
+ }, "strip", z.ZodTypeAny, {
1666
+ key: string;
1667
+ value: string;
1668
+ }, {
1669
+ key: string;
1670
+ value: string;
1671
+ }>, "many">;
1672
+ creatorId: z.ZodNullable<z.ZodString>;
1673
+ createdAt: z.ZodString;
1674
+ updatedAt: z.ZodString;
1675
+ }, "strip", z.ZodTypeAny, {
1676
+ id: string;
1677
+ name: string;
1678
+ type: "personal" | "team";
1679
+ icon: {
1680
+ type: "emoji" | "icon";
1681
+ value: string;
1682
+ } | null;
1683
+ description: string | null;
1684
+ customTelemetryTags: {
1685
+ key: string;
1686
+ value: string;
1687
+ }[];
1688
+ creatorId: string | null;
1689
+ createdAt: string;
1690
+ updatedAt: string;
1691
+ }, {
1692
+ id: string;
1693
+ name: string;
1694
+ type: "personal" | "team";
1695
+ icon: {
1696
+ type: "emoji" | "icon";
1697
+ value: string;
1698
+ } | null;
1699
+ description: string | null;
1700
+ customTelemetryTags: {
1701
+ key: string;
1702
+ value: string;
1703
+ }[];
1704
+ creatorId: string | null;
1705
+ createdAt: string;
1706
+ updatedAt: string;
1707
+ }>;
1708
+ createdAt: z.ZodString;
1709
+ updatedAt: z.ZodString;
1710
+ }, "strip", z.ZodTypeAny, {
1711
+ role: string;
1712
+ workflowId: string;
1713
+ projectId: string;
1714
+ project: {
1715
+ id: string;
1716
+ name: string;
1717
+ type: "personal" | "team";
1718
+ icon: {
1719
+ type: "emoji" | "icon";
1720
+ value: string;
1721
+ } | null;
1722
+ description: string | null;
1723
+ customTelemetryTags: {
1724
+ key: string;
1725
+ value: string;
1726
+ }[];
1727
+ creatorId: string | null;
1728
+ createdAt: string;
1729
+ updatedAt: string;
1730
+ };
1731
+ createdAt: string;
1732
+ updatedAt: string;
1733
+ }, {
1734
+ role: string;
1735
+ workflowId: string;
1736
+ projectId: string;
1737
+ project: {
1738
+ id: string;
1739
+ name: string;
1740
+ type: "personal" | "team";
1741
+ icon: {
1742
+ type: "emoji" | "icon";
1743
+ value: string;
1744
+ } | null;
1745
+ description: string | null;
1746
+ customTelemetryTags: {
1747
+ key: string;
1748
+ value: string;
1749
+ }[];
1750
+ creatorId: string | null;
1751
+ createdAt: string;
1752
+ updatedAt: string;
1753
+ };
1754
+ createdAt: string;
1755
+ updatedAt: string;
1756
+ }>, "many">;
1757
+ activeVersion: z.ZodNullable<z.ZodObject<{
1758
+ versionId: z.ZodString;
1759
+ workflowId: z.ZodString;
1760
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
1761
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
1762
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
1763
+ authors: z.ZodString;
1764
+ name: z.ZodNullable<z.ZodString>;
1765
+ description: z.ZodNullable<z.ZodString>;
1766
+ autosaved: z.ZodBoolean;
1767
+ createdAt: z.ZodString;
1768
+ updatedAt: z.ZodString;
1769
+ workflowPublishHistory: z.ZodArray<z.ZodObject<{
1770
+ id: z.ZodNumber;
1771
+ workflowId: z.ZodString;
1772
+ versionId: z.ZodNullable<z.ZodString>;
1773
+ event: z.ZodEnum<["activated", "deactivated"]>;
1774
+ userId: z.ZodNullable<z.ZodString>;
1775
+ createdAt: z.ZodString;
1776
+ }, "strip", z.ZodTypeAny, {
1777
+ id: number;
1778
+ workflowId: string;
1779
+ versionId: string | null;
1780
+ event: "activated" | "deactivated";
1781
+ userId: string | null;
1782
+ createdAt: string;
1783
+ }, {
1784
+ id: number;
1785
+ workflowId: string;
1786
+ versionId: string | null;
1787
+ event: "activated" | "deactivated";
1788
+ userId: string | null;
1789
+ createdAt: string;
1790
+ }>, "many">;
1791
+ }, "strip", z.ZodTypeAny, {
1792
+ versionId: string;
1793
+ workflowId: string;
1794
+ nodes: INode[];
1795
+ connections: IConnections;
1796
+ nodeGroups: IWorkflowGroup[];
1797
+ authors: string;
1798
+ name: string | null;
1799
+ description: string | null;
1800
+ autosaved: boolean;
1801
+ createdAt: string;
1802
+ updatedAt: string;
1803
+ workflowPublishHistory: {
1804
+ id: number;
1805
+ workflowId: string;
1806
+ versionId: string | null;
1807
+ event: "activated" | "deactivated";
1808
+ userId: string | null;
1809
+ createdAt: string;
1810
+ }[];
1811
+ }, {
1812
+ versionId: string;
1813
+ workflowId: string;
1814
+ nodes: INode[];
1815
+ connections: IConnections;
1816
+ nodeGroups: IWorkflowGroup[];
1817
+ authors: string;
1818
+ name: string | null;
1819
+ description: string | null;
1820
+ autosaved: boolean;
1821
+ createdAt: string;
1822
+ updatedAt: string;
1823
+ workflowPublishHistory: {
1824
+ id: number;
1825
+ workflowId: string;
1826
+ versionId: string | null;
1827
+ event: "activated" | "deactivated";
1828
+ userId: string | null;
1829
+ createdAt: string;
1830
+ }[];
1831
+ }>>;
1832
+ }, "shared">, "strip", z.ZodTypeAny, {
1833
+ id: string;
1834
+ name: string;
1835
+ description: string | null;
1836
+ active: boolean;
1837
+ activeVersionId: string | null;
1838
+ createdAt: string;
1839
+ updatedAt: string;
1840
+ isArchived: boolean;
1841
+ versionId: string;
1842
+ versionCounter: number;
1843
+ sourceWorkflowId: string | null;
1844
+ triggerCount: number;
1845
+ nodes: INode[];
1846
+ connections: IConnections;
1847
+ nodeGroups: IWorkflowGroup[];
1848
+ settings: Record<string, unknown> | null;
1849
+ staticData: Record<string, unknown> | null;
1850
+ pinData?: Record<string, unknown> | null | undefined;
1851
+ meta: Record<string, unknown> | null;
1852
+ tags?: {
1853
+ id: string;
1854
+ name: string;
1855
+ createdAt: string;
1856
+ updatedAt: string;
1857
+ }[] | undefined;
1858
+ activeVersion: {
1859
+ versionId: string;
1860
+ workflowId: string;
1861
+ nodes: INode[];
1862
+ connections: IConnections;
1863
+ nodeGroups: IWorkflowGroup[];
1864
+ authors: string;
1865
+ name: string | null;
1866
+ description: string | null;
1867
+ autosaved: boolean;
1868
+ createdAt: string;
1869
+ updatedAt: string;
1870
+ workflowPublishHistory: {
1871
+ id: number;
1872
+ workflowId: string;
1873
+ versionId: string | null;
1874
+ event: "activated" | "deactivated";
1875
+ userId: string | null;
1876
+ createdAt: string;
1877
+ }[];
1878
+ } | null;
1879
+ }, {
1880
+ id: string;
1881
+ name: string;
1882
+ description: string | null;
1883
+ active: boolean;
1884
+ activeVersionId: string | null;
1885
+ createdAt: string;
1886
+ updatedAt: string;
1887
+ isArchived: boolean;
1888
+ versionId: string;
1889
+ versionCounter: number;
1890
+ sourceWorkflowId: string | null;
1891
+ triggerCount: number;
1892
+ nodes: INode[];
1893
+ connections: IConnections;
1894
+ nodeGroups: IWorkflowGroup[];
1895
+ settings: Record<string, unknown> | null;
1896
+ staticData: Record<string, unknown> | null;
1897
+ pinData?: Record<string, unknown> | null | undefined;
1898
+ meta: Record<string, unknown> | null;
1899
+ tags?: {
1900
+ id: string;
1901
+ name: string;
1902
+ createdAt: string;
1903
+ updatedAt: string;
1904
+ }[] | undefined;
1905
+ activeVersion: {
1906
+ versionId: string;
1907
+ workflowId: string;
1908
+ nodes: INode[];
1909
+ connections: IConnections;
1910
+ nodeGroups: IWorkflowGroup[];
1911
+ authors: string;
1912
+ name: string | null;
1913
+ description: string | null;
1914
+ autosaved: boolean;
1915
+ createdAt: string;
1916
+ updatedAt: string;
1917
+ workflowPublishHistory: {
1918
+ id: number;
1919
+ workflowId: string;
1920
+ versionId: string | null;
1921
+ event: "activated" | "deactivated";
1922
+ userId: string | null;
1923
+ createdAt: string;
1924
+ }[];
1925
+ } | null;
1926
+ }>;
1927
+ declare const WorkflowPublishPublicDto_base: import("../../zod-class").ZodClass<{
1928
+ id: string;
1929
+ name: string;
1930
+ description: string | null;
1931
+ active: boolean;
1932
+ activeVersionId: string | null;
1933
+ createdAt: string;
1934
+ updatedAt: string;
1935
+ isArchived: boolean;
1936
+ versionId: string;
1937
+ versionCounter: number;
1938
+ sourceWorkflowId: string | null;
1939
+ triggerCount: number;
1940
+ nodes: INode[];
1941
+ connections: IConnections;
1942
+ nodeGroups: IWorkflowGroup[];
1943
+ settings: Record<string, unknown> | null;
1944
+ staticData: Record<string, unknown> | null;
1945
+ pinData?: Record<string, unknown> | null | undefined;
1946
+ meta: Record<string, unknown> | null;
1947
+ tags?: {
1948
+ id: string;
1949
+ name: string;
1950
+ createdAt: string;
1951
+ updatedAt: string;
1952
+ }[] | undefined;
1953
+ activeVersion: {
1954
+ versionId: string;
1955
+ workflowId: string;
1956
+ nodes: INode[];
1957
+ connections: IConnections;
1958
+ nodeGroups: IWorkflowGroup[];
1959
+ authors: string;
1960
+ name: string | null;
1961
+ description: string | null;
1962
+ autosaved: boolean;
1963
+ createdAt: string;
1964
+ updatedAt: string;
1965
+ workflowPublishHistory: {
1966
+ id: number;
1967
+ workflowId: string;
1968
+ versionId: string | null;
1969
+ event: "activated" | "deactivated";
1970
+ userId: string | null;
1971
+ createdAt: string;
1972
+ }[];
1973
+ } | null;
1974
+ }, Omit<{
1975
+ id: z.ZodString;
1976
+ name: z.ZodString;
1977
+ description: z.ZodNullable<z.ZodString>;
1978
+ active: z.ZodBoolean;
1979
+ activeVersionId: z.ZodNullable<z.ZodString>;
1980
+ createdAt: z.ZodString;
1981
+ updatedAt: z.ZodString;
1982
+ isArchived: z.ZodBoolean;
1983
+ versionId: z.ZodString;
1984
+ versionCounter: z.ZodNumber;
1985
+ sourceWorkflowId: z.ZodNullable<z.ZodString>;
1986
+ triggerCount: z.ZodNumber;
1987
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
1988
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
1989
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
1990
+ settings: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
1991
+ staticData: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
1992
+ pinData: z.ZodOptional<z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>>;
1993
+ meta: z.ZodType<Record<string, unknown> | null, z.ZodTypeDef, Record<string, unknown> | null>;
1994
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1995
+ id: z.ZodString;
1996
+ name: z.ZodString;
1997
+ createdAt: z.ZodString;
1998
+ updatedAt: z.ZodString;
1999
+ }, "strip", z.ZodTypeAny, {
2000
+ id: string;
2001
+ name: string;
2002
+ createdAt: string;
2003
+ updatedAt: string;
2004
+ }, {
2005
+ id: string;
2006
+ name: string;
2007
+ createdAt: string;
2008
+ updatedAt: string;
2009
+ }>, "many">>;
2010
+ shared: z.ZodArray<z.ZodObject<{
2011
+ role: z.ZodString;
2012
+ workflowId: z.ZodString;
2013
+ projectId: z.ZodString;
2014
+ project: z.ZodObject<{
2015
+ id: z.ZodString;
2016
+ name: z.ZodString;
2017
+ type: z.ZodEnum<["personal", "team"]>;
2018
+ icon: z.ZodNullable<z.ZodObject<{
2019
+ type: z.ZodEnum<["emoji", "icon"]>;
2020
+ value: z.ZodString;
2021
+ }, "strip", z.ZodTypeAny, {
2022
+ type: "emoji" | "icon";
2023
+ value: string;
2024
+ }, {
2025
+ type: "emoji" | "icon";
2026
+ value: string;
2027
+ }>>;
2028
+ description: z.ZodNullable<z.ZodString>;
2029
+ customTelemetryTags: z.ZodArray<z.ZodObject<{
2030
+ key: z.ZodString;
2031
+ value: z.ZodString;
2032
+ }, "strip", z.ZodTypeAny, {
2033
+ key: string;
2034
+ value: string;
2035
+ }, {
2036
+ key: string;
2037
+ value: string;
2038
+ }>, "many">;
2039
+ creatorId: z.ZodNullable<z.ZodString>;
2040
+ createdAt: z.ZodString;
2041
+ updatedAt: z.ZodString;
2042
+ }, "strip", z.ZodTypeAny, {
2043
+ id: string;
2044
+ name: string;
2045
+ type: "personal" | "team";
2046
+ icon: {
2047
+ type: "emoji" | "icon";
2048
+ value: string;
2049
+ } | null;
2050
+ description: string | null;
2051
+ customTelemetryTags: {
2052
+ key: string;
2053
+ value: string;
2054
+ }[];
2055
+ creatorId: string | null;
2056
+ createdAt: string;
2057
+ updatedAt: string;
2058
+ }, {
2059
+ id: string;
2060
+ name: string;
2061
+ type: "personal" | "team";
2062
+ icon: {
2063
+ type: "emoji" | "icon";
2064
+ value: string;
2065
+ } | null;
2066
+ description: string | null;
2067
+ customTelemetryTags: {
2068
+ key: string;
2069
+ value: string;
2070
+ }[];
2071
+ creatorId: string | null;
2072
+ createdAt: string;
2073
+ updatedAt: string;
2074
+ }>;
2075
+ createdAt: z.ZodString;
2076
+ updatedAt: z.ZodString;
2077
+ }, "strip", z.ZodTypeAny, {
2078
+ role: string;
2079
+ workflowId: string;
2080
+ projectId: string;
2081
+ project: {
2082
+ id: string;
2083
+ name: string;
2084
+ type: "personal" | "team";
2085
+ icon: {
2086
+ type: "emoji" | "icon";
2087
+ value: string;
2088
+ } | null;
2089
+ description: string | null;
2090
+ customTelemetryTags: {
2091
+ key: string;
2092
+ value: string;
2093
+ }[];
2094
+ creatorId: string | null;
2095
+ createdAt: string;
2096
+ updatedAt: string;
2097
+ };
2098
+ createdAt: string;
2099
+ updatedAt: string;
2100
+ }, {
2101
+ role: string;
2102
+ workflowId: string;
2103
+ projectId: string;
2104
+ project: {
2105
+ id: string;
2106
+ name: string;
2107
+ type: "personal" | "team";
2108
+ icon: {
2109
+ type: "emoji" | "icon";
2110
+ value: string;
2111
+ } | null;
2112
+ description: string | null;
2113
+ customTelemetryTags: {
2114
+ key: string;
2115
+ value: string;
2116
+ }[];
2117
+ creatorId: string | null;
2118
+ createdAt: string;
2119
+ updatedAt: string;
2120
+ };
2121
+ createdAt: string;
2122
+ updatedAt: string;
2123
+ }>, "many">;
2124
+ activeVersion: z.ZodNullable<z.ZodObject<{
2125
+ versionId: z.ZodString;
2126
+ workflowId: z.ZodString;
2127
+ nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
2128
+ connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
2129
+ nodeGroups: z.ZodType<IWorkflowGroup[], z.ZodTypeDef, IWorkflowGroup[]>;
2130
+ authors: z.ZodString;
2131
+ name: z.ZodNullable<z.ZodString>;
2132
+ description: z.ZodNullable<z.ZodString>;
2133
+ autosaved: z.ZodBoolean;
2134
+ createdAt: z.ZodString;
2135
+ updatedAt: z.ZodString;
2136
+ workflowPublishHistory: z.ZodArray<z.ZodObject<{
2137
+ id: z.ZodNumber;
2138
+ workflowId: z.ZodString;
2139
+ versionId: z.ZodNullable<z.ZodString>;
2140
+ event: z.ZodEnum<["activated", "deactivated"]>;
2141
+ userId: z.ZodNullable<z.ZodString>;
2142
+ createdAt: z.ZodString;
2143
+ }, "strip", z.ZodTypeAny, {
2144
+ id: number;
2145
+ workflowId: string;
2146
+ versionId: string | null;
2147
+ event: "activated" | "deactivated";
2148
+ userId: string | null;
2149
+ createdAt: string;
2150
+ }, {
2151
+ id: number;
2152
+ workflowId: string;
2153
+ versionId: string | null;
2154
+ event: "activated" | "deactivated";
2155
+ userId: string | null;
2156
+ createdAt: string;
2157
+ }>, "many">;
2158
+ }, "strip", z.ZodTypeAny, {
2159
+ versionId: string;
2160
+ workflowId: string;
2161
+ nodes: INode[];
2162
+ connections: IConnections;
2163
+ nodeGroups: IWorkflowGroup[];
2164
+ authors: string;
2165
+ name: string | null;
2166
+ description: string | null;
2167
+ autosaved: boolean;
2168
+ createdAt: string;
2169
+ updatedAt: string;
2170
+ workflowPublishHistory: {
2171
+ id: number;
2172
+ workflowId: string;
2173
+ versionId: string | null;
2174
+ event: "activated" | "deactivated";
2175
+ userId: string | null;
2176
+ createdAt: string;
2177
+ }[];
2178
+ }, {
2179
+ versionId: string;
2180
+ workflowId: string;
2181
+ nodes: INode[];
2182
+ connections: IConnections;
2183
+ nodeGroups: IWorkflowGroup[];
2184
+ authors: string;
2185
+ name: string | null;
2186
+ description: string | null;
2187
+ autosaved: boolean;
2188
+ createdAt: string;
2189
+ updatedAt: string;
2190
+ workflowPublishHistory: {
2191
+ id: number;
2192
+ workflowId: string;
2193
+ versionId: string | null;
2194
+ event: "activated" | "deactivated";
2195
+ userId: string | null;
2196
+ createdAt: string;
2197
+ }[];
2198
+ }>>;
2199
+ }, "shared">>;
2200
+ export declare class WorkflowPublishPublicDto extends WorkflowPublishPublicDto_base {
2201
+ }
859
2202
  export declare const workflowListItemSharedPublicSchema: z.ZodObject<Omit<{
860
2203
  role: z.ZodString;
861
2204
  workflowId: z.ZodString;