@wildo-ai/platform-core-shared 1.0.1 → 1.1.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 (77) hide show
  1. package/LICENSE +34 -0
  2. package/dist/esm/.builder.pid +9 -0
  3. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.d.ts +1 -1
  4. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.d.ts.map +1 -1
  5. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.js +6 -1
  6. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.js.map +1 -1
  7. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.d.ts +20 -0
  8. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.d.ts.map +1 -1
  9. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.js +93 -3
  10. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.js.map +1 -1
  11. package/dist/esm/core/resources/resources-types.custom.shared.schemas.d.ts +4 -1
  12. package/dist/esm/core/resources/resources-types.custom.shared.schemas.d.ts.map +1 -1
  13. package/dist/esm/core/resources/resources-types.custom.shared.schemas.js +7 -1
  14. package/dist/esm/core/resources/resources-types.custom.shared.schemas.js.map +1 -1
  15. package/dist/esm/index.d.ts +14 -8
  16. package/dist/esm/index.d.ts.map +1 -1
  17. package/dist/esm/index.js +16 -1
  18. package/dist/esm/index.js.map +1 -1
  19. package/dist/esm/runtime/application-backend-env.contracts.d.ts +212 -15
  20. package/dist/esm/runtime/application-backend-env.contracts.d.ts.map +1 -1
  21. package/dist/esm/runtime/application-backend-env.contracts.js +256 -20
  22. package/dist/esm/runtime/application-backend-env.contracts.js.map +1 -1
  23. package/dist/esm/runtime/application-worker-env.contracts.d.ts +82 -0
  24. package/dist/esm/runtime/application-worker-env.contracts.d.ts.map +1 -0
  25. package/dist/esm/runtime/application-worker-env.contracts.js +106 -0
  26. package/dist/esm/runtime/application-worker-env.contracts.js.map +1 -0
  27. package/dist/esm/runtime/runtime-topology.contracts.d.ts +10 -3
  28. package/dist/esm/runtime/runtime-topology.contracts.d.ts.map +1 -1
  29. package/dist/esm/runtime/runtime-topology.contracts.js +8 -5
  30. package/dist/esm/runtime/runtime-topology.contracts.js.map +1 -1
  31. package/dist/esm/security/authorizations/roles.custom.shared.definitions.d.ts.map +1 -1
  32. package/dist/esm/security/authorizations/roles.custom.shared.definitions.js +1 -1
  33. package/dist/esm/security/authorizations/roles.custom.shared.definitions.js.map +1 -1
  34. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts +830 -0
  35. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts.map +1 -0
  36. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js +58 -0
  37. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js.map +1 -0
  38. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts +834 -0
  39. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts.map +1 -0
  40. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js +27 -0
  41. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js.map +1 -0
  42. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts +342 -0
  43. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts.map +1 -0
  44. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js +38 -0
  45. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js.map +1 -0
  46. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts +343 -0
  47. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts.map +1 -0
  48. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js +38 -0
  49. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js.map +1 -0
  50. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts.map +1 -1
  51. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js +30 -1
  52. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js.map +1 -1
  53. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts +2 -2
  54. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts.map +1 -1
  55. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js +35 -2
  56. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js.map +1 -1
  57. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.d.ts.map +1 -1
  58. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js +1 -1
  59. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js.map +1 -1
  60. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts +1 -1
  61. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts.map +1 -1
  62. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.js +1 -1
  63. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.js.map +1 -1
  64. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts +38 -0
  65. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts.map +1 -0
  66. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js +40 -0
  67. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js.map +1 -0
  68. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts +79 -0
  69. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts.map +1 -0
  70. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js +177 -0
  71. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js.map +1 -0
  72. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts +65 -0
  73. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts.map +1 -0
  74. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js +111 -0
  75. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js.map +1 -0
  76. package/dist/tsconfig.build.tsbuildinfo +1 -1
  77. package/package.json +21 -15
@@ -0,0 +1,834 @@
1
+ import { z } from 'zod';
2
+ import { FlowsActors_Status } from '@wildo-ai/saas-models';
3
+ /**
4
+ * Platform-owned actor executions are persisted in the apps-manager database but
5
+ * stay explicitly attached to the owning Wildo application row.
6
+ */
7
+ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject<{
8
+ initiator: z.ZodOptional<z.ZodObject<{
9
+ organizationId: z.ZodOptional<z.ZodString>;
10
+ userId: z.ZodOptional<z.ZodString>;
11
+ applicationId: z.ZodOptional<z.ZodString>;
12
+ machineCredential: z.ZodOptional<z.ZodObject<{
13
+ authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
14
+ credentialId: z.ZodString;
15
+ }, z.core.$strip>>;
16
+ consumableTokenId: z.ZodOptional<z.ZodString>;
17
+ webhookProviderId: z.ZodOptional<z.ZodString>;
18
+ anonymousUserId: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>>;
20
+ statusChanges: z.ZodArray<z.ZodObject<{
21
+ status: z.ZodEnum<typeof FlowsActors_Status>;
22
+ timestamp: z.ZodString;
23
+ }, z.core.$strip>>;
24
+ createdAt: z.ZodString;
25
+ updatedAt: z.ZodString;
26
+ finishedAt: z.ZodOptional<z.ZodString>;
27
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowActorSystem_Kind.ACTOR>;
28
+ plan: z.ZodOptional<z.ZodObject<{
29
+ _id: z.ZodString;
30
+ goalDescription: z.ZodString;
31
+ status: z.ZodEnum<typeof FlowsActors_Status>;
32
+ initiator: z.ZodObject<{
33
+ organizationId: z.ZodOptional<z.ZodString>;
34
+ userId: z.ZodOptional<z.ZodString>;
35
+ applicationId: z.ZodOptional<z.ZodString>;
36
+ machineCredential: z.ZodOptional<z.ZodObject<{
37
+ authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
38
+ credentialId: z.ZodString;
39
+ }, z.core.$strip>>;
40
+ consumableTokenId: z.ZodOptional<z.ZodString>;
41
+ webhookProviderId: z.ZodOptional<z.ZodString>;
42
+ anonymousUserId: z.ZodOptional<z.ZodString>;
43
+ }, z.core.$strip>;
44
+ relationships: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
45
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW>;
46
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
47
+ flowId: z.ZodString;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
50
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
51
+ actorId: z.ZodString;
52
+ actorSystemId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
55
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
56
+ flowId: z.ZodString;
57
+ stepId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
60
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
61
+ taskId: z.ZodString;
62
+ actorSystemId: z.ZodString;
63
+ }, z.core.$strip>, z.ZodObject<{
64
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN>;
65
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
66
+ planId: z.ZodString;
67
+ actorSystemId: z.ZodString;
68
+ }, z.core.$strip>, z.ZodObject<{
69
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
70
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
71
+ planId: z.ZodString;
72
+ planStepId: z.ZodString;
73
+ actorSystemId: z.ZodString;
74
+ }, z.core.$strip>, z.ZodObject<{
75
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR_SYSTEM>;
76
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
77
+ actorSystemId: z.ZodString;
78
+ }, z.core.$strip>], "kind">>;
79
+ planSteps: z.ZodArray<z.ZodObject<{
80
+ _id: z.ZodString;
81
+ name: z.ZodOptional<z.ZodString>;
82
+ description: z.ZodOptional<z.ZodString>;
83
+ topic: z.ZodString;
84
+ relationships: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
85
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW>;
86
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
87
+ flowId: z.ZodString;
88
+ }, z.core.$strip>, z.ZodObject<{
89
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
90
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
91
+ actorId: z.ZodString;
92
+ actorSystemId: z.ZodString;
93
+ }, z.core.$strip>, z.ZodObject<{
94
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
95
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
96
+ flowId: z.ZodString;
97
+ stepId: z.ZodString;
98
+ }, z.core.$strip>, z.ZodObject<{
99
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
100
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
101
+ taskId: z.ZodString;
102
+ actorSystemId: z.ZodString;
103
+ }, z.core.$strip>, z.ZodObject<{
104
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN>;
105
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
106
+ planId: z.ZodString;
107
+ actorSystemId: z.ZodString;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
110
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
111
+ planId: z.ZodString;
112
+ planStepId: z.ZodString;
113
+ actorSystemId: z.ZodString;
114
+ }, z.core.$strip>, z.ZodObject<{
115
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR_SYSTEM>;
116
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
117
+ actorSystemId: z.ZodString;
118
+ }, z.core.$strip>], "kind">>;
119
+ status: z.ZodEnum<typeof FlowsActors_Status>;
120
+ statusChanges: z.ZodArray<z.ZodObject<{
121
+ status: z.ZodEnum<typeof FlowsActors_Status>;
122
+ timestamp: z.ZodString;
123
+ }, z.core.$strip>>;
124
+ createdAt: z.ZodString;
125
+ updatedAt: z.ZodString;
126
+ }, z.core.$strip>>;
127
+ stepStates: z.ZodArray<z.ZodObject<{
128
+ planStepId: z.ZodString;
129
+ status: z.ZodEnum<typeof FlowsActors_Status>;
130
+ updatedAt: z.ZodString;
131
+ statusChanges: z.ZodArray<z.ZodObject<{
132
+ status: z.ZodEnum<typeof FlowsActors_Status>;
133
+ timestamp: z.ZodString;
134
+ }, z.core.$strip>>;
135
+ }, z.core.$strip>>;
136
+ errorStates: z.ZodOptional<z.ZodObject<{
137
+ circuitBreakerStatus: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_CircuitBreaker_Status>>;
138
+ errorItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
139
+ type: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorType>;
140
+ severity: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorSeverity>;
141
+ operationPathKey: z.ZodOptional<z.ZodString>;
142
+ timestamp: z.ZodDate;
143
+ context: z.ZodOptional<z.ZodObject<{
144
+ message: z.ZodOptional<z.ZodString>;
145
+ }, z.core.$catchall<z.ZodAny>>>;
146
+ ipAddress: z.ZodOptional<z.ZodString>;
147
+ errorHandlingStrategy: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorHandling_Strategy>>;
148
+ retryPolicy: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").RetryPolicy_BackoffType>>;
149
+ maxRetries: z.ZodOptional<z.ZodNumber>;
150
+ initialDelay: z.ZodOptional<z.ZodNumber>;
151
+ baseDelay: z.ZodOptional<z.ZodNumber>;
152
+ retryCount: z.ZodOptional<z.ZodNumber>;
153
+ lastRetryTime: z.ZodOptional<z.ZodDate>;
154
+ backendActions: z.ZodArray<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorActionBackend>>;
155
+ customMessageReference: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorCustomMessageReference>;
156
+ statusCode: z.ZodNumber;
157
+ stack: z.ZodOptional<z.ZodString>;
158
+ correlationId: z.ZodOptional<z.ZodString>;
159
+ initiatorIds: z.ZodNullable<z.ZodOptional<z.ZodObject<{
160
+ organizationId: z.ZodOptional<z.ZodString>;
161
+ userId: z.ZodOptional<z.ZodString>;
162
+ applicationId: z.ZodOptional<z.ZodString>;
163
+ machineCredential: z.ZodOptional<z.ZodObject<{
164
+ authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
165
+ credentialId: z.ZodString;
166
+ }, z.core.$strip>>;
167
+ consumableTokenId: z.ZodOptional<z.ZodString>;
168
+ webhookProviderId: z.ZodOptional<z.ZodString>;
169
+ anonymousUserId: z.ZodOptional<z.ZodString>;
170
+ }, z.core.$strip>>>;
171
+ executionType: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
172
+ userGuidance: z.ZodOptional<z.ZodObject<{
173
+ guidanceKey: z.ZodOptional<z.ZodString>;
174
+ explanation: z.ZodOptional<z.ZodString>;
175
+ resolution: z.ZodOptional<z.ZodString>;
176
+ completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
177
+ nextAction: z.ZodOptional<z.ZodObject<{
178
+ label: z.ZodString;
179
+ ref: z.ZodString;
180
+ type: z.ZodDefault<z.ZodEnum<typeof import("@wildo-ai/saas-models").NotificationNextStepType>>;
181
+ }, z.core.$strip>>;
182
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
183
+ missingConfiguration: z.ZodOptional<z.ZodArray<z.ZodString>>;
184
+ }, z.core.$strip>>;
185
+ planStepId: z.ZodString;
186
+ }, z.core.$strip>>>;
187
+ checkpointChecks: z.ZodArray<z.ZodObject<{
188
+ checkpoint: z.ZodObject<{
189
+ point: z.ZodDiscriminatedUnion<[z.ZodObject<{
190
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
191
+ actorId: z.ZodString;
192
+ actorSystemId: z.ZodString;
193
+ }, z.core.$strip>, z.ZodObject<{
194
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
195
+ flowId: z.ZodString;
196
+ stepId: z.ZodString;
197
+ }, z.core.$strip>, z.ZodObject<{
198
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
199
+ taskId: z.ZodString;
200
+ actorSystemId: z.ZodString;
201
+ }, z.core.$strip>, z.ZodObject<{
202
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
203
+ planId: z.ZodString;
204
+ planStepId: z.ZodString;
205
+ actorSystemId: z.ZodString;
206
+ }, z.core.$strip>], "kind">;
207
+ timestamp: z.ZodString;
208
+ context: z.ZodOptional<z.ZodAny>;
209
+ }, z.core.$strip>;
210
+ timestamp: z.ZodString;
211
+ }, z.core.$strip>>;
212
+ availableCheckpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
213
+ point: z.ZodDiscriminatedUnion<[z.ZodObject<{
214
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
215
+ actorId: z.ZodString;
216
+ actorSystemId: z.ZodString;
217
+ }, z.core.$strip>, z.ZodObject<{
218
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
219
+ flowId: z.ZodString;
220
+ stepId: z.ZodString;
221
+ }, z.core.$strip>, z.ZodObject<{
222
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
223
+ taskId: z.ZodString;
224
+ actorSystemId: z.ZodString;
225
+ }, z.core.$strip>, z.ZodObject<{
226
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
227
+ planId: z.ZodString;
228
+ planStepId: z.ZodString;
229
+ actorSystemId: z.ZodString;
230
+ }, z.core.$strip>], "kind">;
231
+ timestamp: z.ZodString;
232
+ context: z.ZodOptional<z.ZodAny>;
233
+ }, z.core.$strip>>>;
234
+ }, z.core.$strip>>;
235
+ createdAt: z.ZodString;
236
+ updatedAt: z.ZodString;
237
+ }, z.core.$strip>>;
238
+ walkthrough: z.ZodOptional<z.ZodObject<{
239
+ _id: z.ZodString;
240
+ name: z.ZodString;
241
+ description: z.ZodString;
242
+ status: z.ZodEnum<typeof FlowsActors_Status>;
243
+ initiator: z.ZodObject<{
244
+ organizationId: z.ZodOptional<z.ZodString>;
245
+ userId: z.ZodOptional<z.ZodString>;
246
+ applicationId: z.ZodOptional<z.ZodString>;
247
+ machineCredential: z.ZodOptional<z.ZodObject<{
248
+ authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
249
+ credentialId: z.ZodString;
250
+ }, z.core.$strip>>;
251
+ consumableTokenId: z.ZodOptional<z.ZodString>;
252
+ webhookProviderId: z.ZodOptional<z.ZodString>;
253
+ anonymousUserId: z.ZodOptional<z.ZodString>;
254
+ }, z.core.$strip>;
255
+ relationships: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
256
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW>;
257
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
258
+ flowId: z.ZodString;
259
+ }, z.core.$strip>, z.ZodObject<{
260
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
261
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
262
+ actorId: z.ZodString;
263
+ actorSystemId: z.ZodString;
264
+ }, z.core.$strip>, z.ZodObject<{
265
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
266
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
267
+ flowId: z.ZodString;
268
+ stepId: z.ZodString;
269
+ }, z.core.$strip>, z.ZodObject<{
270
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
271
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
272
+ taskId: z.ZodString;
273
+ actorSystemId: z.ZodString;
274
+ }, z.core.$strip>, z.ZodObject<{
275
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN>;
276
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
277
+ planId: z.ZodString;
278
+ actorSystemId: z.ZodString;
279
+ }, z.core.$strip>, z.ZodObject<{
280
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
281
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
282
+ planId: z.ZodString;
283
+ planStepId: z.ZodString;
284
+ actorSystemId: z.ZodString;
285
+ }, z.core.$strip>, z.ZodObject<{
286
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR_SYSTEM>;
287
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
288
+ actorSystemId: z.ZodString;
289
+ }, z.core.$strip>], "kind">>;
290
+ }, z.core.$strip>>;
291
+ standaloneTasks: z.ZodArray<z.ZodObject<{
292
+ _id: z.ZodString;
293
+ title: z.ZodString;
294
+ description: z.ZodString;
295
+ topic: z.ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>;
296
+ status: z.ZodEnum<typeof FlowsActors_Status>;
297
+ initiator: z.ZodObject<{
298
+ organizationId: z.ZodOptional<z.ZodString>;
299
+ userId: z.ZodOptional<z.ZodString>;
300
+ applicationId: z.ZodOptional<z.ZodString>;
301
+ machineCredential: z.ZodOptional<z.ZodObject<{
302
+ authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
303
+ credentialId: z.ZodString;
304
+ }, z.core.$strip>>;
305
+ consumableTokenId: z.ZodOptional<z.ZodString>;
306
+ webhookProviderId: z.ZodOptional<z.ZodString>;
307
+ anonymousUserId: z.ZodOptional<z.ZodString>;
308
+ }, z.core.$strip>;
309
+ relationships: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
310
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW>;
311
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
312
+ flowId: z.ZodString;
313
+ }, z.core.$strip>, z.ZodObject<{
314
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
315
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
316
+ actorId: z.ZodString;
317
+ actorSystemId: z.ZodString;
318
+ }, z.core.$strip>, z.ZodObject<{
319
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
320
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
321
+ flowId: z.ZodString;
322
+ stepId: z.ZodString;
323
+ }, z.core.$strip>, z.ZodObject<{
324
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
325
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
326
+ taskId: z.ZodString;
327
+ actorSystemId: z.ZodString;
328
+ }, z.core.$strip>, z.ZodObject<{
329
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN>;
330
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
331
+ planId: z.ZodString;
332
+ actorSystemId: z.ZodString;
333
+ }, z.core.$strip>, z.ZodObject<{
334
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
335
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
336
+ planId: z.ZodString;
337
+ planStepId: z.ZodString;
338
+ actorSystemId: z.ZodString;
339
+ }, z.core.$strip>, z.ZodObject<{
340
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR_SYSTEM>;
341
+ relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
342
+ actorSystemId: z.ZodString;
343
+ }, z.core.$strip>], "kind">>;
344
+ actors: z.ZodObject<{
345
+ actorRef: z.ZodString;
346
+ }, z.core.$strip>;
347
+ input: z.ZodAny;
348
+ output: z.ZodOptional<z.ZodAny>;
349
+ memory: z.ZodObject<{
350
+ shortTerm: z.ZodObject<{
351
+ entries: z.ZodArray<z.ZodObject<{
352
+ key: z.ZodString;
353
+ value: z.ZodAny;
354
+ type: z.ZodEnum<{
355
+ json: "json";
356
+ text: "text";
357
+ binary: "binary";
358
+ }>;
359
+ timestamp: z.ZodString;
360
+ expiresAt: z.ZodOptional<z.ZodString>;
361
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
362
+ }, z.core.$strip>>;
363
+ maxSize: z.ZodOptional<z.ZodNumber>;
364
+ ttl: z.ZodOptional<z.ZodNumber>;
365
+ }, z.core.$strip>;
366
+ longTerm: z.ZodObject<{
367
+ entries: z.ZodArray<z.ZodObject<{
368
+ key: z.ZodString;
369
+ value: z.ZodAny;
370
+ type: z.ZodEnum<{
371
+ json: "json";
372
+ text: "text";
373
+ binary: "binary";
374
+ }>;
375
+ timestamp: z.ZodString;
376
+ expiresAt: z.ZodOptional<z.ZodString>;
377
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
378
+ }, z.core.$strip>>;
379
+ maxSize: z.ZodOptional<z.ZodNumber>;
380
+ ttl: z.ZodOptional<z.ZodNumber>;
381
+ }, z.core.$strip>;
382
+ working: z.ZodObject<{
383
+ entries: z.ZodArray<z.ZodObject<{
384
+ key: z.ZodString;
385
+ value: z.ZodAny;
386
+ type: z.ZodEnum<{
387
+ json: "json";
388
+ text: "text";
389
+ binary: "binary";
390
+ }>;
391
+ timestamp: z.ZodString;
392
+ expiresAt: z.ZodOptional<z.ZodString>;
393
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
394
+ }, z.core.$strip>>;
395
+ maxSize: z.ZodOptional<z.ZodNumber>;
396
+ ttl: z.ZodOptional<z.ZodNumber>;
397
+ }, z.core.$strip>;
398
+ }, z.core.$strip>;
399
+ context: z.ZodObject<{
400
+ journeyId: z.ZodOptional<z.ZodString>;
401
+ playbookRef: z.ZodOptional<z.ZodString>;
402
+ playbookVersion: z.ZodOptional<z.ZodString>;
403
+ playbookRunId: z.ZodOptional<z.ZodString>;
404
+ stepRef: z.ZodOptional<z.ZodString>;
405
+ }, z.core.$strip>;
406
+ artifacts: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
407
+ ref: z.ZodString;
408
+ definitionRef: z.ZodOptional<z.ZodString>;
409
+ name: z.ZodString;
410
+ description: z.ZodOptional<z.ZodString>;
411
+ origin: z.ZodObject<{
412
+ taskId: z.ZodOptional<z.ZodString>;
413
+ stepId: z.ZodOptional<z.ZodString>;
414
+ }, z.core.$strip>;
415
+ createdAt: z.ZodString;
416
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
417
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_IO_PartKind.TEXT>;
418
+ content: z.ZodObject<{
419
+ mimeType: z.ZodOptional<z.ZodString>;
420
+ size: z.ZodOptional<z.ZodNumber>;
421
+ checksum: z.ZodOptional<z.ZodString>;
422
+ text: z.ZodString;
423
+ }, z.core.$strip>;
424
+ }, z.core.$strip>, z.ZodObject<{
425
+ ref: z.ZodString;
426
+ definitionRef: z.ZodOptional<z.ZodString>;
427
+ name: z.ZodString;
428
+ description: z.ZodOptional<z.ZodString>;
429
+ origin: z.ZodObject<{
430
+ taskId: z.ZodOptional<z.ZodString>;
431
+ stepId: z.ZodOptional<z.ZodString>;
432
+ }, z.core.$strip>;
433
+ createdAt: z.ZodString;
434
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
435
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_IO_PartKind.FILE>;
436
+ content: z.ZodObject<{
437
+ mimeType: z.ZodOptional<z.ZodString>;
438
+ size: z.ZodOptional<z.ZodNumber>;
439
+ checksum: z.ZodOptional<z.ZodString>;
440
+ storage: z.ZodObject<{
441
+ data: z.ZodOptional<z.ZodString>;
442
+ url: z.ZodOptional<z.ZodString>;
443
+ path: z.ZodOptional<z.ZodString>;
444
+ }, z.core.$strip>;
445
+ }, z.core.$strip>;
446
+ }, z.core.$strip>, z.ZodObject<{
447
+ ref: z.ZodString;
448
+ definitionRef: z.ZodOptional<z.ZodString>;
449
+ name: z.ZodString;
450
+ description: z.ZodOptional<z.ZodString>;
451
+ origin: z.ZodObject<{
452
+ taskId: z.ZodOptional<z.ZodString>;
453
+ stepId: z.ZodOptional<z.ZodString>;
454
+ }, z.core.$strip>;
455
+ createdAt: z.ZodString;
456
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
457
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_IO_PartKind.RAW_DATA>;
458
+ content: z.ZodObject<{
459
+ mimeType: z.ZodOptional<z.ZodString>;
460
+ size: z.ZodOptional<z.ZodNumber>;
461
+ checksum: z.ZodOptional<z.ZodString>;
462
+ data: z.ZodAny;
463
+ }, z.core.$strip>;
464
+ }, z.core.$strip>, z.ZodObject<{
465
+ ref: z.ZodString;
466
+ definitionRef: z.ZodOptional<z.ZodString>;
467
+ name: z.ZodString;
468
+ description: z.ZodOptional<z.ZodString>;
469
+ origin: z.ZodObject<{
470
+ taskId: z.ZodOptional<z.ZodString>;
471
+ stepId: z.ZodOptional<z.ZodString>;
472
+ }, z.core.$strip>;
473
+ createdAt: z.ZodString;
474
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
475
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_IO_PartKind.STRUCTURED>;
476
+ content: z.ZodObject<{
477
+ mimeType: z.ZodOptional<z.ZodString>;
478
+ size: z.ZodOptional<z.ZodNumber>;
479
+ checksum: z.ZodOptional<z.ZodString>;
480
+ data: z.ZodAny;
481
+ }, z.core.$strip>;
482
+ }, z.core.$strip>, z.ZodObject<{
483
+ ref: z.ZodString;
484
+ definitionRef: z.ZodOptional<z.ZodString>;
485
+ name: z.ZodString;
486
+ description: z.ZodOptional<z.ZodString>;
487
+ origin: z.ZodObject<{
488
+ taskId: z.ZodOptional<z.ZodString>;
489
+ stepId: z.ZodOptional<z.ZodString>;
490
+ }, z.core.$strip>;
491
+ createdAt: z.ZodString;
492
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
493
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_IO_PartKind.IMAGE>;
494
+ content: z.ZodObject<{
495
+ mimeType: z.ZodOptional<z.ZodString>;
496
+ size: z.ZodOptional<z.ZodNumber>;
497
+ checksum: z.ZodOptional<z.ZodString>;
498
+ storage: z.ZodObject<{
499
+ data: z.ZodOptional<z.ZodString>;
500
+ url: z.ZodOptional<z.ZodString>;
501
+ path: z.ZodOptional<z.ZodString>;
502
+ }, z.core.$strip>;
503
+ width: z.ZodOptional<z.ZodNumber>;
504
+ height: z.ZodOptional<z.ZodNumber>;
505
+ }, z.core.$strip>;
506
+ }, z.core.$strip>], "type">>>;
507
+ actorStates: z.ZodArray<z.ZodObject<{
508
+ actorRef: z.ZodString;
509
+ status: z.ZodEnum<typeof FlowsActors_Status>;
510
+ updatedAt: z.ZodString;
511
+ statusChanges: z.ZodArray<z.ZodObject<{
512
+ status: z.ZodEnum<typeof FlowsActors_Status>;
513
+ timestamp: z.ZodString;
514
+ }, z.core.$strip>>;
515
+ }, z.core.$strip>>;
516
+ errorStates: z.ZodOptional<z.ZodObject<{
517
+ circuitBreakerStatus: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_CircuitBreaker_Status>>;
518
+ errorItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
519
+ type: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorType>;
520
+ severity: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorSeverity>;
521
+ operationPathKey: z.ZodOptional<z.ZodString>;
522
+ timestamp: z.ZodDate;
523
+ context: z.ZodOptional<z.ZodObject<{
524
+ message: z.ZodOptional<z.ZodString>;
525
+ }, z.core.$catchall<z.ZodAny>>>;
526
+ ipAddress: z.ZodOptional<z.ZodString>;
527
+ errorHandlingStrategy: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorHandling_Strategy>>;
528
+ retryPolicy: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").RetryPolicy_BackoffType>>;
529
+ maxRetries: z.ZodOptional<z.ZodNumber>;
530
+ initialDelay: z.ZodOptional<z.ZodNumber>;
531
+ baseDelay: z.ZodOptional<z.ZodNumber>;
532
+ retryCount: z.ZodOptional<z.ZodNumber>;
533
+ lastRetryTime: z.ZodOptional<z.ZodDate>;
534
+ backendActions: z.ZodArray<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorActionBackend>>;
535
+ customMessageReference: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorCustomMessageReference>;
536
+ statusCode: z.ZodNumber;
537
+ stack: z.ZodOptional<z.ZodString>;
538
+ correlationId: z.ZodOptional<z.ZodString>;
539
+ initiatorIds: z.ZodNullable<z.ZodOptional<z.ZodObject<{
540
+ organizationId: z.ZodOptional<z.ZodString>;
541
+ userId: z.ZodOptional<z.ZodString>;
542
+ applicationId: z.ZodOptional<z.ZodString>;
543
+ machineCredential: z.ZodOptional<z.ZodObject<{
544
+ authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
545
+ credentialId: z.ZodString;
546
+ }, z.core.$strip>>;
547
+ consumableTokenId: z.ZodOptional<z.ZodString>;
548
+ webhookProviderId: z.ZodOptional<z.ZodString>;
549
+ anonymousUserId: z.ZodOptional<z.ZodString>;
550
+ }, z.core.$strip>>>;
551
+ executionType: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
552
+ userGuidance: z.ZodOptional<z.ZodObject<{
553
+ guidanceKey: z.ZodOptional<z.ZodString>;
554
+ explanation: z.ZodOptional<z.ZodString>;
555
+ resolution: z.ZodOptional<z.ZodString>;
556
+ completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
557
+ nextAction: z.ZodOptional<z.ZodObject<{
558
+ label: z.ZodString;
559
+ ref: z.ZodString;
560
+ type: z.ZodDefault<z.ZodEnum<typeof import("@wildo-ai/saas-models").NotificationNextStepType>>;
561
+ }, z.core.$strip>>;
562
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
563
+ missingConfiguration: z.ZodOptional<z.ZodArray<z.ZodString>>;
564
+ }, z.core.$strip>>;
565
+ actorRef: z.ZodString;
566
+ }, z.core.$strip>>>;
567
+ checkpointChecks: z.ZodArray<z.ZodObject<{
568
+ checkpoint: z.ZodObject<{
569
+ point: z.ZodDiscriminatedUnion<[z.ZodObject<{
570
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
571
+ actorId: z.ZodString;
572
+ actorSystemId: z.ZodString;
573
+ }, z.core.$strip>, z.ZodObject<{
574
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
575
+ flowId: z.ZodString;
576
+ stepId: z.ZodString;
577
+ }, z.core.$strip>, z.ZodObject<{
578
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
579
+ taskId: z.ZodString;
580
+ actorSystemId: z.ZodString;
581
+ }, z.core.$strip>, z.ZodObject<{
582
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
583
+ planId: z.ZodString;
584
+ planStepId: z.ZodString;
585
+ actorSystemId: z.ZodString;
586
+ }, z.core.$strip>], "kind">;
587
+ timestamp: z.ZodString;
588
+ context: z.ZodOptional<z.ZodAny>;
589
+ }, z.core.$strip>;
590
+ timestamp: z.ZodString;
591
+ }, z.core.$strip>>;
592
+ availableCheckpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
593
+ point: z.ZodDiscriminatedUnion<[z.ZodObject<{
594
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
595
+ actorId: z.ZodString;
596
+ actorSystemId: z.ZodString;
597
+ }, z.core.$strip>, z.ZodObject<{
598
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
599
+ flowId: z.ZodString;
600
+ stepId: z.ZodString;
601
+ }, z.core.$strip>, z.ZodObject<{
602
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
603
+ taskId: z.ZodString;
604
+ actorSystemId: z.ZodString;
605
+ }, z.core.$strip>, z.ZodObject<{
606
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
607
+ planId: z.ZodString;
608
+ planStepId: z.ZodString;
609
+ actorSystemId: z.ZodString;
610
+ }, z.core.$strip>], "kind">;
611
+ timestamp: z.ZodString;
612
+ context: z.ZodOptional<z.ZodAny>;
613
+ }, z.core.$strip>>>;
614
+ }, z.core.$strip>>;
615
+ createdAt: z.ZodString;
616
+ updatedAt: z.ZodString;
617
+ startedAt: z.ZodOptional<z.ZodString>;
618
+ completedAt: z.ZodOptional<z.ZodString>;
619
+ }, z.core.$strip>>;
620
+ standaloneTaskStates: z.ZodArray<z.ZodObject<{
621
+ taskId: z.ZodString;
622
+ status: z.ZodEnum<typeof FlowsActors_Status>;
623
+ updatedAt: z.ZodISODateTime;
624
+ statusChanges: z.ZodArray<z.ZodObject<{
625
+ status: z.ZodEnum<typeof FlowsActors_Status>;
626
+ timestamp: z.ZodISODateTime;
627
+ }, z.core.$strip>>;
628
+ }, z.core.$strip>>;
629
+ errorStates: z.ZodOptional<z.ZodObject<{
630
+ circuitBreakerStatus: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_CircuitBreaker_Status>>;
631
+ checkpointChecks: z.ZodArray<z.ZodObject<{
632
+ checkpoint: z.ZodObject<{
633
+ point: z.ZodDiscriminatedUnion<[z.ZodObject<{
634
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
635
+ actorId: z.ZodString;
636
+ actorSystemId: z.ZodString;
637
+ }, z.core.$strip>, z.ZodObject<{
638
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
639
+ flowId: z.ZodString;
640
+ stepId: z.ZodString;
641
+ }, z.core.$strip>, z.ZodObject<{
642
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
643
+ taskId: z.ZodString;
644
+ actorSystemId: z.ZodString;
645
+ }, z.core.$strip>, z.ZodObject<{
646
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
647
+ planId: z.ZodString;
648
+ planStepId: z.ZodString;
649
+ actorSystemId: z.ZodString;
650
+ }, z.core.$strip>], "kind">;
651
+ timestamp: z.ZodString;
652
+ context: z.ZodOptional<z.ZodAny>;
653
+ }, z.core.$strip>;
654
+ timestamp: z.ZodString;
655
+ }, z.core.$strip>>;
656
+ errorItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
657
+ type: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorType>;
658
+ severity: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorSeverity>;
659
+ operationPathKey: z.ZodOptional<z.ZodString>;
660
+ timestamp: z.ZodDate;
661
+ context: z.ZodOptional<z.ZodObject<{
662
+ message: z.ZodOptional<z.ZodString>;
663
+ }, z.core.$catchall<z.ZodAny>>>;
664
+ ipAddress: z.ZodOptional<z.ZodString>;
665
+ errorHandlingStrategy: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorHandling_Strategy>>;
666
+ retryPolicy: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").RetryPolicy_BackoffType>>;
667
+ maxRetries: z.ZodOptional<z.ZodNumber>;
668
+ initialDelay: z.ZodOptional<z.ZodNumber>;
669
+ baseDelay: z.ZodOptional<z.ZodNumber>;
670
+ retryCount: z.ZodOptional<z.ZodNumber>;
671
+ lastRetryTime: z.ZodOptional<z.ZodDate>;
672
+ backendActions: z.ZodArray<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorActionBackend>>;
673
+ customMessageReference: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorCustomMessageReference>;
674
+ statusCode: z.ZodNumber;
675
+ stack: z.ZodOptional<z.ZodString>;
676
+ correlationId: z.ZodOptional<z.ZodString>;
677
+ initiatorIds: z.ZodNullable<z.ZodOptional<z.ZodObject<{
678
+ organizationId: z.ZodOptional<z.ZodString>;
679
+ userId: z.ZodOptional<z.ZodString>;
680
+ applicationId: z.ZodOptional<z.ZodString>;
681
+ machineCredential: z.ZodOptional<z.ZodObject<{
682
+ authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
683
+ credentialId: z.ZodString;
684
+ }, z.core.$strip>>;
685
+ consumableTokenId: z.ZodOptional<z.ZodString>;
686
+ webhookProviderId: z.ZodOptional<z.ZodString>;
687
+ anonymousUserId: z.ZodOptional<z.ZodString>;
688
+ }, z.core.$strip>>>;
689
+ executionType: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
690
+ userGuidance: z.ZodOptional<z.ZodObject<{
691
+ guidanceKey: z.ZodOptional<z.ZodString>;
692
+ explanation: z.ZodOptional<z.ZodString>;
693
+ resolution: z.ZodOptional<z.ZodString>;
694
+ completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
695
+ nextAction: z.ZodOptional<z.ZodObject<{
696
+ label: z.ZodString;
697
+ ref: z.ZodString;
698
+ type: z.ZodDefault<z.ZodEnum<typeof import("@wildo-ai/saas-models").NotificationNextStepType>>;
699
+ }, z.core.$strip>>;
700
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
701
+ missingConfiguration: z.ZodOptional<z.ZodArray<z.ZodString>>;
702
+ }, z.core.$strip>>;
703
+ systemRef: z.ZodString;
704
+ taskId: z.ZodOptional<z.ZodString>;
705
+ planStepId: z.ZodOptional<z.ZodString>;
706
+ }, z.core.$strip>>>;
707
+ }, z.core.$strip>>;
708
+ _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
709
+ organizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
710
+ wildoApplicationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
711
+ systemRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
712
+ status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>>;
713
+ }, z.core.$strip>;
714
+ export type Wildo_Application_ActorSystem_Execution = z.infer<typeof Wildo_Application_ActorSystem_Execution_Schema>;
715
+ /**
716
+ * Flow executions follow the same platform ownership chain as actor executions:
717
+ * org-scoped in the apps-manager DB and child-linked to a single Wildo app.
718
+ */
719
+ export declare const Wildo_Application_FlowSystem_Execution_Schema: z.ZodObject<{
720
+ initiator: z.ZodOptional<z.ZodObject<{
721
+ organizationId: z.ZodOptional<z.ZodString>;
722
+ userId: z.ZodOptional<z.ZodString>;
723
+ applicationId: z.ZodOptional<z.ZodString>;
724
+ machineCredential: z.ZodOptional<z.ZodObject<{
725
+ authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
726
+ credentialId: z.ZodString;
727
+ }, z.core.$strip>>;
728
+ consumableTokenId: z.ZodOptional<z.ZodString>;
729
+ webhookProviderId: z.ZodOptional<z.ZodString>;
730
+ anonymousUserId: z.ZodOptional<z.ZodString>;
731
+ }, z.core.$strip>>;
732
+ statusChanges: z.ZodArray<z.ZodObject<{
733
+ status: z.ZodEnum<typeof FlowsActors_Status>;
734
+ timestamp: z.ZodString;
735
+ }, z.core.$strip>>;
736
+ createdAt: z.ZodString;
737
+ updatedAt: z.ZodString;
738
+ finishedAt: z.ZodOptional<z.ZodString>;
739
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowActorSystem_Kind.FLOW>;
740
+ nodeStates: z.ZodArray<z.ZodObject<{
741
+ node: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
742
+ status: z.ZodEnum<typeof FlowsActors_Status>;
743
+ updatedAt: z.ZodISODateTime;
744
+ statusChanges: z.ZodArray<z.ZodObject<{
745
+ status: z.ZodEnum<typeof FlowsActors_Status>;
746
+ timestamp: z.ZodISODateTime;
747
+ }, z.core.$strip>>;
748
+ }, z.core.$strip>>;
749
+ errorStates: z.ZodOptional<z.ZodObject<{
750
+ circuitBreakerStatus: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_CircuitBreaker_Status>>;
751
+ checkpointChecks: z.ZodArray<z.ZodObject<{
752
+ checkpoint: z.ZodObject<{
753
+ point: z.ZodDiscriminatedUnion<[z.ZodObject<{
754
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
755
+ actorId: z.ZodString;
756
+ actorSystemId: z.ZodString;
757
+ }, z.core.$strip>, z.ZodObject<{
758
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
759
+ flowId: z.ZodString;
760
+ stepId: z.ZodString;
761
+ }, z.core.$strip>, z.ZodObject<{
762
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
763
+ taskId: z.ZodString;
764
+ actorSystemId: z.ZodString;
765
+ }, z.core.$strip>, z.ZodObject<{
766
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
767
+ planId: z.ZodString;
768
+ planStepId: z.ZodString;
769
+ actorSystemId: z.ZodString;
770
+ }, z.core.$strip>], "kind">;
771
+ timestamp: z.ZodString;
772
+ context: z.ZodOptional<z.ZodAny>;
773
+ }, z.core.$strip>;
774
+ timestamp: z.ZodString;
775
+ }, z.core.$strip>>;
776
+ errorItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
777
+ type: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorType>;
778
+ severity: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorSeverity>;
779
+ operationPathKey: z.ZodOptional<z.ZodString>;
780
+ timestamp: z.ZodDate;
781
+ context: z.ZodOptional<z.ZodObject<{
782
+ message: z.ZodOptional<z.ZodString>;
783
+ }, z.core.$catchall<z.ZodAny>>>;
784
+ ipAddress: z.ZodOptional<z.ZodString>;
785
+ errorHandlingStrategy: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorHandling_Strategy>>;
786
+ retryPolicy: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").RetryPolicy_BackoffType>>;
787
+ maxRetries: z.ZodOptional<z.ZodNumber>;
788
+ initialDelay: z.ZodOptional<z.ZodNumber>;
789
+ baseDelay: z.ZodOptional<z.ZodNumber>;
790
+ retryCount: z.ZodOptional<z.ZodNumber>;
791
+ lastRetryTime: z.ZodOptional<z.ZodDate>;
792
+ backendActions: z.ZodArray<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorActionBackend>>;
793
+ customMessageReference: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorCustomMessageReference>;
794
+ statusCode: z.ZodNumber;
795
+ stack: z.ZodOptional<z.ZodString>;
796
+ correlationId: z.ZodOptional<z.ZodString>;
797
+ initiatorIds: z.ZodNullable<z.ZodOptional<z.ZodObject<{
798
+ organizationId: z.ZodOptional<z.ZodString>;
799
+ userId: z.ZodOptional<z.ZodString>;
800
+ applicationId: z.ZodOptional<z.ZodString>;
801
+ machineCredential: z.ZodOptional<z.ZodObject<{
802
+ authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
803
+ credentialId: z.ZodString;
804
+ }, z.core.$strip>>;
805
+ consumableTokenId: z.ZodOptional<z.ZodString>;
806
+ webhookProviderId: z.ZodOptional<z.ZodString>;
807
+ anonymousUserId: z.ZodOptional<z.ZodString>;
808
+ }, z.core.$strip>>>;
809
+ executionType: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
810
+ userGuidance: z.ZodOptional<z.ZodObject<{
811
+ guidanceKey: z.ZodOptional<z.ZodString>;
812
+ explanation: z.ZodOptional<z.ZodString>;
813
+ resolution: z.ZodOptional<z.ZodString>;
814
+ completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
815
+ nextAction: z.ZodOptional<z.ZodObject<{
816
+ label: z.ZodString;
817
+ ref: z.ZodString;
818
+ type: z.ZodDefault<z.ZodEnum<typeof import("@wildo-ai/saas-models").NotificationNextStepType>>;
819
+ }, z.core.$strip>>;
820
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
821
+ missingConfiguration: z.ZodOptional<z.ZodArray<z.ZodString>>;
822
+ }, z.core.$strip>>;
823
+ systemRef: z.ZodString;
824
+ flowNode: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
825
+ }, z.core.$strip>>>;
826
+ }, z.core.$strip>>;
827
+ _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
828
+ organizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
829
+ wildoApplicationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
830
+ systemRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
831
+ status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>>;
832
+ }, z.core.$strip>;
833
+ export type Wildo_Application_FlowSystem_Execution = z.infer<typeof Wildo_Application_FlowSystem_Execution_Schema>;
834
+ //# sourceMappingURL=wildo-application-executions.custom.shared.schemas.d.ts.map