@wildo-ai/platform-core-shared 1.1.10 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.js.map +1 -1
  2. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.js.map +1 -1
  3. package/dist/esm/core/resources/resources-types.custom.shared.schemas.d.ts.map +1 -1
  4. package/dist/esm/core/resources/resources-types.custom.shared.schemas.js.map +1 -1
  5. package/dist/esm/dev-runtime/dependency-install-record.d.ts +111 -0
  6. package/dist/esm/dev-runtime/dependency-install-record.d.ts.map +1 -0
  7. package/dist/esm/dev-runtime/dependency-install-record.js +185 -0
  8. package/dist/esm/dev-runtime/dependency-install-record.js.map +1 -0
  9. package/dist/esm/dev-runtime/dev-runtime-command.d.ts +50 -0
  10. package/dist/esm/dev-runtime/dev-runtime-command.d.ts.map +1 -0
  11. package/dist/esm/dev-runtime/dev-runtime-command.js +147 -0
  12. package/dist/esm/dev-runtime/dev-runtime-command.js.map +1 -0
  13. package/dist/esm/dev-runtime/dev-runtime-processes.d.ts +47 -0
  14. package/dist/esm/dev-runtime/dev-runtime-processes.d.ts.map +1 -0
  15. package/dist/esm/dev-runtime/dev-runtime-processes.js +163 -0
  16. package/dist/esm/dev-runtime/dev-runtime-processes.js.map +1 -0
  17. package/dist/esm/dev-runtime/dev-runtime-signals.d.ts +54 -0
  18. package/dist/esm/dev-runtime/dev-runtime-signals.d.ts.map +1 -0
  19. package/dist/esm/dev-runtime/dev-runtime-signals.js +113 -0
  20. package/dist/esm/dev-runtime/dev-runtime-signals.js.map +1 -0
  21. package/dist/esm/dev-runtime/emitted-relative-specifiers.d.ts +14 -0
  22. package/dist/esm/dev-runtime/emitted-relative-specifiers.d.ts.map +1 -0
  23. package/dist/esm/dev-runtime/emitted-relative-specifiers.js +71 -0
  24. package/dist/esm/dev-runtime/emitted-relative-specifiers.js.map +1 -0
  25. package/dist/esm/dev-runtime/frontend-dev-runtime.d.ts +43 -0
  26. package/dist/esm/dev-runtime/frontend-dev-runtime.d.ts.map +1 -0
  27. package/dist/esm/dev-runtime/frontend-dev-runtime.js +42 -0
  28. package/dist/esm/dev-runtime/frontend-dev-runtime.js.map +1 -0
  29. package/dist/esm/dev-runtime/node-runtime-dev-supervisor.d.ts +233 -0
  30. package/dist/esm/dev-runtime/node-runtime-dev-supervisor.d.ts.map +1 -0
  31. package/dist/esm/dev-runtime/node-runtime-dev-supervisor.js +578 -0
  32. package/dist/esm/dev-runtime/node-runtime-dev-supervisor.js.map +1 -0
  33. package/dist/esm/dev-runtime/package-compile-loop.d.ts +125 -0
  34. package/dist/esm/dev-runtime/package-compile-loop.d.ts.map +1 -0
  35. package/dist/esm/dev-runtime/package-compile-loop.js +386 -0
  36. package/dist/esm/dev-runtime/package-compile-loop.js.map +1 -0
  37. package/dist/esm/dev-runtime.exports.d.ts +19 -0
  38. package/dist/esm/dev-runtime.exports.d.ts.map +1 -0
  39. package/dist/esm/dev-runtime.exports.js +19 -0
  40. package/dist/esm/dev-runtime.exports.js.map +1 -0
  41. package/dist/esm/index.d.ts +4 -0
  42. package/dist/esm/index.d.ts.map +1 -1
  43. package/dist/esm/index.js +4 -0
  44. package/dist/esm/index.js.map +1 -1
  45. package/dist/esm/runtime/application-backend-env.contracts.d.ts +16 -2
  46. package/dist/esm/runtime/application-backend-env.contracts.d.ts.map +1 -1
  47. package/dist/esm/runtime/application-backend-env.contracts.js +20 -1
  48. package/dist/esm/runtime/application-backend-env.contracts.js.map +1 -1
  49. package/dist/esm/runtime/application-worker-env.contracts.d.ts +14 -4
  50. package/dist/esm/runtime/application-worker-env.contracts.d.ts.map +1 -1
  51. package/dist/esm/runtime/application-worker-env.contracts.js +12 -0
  52. package/dist/esm/runtime/application-worker-env.contracts.js.map +1 -1
  53. package/dist/esm/runtime/backend-start-outcome.contracts.d.ts +27 -0
  54. package/dist/esm/runtime/backend-start-outcome.contracts.d.ts.map +1 -1
  55. package/dist/esm/runtime/backend-start-outcome.contracts.js +34 -0
  56. package/dist/esm/runtime/backend-start-outcome.contracts.js.map +1 -1
  57. package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.d.ts +28 -0
  58. package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.d.ts.map +1 -0
  59. package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.js +35 -0
  60. package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.js.map +1 -0
  61. package/dist/esm/runtime/http-server-env.contracts.d.ts +14 -1
  62. package/dist/esm/runtime/http-server-env.contracts.d.ts.map +1 -1
  63. package/dist/esm/runtime/http-server-env.contracts.js +13 -0
  64. package/dist/esm/runtime/http-server-env.contracts.js.map +1 -1
  65. package/dist/esm/runtime/local-dev-runtime-signals.contracts.d.ts +239 -0
  66. package/dist/esm/runtime/local-dev-runtime-signals.contracts.d.ts.map +1 -0
  67. package/dist/esm/runtime/local-dev-runtime-signals.contracts.js +256 -0
  68. package/dist/esm/runtime/local-dev-runtime-signals.contracts.js.map +1 -0
  69. package/dist/esm/runtime/runtime-topology.contracts.js.map +1 -1
  70. package/dist/esm/security/authorizations/roles.custom.shared.definitions.js.map +1 -1
  71. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts +362 -36
  72. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts.map +1 -1
  73. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js +4 -3
  74. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js.map +1 -1
  75. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts +400 -37
  76. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts.map +1 -1
  77. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js +107 -1
  78. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js.map +1 -1
  79. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts +26 -26
  80. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts.map +1 -1
  81. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js +4 -3
  82. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js.map +1 -1
  83. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts +33 -27
  84. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts.map +1 -1
  85. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js +26 -2
  86. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js.map +1 -1
  87. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts +3 -3
  88. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts.map +1 -1
  89. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js +30 -42
  90. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js.map +1 -1
  91. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts +9 -9
  92. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js.map +1 -1
  93. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js.map +1 -1
  94. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts +7 -7
  95. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.js.map +1 -1
  96. package/dist/esm/workbench/creation-drive.custom.shared.schemas.d.ts +52 -0
  97. package/dist/esm/workbench/creation-drive.custom.shared.schemas.d.ts.map +1 -0
  98. package/dist/esm/workbench/creation-drive.custom.shared.schemas.js +49 -0
  99. package/dist/esm/workbench/creation-drive.custom.shared.schemas.js.map +1 -0
  100. package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.d.ts +183 -0
  101. package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.d.ts.map +1 -0
  102. package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.js +188 -0
  103. package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.js.map +1 -0
  104. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts.map +1 -1
  105. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js +76 -0
  106. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js.map +1 -1
  107. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.d.ts +170 -7
  108. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.d.ts.map +1 -1
  109. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.js +177 -7
  110. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.js.map +1 -1
  111. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts +21 -3
  112. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts.map +1 -1
  113. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js +7 -0
  114. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js.map +1 -1
  115. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.d.ts.map +1 -1
  116. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.js.map +1 -1
  117. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts +611 -405
  118. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts.map +1 -1
  119. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js +98 -17
  120. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js.map +1 -1
  121. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts +821 -240
  122. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts.map +1 -1
  123. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js +795 -41
  124. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js.map +1 -1
  125. package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.d.ts +34 -0
  126. package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.d.ts.map +1 -1
  127. package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.js +31 -0
  128. package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.js.map +1 -1
  129. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts +14 -2
  130. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts.map +1 -1
  131. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js +25 -3
  132. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js.map +1 -1
  133. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts +353 -250
  134. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts.map +1 -1
  135. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js +1 -0
  136. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js.map +1 -1
  137. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts +34 -29
  138. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts.map +1 -1
  139. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js +9 -5
  140. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js.map +1 -1
  141. package/dist/tsconfig.build.tsbuildinfo +1 -1
  142. package/package.json +13 -8
@@ -1,5 +1,36 @@
1
1
  import { z } from 'zod';
2
- import { FlowsActors_Status } from '@wildo-ai/saas-models';
2
+ import { FlowsActors_Status, type NestedUserIdPath } from '@wildo-ai/saas-models';
3
+ /**
4
+ * Where a run record's execution-context initiators name a PERSON (#2823), on every control-plane run record (an actor
5
+ * run, a flow run, a task): the one who started it (`initiator`), and the one whose request each error item records
6
+ * (`errorStates.errorItems[].initiatorIds`). In each, `userId` is the signed-in person and `inboundScopeUserId` the
7
+ * person an inbound delivery belongs to; both are user ids. The initiator's other ids (an organization, an application,
8
+ * a credential, an anonymous visitor, a delivery) are not people with a profile, and are left as recorded.
9
+ */
10
+ export declare const RUN_RECORD_INITIATOR_PERSON_PATHS: readonly NestedUserIdPath[];
11
+ /**
12
+ * Every place an actor run's schema types a PERSON by user id below its top level (#2823), named by the run's
13
+ * `userNames`:
14
+ *
15
+ * - who started it, and whose request each error item records ({@link RUN_RECORD_INITIATOR_PERSON_PATHS}), on the run
16
+ * itself, on its plan (`plan.`) and on each standalone task it carries (`standaloneTasks[].`);
17
+ * - who decided each decision the run waited on (`statusChanges[].resolution.decidedByUserId`);
18
+ * - for the question the run is waiting on, and for the one a resume is answering (`checkpoint.resumedSuspension`): the
19
+ * person it was raised for (`requester.ref`) and the person it is assigned to (`route.assigneeUserId`);
20
+ * - for a settled review whose agent-work record is still owed (`pendingCorrectionRecord`): who decided it
21
+ * (`deciderUserId`) and the person whose work it was, when the work was a person's (`owner.userId`; the owner is an
22
+ * organization or an application otherwise, which this path does not reach).
23
+ *
24
+ * `requester.ref` is a CREDENTIAL id when the requester is a machine. No profile carries a credential id, so the
25
+ * directory names nothing there and the id stays as recorded, which is what a machine's reference should show.
26
+ *
27
+ * Not walked, because they are not typed: the free-form `checkpoint.context`, a task's `input`, `output` and `memory`.
28
+ * Not people: a task's correlation refs, a plan step's relationships, an organization unit.
29
+ *
30
+ * A display that shows these ids reads this list too (`nameUserIdsAtPaths`), so a person is named where their id was
31
+ * by the same statement that made the backend look them up.
32
+ */
33
+ export declare const WILDO_APPLICATION_ACTOR_EXECUTION_PERSON_PATHS: readonly NestedUserIdPath[];
3
34
  /**
4
35
  * Platform-owned actor executions are persisted in the apps-manager database but
5
36
  * stay explicitly attached to the owning Wildo application row.
@@ -13,20 +44,22 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
13
44
  authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
14
45
  credentialId: z.ZodString;
15
46
  }, z.core.$strip>>;
47
+ autonomousAgentRef: z.ZodOptional<z.ZodString>;
16
48
  consumableTokenId: z.ZodOptional<z.ZodString>;
17
49
  webhookProviderId: z.ZodOptional<z.ZodString>;
18
50
  anonymousUserId: z.ZodOptional<z.ZodString>;
19
51
  inboundDeliveryId: z.ZodOptional<z.ZodString>;
20
52
  inboundHandlerRef: z.ZodOptional<z.ZodString>;
21
53
  inboundScopeUserId: z.ZodOptional<z.ZodString>;
54
+ decisionNoticeId: z.ZodOptional<z.ZodString>;
55
+ decisionNoticeHandlerRef: z.ZodOptional<z.ZodString>;
56
+ chatConversationId: z.ZodOptional<z.ZodString>;
57
+ chatReplyHandlerRef: z.ZodOptional<z.ZodString>;
22
58
  inboundSender: z.ZodOptional<z.ZodObject<{
23
59
  channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
24
60
  assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
25
61
  }, z.core.$strict>>;
26
62
  }, z.core.$strip>>;
27
- createdAt: z.ZodString;
28
- updatedAt: z.ZodString;
29
- finishedAt: z.ZodOptional<z.ZodString>;
30
63
  kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowActorSystem_Kind.ACTOR>;
31
64
  suspension: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
65
  decision: z.ZodObject<{
@@ -38,11 +71,13 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
38
71
  question: z.ZodString;
39
72
  kind: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_FieldKind>;
40
73
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
74
+ optionLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
41
75
  why: z.ZodOptional<z.ZodString>;
42
76
  }, z.core.$strip>>;
43
77
  options: z.ZodArray<z.ZodObject<{
44
78
  ref: z.ZodString;
45
79
  label: z.ZodString;
80
+ labelRef: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_OptionLabelRef>>;
46
81
  intent: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_ResponseIntent>;
47
82
  description: z.ZodOptional<z.ZodString>;
48
83
  }, z.core.$strip>>;
@@ -51,6 +86,117 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
51
86
  review: z.ZodOptional<z.ZodObject<{
52
87
  surface: z.ZodEnum<typeof import("@wildo-ai/saas-models").AgentWorkDecisionSurface>;
53
88
  }, z.core.$strict>>;
89
+ form: z.ZodOptional<z.ZodObject<{
90
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
91
+ ref: z.ZodString;
92
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.TEXT>;
93
+ format: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanInputForm_TextFormat>>;
94
+ editMode: z.ZodOptional<z.ZodEnum<{
95
+ input: "input";
96
+ textarea: "textarea";
97
+ markdown: "markdown";
98
+ }>>;
99
+ textareaRows: z.ZodOptional<z.ZodInt>;
100
+ minLength: z.ZodOptional<z.ZodInt>;
101
+ maxLength: z.ZodOptional<z.ZodInt>;
102
+ }, z.core.$strict>, z.ZodObject<{
103
+ ref: z.ZodString;
104
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.NUMBER>;
105
+ integer: z.ZodOptional<z.ZodBoolean>;
106
+ min: z.ZodOptional<z.ZodNumber>;
107
+ max: z.ZodOptional<z.ZodNumber>;
108
+ editMode: z.ZodOptional<z.ZodEnum<{
109
+ input: "input";
110
+ slider: "slider";
111
+ stepper: "stepper";
112
+ }>>;
113
+ decimalPlaces: z.ZodOptional<z.ZodInt>;
114
+ prefix: z.ZodOptional<z.ZodString>;
115
+ suffix: z.ZodOptional<z.ZodString>;
116
+ }, z.core.$strict>, z.ZodObject<{
117
+ ref: z.ZodString;
118
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.DATE>;
119
+ }, z.core.$strict>, z.ZodObject<{
120
+ ref: z.ZodString;
121
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.DATETIME>;
122
+ }, z.core.$strict>, z.ZodObject<{
123
+ ref: z.ZodString;
124
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.MONEY>;
125
+ currenciesAllowed: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("@wildo-ai/zod-decorators").CurrencyAllowed>>>;
126
+ allowCurrencyChange: z.ZodOptional<z.ZodBoolean>;
127
+ defaultCurrency: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/zod-decorators").AvailableCurrency>>;
128
+ }, z.core.$strict>, z.ZodObject<{
129
+ ref: z.ZodString;
130
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.RANGE>;
131
+ rangeType: z.ZodEnum<typeof import("@wildo-ai/zod-decorators").RangeType>;
132
+ fromOptional: z.ZodOptional<z.ZodBoolean>;
133
+ toOptional: z.ZodOptional<z.ZodBoolean>;
134
+ }, z.core.$strict>, z.ZodObject<{
135
+ ref: z.ZodString;
136
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.DURATION>;
137
+ allowedUnits: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("@wildo-ai/zod-decorators").DurationUnit>>>;
138
+ defaultUnit: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/zod-decorators").DurationUnit>>;
139
+ minValue: z.ZodOptional<z.ZodNumber>;
140
+ maxValue: z.ZodOptional<z.ZodNumber>;
141
+ }, z.core.$strict>, z.ZodObject<{
142
+ ref: z.ZodString;
143
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.PHONE>;
144
+ defaultCountry: z.ZodOptional<z.ZodString>;
145
+ }, z.core.$strict>, z.ZodObject<{
146
+ ref: z.ZodString;
147
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.ADDRESS>;
148
+ countriesAllowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
149
+ defaultCountry: z.ZodOptional<z.ZodString>;
150
+ }, z.core.$strict>, z.ZodObject<{
151
+ ref: z.ZodString;
152
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.DECIMAL>;
153
+ precision: z.ZodOptional<z.ZodInt>;
154
+ min: z.ZodOptional<z.ZodString>;
155
+ max: z.ZodOptional<z.ZodString>;
156
+ }, z.core.$strict>, z.ZodObject<{
157
+ ref: z.ZodString;
158
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.CHOICE>;
159
+ editMode: z.ZodOptional<z.ZodEnum<{
160
+ select: "select";
161
+ radio: "radio";
162
+ toggle: "toggle";
163
+ card: "card";
164
+ combobox: "combobox";
165
+ }>>;
166
+ editColumnsCount: z.ZodOptional<z.ZodInt>;
167
+ }, z.core.$strict>, z.ZodObject<{
168
+ ref: z.ZodString;
169
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.CONFIRM>;
170
+ editMode: z.ZodOptional<z.ZodEnum<{
171
+ radio: "radio";
172
+ toggle: "toggle";
173
+ card: "card";
174
+ }>>;
175
+ }, z.core.$strict>], "type">>;
176
+ layout: z.ZodDiscriminatedUnion<[z.ZodObject<{
177
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_LayoutKind.FLAT>;
178
+ }, z.core.$strict>, z.ZodObject<{
179
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_LayoutKind.SECTIONS>;
180
+ appearance: z.ZodEnum<{
181
+ default: import("@wildo-ai/zod-decorators").SectionMode.DEFAULT;
182
+ card: import("@wildo-ai/zod-decorators").SectionMode.CARD;
183
+ tabs: import("@wildo-ai/zod-decorators").SectionMode.TABS;
184
+ accordion: import("@wildo-ai/zod-decorators").SectionMode.ACCORDION;
185
+ }>;
186
+ sections: z.ZodArray<z.ZodObject<{
187
+ title: z.ZodString;
188
+ description: z.ZodOptional<z.ZodString>;
189
+ fieldRefs: z.ZodArray<z.ZodString>;
190
+ }, z.core.$strict>>;
191
+ }, z.core.$strict>, z.ZodObject<{
192
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_LayoutKind.WIZARD>;
193
+ steps: z.ZodArray<z.ZodObject<{
194
+ title: z.ZodString;
195
+ description: z.ZodOptional<z.ZodString>;
196
+ fieldRefs: z.ZodArray<z.ZodString>;
197
+ }, z.core.$strict>>;
198
+ }, z.core.$strict>], "kind">;
199
+ }, z.core.$strict>>;
54
200
  }, z.core.$strip>;
55
201
  suspendedAt: z.ZodISODateTime;
56
202
  route: z.ZodOptional<z.ZodObject<{
@@ -60,17 +206,37 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
60
206
  organizationUnitId: z.ZodOptional<z.ZodString>;
61
207
  assigneeUserId: z.ZodOptional<z.ZodString>;
62
208
  claimedAt: z.ZodOptional<z.ZodString>;
209
+ requiredQualificationKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
63
210
  }, z.core.$strip>>;
64
211
  requester: z.ZodOptional<z.ZodObject<{
65
212
  kind: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RequesterKind>;
66
213
  ref: z.ZodString;
67
214
  clientId: z.ZodOptional<z.ZodString>;
215
+ throughRelationshipIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
68
216
  }, z.core.$strip>>;
69
217
  routeVersion: z.ZodOptional<z.ZodNumber>;
70
218
  suspensionId: z.ZodOptional<z.ZodString>;
219
+ deadlines: z.ZodOptional<z.ZodObject<{
220
+ claimDeadlineAt: z.ZodISODateTime;
221
+ claimWarningAt: z.ZodOptional<z.ZodISODateTime>;
222
+ claimBasis: z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewClockBasis>;
223
+ decisionDeadlineAt: z.ZodISODateTime;
224
+ decisionWarningAt: z.ZodOptional<z.ZodISODateTime>;
225
+ decisionBasis: z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewClockBasis>;
226
+ rules: z.ZodArray<z.ZodObject<{
227
+ stage: z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewDeadlineStage>;
228
+ action: z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewEscalationActionKind>;
229
+ }, z.core.$strip>>;
230
+ firedAt: z.ZodRecord<z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewDeadlineStage> & z.core.$partial, z.ZodISODateTime>;
231
+ }, z.core.$strip>>;
232
+ stepUp: z.ZodOptional<z.ZodObject<{
233
+ maximumAgeSeconds: z.ZodOptional<z.ZodNumber>;
234
+ minimumAssurance: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_StepUpAssurance>>;
235
+ }, z.core.$strict>>;
236
+ answerChannels: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_AnswerChannel>>>;
71
237
  }, z.core.$strip>>>;
72
238
  checkpoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
73
- context: z.ZodAny;
239
+ context: z.ZodOptional<z.ZodAny>;
74
240
  checkpointedAt: z.ZodISODateTime;
75
241
  resumedSuspension: z.ZodOptional<z.ZodObject<{
76
242
  decision: z.ZodObject<{
@@ -82,11 +248,13 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
82
248
  question: z.ZodString;
83
249
  kind: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_FieldKind>;
84
250
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
251
+ optionLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
85
252
  why: z.ZodOptional<z.ZodString>;
86
253
  }, z.core.$strip>>;
87
254
  options: z.ZodArray<z.ZodObject<{
88
255
  ref: z.ZodString;
89
256
  label: z.ZodString;
257
+ labelRef: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_OptionLabelRef>>;
90
258
  intent: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_ResponseIntent>;
91
259
  description: z.ZodOptional<z.ZodString>;
92
260
  }, z.core.$strip>>;
@@ -95,6 +263,117 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
95
263
  review: z.ZodOptional<z.ZodObject<{
96
264
  surface: z.ZodEnum<typeof import("@wildo-ai/saas-models").AgentWorkDecisionSurface>;
97
265
  }, z.core.$strict>>;
266
+ form: z.ZodOptional<z.ZodObject<{
267
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
268
+ ref: z.ZodString;
269
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.TEXT>;
270
+ format: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanInputForm_TextFormat>>;
271
+ editMode: z.ZodOptional<z.ZodEnum<{
272
+ input: "input";
273
+ textarea: "textarea";
274
+ markdown: "markdown";
275
+ }>>;
276
+ textareaRows: z.ZodOptional<z.ZodInt>;
277
+ minLength: z.ZodOptional<z.ZodInt>;
278
+ maxLength: z.ZodOptional<z.ZodInt>;
279
+ }, z.core.$strict>, z.ZodObject<{
280
+ ref: z.ZodString;
281
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.NUMBER>;
282
+ integer: z.ZodOptional<z.ZodBoolean>;
283
+ min: z.ZodOptional<z.ZodNumber>;
284
+ max: z.ZodOptional<z.ZodNumber>;
285
+ editMode: z.ZodOptional<z.ZodEnum<{
286
+ input: "input";
287
+ slider: "slider";
288
+ stepper: "stepper";
289
+ }>>;
290
+ decimalPlaces: z.ZodOptional<z.ZodInt>;
291
+ prefix: z.ZodOptional<z.ZodString>;
292
+ suffix: z.ZodOptional<z.ZodString>;
293
+ }, z.core.$strict>, z.ZodObject<{
294
+ ref: z.ZodString;
295
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.DATE>;
296
+ }, z.core.$strict>, z.ZodObject<{
297
+ ref: z.ZodString;
298
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.DATETIME>;
299
+ }, z.core.$strict>, z.ZodObject<{
300
+ ref: z.ZodString;
301
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.MONEY>;
302
+ currenciesAllowed: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("@wildo-ai/zod-decorators").CurrencyAllowed>>>;
303
+ allowCurrencyChange: z.ZodOptional<z.ZodBoolean>;
304
+ defaultCurrency: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/zod-decorators").AvailableCurrency>>;
305
+ }, z.core.$strict>, z.ZodObject<{
306
+ ref: z.ZodString;
307
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.RANGE>;
308
+ rangeType: z.ZodEnum<typeof import("@wildo-ai/zod-decorators").RangeType>;
309
+ fromOptional: z.ZodOptional<z.ZodBoolean>;
310
+ toOptional: z.ZodOptional<z.ZodBoolean>;
311
+ }, z.core.$strict>, z.ZodObject<{
312
+ ref: z.ZodString;
313
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.DURATION>;
314
+ allowedUnits: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("@wildo-ai/zod-decorators").DurationUnit>>>;
315
+ defaultUnit: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/zod-decorators").DurationUnit>>;
316
+ minValue: z.ZodOptional<z.ZodNumber>;
317
+ maxValue: z.ZodOptional<z.ZodNumber>;
318
+ }, z.core.$strict>, z.ZodObject<{
319
+ ref: z.ZodString;
320
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.PHONE>;
321
+ defaultCountry: z.ZodOptional<z.ZodString>;
322
+ }, z.core.$strict>, z.ZodObject<{
323
+ ref: z.ZodString;
324
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.ADDRESS>;
325
+ countriesAllowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
326
+ defaultCountry: z.ZodOptional<z.ZodString>;
327
+ }, z.core.$strict>, z.ZodObject<{
328
+ ref: z.ZodString;
329
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.DECIMAL>;
330
+ precision: z.ZodOptional<z.ZodInt>;
331
+ min: z.ZodOptional<z.ZodString>;
332
+ max: z.ZodOptional<z.ZodString>;
333
+ }, z.core.$strict>, z.ZodObject<{
334
+ ref: z.ZodString;
335
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.CHOICE>;
336
+ editMode: z.ZodOptional<z.ZodEnum<{
337
+ select: "select";
338
+ radio: "radio";
339
+ toggle: "toggle";
340
+ card: "card";
341
+ combobox: "combobox";
342
+ }>>;
343
+ editColumnsCount: z.ZodOptional<z.ZodInt>;
344
+ }, z.core.$strict>, z.ZodObject<{
345
+ ref: z.ZodString;
346
+ type: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_FieldType.CONFIRM>;
347
+ editMode: z.ZodOptional<z.ZodEnum<{
348
+ radio: "radio";
349
+ toggle: "toggle";
350
+ card: "card";
351
+ }>>;
352
+ }, z.core.$strict>], "type">>;
353
+ layout: z.ZodDiscriminatedUnion<[z.ZodObject<{
354
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_LayoutKind.FLAT>;
355
+ }, z.core.$strict>, z.ZodObject<{
356
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_LayoutKind.SECTIONS>;
357
+ appearance: z.ZodEnum<{
358
+ default: import("@wildo-ai/zod-decorators").SectionMode.DEFAULT;
359
+ card: import("@wildo-ai/zod-decorators").SectionMode.CARD;
360
+ tabs: import("@wildo-ai/zod-decorators").SectionMode.TABS;
361
+ accordion: import("@wildo-ai/zod-decorators").SectionMode.ACCORDION;
362
+ }>;
363
+ sections: z.ZodArray<z.ZodObject<{
364
+ title: z.ZodString;
365
+ description: z.ZodOptional<z.ZodString>;
366
+ fieldRefs: z.ZodArray<z.ZodString>;
367
+ }, z.core.$strict>>;
368
+ }, z.core.$strict>, z.ZodObject<{
369
+ kind: z.ZodLiteral<import("@wildo-ai/saas-models").HumanInputForm_LayoutKind.WIZARD>;
370
+ steps: z.ZodArray<z.ZodObject<{
371
+ title: z.ZodString;
372
+ description: z.ZodOptional<z.ZodString>;
373
+ fieldRefs: z.ZodArray<z.ZodString>;
374
+ }, z.core.$strict>>;
375
+ }, z.core.$strict>], "kind">;
376
+ }, z.core.$strict>>;
98
377
  }, z.core.$strip>;
99
378
  suspendedAt: z.ZodISODateTime;
100
379
  route: z.ZodOptional<z.ZodObject<{
@@ -104,18 +383,64 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
104
383
  organizationUnitId: z.ZodOptional<z.ZodString>;
105
384
  assigneeUserId: z.ZodOptional<z.ZodString>;
106
385
  claimedAt: z.ZodOptional<z.ZodString>;
386
+ requiredQualificationKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
107
387
  }, z.core.$strip>>;
108
388
  requester: z.ZodOptional<z.ZodObject<{
109
389
  kind: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RequesterKind>;
110
390
  ref: z.ZodString;
111
391
  clientId: z.ZodOptional<z.ZodString>;
392
+ throughRelationshipIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
112
393
  }, z.core.$strip>>;
113
394
  routeVersion: z.ZodOptional<z.ZodNumber>;
114
395
  suspensionId: z.ZodOptional<z.ZodString>;
396
+ deadlines: z.ZodOptional<z.ZodObject<{
397
+ claimDeadlineAt: z.ZodISODateTime;
398
+ claimWarningAt: z.ZodOptional<z.ZodISODateTime>;
399
+ claimBasis: z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewClockBasis>;
400
+ decisionDeadlineAt: z.ZodISODateTime;
401
+ decisionWarningAt: z.ZodOptional<z.ZodISODateTime>;
402
+ decisionBasis: z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewClockBasis>;
403
+ rules: z.ZodArray<z.ZodObject<{
404
+ stage: z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewDeadlineStage>;
405
+ action: z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewEscalationActionKind>;
406
+ }, z.core.$strip>>;
407
+ firedAt: z.ZodRecord<z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewDeadlineStage> & z.core.$partial, z.ZodISODateTime>;
408
+ }, z.core.$strip>>;
409
+ stepUp: z.ZodOptional<z.ZodObject<{
410
+ maximumAgeSeconds: z.ZodOptional<z.ZodNumber>;
411
+ minimumAssurance: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_StepUpAssurance>>;
412
+ }, z.core.$strict>>;
413
+ answerChannels: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_AnswerChannel>>>;
115
414
  }, z.core.$strip>>;
116
415
  interruptedContinuations: z.ZodOptional<z.ZodNumber>;
117
416
  }, z.core.$strip>>>;
118
417
  exclusiveSubject: z.ZodOptional<z.ZodString>;
418
+ pendingCorrectionRecord: z.ZodOptional<z.ZodNullable<z.ZodObject<{
419
+ recordRef: z.ZodString;
420
+ owner: z.ZodUnion<readonly [z.ZodObject<{
421
+ userId: z.ZodString;
422
+ }, z.core.$strict>, z.ZodObject<{
423
+ organizationId: z.ZodString;
424
+ }, z.core.$strict>, z.ZodObject<{
425
+ applicationId: z.ZodString;
426
+ }, z.core.$strict>]>;
427
+ surface: z.ZodEnum<typeof import("@wildo-ai/saas-models").AgentWorkDecisionSurface>;
428
+ outcome: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_Outcome>;
429
+ agentRef: z.ZodString;
430
+ agentVersion: z.ZodOptional<z.ZodString>;
431
+ taskRef: z.ZodOptional<z.ZodString>;
432
+ finalWorkProductRef: z.ZodOptional<z.ZodObject<{
433
+ resourceType: z.ZodString;
434
+ resourceId: z.ZodString;
435
+ }, z.core.$strict>>;
436
+ reasonCode: z.ZodOptional<z.ZodString>;
437
+ modifiedArgumentNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
438
+ deciderUserId: z.ZodOptional<z.ZodString>;
439
+ admittedByRole: z.ZodOptional<z.ZodString>;
440
+ routeOrganizationId: z.ZodOptional<z.ZodString>;
441
+ presentedAt: z.ZodISODateTime;
442
+ decidedAt: z.ZodISODateTime;
443
+ }, z.core.$strict>>>;
119
444
  statusChanges: z.ZodArray<z.ZodObject<{
120
445
  status: z.ZodEnum<typeof FlowsActors_Status>;
121
446
  timestamp: z.ZodString;
@@ -138,12 +463,17 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
138
463
  authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
139
464
  credentialId: z.ZodString;
140
465
  }, z.core.$strip>>;
466
+ autonomousAgentRef: z.ZodOptional<z.ZodString>;
141
467
  consumableTokenId: z.ZodOptional<z.ZodString>;
142
468
  webhookProviderId: z.ZodOptional<z.ZodString>;
143
469
  anonymousUserId: z.ZodOptional<z.ZodString>;
144
470
  inboundDeliveryId: z.ZodOptional<z.ZodString>;
145
471
  inboundHandlerRef: z.ZodOptional<z.ZodString>;
146
472
  inboundScopeUserId: z.ZodOptional<z.ZodString>;
473
+ decisionNoticeId: z.ZodOptional<z.ZodString>;
474
+ decisionNoticeHandlerRef: z.ZodOptional<z.ZodString>;
475
+ chatConversationId: z.ZodOptional<z.ZodString>;
476
+ chatReplyHandlerRef: z.ZodOptional<z.ZodString>;
147
477
  inboundSender: z.ZodOptional<z.ZodObject<{
148
478
  channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
149
479
  assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
@@ -271,12 +601,17 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
271
601
  authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
272
602
  credentialId: z.ZodString;
273
603
  }, z.core.$strip>>;
604
+ autonomousAgentRef: z.ZodOptional<z.ZodString>;
274
605
  consumableTokenId: z.ZodOptional<z.ZodString>;
275
606
  webhookProviderId: z.ZodOptional<z.ZodString>;
276
607
  anonymousUserId: z.ZodOptional<z.ZodString>;
277
608
  inboundDeliveryId: z.ZodOptional<z.ZodString>;
278
609
  inboundHandlerRef: z.ZodOptional<z.ZodString>;
279
610
  inboundScopeUserId: z.ZodOptional<z.ZodString>;
611
+ decisionNoticeId: z.ZodOptional<z.ZodString>;
612
+ decisionNoticeHandlerRef: z.ZodOptional<z.ZodString>;
613
+ chatConversationId: z.ZodOptional<z.ZodString>;
614
+ chatReplyHandlerRef: z.ZodOptional<z.ZodString>;
280
615
  inboundSender: z.ZodOptional<z.ZodObject<{
281
616
  channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
282
617
  assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
@@ -297,6 +632,7 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
297
632
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
298
633
  missingConfiguration: z.ZodOptional<z.ZodArray<z.ZodString>>;
299
634
  }, z.core.$strip>>;
635
+ requestOutcome: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorRequestOutcome>>;
300
636
  planStepId: z.ZodString;
301
637
  }, z.core.$strip>>>;
302
638
  checkpointChecks: z.ZodArray<z.ZodObject<{
@@ -354,8 +690,8 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
354
690
  _id: z.ZodString;
355
691
  title: z.ZodString;
356
692
  description: z.ZodString;
357
- topic: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>>;
358
- status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>;
693
+ topic: z.ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>;
694
+ status: z.ZodEnum<typeof FlowsActors_Status>;
359
695
  initiator: z.ZodObject<{
360
696
  organizationId: z.ZodOptional<z.ZodString>;
361
697
  userId: z.ZodOptional<z.ZodString>;
@@ -364,12 +700,17 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
364
700
  authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
365
701
  credentialId: z.ZodString;
366
702
  }, z.core.$strip>>;
703
+ autonomousAgentRef: z.ZodOptional<z.ZodString>;
367
704
  consumableTokenId: z.ZodOptional<z.ZodString>;
368
705
  webhookProviderId: z.ZodOptional<z.ZodString>;
369
706
  anonymousUserId: z.ZodOptional<z.ZodString>;
370
707
  inboundDeliveryId: z.ZodOptional<z.ZodString>;
371
708
  inboundHandlerRef: z.ZodOptional<z.ZodString>;
372
709
  inboundScopeUserId: z.ZodOptional<z.ZodString>;
710
+ decisionNoticeId: z.ZodOptional<z.ZodString>;
711
+ decisionNoticeHandlerRef: z.ZodOptional<z.ZodString>;
712
+ chatConversationId: z.ZodOptional<z.ZodString>;
713
+ chatReplyHandlerRef: z.ZodOptional<z.ZodString>;
373
714
  inboundSender: z.ZodOptional<z.ZodObject<{
374
715
  channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
375
716
  assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
@@ -420,11 +761,7 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
420
761
  entries: z.ZodArray<z.ZodObject<{
421
762
  key: z.ZodString;
422
763
  value: z.ZodAny;
423
- type: z.ZodEnum<{
424
- json: "json";
425
- text: "text";
426
- binary: "binary";
427
- }>;
764
+ type: z.ZodEnum<typeof import("@wildo-ai/saas-models").Actors_Memory_EntryType>;
428
765
  timestamp: z.ZodString;
429
766
  expiresAt: z.ZodOptional<z.ZodString>;
430
767
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -436,11 +773,7 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
436
773
  entries: z.ZodArray<z.ZodObject<{
437
774
  key: z.ZodString;
438
775
  value: z.ZodAny;
439
- type: z.ZodEnum<{
440
- json: "json";
441
- text: "text";
442
- binary: "binary";
443
- }>;
776
+ type: z.ZodEnum<typeof import("@wildo-ai/saas-models").Actors_Memory_EntryType>;
444
777
  timestamp: z.ZodString;
445
778
  expiresAt: z.ZodOptional<z.ZodString>;
446
779
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -452,11 +785,7 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
452
785
  entries: z.ZodArray<z.ZodObject<{
453
786
  key: z.ZodString;
454
787
  value: z.ZodAny;
455
- type: z.ZodEnum<{
456
- json: "json";
457
- text: "text";
458
- binary: "binary";
459
- }>;
788
+ type: z.ZodEnum<typeof import("@wildo-ai/saas-models").Actors_Memory_EntryType>;
460
789
  timestamp: z.ZodString;
461
790
  expiresAt: z.ZodOptional<z.ZodString>;
462
791
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -611,12 +940,17 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
611
940
  authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
612
941
  credentialId: z.ZodString;
613
942
  }, z.core.$strip>>;
943
+ autonomousAgentRef: z.ZodOptional<z.ZodString>;
614
944
  consumableTokenId: z.ZodOptional<z.ZodString>;
615
945
  webhookProviderId: z.ZodOptional<z.ZodString>;
616
946
  anonymousUserId: z.ZodOptional<z.ZodString>;
617
947
  inboundDeliveryId: z.ZodOptional<z.ZodString>;
618
948
  inboundHandlerRef: z.ZodOptional<z.ZodString>;
619
949
  inboundScopeUserId: z.ZodOptional<z.ZodString>;
950
+ decisionNoticeId: z.ZodOptional<z.ZodString>;
951
+ decisionNoticeHandlerRef: z.ZodOptional<z.ZodString>;
952
+ chatConversationId: z.ZodOptional<z.ZodString>;
953
+ chatReplyHandlerRef: z.ZodOptional<z.ZodString>;
620
954
  inboundSender: z.ZodOptional<z.ZodObject<{
621
955
  channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
622
956
  assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
@@ -637,6 +971,7 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
637
971
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
638
972
  missingConfiguration: z.ZodOptional<z.ZodArray<z.ZodString>>;
639
973
  }, z.core.$strip>>;
974
+ requestOutcome: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorRequestOutcome>>;
640
975
  actorRef: z.ZodString;
641
976
  }, z.core.$strip>>>;
642
977
  checkpointChecks: z.ZodArray<z.ZodObject<{
@@ -756,12 +1091,17 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
756
1091
  authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
757
1092
  credentialId: z.ZodString;
758
1093
  }, z.core.$strip>>;
1094
+ autonomousAgentRef: z.ZodOptional<z.ZodString>;
759
1095
  consumableTokenId: z.ZodOptional<z.ZodString>;
760
1096
  webhookProviderId: z.ZodOptional<z.ZodString>;
761
1097
  anonymousUserId: z.ZodOptional<z.ZodString>;
762
1098
  inboundDeliveryId: z.ZodOptional<z.ZodString>;
763
1099
  inboundHandlerRef: z.ZodOptional<z.ZodString>;
764
1100
  inboundScopeUserId: z.ZodOptional<z.ZodString>;
1101
+ decisionNoticeId: z.ZodOptional<z.ZodString>;
1102
+ decisionNoticeHandlerRef: z.ZodOptional<z.ZodString>;
1103
+ chatConversationId: z.ZodOptional<z.ZodString>;
1104
+ chatReplyHandlerRef: z.ZodOptional<z.ZodString>;
765
1105
  inboundSender: z.ZodOptional<z.ZodObject<{
766
1106
  channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
767
1107
  assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
@@ -782,18 +1122,29 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
782
1122
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
783
1123
  missingConfiguration: z.ZodOptional<z.ZodArray<z.ZodString>>;
784
1124
  }, z.core.$strip>>;
1125
+ requestOutcome: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorRequestOutcome>>;
785
1126
  systemRef: z.ZodString;
786
1127
  taskId: z.ZodOptional<z.ZodString>;
787
1128
  planStepId: z.ZodOptional<z.ZodString>;
788
1129
  }, z.core.$strip>>>;
789
1130
  }, z.core.$strip>>;
790
- _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
791
- 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>>>>;
792
- 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>>>>;
793
- systemRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
794
- status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>>>;
1131
+ userNames: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1132
+ createdAt: z.ZodDate;
1133
+ updatedAt: z.ZodDate;
1134
+ finishedAt: z.ZodOptional<z.ZodDate>;
1135
+ _id: z.ZodString;
1136
+ organizationId: z.ZodString;
1137
+ wildoApplicationId: z.ZodString;
1138
+ systemRef: z.ZodString;
1139
+ status: z.ZodEnum<typeof FlowsActors_Status>;
795
1140
  }, z.core.$strip>;
796
1141
  export type Wildo_Application_ActorSystem_Execution = z.infer<typeof Wildo_Application_ActorSystem_Execution_Schema>;
1142
+ /**
1143
+ * Every place a flow run's schema types a PERSON by user id below its top level (#2823): its initiators only. A flow
1144
+ * run's history carries no decision, so it has no decider, and its nodes are references to the flow's own steps (a
1145
+ * step's `toUserId` is a value reference the step resolves, never stored on the run).
1146
+ */
1147
+ export declare const WILDO_APPLICATION_FLOW_EXECUTION_PERSON_PATHS: readonly NestedUserIdPath[];
797
1148
  /**
798
1149
  * Flow executions follow the same platform ownership chain as actor executions:
799
1150
  * org-scoped in the apps-manager DB and child-linked to a single Wildo app.
@@ -807,12 +1158,17 @@ export declare const Wildo_Application_FlowSystem_Execution_Schema: z.ZodObject<
807
1158
  authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
808
1159
  credentialId: z.ZodString;
809
1160
  }, z.core.$strip>>;
1161
+ autonomousAgentRef: z.ZodOptional<z.ZodString>;
810
1162
  consumableTokenId: z.ZodOptional<z.ZodString>;
811
1163
  webhookProviderId: z.ZodOptional<z.ZodString>;
812
1164
  anonymousUserId: z.ZodOptional<z.ZodString>;
813
1165
  inboundDeliveryId: z.ZodOptional<z.ZodString>;
814
1166
  inboundHandlerRef: z.ZodOptional<z.ZodString>;
815
1167
  inboundScopeUserId: z.ZodOptional<z.ZodString>;
1168
+ decisionNoticeId: z.ZodOptional<z.ZodString>;
1169
+ decisionNoticeHandlerRef: z.ZodOptional<z.ZodString>;
1170
+ chatConversationId: z.ZodOptional<z.ZodString>;
1171
+ chatReplyHandlerRef: z.ZodOptional<z.ZodString>;
816
1172
  inboundSender: z.ZodOptional<z.ZodObject<{
817
1173
  channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
818
1174
  assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
@@ -822,12 +1178,9 @@ export declare const Wildo_Application_FlowSystem_Execution_Schema: z.ZodObject<
822
1178
  status: z.ZodEnum<typeof FlowsActors_Status>;
823
1179
  timestamp: z.ZodString;
824
1180
  }, z.core.$strip>>;
825
- createdAt: z.ZodString;
826
- updatedAt: z.ZodString;
827
- finishedAt: z.ZodOptional<z.ZodString>;
828
1181
  kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowActorSystem_Kind.FLOW>;
829
1182
  nodeStates: z.ZodArray<z.ZodObject<{
830
- node: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1183
+ node: z.ZodTypeAny<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
831
1184
  status: z.ZodEnum<typeof FlowsActors_Status>;
832
1185
  updatedAt: z.ZodISODateTime;
833
1186
  statusChanges: z.ZodArray<z.ZodObject<{
@@ -890,12 +1243,17 @@ export declare const Wildo_Application_FlowSystem_Execution_Schema: z.ZodObject<
890
1243
  authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
891
1244
  credentialId: z.ZodString;
892
1245
  }, z.core.$strip>>;
1246
+ autonomousAgentRef: z.ZodOptional<z.ZodString>;
893
1247
  consumableTokenId: z.ZodOptional<z.ZodString>;
894
1248
  webhookProviderId: z.ZodOptional<z.ZodString>;
895
1249
  anonymousUserId: z.ZodOptional<z.ZodString>;
896
1250
  inboundDeliveryId: z.ZodOptional<z.ZodString>;
897
1251
  inboundHandlerRef: z.ZodOptional<z.ZodString>;
898
1252
  inboundScopeUserId: z.ZodOptional<z.ZodString>;
1253
+ decisionNoticeId: z.ZodOptional<z.ZodString>;
1254
+ decisionNoticeHandlerRef: z.ZodOptional<z.ZodString>;
1255
+ chatConversationId: z.ZodOptional<z.ZodString>;
1256
+ chatReplyHandlerRef: z.ZodOptional<z.ZodString>;
899
1257
  inboundSender: z.ZodOptional<z.ZodObject<{
900
1258
  channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
901
1259
  assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
@@ -916,15 +1274,20 @@ export declare const Wildo_Application_FlowSystem_Execution_Schema: z.ZodObject<
916
1274
  retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
917
1275
  missingConfiguration: z.ZodOptional<z.ZodArray<z.ZodString>>;
918
1276
  }, z.core.$strip>>;
1277
+ requestOutcome: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorRequestOutcome>>;
919
1278
  systemRef: z.ZodString;
920
- flowNode: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1279
+ flowNode: z.ZodTypeAny<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
921
1280
  }, z.core.$strip>>>;
922
1281
  }, z.core.$strip>>;
923
- _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
924
- 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>>>>;
925
- 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>>>>;
926
- systemRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
927
- status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>>>;
1282
+ userNames: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1283
+ createdAt: z.ZodDate;
1284
+ updatedAt: z.ZodDate;
1285
+ finishedAt: z.ZodOptional<z.ZodDate>;
1286
+ _id: z.ZodString;
1287
+ organizationId: z.ZodString;
1288
+ wildoApplicationId: z.ZodString;
1289
+ systemRef: z.ZodString;
1290
+ status: z.ZodEnum<typeof FlowsActors_Status>;
928
1291
  }, z.core.$strip>;
929
1292
  export type Wildo_Application_FlowSystem_Execution = z.infer<typeof Wildo_Application_FlowSystem_Execution_Schema>;
930
1293
  //# sourceMappingURL=wildo-application-executions.custom.shared.schemas.d.ts.map