@auto-engineer/narrative 0.13.3 → 0.14.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 (239) hide show
  1. package/.turbo/turbo-build.log +10 -9
  2. package/CHANGELOG.md +13 -0
  3. package/dist/scripts/convert-flow-exec.js +2 -2
  4. package/dist/scripts/convert-flow-exec.js.map +1 -1
  5. package/dist/scripts/convert-flow-helper.js +3 -4
  6. package/dist/scripts/convert-flow-helper.js.map +1 -1
  7. package/dist/scripts/convert-flow.js +4 -4
  8. package/dist/scripts/convert-flow.js.map +1 -1
  9. package/dist/scripts/print-schema.js +1 -1
  10. package/dist/scripts/print-schema.js.map +1 -1
  11. package/dist/src/commands/export-schema-helper.js +9 -9
  12. package/dist/src/commands/export-schema-helper.js.map +1 -1
  13. package/dist/src/commands/export-schema.d.ts.map +1 -1
  14. package/dist/src/commands/export-schema.js +44 -67
  15. package/dist/src/commands/export-schema.js.map +1 -1
  16. package/dist/src/data-narrative-builders.d.ts +1 -1
  17. package/dist/src/data-narrative-builders.d.ts.map +1 -1
  18. package/dist/src/data-narrative-builders.js +13 -19
  19. package/dist/src/data-narrative-builders.js.map +1 -1
  20. package/dist/src/fluent-builder.d.ts.map +1 -1
  21. package/dist/src/fluent-builder.js +2 -2
  22. package/dist/src/fluent-builder.js.map +1 -1
  23. package/dist/src/fluent-builder.specs.js +2 -2
  24. package/dist/src/fluent-builder.specs.js.map +1 -1
  25. package/dist/src/getNarratives.cache.specs.js +5 -5
  26. package/dist/src/getNarratives.cache.specs.js.map +1 -1
  27. package/dist/src/getNarratives.d.ts +1 -1
  28. package/dist/src/getNarratives.d.ts.map +1 -1
  29. package/dist/src/getNarratives.js +6 -3
  30. package/dist/src/getNarratives.js.map +1 -1
  31. package/dist/src/getNarratives.specs.js +6 -6
  32. package/dist/src/getNarratives.specs.js.map +1 -1
  33. package/dist/src/id/addAutoIds.d.ts +1 -1
  34. package/dist/src/id/addAutoIds.d.ts.map +1 -1
  35. package/dist/src/id/addAutoIds.js.map +1 -1
  36. package/dist/src/id/addAutoIds.specs.js +1 -1
  37. package/dist/src/id/addAutoIds.specs.js.map +1 -1
  38. package/dist/src/id/hasAllIds.d.ts +1 -1
  39. package/dist/src/id/hasAllIds.d.ts.map +1 -1
  40. package/dist/src/id/hasAllIds.specs.js +1 -1
  41. package/dist/src/id/hasAllIds.specs.js.map +1 -1
  42. package/dist/src/id/index.d.ts +1 -1
  43. package/dist/src/id/index.d.ts.map +1 -1
  44. package/dist/src/id/index.js +1 -1
  45. package/dist/src/id/index.js.map +1 -1
  46. package/dist/src/index.d.ts +14 -17
  47. package/dist/src/index.d.ts.map +1 -1
  48. package/dist/src/index.js +8 -10
  49. package/dist/src/index.js.map +1 -1
  50. package/dist/src/integration-export-registry.d.ts +2 -2
  51. package/dist/src/integration-export-registry.d.ts.map +1 -1
  52. package/dist/src/integration-registry.d.ts +1 -1
  53. package/dist/src/integration-registry.d.ts.map +1 -1
  54. package/dist/src/integration-registry.js +1 -0
  55. package/dist/src/integration-registry.js.map +1 -1
  56. package/dist/src/loader/fs-path.js +2 -2
  57. package/dist/src/loader/fs-path.js.map +1 -1
  58. package/dist/src/loader/graph.d.ts +2 -2
  59. package/dist/src/loader/graph.d.ts.map +1 -1
  60. package/dist/src/loader/graph.js +2 -2
  61. package/dist/src/loader/graph.js.map +1 -1
  62. package/dist/src/loader/index.d.ts +1 -1
  63. package/dist/src/loader/index.d.ts.map +1 -1
  64. package/dist/src/loader/index.js +5 -5
  65. package/dist/src/loader/index.js.map +1 -1
  66. package/dist/src/loader/resolver.js +1 -1
  67. package/dist/src/loader/resolver.js.map +1 -1
  68. package/dist/src/loader/runtime-cjs.d.ts.map +1 -1
  69. package/dist/src/loader/runtime-cjs.js +2 -2
  70. package/dist/src/loader/runtime-cjs.js.map +1 -1
  71. package/dist/src/loader/ts-utils.js +5 -5
  72. package/dist/src/loader/ts-utils.js.map +1 -1
  73. package/dist/src/model-to-narrative.specs.js +73 -98
  74. package/dist/src/model-to-narrative.specs.js.map +1 -1
  75. package/dist/src/narrative-context.d.ts +4 -4
  76. package/dist/src/narrative-context.d.ts.map +1 -1
  77. package/dist/src/narrative-context.js +2 -2
  78. package/dist/src/narrative-context.js.map +1 -1
  79. package/dist/src/narrative-context.specs.js +118 -3
  80. package/dist/src/narrative-context.specs.js.map +1 -1
  81. package/dist/src/narrative-registry.d.ts +1 -1
  82. package/dist/src/narrative-registry.d.ts.map +1 -1
  83. package/dist/src/narrative-registry.js +1 -1
  84. package/dist/src/narrative-registry.js.map +1 -1
  85. package/dist/src/narrative.d.ts +3 -3
  86. package/dist/src/narrative.d.ts.map +1 -1
  87. package/dist/src/narrative.js +15 -17
  88. package/dist/src/narrative.js.map +1 -1
  89. package/dist/src/node.d.ts +1 -1
  90. package/dist/src/node.d.ts.map +1 -1
  91. package/dist/src/node.js +1 -1
  92. package/dist/src/node.js.map +1 -1
  93. package/dist/src/samples/items.narrative.js +2 -2
  94. package/dist/src/samples/items.narrative.js.map +1 -1
  95. package/dist/src/samples/mixed-given-types.narrative.js +1 -1
  96. package/dist/src/samples/mixed-given-types.narrative.js.map +1 -1
  97. package/dist/src/samples/place-order.narrative.js +1 -1
  98. package/dist/src/samples/place-order.narrative.js.map +1 -1
  99. package/dist/src/samples/questionnaires.narrative.js +1 -1
  100. package/dist/src/samples/questionnaires.narrative.js.map +1 -1
  101. package/dist/src/samples/test-with-ids.narrative.js +1 -1
  102. package/dist/src/samples/test-with-ids.narrative.js.map +1 -1
  103. package/dist/src/schema-test.js +1 -1
  104. package/dist/src/schema-test.js.map +1 -1
  105. package/dist/src/schema.d.ts +264 -264
  106. package/dist/src/slice-builder.d.ts.map +1 -1
  107. package/dist/src/slice-builder.js +1 -1
  108. package/dist/src/slice-builder.js.map +1 -1
  109. package/dist/src/transformers/model-to-narrative/ast/emit-helpers.d.ts +1 -1
  110. package/dist/src/transformers/model-to-narrative/ast/emit-helpers.d.ts.map +1 -1
  111. package/dist/src/transformers/model-to-narrative/formatting/sort-types.js +1 -1
  112. package/dist/src/transformers/model-to-narrative/formatting/sort-types.js.map +1 -1
  113. package/dist/src/transformers/model-to-narrative/generators/compose.d.ts +1 -1
  114. package/dist/src/transformers/model-to-narrative/generators/compose.d.ts.map +1 -1
  115. package/dist/src/transformers/model-to-narrative/generators/compose.js +4 -4
  116. package/dist/src/transformers/model-to-narrative/generators/compose.js.map +1 -1
  117. package/dist/src/transformers/model-to-narrative/generators/flow.d.ts +1 -1
  118. package/dist/src/transformers/model-to-narrative/generators/flow.d.ts.map +1 -1
  119. package/dist/src/transformers/model-to-narrative/generators/flow.js.map +1 -1
  120. package/dist/src/transformers/model-to-narrative/generators/gwt.d.ts +1 -1
  121. package/dist/src/transformers/model-to-narrative/generators/gwt.d.ts.map +1 -1
  122. package/dist/src/transformers/model-to-narrative/generators/gwt.js +47 -57
  123. package/dist/src/transformers/model-to-narrative/generators/gwt.js.map +1 -1
  124. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.d.ts +2 -0
  125. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.d.ts.map +1 -0
  126. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.js +142 -0
  127. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.js.map +1 -0
  128. package/dist/src/transformers/model-to-narrative/generators/imports.d.ts +1 -1
  129. package/dist/src/transformers/model-to-narrative/generators/imports.d.ts.map +1 -1
  130. package/dist/src/transformers/model-to-narrative/generators/imports.js +0 -4
  131. package/dist/src/transformers/model-to-narrative/generators/imports.js.map +1 -1
  132. package/dist/src/transformers/model-to-narrative/generators/types.d.ts +1 -1
  133. package/dist/src/transformers/model-to-narrative/generators/types.d.ts.map +1 -1
  134. package/dist/src/transformers/model-to-narrative/index.d.ts +1 -1
  135. package/dist/src/transformers/model-to-narrative/index.d.ts.map +1 -1
  136. package/dist/src/transformers/model-to-narrative/index.js +1 -1
  137. package/dist/src/transformers/model-to-narrative/index.js.map +1 -1
  138. package/dist/src/transformers/narrative-to-model/assemble.d.ts +1 -1
  139. package/dist/src/transformers/narrative-to-model/assemble.d.ts.map +1 -1
  140. package/dist/src/transformers/narrative-to-model/example-shapes.d.ts +1 -1
  141. package/dist/src/transformers/narrative-to-model/example-shapes.d.ts.map +1 -1
  142. package/dist/src/transformers/narrative-to-model/index.d.ts +2 -2
  143. package/dist/src/transformers/narrative-to-model/index.d.ts.map +1 -1
  144. package/dist/src/transformers/narrative-to-model/index.js +5 -5
  145. package/dist/src/transformers/narrative-to-model/index.js.map +1 -1
  146. package/dist/src/transformers/narrative-to-model/inlining.d.ts +2 -2
  147. package/dist/src/transformers/narrative-to-model/inlining.d.ts.map +1 -1
  148. package/dist/src/transformers/narrative-to-model/integrations.d.ts +2 -2
  149. package/dist/src/transformers/narrative-to-model/integrations.d.ts.map +1 -1
  150. package/dist/src/transformers/narrative-to-model/integrations.js +3 -3
  151. package/dist/src/transformers/narrative-to-model/integrations.js.map +1 -1
  152. package/dist/src/transformers/narrative-to-model/messages.d.ts +2 -2
  153. package/dist/src/transformers/narrative-to-model/messages.d.ts.map +1 -1
  154. package/dist/src/transformers/narrative-to-model/messages.js +1 -1
  155. package/dist/src/transformers/narrative-to-model/messages.js.map +1 -1
  156. package/dist/src/transformers/narrative-to-model/normalize.d.ts +1 -1
  157. package/dist/src/transformers/narrative-to-model/normalize.d.ts.map +1 -1
  158. package/dist/src/transformers/narrative-to-model/spec-processors.d.ts +3 -3
  159. package/dist/src/transformers/narrative-to-model/spec-processors.d.ts.map +1 -1
  160. package/dist/src/transformers/narrative-to-model/spec-processors.js +2 -2
  161. package/dist/src/transformers/narrative-to-model/spec-processors.js.map +1 -1
  162. package/dist/src/transformers/narrative-to-model/type-inference.d.ts +1 -1
  163. package/dist/src/transformers/narrative-to-model/type-inference.d.ts.map +1 -1
  164. package/dist/src/transformers/narrative-to-model/type-inference.js +1 -1
  165. package/dist/src/transformers/narrative-to-model/type-inference.js.map +1 -1
  166. package/dist/src/transformers/narrative-to-model/type-inference.specs.js +1 -1
  167. package/dist/src/transformers/narrative-to-model/type-inference.specs.js.map +1 -1
  168. package/dist/src/transformers/narrative-to-model/zod-adapter.d.ts +2 -2
  169. package/dist/src/transformers/narrative-to-model/zod-adapter.d.ts.map +1 -1
  170. package/dist/src/types.d.ts +1 -1
  171. package/dist/src/types.d.ts.map +1 -1
  172. package/dist/tsconfig.tsbuildinfo +1 -1
  173. package/package.json +5 -12
  174. package/scripts/convert-flow-exec.ts +2 -2
  175. package/scripts/convert-flow-helper.ts +3 -4
  176. package/scripts/convert-flow.ts +4 -4
  177. package/scripts/print-schema.ts +2 -2
  178. package/src/commands/export-schema-helper.ts +10 -12
  179. package/src/commands/export-schema.ts +45 -69
  180. package/src/data-narrative-builders.ts +8 -11
  181. package/src/fluent-builder.specs.ts +2 -2
  182. package/src/fluent-builder.ts +6 -6
  183. package/src/getNarratives.cache.specs.ts +6 -6
  184. package/src/getNarratives.specs.ts +6 -6
  185. package/src/getNarratives.ts +13 -5
  186. package/src/id/addAutoIds.specs.ts +2 -2
  187. package/src/id/addAutoIds.ts +1 -1
  188. package/src/id/hasAllIds.specs.ts +1 -1
  189. package/src/id/hasAllIds.ts +1 -1
  190. package/src/id/index.ts +1 -1
  191. package/src/index.ts +61 -54
  192. package/src/integration-export-registry.ts +2 -2
  193. package/src/integration-registry.ts +2 -1
  194. package/src/loader/fs-path.ts +2 -2
  195. package/src/loader/graph.ts +9 -9
  196. package/src/loader/index.ts +7 -7
  197. package/src/loader/resolver.ts +1 -1
  198. package/src/loader/runtime-cjs.ts +3 -3
  199. package/src/loader/ts-utils.ts +5 -5
  200. package/src/model-to-narrative.specs.ts +76 -99
  201. package/src/narrative-context.specs.ts +138 -4
  202. package/src/narrative-context.ts +6 -7
  203. package/src/narrative-registry.ts +2 -2
  204. package/src/narrative.ts +27 -33
  205. package/src/node.ts +1 -2
  206. package/src/samples/items.narrative.ts +3 -3
  207. package/src/samples/mixed-given-types.narrative.ts +2 -2
  208. package/src/samples/place-order.narrative.ts +1 -1
  209. package/src/samples/questionnaires.narrative.ts +10 -10
  210. package/src/samples/test-with-ids.narrative.ts +2 -2
  211. package/src/schema-test.ts +1 -1
  212. package/src/slice-builder.ts +2 -2
  213. package/src/transformers/model-to-narrative/ast/emit-helpers.ts +1 -1
  214. package/src/transformers/model-to-narrative/formatting/sort-types.ts +1 -1
  215. package/src/transformers/model-to-narrative/generators/compose.ts +5 -5
  216. package/src/transformers/model-to-narrative/generators/flow.ts +9 -9
  217. package/src/transformers/model-to-narrative/generators/gwt.specs.ts +157 -0
  218. package/src/transformers/model-to-narrative/generators/gwt.ts +80 -122
  219. package/src/transformers/model-to-narrative/generators/imports.ts +0 -4
  220. package/src/transformers/model-to-narrative/generators/types.ts +1 -1
  221. package/src/transformers/model-to-narrative/index.ts +2 -2
  222. package/src/transformers/narrative-to-model/assemble.ts +1 -1
  223. package/src/transformers/narrative-to-model/example-shapes.ts +1 -1
  224. package/src/transformers/narrative-to-model/index.ts +7 -7
  225. package/src/transformers/narrative-to-model/inlining.ts +2 -2
  226. package/src/transformers/narrative-to-model/integrations.ts +5 -5
  227. package/src/transformers/narrative-to-model/messages.ts +3 -3
  228. package/src/transformers/narrative-to-model/normalize.ts +1 -1
  229. package/src/transformers/narrative-to-model/spec-processors.ts +4 -4
  230. package/src/transformers/narrative-to-model/type-inference.specs.ts +2 -2
  231. package/src/transformers/narrative-to-model/type-inference.ts +2 -2
  232. package/src/transformers/narrative-to-model/zod-adapter.ts +2 -2
  233. package/src/types.ts +1 -1
  234. package/dist/src/commands/export-schema-runner.d.ts +0 -3
  235. package/dist/src/commands/export-schema-runner.d.ts.map +0 -1
  236. package/dist/src/commands/export-schema-runner.js +0 -53
  237. package/dist/src/commands/export-schema-runner.js.map +0 -1
  238. package/eslint.config.ts +0 -12
  239. package/src/commands/export-schema-runner.ts +0 -74
@@ -17,11 +17,11 @@ export declare const MessageTargetSchema: z.ZodObject<{
17
17
  name: z.ZodString;
18
18
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19
19
  }, "strip", z.ZodTypeAny, {
20
- type: "Event" | "Command" | "State";
20
+ type: "Command" | "Event" | "State";
21
21
  name: string;
22
22
  fields?: Record<string, unknown> | undefined;
23
23
  }, {
24
- type: "Event" | "Command" | "State";
24
+ type: "Command" | "Event" | "State";
25
25
  name: string;
26
26
  fields?: Record<string, unknown> | undefined;
27
27
  }>;
@@ -144,11 +144,11 @@ declare const DataSinkSchema: z.ZodObject<{
144
144
  name: z.ZodString;
145
145
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
146
146
  }, "strip", z.ZodTypeAny, {
147
- type: "Event" | "Command" | "State";
147
+ type: "Command" | "Event" | "State";
148
148
  name: string;
149
149
  fields?: Record<string, unknown> | undefined;
150
150
  }, {
151
- type: "Event" | "Command" | "State";
151
+ type: "Command" | "Event" | "State";
152
152
  name: string;
153
153
  fields?: Record<string, unknown> | undefined;
154
154
  }>;
@@ -215,11 +215,11 @@ declare const DataSinkSchema: z.ZodObject<{
215
215
  name: z.ZodString;
216
216
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
217
217
  }, "strip", z.ZodTypeAny, {
218
- type: "Event" | "Command" | "State";
218
+ type: "Command" | "Event" | "State";
219
219
  name: string;
220
220
  fields?: Record<string, unknown> | undefined;
221
221
  }, {
222
- type: "Event" | "Command" | "State";
222
+ type: "Command" | "Event" | "State";
223
223
  name: string;
224
224
  fields?: Record<string, unknown> | undefined;
225
225
  }>;
@@ -285,7 +285,7 @@ declare const DataSinkSchema: z.ZodObject<{
285
285
  _additionalInstructions: z.ZodOptional<z.ZodString>;
286
286
  }, "strip", z.ZodTypeAny, {
287
287
  target: {
288
- type: "Event" | "Command" | "State";
288
+ type: "Command" | "Event" | "State";
289
289
  name: string;
290
290
  fields?: Record<string, unknown> | undefined;
291
291
  };
@@ -313,7 +313,7 @@ declare const DataSinkSchema: z.ZodObject<{
313
313
  _additionalInstructions?: string | undefined;
314
314
  }, {
315
315
  target: {
316
- type: "Event" | "Command" | "State";
316
+ type: "Command" | "Event" | "State";
317
317
  name: string;
318
318
  fields?: Record<string, unknown> | undefined;
319
319
  };
@@ -342,7 +342,7 @@ declare const DataSinkSchema: z.ZodObject<{
342
342
  }>>>;
343
343
  }, "strip", z.ZodTypeAny, {
344
344
  target: {
345
- type: "Event" | "Command" | "State";
345
+ type: "Command" | "Event" | "State";
346
346
  name: string;
347
347
  fields?: Record<string, unknown> | undefined;
348
348
  };
@@ -367,7 +367,7 @@ declare const DataSinkSchema: z.ZodObject<{
367
367
  _additionalInstructions?: string | undefined;
368
368
  _withState?: {
369
369
  target: {
370
- type: "Event" | "Command" | "State";
370
+ type: "Command" | "Event" | "State";
371
371
  name: string;
372
372
  fields?: Record<string, unknown> | undefined;
373
373
  };
@@ -396,7 +396,7 @@ declare const DataSinkSchema: z.ZodObject<{
396
396
  } | undefined;
397
397
  }, {
398
398
  target: {
399
- type: "Event" | "Command" | "State";
399
+ type: "Command" | "Event" | "State";
400
400
  name: string;
401
401
  fields?: Record<string, unknown> | undefined;
402
402
  };
@@ -421,7 +421,7 @@ declare const DataSinkSchema: z.ZodObject<{
421
421
  _additionalInstructions?: string | undefined;
422
422
  _withState?: {
423
423
  target: {
424
- type: "Event" | "Command" | "State";
424
+ type: "Command" | "Event" | "State";
425
425
  name: string;
426
426
  fields?: Record<string, unknown> | undefined;
427
427
  };
@@ -455,11 +455,11 @@ declare const DataSourceSchema: z.ZodObject<{
455
455
  name: z.ZodString;
456
456
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
457
457
  }, "strip", z.ZodTypeAny, {
458
- type: "Event" | "Command" | "State";
458
+ type: "Command" | "Event" | "State";
459
459
  name: string;
460
460
  fields?: Record<string, unknown> | undefined;
461
461
  }, {
462
- type: "Event" | "Command" | "State";
462
+ type: "Command" | "Event" | "State";
463
463
  name: string;
464
464
  fields?: Record<string, unknown> | undefined;
465
465
  }>;
@@ -525,7 +525,7 @@ declare const DataSourceSchema: z.ZodObject<{
525
525
  _additionalInstructions: z.ZodOptional<z.ZodString>;
526
526
  }, "strip", z.ZodTypeAny, {
527
527
  target: {
528
- type: "Event" | "Command" | "State";
528
+ type: "Command" | "Event" | "State";
529
529
  name: string;
530
530
  fields?: Record<string, unknown> | undefined;
531
531
  };
@@ -553,7 +553,7 @@ declare const DataSourceSchema: z.ZodObject<{
553
553
  _additionalInstructions?: string | undefined;
554
554
  }, {
555
555
  target: {
556
- type: "Event" | "Command" | "State";
556
+ type: "Command" | "Event" | "State";
557
557
  name: string;
558
558
  fields?: Record<string, unknown> | undefined;
559
559
  };
@@ -692,8 +692,8 @@ declare const EventSchema: z.ZodObject<{
692
692
  type: z.ZodLiteral<"event">;
693
693
  source: z.ZodDefault<z.ZodEnum<["internal", "external"]>>;
694
694
  }, "strip", z.ZodTypeAny, {
695
- source: "internal" | "external";
696
695
  type: "event";
696
+ source: "internal" | "external";
697
697
  name: string;
698
698
  fields: {
699
699
  type: string;
@@ -874,8 +874,8 @@ declare const MessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
874
874
  type: z.ZodLiteral<"event">;
875
875
  source: z.ZodDefault<z.ZodEnum<["internal", "external"]>>;
876
876
  }, "strip", z.ZodTypeAny, {
877
- source: "internal" | "external";
878
877
  type: "event";
878
+ source: "internal" | "external";
879
879
  name: string;
880
880
  fields: {
881
881
  type: string;
@@ -1477,11 +1477,11 @@ declare const CommandSliceSchema: z.ZodObject<{
1477
1477
  name: z.ZodString;
1478
1478
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1479
1479
  }, "strip", z.ZodTypeAny, {
1480
- type: "Event" | "Command" | "State";
1480
+ type: "Command" | "Event" | "State";
1481
1481
  name: string;
1482
1482
  fields?: Record<string, unknown> | undefined;
1483
1483
  }, {
1484
- type: "Event" | "Command" | "State";
1484
+ type: "Command" | "Event" | "State";
1485
1485
  name: string;
1486
1486
  fields?: Record<string, unknown> | undefined;
1487
1487
  }>;
@@ -1548,11 +1548,11 @@ declare const CommandSliceSchema: z.ZodObject<{
1548
1548
  name: z.ZodString;
1549
1549
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1550
1550
  }, "strip", z.ZodTypeAny, {
1551
- type: "Event" | "Command" | "State";
1551
+ type: "Command" | "Event" | "State";
1552
1552
  name: string;
1553
1553
  fields?: Record<string, unknown> | undefined;
1554
1554
  }, {
1555
- type: "Event" | "Command" | "State";
1555
+ type: "Command" | "Event" | "State";
1556
1556
  name: string;
1557
1557
  fields?: Record<string, unknown> | undefined;
1558
1558
  }>;
@@ -1618,7 +1618,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1618
1618
  _additionalInstructions: z.ZodOptional<z.ZodString>;
1619
1619
  }, "strip", z.ZodTypeAny, {
1620
1620
  target: {
1621
- type: "Event" | "Command" | "State";
1621
+ type: "Command" | "Event" | "State";
1622
1622
  name: string;
1623
1623
  fields?: Record<string, unknown> | undefined;
1624
1624
  };
@@ -1646,7 +1646,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1646
1646
  _additionalInstructions?: string | undefined;
1647
1647
  }, {
1648
1648
  target: {
1649
- type: "Event" | "Command" | "State";
1649
+ type: "Command" | "Event" | "State";
1650
1650
  name: string;
1651
1651
  fields?: Record<string, unknown> | undefined;
1652
1652
  };
@@ -1675,7 +1675,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1675
1675
  }>>>;
1676
1676
  }, "strip", z.ZodTypeAny, {
1677
1677
  target: {
1678
- type: "Event" | "Command" | "State";
1678
+ type: "Command" | "Event" | "State";
1679
1679
  name: string;
1680
1680
  fields?: Record<string, unknown> | undefined;
1681
1681
  };
@@ -1700,7 +1700,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1700
1700
  _additionalInstructions?: string | undefined;
1701
1701
  _withState?: {
1702
1702
  target: {
1703
- type: "Event" | "Command" | "State";
1703
+ type: "Command" | "Event" | "State";
1704
1704
  name: string;
1705
1705
  fields?: Record<string, unknown> | undefined;
1706
1706
  };
@@ -1729,7 +1729,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1729
1729
  } | undefined;
1730
1730
  }, {
1731
1731
  target: {
1732
- type: "Event" | "Command" | "State";
1732
+ type: "Command" | "Event" | "State";
1733
1733
  name: string;
1734
1734
  fields?: Record<string, unknown> | undefined;
1735
1735
  };
@@ -1754,7 +1754,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1754
1754
  _additionalInstructions?: string | undefined;
1755
1755
  _withState?: {
1756
1756
  target: {
1757
- type: "Event" | "Command" | "State";
1757
+ type: "Command" | "Event" | "State";
1758
1758
  name: string;
1759
1759
  fields?: Record<string, unknown> | undefined;
1760
1760
  };
@@ -1990,7 +1990,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1990
1990
  }[];
1991
1991
  data?: {
1992
1992
  target: {
1993
- type: "Event" | "Command" | "State";
1993
+ type: "Command" | "Event" | "State";
1994
1994
  name: string;
1995
1995
  fields?: Record<string, unknown> | undefined;
1996
1996
  };
@@ -2015,7 +2015,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2015
2015
  _additionalInstructions?: string | undefined;
2016
2016
  _withState?: {
2017
2017
  target: {
2018
- type: "Event" | "Command" | "State";
2018
+ type: "Command" | "Event" | "State";
2019
2019
  name: string;
2020
2020
  fields?: Record<string, unknown> | undefined;
2021
2021
  };
@@ -2073,7 +2073,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2073
2073
  }[];
2074
2074
  data?: {
2075
2075
  target: {
2076
- type: "Event" | "Command" | "State";
2076
+ type: "Command" | "Event" | "State";
2077
2077
  name: string;
2078
2078
  fields?: Record<string, unknown> | undefined;
2079
2079
  };
@@ -2098,7 +2098,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2098
2098
  _additionalInstructions?: string | undefined;
2099
2099
  _withState?: {
2100
2100
  target: {
2101
- type: "Event" | "Command" | "State";
2101
+ type: "Command" | "Event" | "State";
2102
2102
  name: string;
2103
2103
  fields?: Record<string, unknown> | undefined;
2104
2104
  };
@@ -2163,7 +2163,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2163
2163
  }[];
2164
2164
  data?: {
2165
2165
  target: {
2166
- type: "Event" | "Command" | "State";
2166
+ type: "Command" | "Event" | "State";
2167
2167
  name: string;
2168
2168
  fields?: Record<string, unknown> | undefined;
2169
2169
  };
@@ -2188,7 +2188,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2188
2188
  _additionalInstructions?: string | undefined;
2189
2189
  _withState?: {
2190
2190
  target: {
2191
- type: "Event" | "Command" | "State";
2191
+ type: "Command" | "Event" | "State";
2192
2192
  name: string;
2193
2193
  fields?: Record<string, unknown> | undefined;
2194
2194
  };
@@ -2259,7 +2259,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2259
2259
  }[];
2260
2260
  data?: {
2261
2261
  target: {
2262
- type: "Event" | "Command" | "State";
2262
+ type: "Command" | "Event" | "State";
2263
2263
  name: string;
2264
2264
  fields?: Record<string, unknown> | undefined;
2265
2265
  };
@@ -2284,7 +2284,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2284
2284
  _additionalInstructions?: string | undefined;
2285
2285
  _withState?: {
2286
2286
  target: {
2287
- type: "Event" | "Command" | "State";
2287
+ type: "Command" | "Event" | "State";
2288
2288
  name: string;
2289
2289
  fields?: Record<string, unknown> | undefined;
2290
2290
  };
@@ -2345,11 +2345,11 @@ declare const QuerySliceSchema: z.ZodObject<{
2345
2345
  name: z.ZodString;
2346
2346
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2347
2347
  }, "strip", z.ZodTypeAny, {
2348
- type: "Event" | "Command" | "State";
2348
+ type: "Command" | "Event" | "State";
2349
2349
  name: string;
2350
2350
  fields?: Record<string, unknown> | undefined;
2351
2351
  }, {
2352
- type: "Event" | "Command" | "State";
2352
+ type: "Command" | "Event" | "State";
2353
2353
  name: string;
2354
2354
  fields?: Record<string, unknown> | undefined;
2355
2355
  }>;
@@ -2415,7 +2415,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2415
2415
  _additionalInstructions: z.ZodOptional<z.ZodString>;
2416
2416
  }, "strip", z.ZodTypeAny, {
2417
2417
  target: {
2418
- type: "Event" | "Command" | "State";
2418
+ type: "Command" | "Event" | "State";
2419
2419
  name: string;
2420
2420
  fields?: Record<string, unknown> | undefined;
2421
2421
  };
@@ -2443,7 +2443,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2443
2443
  _additionalInstructions?: string | undefined;
2444
2444
  }, {
2445
2445
  target: {
2446
- type: "Event" | "Command" | "State";
2446
+ type: "Command" | "Event" | "State";
2447
2447
  name: string;
2448
2448
  fields?: Record<string, unknown> | undefined;
2449
2449
  };
@@ -2678,7 +2678,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2678
2678
  }[];
2679
2679
  data?: {
2680
2680
  target: {
2681
- type: "Event" | "Command" | "State";
2681
+ type: "Command" | "Event" | "State";
2682
2682
  name: string;
2683
2683
  fields?: Record<string, unknown> | undefined;
2684
2684
  };
@@ -2735,7 +2735,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2735
2735
  }[];
2736
2736
  data?: {
2737
2737
  target: {
2738
- type: "Event" | "Command" | "State";
2738
+ type: "Command" | "Event" | "State";
2739
2739
  name: string;
2740
2740
  fields?: Record<string, unknown> | undefined;
2741
2741
  };
@@ -2799,7 +2799,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2799
2799
  }[];
2800
2800
  data?: {
2801
2801
  target: {
2802
- type: "Event" | "Command" | "State";
2802
+ type: "Command" | "Event" | "State";
2803
2803
  name: string;
2804
2804
  fields?: Record<string, unknown> | undefined;
2805
2805
  };
@@ -2869,7 +2869,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2869
2869
  }[];
2870
2870
  data?: {
2871
2871
  target: {
2872
- type: "Event" | "Command" | "State";
2872
+ type: "Command" | "Event" | "State";
2873
2873
  name: string;
2874
2874
  fields?: Record<string, unknown> | undefined;
2875
2875
  };
@@ -2921,11 +2921,11 @@ declare const ReactSliceSchema: z.ZodObject<{
2921
2921
  name: z.ZodString;
2922
2922
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2923
2923
  }, "strip", z.ZodTypeAny, {
2924
- type: "Event" | "Command" | "State";
2924
+ type: "Command" | "Event" | "State";
2925
2925
  name: string;
2926
2926
  fields?: Record<string, unknown> | undefined;
2927
2927
  }, {
2928
- type: "Event" | "Command" | "State";
2928
+ type: "Command" | "Event" | "State";
2929
2929
  name: string;
2930
2930
  fields?: Record<string, unknown> | undefined;
2931
2931
  }>;
@@ -2992,11 +2992,11 @@ declare const ReactSliceSchema: z.ZodObject<{
2992
2992
  name: z.ZodString;
2993
2993
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2994
2994
  }, "strip", z.ZodTypeAny, {
2995
- type: "Event" | "Command" | "State";
2995
+ type: "Command" | "Event" | "State";
2996
2996
  name: string;
2997
2997
  fields?: Record<string, unknown> | undefined;
2998
2998
  }, {
2999
- type: "Event" | "Command" | "State";
2999
+ type: "Command" | "Event" | "State";
3000
3000
  name: string;
3001
3001
  fields?: Record<string, unknown> | undefined;
3002
3002
  }>;
@@ -3062,7 +3062,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3062
3062
  _additionalInstructions: z.ZodOptional<z.ZodString>;
3063
3063
  }, "strip", z.ZodTypeAny, {
3064
3064
  target: {
3065
- type: "Event" | "Command" | "State";
3065
+ type: "Command" | "Event" | "State";
3066
3066
  name: string;
3067
3067
  fields?: Record<string, unknown> | undefined;
3068
3068
  };
@@ -3090,7 +3090,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3090
3090
  _additionalInstructions?: string | undefined;
3091
3091
  }, {
3092
3092
  target: {
3093
- type: "Event" | "Command" | "State";
3093
+ type: "Command" | "Event" | "State";
3094
3094
  name: string;
3095
3095
  fields?: Record<string, unknown> | undefined;
3096
3096
  };
@@ -3119,7 +3119,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3119
3119
  }>>>;
3120
3120
  }, "strip", z.ZodTypeAny, {
3121
3121
  target: {
3122
- type: "Event" | "Command" | "State";
3122
+ type: "Command" | "Event" | "State";
3123
3123
  name: string;
3124
3124
  fields?: Record<string, unknown> | undefined;
3125
3125
  };
@@ -3144,7 +3144,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3144
3144
  _additionalInstructions?: string | undefined;
3145
3145
  _withState?: {
3146
3146
  target: {
3147
- type: "Event" | "Command" | "State";
3147
+ type: "Command" | "Event" | "State";
3148
3148
  name: string;
3149
3149
  fields?: Record<string, unknown> | undefined;
3150
3150
  };
@@ -3173,7 +3173,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3173
3173
  } | undefined;
3174
3174
  }, {
3175
3175
  target: {
3176
- type: "Event" | "Command" | "State";
3176
+ type: "Command" | "Event" | "State";
3177
3177
  name: string;
3178
3178
  fields?: Record<string, unknown> | undefined;
3179
3179
  };
@@ -3198,7 +3198,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3198
3198
  _additionalInstructions?: string | undefined;
3199
3199
  _withState?: {
3200
3200
  target: {
3201
- type: "Event" | "Command" | "State";
3201
+ type: "Command" | "Event" | "State";
3202
3202
  name: string;
3203
3203
  fields?: Record<string, unknown> | undefined;
3204
3204
  };
@@ -3231,11 +3231,11 @@ declare const ReactSliceSchema: z.ZodObject<{
3231
3231
  name: z.ZodString;
3232
3232
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3233
3233
  }, "strip", z.ZodTypeAny, {
3234
- type: "Event" | "Command" | "State";
3234
+ type: "Command" | "Event" | "State";
3235
3235
  name: string;
3236
3236
  fields?: Record<string, unknown> | undefined;
3237
3237
  }, {
3238
- type: "Event" | "Command" | "State";
3238
+ type: "Command" | "Event" | "State";
3239
3239
  name: string;
3240
3240
  fields?: Record<string, unknown> | undefined;
3241
3241
  }>;
@@ -3301,7 +3301,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3301
3301
  _additionalInstructions: z.ZodOptional<z.ZodString>;
3302
3302
  }, "strip", z.ZodTypeAny, {
3303
3303
  target: {
3304
- type: "Event" | "Command" | "State";
3304
+ type: "Command" | "Event" | "State";
3305
3305
  name: string;
3306
3306
  fields?: Record<string, unknown> | undefined;
3307
3307
  };
@@ -3329,7 +3329,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3329
3329
  _additionalInstructions?: string | undefined;
3330
3330
  }, {
3331
3331
  target: {
3332
- type: "Event" | "Command" | "State";
3332
+ type: "Command" | "Event" | "State";
3333
3333
  name: string;
3334
3334
  fields?: Record<string, unknown> | undefined;
3335
3335
  };
@@ -3563,7 +3563,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3563
3563
  }[];
3564
3564
  data?: ({
3565
3565
  target: {
3566
- type: "Event" | "Command" | "State";
3566
+ type: "Command" | "Event" | "State";
3567
3567
  name: string;
3568
3568
  fields?: Record<string, unknown> | undefined;
3569
3569
  };
@@ -3591,7 +3591,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3591
3591
  _additionalInstructions?: string | undefined;
3592
3592
  } | {
3593
3593
  target: {
3594
- type: "Event" | "Command" | "State";
3594
+ type: "Command" | "Event" | "State";
3595
3595
  name: string;
3596
3596
  fields?: Record<string, unknown> | undefined;
3597
3597
  };
@@ -3616,7 +3616,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3616
3616
  _additionalInstructions?: string | undefined;
3617
3617
  _withState?: {
3618
3618
  target: {
3619
- type: "Event" | "Command" | "State";
3619
+ type: "Command" | "Event" | "State";
3620
3620
  name: string;
3621
3621
  fields?: Record<string, unknown> | undefined;
3622
3622
  };
@@ -3674,7 +3674,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3674
3674
  }[];
3675
3675
  data?: ({
3676
3676
  target: {
3677
- type: "Event" | "Command" | "State";
3677
+ type: "Command" | "Event" | "State";
3678
3678
  name: string;
3679
3679
  fields?: Record<string, unknown> | undefined;
3680
3680
  };
@@ -3702,7 +3702,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3702
3702
  _additionalInstructions?: string | undefined;
3703
3703
  } | {
3704
3704
  target: {
3705
- type: "Event" | "Command" | "State";
3705
+ type: "Command" | "Event" | "State";
3706
3706
  name: string;
3707
3707
  fields?: Record<string, unknown> | undefined;
3708
3708
  };
@@ -3727,7 +3727,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3727
3727
  _additionalInstructions?: string | undefined;
3728
3728
  _withState?: {
3729
3729
  target: {
3730
- type: "Event" | "Command" | "State";
3730
+ type: "Command" | "Event" | "State";
3731
3731
  name: string;
3732
3732
  fields?: Record<string, unknown> | undefined;
3733
3733
  };
@@ -3789,7 +3789,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3789
3789
  }[];
3790
3790
  data?: ({
3791
3791
  target: {
3792
- type: "Event" | "Command" | "State";
3792
+ type: "Command" | "Event" | "State";
3793
3793
  name: string;
3794
3794
  fields?: Record<string, unknown> | undefined;
3795
3795
  };
@@ -3817,7 +3817,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3817
3817
  _additionalInstructions?: string | undefined;
3818
3818
  } | {
3819
3819
  target: {
3820
- type: "Event" | "Command" | "State";
3820
+ type: "Command" | "Event" | "State";
3821
3821
  name: string;
3822
3822
  fields?: Record<string, unknown> | undefined;
3823
3823
  };
@@ -3842,7 +3842,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3842
3842
  _additionalInstructions?: string | undefined;
3843
3843
  _withState?: {
3844
3844
  target: {
3845
- type: "Event" | "Command" | "State";
3845
+ type: "Command" | "Event" | "State";
3846
3846
  name: string;
3847
3847
  fields?: Record<string, unknown> | undefined;
3848
3848
  };
@@ -3909,7 +3909,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3909
3909
  }[];
3910
3910
  data?: ({
3911
3911
  target: {
3912
- type: "Event" | "Command" | "State";
3912
+ type: "Command" | "Event" | "State";
3913
3913
  name: string;
3914
3914
  fields?: Record<string, unknown> | undefined;
3915
3915
  };
@@ -3937,7 +3937,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3937
3937
  _additionalInstructions?: string | undefined;
3938
3938
  } | {
3939
3939
  target: {
3940
- type: "Event" | "Command" | "State";
3940
+ type: "Command" | "Event" | "State";
3941
3941
  name: string;
3942
3942
  fields?: Record<string, unknown> | undefined;
3943
3943
  };
@@ -3962,7 +3962,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3962
3962
  _additionalInstructions?: string | undefined;
3963
3963
  _withState?: {
3964
3964
  target: {
3965
- type: "Event" | "Command" | "State";
3965
+ type: "Command" | "Event" | "State";
3966
3966
  name: string;
3967
3967
  fields?: Record<string, unknown> | undefined;
3968
3968
  };
@@ -4062,11 +4062,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4062
4062
  name: z.ZodString;
4063
4063
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4064
4064
  }, "strip", z.ZodTypeAny, {
4065
- type: "Event" | "Command" | "State";
4065
+ type: "Command" | "Event" | "State";
4066
4066
  name: string;
4067
4067
  fields?: Record<string, unknown> | undefined;
4068
4068
  }, {
4069
- type: "Event" | "Command" | "State";
4069
+ type: "Command" | "Event" | "State";
4070
4070
  name: string;
4071
4071
  fields?: Record<string, unknown> | undefined;
4072
4072
  }>;
@@ -4133,11 +4133,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4133
4133
  name: z.ZodString;
4134
4134
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4135
4135
  }, "strip", z.ZodTypeAny, {
4136
- type: "Event" | "Command" | "State";
4136
+ type: "Command" | "Event" | "State";
4137
4137
  name: string;
4138
4138
  fields?: Record<string, unknown> | undefined;
4139
4139
  }, {
4140
- type: "Event" | "Command" | "State";
4140
+ type: "Command" | "Event" | "State";
4141
4141
  name: string;
4142
4142
  fields?: Record<string, unknown> | undefined;
4143
4143
  }>;
@@ -4203,7 +4203,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4203
4203
  _additionalInstructions: z.ZodOptional<z.ZodString>;
4204
4204
  }, "strip", z.ZodTypeAny, {
4205
4205
  target: {
4206
- type: "Event" | "Command" | "State";
4206
+ type: "Command" | "Event" | "State";
4207
4207
  name: string;
4208
4208
  fields?: Record<string, unknown> | undefined;
4209
4209
  };
@@ -4231,7 +4231,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4231
4231
  _additionalInstructions?: string | undefined;
4232
4232
  }, {
4233
4233
  target: {
4234
- type: "Event" | "Command" | "State";
4234
+ type: "Command" | "Event" | "State";
4235
4235
  name: string;
4236
4236
  fields?: Record<string, unknown> | undefined;
4237
4237
  };
@@ -4260,7 +4260,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4260
4260
  }>>>;
4261
4261
  }, "strip", z.ZodTypeAny, {
4262
4262
  target: {
4263
- type: "Event" | "Command" | "State";
4263
+ type: "Command" | "Event" | "State";
4264
4264
  name: string;
4265
4265
  fields?: Record<string, unknown> | undefined;
4266
4266
  };
@@ -4285,7 +4285,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4285
4285
  _additionalInstructions?: string | undefined;
4286
4286
  _withState?: {
4287
4287
  target: {
4288
- type: "Event" | "Command" | "State";
4288
+ type: "Command" | "Event" | "State";
4289
4289
  name: string;
4290
4290
  fields?: Record<string, unknown> | undefined;
4291
4291
  };
@@ -4314,7 +4314,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4314
4314
  } | undefined;
4315
4315
  }, {
4316
4316
  target: {
4317
- type: "Event" | "Command" | "State";
4317
+ type: "Command" | "Event" | "State";
4318
4318
  name: string;
4319
4319
  fields?: Record<string, unknown> | undefined;
4320
4320
  };
@@ -4339,7 +4339,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4339
4339
  _additionalInstructions?: string | undefined;
4340
4340
  _withState?: {
4341
4341
  target: {
4342
- type: "Event" | "Command" | "State";
4342
+ type: "Command" | "Event" | "State";
4343
4343
  name: string;
4344
4344
  fields?: Record<string, unknown> | undefined;
4345
4345
  };
@@ -4575,7 +4575,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4575
4575
  }[];
4576
4576
  data?: {
4577
4577
  target: {
4578
- type: "Event" | "Command" | "State";
4578
+ type: "Command" | "Event" | "State";
4579
4579
  name: string;
4580
4580
  fields?: Record<string, unknown> | undefined;
4581
4581
  };
@@ -4600,7 +4600,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4600
4600
  _additionalInstructions?: string | undefined;
4601
4601
  _withState?: {
4602
4602
  target: {
4603
- type: "Event" | "Command" | "State";
4603
+ type: "Command" | "Event" | "State";
4604
4604
  name: string;
4605
4605
  fields?: Record<string, unknown> | undefined;
4606
4606
  };
@@ -4658,7 +4658,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4658
4658
  }[];
4659
4659
  data?: {
4660
4660
  target: {
4661
- type: "Event" | "Command" | "State";
4661
+ type: "Command" | "Event" | "State";
4662
4662
  name: string;
4663
4663
  fields?: Record<string, unknown> | undefined;
4664
4664
  };
@@ -4683,7 +4683,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4683
4683
  _additionalInstructions?: string | undefined;
4684
4684
  _withState?: {
4685
4685
  target: {
4686
- type: "Event" | "Command" | "State";
4686
+ type: "Command" | "Event" | "State";
4687
4687
  name: string;
4688
4688
  fields?: Record<string, unknown> | undefined;
4689
4689
  };
@@ -4748,7 +4748,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4748
4748
  }[];
4749
4749
  data?: {
4750
4750
  target: {
4751
- type: "Event" | "Command" | "State";
4751
+ type: "Command" | "Event" | "State";
4752
4752
  name: string;
4753
4753
  fields?: Record<string, unknown> | undefined;
4754
4754
  };
@@ -4773,7 +4773,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4773
4773
  _additionalInstructions?: string | undefined;
4774
4774
  _withState?: {
4775
4775
  target: {
4776
- type: "Event" | "Command" | "State";
4776
+ type: "Command" | "Event" | "State";
4777
4777
  name: string;
4778
4778
  fields?: Record<string, unknown> | undefined;
4779
4779
  };
@@ -4844,7 +4844,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4844
4844
  }[];
4845
4845
  data?: {
4846
4846
  target: {
4847
- type: "Event" | "Command" | "State";
4847
+ type: "Command" | "Event" | "State";
4848
4848
  name: string;
4849
4849
  fields?: Record<string, unknown> | undefined;
4850
4850
  };
@@ -4869,7 +4869,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4869
4869
  _additionalInstructions?: string | undefined;
4870
4870
  _withState?: {
4871
4871
  target: {
4872
- type: "Event" | "Command" | "State";
4872
+ type: "Command" | "Event" | "State";
4873
4873
  name: string;
4874
4874
  fields?: Record<string, unknown> | undefined;
4875
4875
  };
@@ -4929,11 +4929,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4929
4929
  name: z.ZodString;
4930
4930
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4931
4931
  }, "strip", z.ZodTypeAny, {
4932
- type: "Event" | "Command" | "State";
4932
+ type: "Command" | "Event" | "State";
4933
4933
  name: string;
4934
4934
  fields?: Record<string, unknown> | undefined;
4935
4935
  }, {
4936
- type: "Event" | "Command" | "State";
4936
+ type: "Command" | "Event" | "State";
4937
4937
  name: string;
4938
4938
  fields?: Record<string, unknown> | undefined;
4939
4939
  }>;
@@ -4999,7 +4999,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4999
4999
  _additionalInstructions: z.ZodOptional<z.ZodString>;
5000
5000
  }, "strip", z.ZodTypeAny, {
5001
5001
  target: {
5002
- type: "Event" | "Command" | "State";
5002
+ type: "Command" | "Event" | "State";
5003
5003
  name: string;
5004
5004
  fields?: Record<string, unknown> | undefined;
5005
5005
  };
@@ -5027,7 +5027,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5027
5027
  _additionalInstructions?: string | undefined;
5028
5028
  }, {
5029
5029
  target: {
5030
- type: "Event" | "Command" | "State";
5030
+ type: "Command" | "Event" | "State";
5031
5031
  name: string;
5032
5032
  fields?: Record<string, unknown> | undefined;
5033
5033
  };
@@ -5262,7 +5262,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5262
5262
  }[];
5263
5263
  data?: {
5264
5264
  target: {
5265
- type: "Event" | "Command" | "State";
5265
+ type: "Command" | "Event" | "State";
5266
5266
  name: string;
5267
5267
  fields?: Record<string, unknown> | undefined;
5268
5268
  };
@@ -5319,7 +5319,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5319
5319
  }[];
5320
5320
  data?: {
5321
5321
  target: {
5322
- type: "Event" | "Command" | "State";
5322
+ type: "Command" | "Event" | "State";
5323
5323
  name: string;
5324
5324
  fields?: Record<string, unknown> | undefined;
5325
5325
  };
@@ -5383,7 +5383,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5383
5383
  }[];
5384
5384
  data?: {
5385
5385
  target: {
5386
- type: "Event" | "Command" | "State";
5386
+ type: "Command" | "Event" | "State";
5387
5387
  name: string;
5388
5388
  fields?: Record<string, unknown> | undefined;
5389
5389
  };
@@ -5453,7 +5453,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5453
5453
  }[];
5454
5454
  data?: {
5455
5455
  target: {
5456
- type: "Event" | "Command" | "State";
5456
+ type: "Command" | "Event" | "State";
5457
5457
  name: string;
5458
5458
  fields?: Record<string, unknown> | undefined;
5459
5459
  };
@@ -5504,11 +5504,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5504
5504
  name: z.ZodString;
5505
5505
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5506
5506
  }, "strip", z.ZodTypeAny, {
5507
- type: "Event" | "Command" | "State";
5507
+ type: "Command" | "Event" | "State";
5508
5508
  name: string;
5509
5509
  fields?: Record<string, unknown> | undefined;
5510
5510
  }, {
5511
- type: "Event" | "Command" | "State";
5511
+ type: "Command" | "Event" | "State";
5512
5512
  name: string;
5513
5513
  fields?: Record<string, unknown> | undefined;
5514
5514
  }>;
@@ -5575,11 +5575,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5575
5575
  name: z.ZodString;
5576
5576
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5577
5577
  }, "strip", z.ZodTypeAny, {
5578
- type: "Event" | "Command" | "State";
5578
+ type: "Command" | "Event" | "State";
5579
5579
  name: string;
5580
5580
  fields?: Record<string, unknown> | undefined;
5581
5581
  }, {
5582
- type: "Event" | "Command" | "State";
5582
+ type: "Command" | "Event" | "State";
5583
5583
  name: string;
5584
5584
  fields?: Record<string, unknown> | undefined;
5585
5585
  }>;
@@ -5645,7 +5645,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5645
5645
  _additionalInstructions: z.ZodOptional<z.ZodString>;
5646
5646
  }, "strip", z.ZodTypeAny, {
5647
5647
  target: {
5648
- type: "Event" | "Command" | "State";
5648
+ type: "Command" | "Event" | "State";
5649
5649
  name: string;
5650
5650
  fields?: Record<string, unknown> | undefined;
5651
5651
  };
@@ -5673,7 +5673,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5673
5673
  _additionalInstructions?: string | undefined;
5674
5674
  }, {
5675
5675
  target: {
5676
- type: "Event" | "Command" | "State";
5676
+ type: "Command" | "Event" | "State";
5677
5677
  name: string;
5678
5678
  fields?: Record<string, unknown> | undefined;
5679
5679
  };
@@ -5702,7 +5702,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5702
5702
  }>>>;
5703
5703
  }, "strip", z.ZodTypeAny, {
5704
5704
  target: {
5705
- type: "Event" | "Command" | "State";
5705
+ type: "Command" | "Event" | "State";
5706
5706
  name: string;
5707
5707
  fields?: Record<string, unknown> | undefined;
5708
5708
  };
@@ -5727,7 +5727,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5727
5727
  _additionalInstructions?: string | undefined;
5728
5728
  _withState?: {
5729
5729
  target: {
5730
- type: "Event" | "Command" | "State";
5730
+ type: "Command" | "Event" | "State";
5731
5731
  name: string;
5732
5732
  fields?: Record<string, unknown> | undefined;
5733
5733
  };
@@ -5756,7 +5756,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5756
5756
  } | undefined;
5757
5757
  }, {
5758
5758
  target: {
5759
- type: "Event" | "Command" | "State";
5759
+ type: "Command" | "Event" | "State";
5760
5760
  name: string;
5761
5761
  fields?: Record<string, unknown> | undefined;
5762
5762
  };
@@ -5781,7 +5781,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5781
5781
  _additionalInstructions?: string | undefined;
5782
5782
  _withState?: {
5783
5783
  target: {
5784
- type: "Event" | "Command" | "State";
5784
+ type: "Command" | "Event" | "State";
5785
5785
  name: string;
5786
5786
  fields?: Record<string, unknown> | undefined;
5787
5787
  };
@@ -5814,11 +5814,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5814
5814
  name: z.ZodString;
5815
5815
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5816
5816
  }, "strip", z.ZodTypeAny, {
5817
- type: "Event" | "Command" | "State";
5817
+ type: "Command" | "Event" | "State";
5818
5818
  name: string;
5819
5819
  fields?: Record<string, unknown> | undefined;
5820
5820
  }, {
5821
- type: "Event" | "Command" | "State";
5821
+ type: "Command" | "Event" | "State";
5822
5822
  name: string;
5823
5823
  fields?: Record<string, unknown> | undefined;
5824
5824
  }>;
@@ -5884,7 +5884,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5884
5884
  _additionalInstructions: z.ZodOptional<z.ZodString>;
5885
5885
  }, "strip", z.ZodTypeAny, {
5886
5886
  target: {
5887
- type: "Event" | "Command" | "State";
5887
+ type: "Command" | "Event" | "State";
5888
5888
  name: string;
5889
5889
  fields?: Record<string, unknown> | undefined;
5890
5890
  };
@@ -5912,7 +5912,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5912
5912
  _additionalInstructions?: string | undefined;
5913
5913
  }, {
5914
5914
  target: {
5915
- type: "Event" | "Command" | "State";
5915
+ type: "Command" | "Event" | "State";
5916
5916
  name: string;
5917
5917
  fields?: Record<string, unknown> | undefined;
5918
5918
  };
@@ -6146,7 +6146,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6146
6146
  }[];
6147
6147
  data?: ({
6148
6148
  target: {
6149
- type: "Event" | "Command" | "State";
6149
+ type: "Command" | "Event" | "State";
6150
6150
  name: string;
6151
6151
  fields?: Record<string, unknown> | undefined;
6152
6152
  };
@@ -6174,7 +6174,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6174
6174
  _additionalInstructions?: string | undefined;
6175
6175
  } | {
6176
6176
  target: {
6177
- type: "Event" | "Command" | "State";
6177
+ type: "Command" | "Event" | "State";
6178
6178
  name: string;
6179
6179
  fields?: Record<string, unknown> | undefined;
6180
6180
  };
@@ -6199,7 +6199,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6199
6199
  _additionalInstructions?: string | undefined;
6200
6200
  _withState?: {
6201
6201
  target: {
6202
- type: "Event" | "Command" | "State";
6202
+ type: "Command" | "Event" | "State";
6203
6203
  name: string;
6204
6204
  fields?: Record<string, unknown> | undefined;
6205
6205
  };
@@ -6257,7 +6257,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6257
6257
  }[];
6258
6258
  data?: ({
6259
6259
  target: {
6260
- type: "Event" | "Command" | "State";
6260
+ type: "Command" | "Event" | "State";
6261
6261
  name: string;
6262
6262
  fields?: Record<string, unknown> | undefined;
6263
6263
  };
@@ -6285,7 +6285,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6285
6285
  _additionalInstructions?: string | undefined;
6286
6286
  } | {
6287
6287
  target: {
6288
- type: "Event" | "Command" | "State";
6288
+ type: "Command" | "Event" | "State";
6289
6289
  name: string;
6290
6290
  fields?: Record<string, unknown> | undefined;
6291
6291
  };
@@ -6310,7 +6310,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6310
6310
  _additionalInstructions?: string | undefined;
6311
6311
  _withState?: {
6312
6312
  target: {
6313
- type: "Event" | "Command" | "State";
6313
+ type: "Command" | "Event" | "State";
6314
6314
  name: string;
6315
6315
  fields?: Record<string, unknown> | undefined;
6316
6316
  };
@@ -6372,7 +6372,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6372
6372
  }[];
6373
6373
  data?: ({
6374
6374
  target: {
6375
- type: "Event" | "Command" | "State";
6375
+ type: "Command" | "Event" | "State";
6376
6376
  name: string;
6377
6377
  fields?: Record<string, unknown> | undefined;
6378
6378
  };
@@ -6400,7 +6400,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6400
6400
  _additionalInstructions?: string | undefined;
6401
6401
  } | {
6402
6402
  target: {
6403
- type: "Event" | "Command" | "State";
6403
+ type: "Command" | "Event" | "State";
6404
6404
  name: string;
6405
6405
  fields?: Record<string, unknown> | undefined;
6406
6406
  };
@@ -6425,7 +6425,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6425
6425
  _additionalInstructions?: string | undefined;
6426
6426
  _withState?: {
6427
6427
  target: {
6428
- type: "Event" | "Command" | "State";
6428
+ type: "Command" | "Event" | "State";
6429
6429
  name: string;
6430
6430
  fields?: Record<string, unknown> | undefined;
6431
6431
  };
@@ -6492,7 +6492,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6492
6492
  }[];
6493
6493
  data?: ({
6494
6494
  target: {
6495
- type: "Event" | "Command" | "State";
6495
+ type: "Command" | "Event" | "State";
6496
6496
  name: string;
6497
6497
  fields?: Record<string, unknown> | undefined;
6498
6498
  };
@@ -6520,7 +6520,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6520
6520
  _additionalInstructions?: string | undefined;
6521
6521
  } | {
6522
6522
  target: {
6523
- type: "Event" | "Command" | "State";
6523
+ type: "Command" | "Event" | "State";
6524
6524
  name: string;
6525
6525
  fields?: Record<string, unknown> | undefined;
6526
6526
  };
@@ -6545,7 +6545,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6545
6545
  _additionalInstructions?: string | undefined;
6546
6546
  _withState?: {
6547
6547
  target: {
6548
- type: "Event" | "Command" | "State";
6548
+ type: "Command" | "Event" | "State";
6549
6549
  name: string;
6550
6550
  fields?: Record<string, unknown> | undefined;
6551
6551
  };
@@ -6648,11 +6648,11 @@ declare const NarrativeSchema: z.ZodObject<{
6648
6648
  name: z.ZodString;
6649
6649
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6650
6650
  }, "strip", z.ZodTypeAny, {
6651
- type: "Event" | "Command" | "State";
6651
+ type: "Command" | "Event" | "State";
6652
6652
  name: string;
6653
6653
  fields?: Record<string, unknown> | undefined;
6654
6654
  }, {
6655
- type: "Event" | "Command" | "State";
6655
+ type: "Command" | "Event" | "State";
6656
6656
  name: string;
6657
6657
  fields?: Record<string, unknown> | undefined;
6658
6658
  }>;
@@ -6719,11 +6719,11 @@ declare const NarrativeSchema: z.ZodObject<{
6719
6719
  name: z.ZodString;
6720
6720
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6721
6721
  }, "strip", z.ZodTypeAny, {
6722
- type: "Event" | "Command" | "State";
6722
+ type: "Command" | "Event" | "State";
6723
6723
  name: string;
6724
6724
  fields?: Record<string, unknown> | undefined;
6725
6725
  }, {
6726
- type: "Event" | "Command" | "State";
6726
+ type: "Command" | "Event" | "State";
6727
6727
  name: string;
6728
6728
  fields?: Record<string, unknown> | undefined;
6729
6729
  }>;
@@ -6789,7 +6789,7 @@ declare const NarrativeSchema: z.ZodObject<{
6789
6789
  _additionalInstructions: z.ZodOptional<z.ZodString>;
6790
6790
  }, "strip", z.ZodTypeAny, {
6791
6791
  target: {
6792
- type: "Event" | "Command" | "State";
6792
+ type: "Command" | "Event" | "State";
6793
6793
  name: string;
6794
6794
  fields?: Record<string, unknown> | undefined;
6795
6795
  };
@@ -6817,7 +6817,7 @@ declare const NarrativeSchema: z.ZodObject<{
6817
6817
  _additionalInstructions?: string | undefined;
6818
6818
  }, {
6819
6819
  target: {
6820
- type: "Event" | "Command" | "State";
6820
+ type: "Command" | "Event" | "State";
6821
6821
  name: string;
6822
6822
  fields?: Record<string, unknown> | undefined;
6823
6823
  };
@@ -6846,7 +6846,7 @@ declare const NarrativeSchema: z.ZodObject<{
6846
6846
  }>>>;
6847
6847
  }, "strip", z.ZodTypeAny, {
6848
6848
  target: {
6849
- type: "Event" | "Command" | "State";
6849
+ type: "Command" | "Event" | "State";
6850
6850
  name: string;
6851
6851
  fields?: Record<string, unknown> | undefined;
6852
6852
  };
@@ -6871,7 +6871,7 @@ declare const NarrativeSchema: z.ZodObject<{
6871
6871
  _additionalInstructions?: string | undefined;
6872
6872
  _withState?: {
6873
6873
  target: {
6874
- type: "Event" | "Command" | "State";
6874
+ type: "Command" | "Event" | "State";
6875
6875
  name: string;
6876
6876
  fields?: Record<string, unknown> | undefined;
6877
6877
  };
@@ -6900,7 +6900,7 @@ declare const NarrativeSchema: z.ZodObject<{
6900
6900
  } | undefined;
6901
6901
  }, {
6902
6902
  target: {
6903
- type: "Event" | "Command" | "State";
6903
+ type: "Command" | "Event" | "State";
6904
6904
  name: string;
6905
6905
  fields?: Record<string, unknown> | undefined;
6906
6906
  };
@@ -6925,7 +6925,7 @@ declare const NarrativeSchema: z.ZodObject<{
6925
6925
  _additionalInstructions?: string | undefined;
6926
6926
  _withState?: {
6927
6927
  target: {
6928
- type: "Event" | "Command" | "State";
6928
+ type: "Command" | "Event" | "State";
6929
6929
  name: string;
6930
6930
  fields?: Record<string, unknown> | undefined;
6931
6931
  };
@@ -7161,7 +7161,7 @@ declare const NarrativeSchema: z.ZodObject<{
7161
7161
  }[];
7162
7162
  data?: {
7163
7163
  target: {
7164
- type: "Event" | "Command" | "State";
7164
+ type: "Command" | "Event" | "State";
7165
7165
  name: string;
7166
7166
  fields?: Record<string, unknown> | undefined;
7167
7167
  };
@@ -7186,7 +7186,7 @@ declare const NarrativeSchema: z.ZodObject<{
7186
7186
  _additionalInstructions?: string | undefined;
7187
7187
  _withState?: {
7188
7188
  target: {
7189
- type: "Event" | "Command" | "State";
7189
+ type: "Command" | "Event" | "State";
7190
7190
  name: string;
7191
7191
  fields?: Record<string, unknown> | undefined;
7192
7192
  };
@@ -7244,7 +7244,7 @@ declare const NarrativeSchema: z.ZodObject<{
7244
7244
  }[];
7245
7245
  data?: {
7246
7246
  target: {
7247
- type: "Event" | "Command" | "State";
7247
+ type: "Command" | "Event" | "State";
7248
7248
  name: string;
7249
7249
  fields?: Record<string, unknown> | undefined;
7250
7250
  };
@@ -7269,7 +7269,7 @@ declare const NarrativeSchema: z.ZodObject<{
7269
7269
  _additionalInstructions?: string | undefined;
7270
7270
  _withState?: {
7271
7271
  target: {
7272
- type: "Event" | "Command" | "State";
7272
+ type: "Command" | "Event" | "State";
7273
7273
  name: string;
7274
7274
  fields?: Record<string, unknown> | undefined;
7275
7275
  };
@@ -7334,7 +7334,7 @@ declare const NarrativeSchema: z.ZodObject<{
7334
7334
  }[];
7335
7335
  data?: {
7336
7336
  target: {
7337
- type: "Event" | "Command" | "State";
7337
+ type: "Command" | "Event" | "State";
7338
7338
  name: string;
7339
7339
  fields?: Record<string, unknown> | undefined;
7340
7340
  };
@@ -7359,7 +7359,7 @@ declare const NarrativeSchema: z.ZodObject<{
7359
7359
  _additionalInstructions?: string | undefined;
7360
7360
  _withState?: {
7361
7361
  target: {
7362
- type: "Event" | "Command" | "State";
7362
+ type: "Command" | "Event" | "State";
7363
7363
  name: string;
7364
7364
  fields?: Record<string, unknown> | undefined;
7365
7365
  };
@@ -7430,7 +7430,7 @@ declare const NarrativeSchema: z.ZodObject<{
7430
7430
  }[];
7431
7431
  data?: {
7432
7432
  target: {
7433
- type: "Event" | "Command" | "State";
7433
+ type: "Command" | "Event" | "State";
7434
7434
  name: string;
7435
7435
  fields?: Record<string, unknown> | undefined;
7436
7436
  };
@@ -7455,7 +7455,7 @@ declare const NarrativeSchema: z.ZodObject<{
7455
7455
  _additionalInstructions?: string | undefined;
7456
7456
  _withState?: {
7457
7457
  target: {
7458
- type: "Event" | "Command" | "State";
7458
+ type: "Command" | "Event" | "State";
7459
7459
  name: string;
7460
7460
  fields?: Record<string, unknown> | undefined;
7461
7461
  };
@@ -7515,11 +7515,11 @@ declare const NarrativeSchema: z.ZodObject<{
7515
7515
  name: z.ZodString;
7516
7516
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7517
7517
  }, "strip", z.ZodTypeAny, {
7518
- type: "Event" | "Command" | "State";
7518
+ type: "Command" | "Event" | "State";
7519
7519
  name: string;
7520
7520
  fields?: Record<string, unknown> | undefined;
7521
7521
  }, {
7522
- type: "Event" | "Command" | "State";
7522
+ type: "Command" | "Event" | "State";
7523
7523
  name: string;
7524
7524
  fields?: Record<string, unknown> | undefined;
7525
7525
  }>;
@@ -7585,7 +7585,7 @@ declare const NarrativeSchema: z.ZodObject<{
7585
7585
  _additionalInstructions: z.ZodOptional<z.ZodString>;
7586
7586
  }, "strip", z.ZodTypeAny, {
7587
7587
  target: {
7588
- type: "Event" | "Command" | "State";
7588
+ type: "Command" | "Event" | "State";
7589
7589
  name: string;
7590
7590
  fields?: Record<string, unknown> | undefined;
7591
7591
  };
@@ -7613,7 +7613,7 @@ declare const NarrativeSchema: z.ZodObject<{
7613
7613
  _additionalInstructions?: string | undefined;
7614
7614
  }, {
7615
7615
  target: {
7616
- type: "Event" | "Command" | "State";
7616
+ type: "Command" | "Event" | "State";
7617
7617
  name: string;
7618
7618
  fields?: Record<string, unknown> | undefined;
7619
7619
  };
@@ -7848,7 +7848,7 @@ declare const NarrativeSchema: z.ZodObject<{
7848
7848
  }[];
7849
7849
  data?: {
7850
7850
  target: {
7851
- type: "Event" | "Command" | "State";
7851
+ type: "Command" | "Event" | "State";
7852
7852
  name: string;
7853
7853
  fields?: Record<string, unknown> | undefined;
7854
7854
  };
@@ -7905,7 +7905,7 @@ declare const NarrativeSchema: z.ZodObject<{
7905
7905
  }[];
7906
7906
  data?: {
7907
7907
  target: {
7908
- type: "Event" | "Command" | "State";
7908
+ type: "Command" | "Event" | "State";
7909
7909
  name: string;
7910
7910
  fields?: Record<string, unknown> | undefined;
7911
7911
  };
@@ -7969,7 +7969,7 @@ declare const NarrativeSchema: z.ZodObject<{
7969
7969
  }[];
7970
7970
  data?: {
7971
7971
  target: {
7972
- type: "Event" | "Command" | "State";
7972
+ type: "Command" | "Event" | "State";
7973
7973
  name: string;
7974
7974
  fields?: Record<string, unknown> | undefined;
7975
7975
  };
@@ -8039,7 +8039,7 @@ declare const NarrativeSchema: z.ZodObject<{
8039
8039
  }[];
8040
8040
  data?: {
8041
8041
  target: {
8042
- type: "Event" | "Command" | "State";
8042
+ type: "Command" | "Event" | "State";
8043
8043
  name: string;
8044
8044
  fields?: Record<string, unknown> | undefined;
8045
8045
  };
@@ -8090,11 +8090,11 @@ declare const NarrativeSchema: z.ZodObject<{
8090
8090
  name: z.ZodString;
8091
8091
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8092
8092
  }, "strip", z.ZodTypeAny, {
8093
- type: "Event" | "Command" | "State";
8093
+ type: "Command" | "Event" | "State";
8094
8094
  name: string;
8095
8095
  fields?: Record<string, unknown> | undefined;
8096
8096
  }, {
8097
- type: "Event" | "Command" | "State";
8097
+ type: "Command" | "Event" | "State";
8098
8098
  name: string;
8099
8099
  fields?: Record<string, unknown> | undefined;
8100
8100
  }>;
@@ -8161,11 +8161,11 @@ declare const NarrativeSchema: z.ZodObject<{
8161
8161
  name: z.ZodString;
8162
8162
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8163
8163
  }, "strip", z.ZodTypeAny, {
8164
- type: "Event" | "Command" | "State";
8164
+ type: "Command" | "Event" | "State";
8165
8165
  name: string;
8166
8166
  fields?: Record<string, unknown> | undefined;
8167
8167
  }, {
8168
- type: "Event" | "Command" | "State";
8168
+ type: "Command" | "Event" | "State";
8169
8169
  name: string;
8170
8170
  fields?: Record<string, unknown> | undefined;
8171
8171
  }>;
@@ -8231,7 +8231,7 @@ declare const NarrativeSchema: z.ZodObject<{
8231
8231
  _additionalInstructions: z.ZodOptional<z.ZodString>;
8232
8232
  }, "strip", z.ZodTypeAny, {
8233
8233
  target: {
8234
- type: "Event" | "Command" | "State";
8234
+ type: "Command" | "Event" | "State";
8235
8235
  name: string;
8236
8236
  fields?: Record<string, unknown> | undefined;
8237
8237
  };
@@ -8259,7 +8259,7 @@ declare const NarrativeSchema: z.ZodObject<{
8259
8259
  _additionalInstructions?: string | undefined;
8260
8260
  }, {
8261
8261
  target: {
8262
- type: "Event" | "Command" | "State";
8262
+ type: "Command" | "Event" | "State";
8263
8263
  name: string;
8264
8264
  fields?: Record<string, unknown> | undefined;
8265
8265
  };
@@ -8288,7 +8288,7 @@ declare const NarrativeSchema: z.ZodObject<{
8288
8288
  }>>>;
8289
8289
  }, "strip", z.ZodTypeAny, {
8290
8290
  target: {
8291
- type: "Event" | "Command" | "State";
8291
+ type: "Command" | "Event" | "State";
8292
8292
  name: string;
8293
8293
  fields?: Record<string, unknown> | undefined;
8294
8294
  };
@@ -8313,7 +8313,7 @@ declare const NarrativeSchema: z.ZodObject<{
8313
8313
  _additionalInstructions?: string | undefined;
8314
8314
  _withState?: {
8315
8315
  target: {
8316
- type: "Event" | "Command" | "State";
8316
+ type: "Command" | "Event" | "State";
8317
8317
  name: string;
8318
8318
  fields?: Record<string, unknown> | undefined;
8319
8319
  };
@@ -8342,7 +8342,7 @@ declare const NarrativeSchema: z.ZodObject<{
8342
8342
  } | undefined;
8343
8343
  }, {
8344
8344
  target: {
8345
- type: "Event" | "Command" | "State";
8345
+ type: "Command" | "Event" | "State";
8346
8346
  name: string;
8347
8347
  fields?: Record<string, unknown> | undefined;
8348
8348
  };
@@ -8367,7 +8367,7 @@ declare const NarrativeSchema: z.ZodObject<{
8367
8367
  _additionalInstructions?: string | undefined;
8368
8368
  _withState?: {
8369
8369
  target: {
8370
- type: "Event" | "Command" | "State";
8370
+ type: "Command" | "Event" | "State";
8371
8371
  name: string;
8372
8372
  fields?: Record<string, unknown> | undefined;
8373
8373
  };
@@ -8400,11 +8400,11 @@ declare const NarrativeSchema: z.ZodObject<{
8400
8400
  name: z.ZodString;
8401
8401
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8402
8402
  }, "strip", z.ZodTypeAny, {
8403
- type: "Event" | "Command" | "State";
8403
+ type: "Command" | "Event" | "State";
8404
8404
  name: string;
8405
8405
  fields?: Record<string, unknown> | undefined;
8406
8406
  }, {
8407
- type: "Event" | "Command" | "State";
8407
+ type: "Command" | "Event" | "State";
8408
8408
  name: string;
8409
8409
  fields?: Record<string, unknown> | undefined;
8410
8410
  }>;
@@ -8470,7 +8470,7 @@ declare const NarrativeSchema: z.ZodObject<{
8470
8470
  _additionalInstructions: z.ZodOptional<z.ZodString>;
8471
8471
  }, "strip", z.ZodTypeAny, {
8472
8472
  target: {
8473
- type: "Event" | "Command" | "State";
8473
+ type: "Command" | "Event" | "State";
8474
8474
  name: string;
8475
8475
  fields?: Record<string, unknown> | undefined;
8476
8476
  };
@@ -8498,7 +8498,7 @@ declare const NarrativeSchema: z.ZodObject<{
8498
8498
  _additionalInstructions?: string | undefined;
8499
8499
  }, {
8500
8500
  target: {
8501
- type: "Event" | "Command" | "State";
8501
+ type: "Command" | "Event" | "State";
8502
8502
  name: string;
8503
8503
  fields?: Record<string, unknown> | undefined;
8504
8504
  };
@@ -8732,7 +8732,7 @@ declare const NarrativeSchema: z.ZodObject<{
8732
8732
  }[];
8733
8733
  data?: ({
8734
8734
  target: {
8735
- type: "Event" | "Command" | "State";
8735
+ type: "Command" | "Event" | "State";
8736
8736
  name: string;
8737
8737
  fields?: Record<string, unknown> | undefined;
8738
8738
  };
@@ -8760,7 +8760,7 @@ declare const NarrativeSchema: z.ZodObject<{
8760
8760
  _additionalInstructions?: string | undefined;
8761
8761
  } | {
8762
8762
  target: {
8763
- type: "Event" | "Command" | "State";
8763
+ type: "Command" | "Event" | "State";
8764
8764
  name: string;
8765
8765
  fields?: Record<string, unknown> | undefined;
8766
8766
  };
@@ -8785,7 +8785,7 @@ declare const NarrativeSchema: z.ZodObject<{
8785
8785
  _additionalInstructions?: string | undefined;
8786
8786
  _withState?: {
8787
8787
  target: {
8788
- type: "Event" | "Command" | "State";
8788
+ type: "Command" | "Event" | "State";
8789
8789
  name: string;
8790
8790
  fields?: Record<string, unknown> | undefined;
8791
8791
  };
@@ -8843,7 +8843,7 @@ declare const NarrativeSchema: z.ZodObject<{
8843
8843
  }[];
8844
8844
  data?: ({
8845
8845
  target: {
8846
- type: "Event" | "Command" | "State";
8846
+ type: "Command" | "Event" | "State";
8847
8847
  name: string;
8848
8848
  fields?: Record<string, unknown> | undefined;
8849
8849
  };
@@ -8871,7 +8871,7 @@ declare const NarrativeSchema: z.ZodObject<{
8871
8871
  _additionalInstructions?: string | undefined;
8872
8872
  } | {
8873
8873
  target: {
8874
- type: "Event" | "Command" | "State";
8874
+ type: "Command" | "Event" | "State";
8875
8875
  name: string;
8876
8876
  fields?: Record<string, unknown> | undefined;
8877
8877
  };
@@ -8896,7 +8896,7 @@ declare const NarrativeSchema: z.ZodObject<{
8896
8896
  _additionalInstructions?: string | undefined;
8897
8897
  _withState?: {
8898
8898
  target: {
8899
- type: "Event" | "Command" | "State";
8899
+ type: "Command" | "Event" | "State";
8900
8900
  name: string;
8901
8901
  fields?: Record<string, unknown> | undefined;
8902
8902
  };
@@ -8958,7 +8958,7 @@ declare const NarrativeSchema: z.ZodObject<{
8958
8958
  }[];
8959
8959
  data?: ({
8960
8960
  target: {
8961
- type: "Event" | "Command" | "State";
8961
+ type: "Command" | "Event" | "State";
8962
8962
  name: string;
8963
8963
  fields?: Record<string, unknown> | undefined;
8964
8964
  };
@@ -8986,7 +8986,7 @@ declare const NarrativeSchema: z.ZodObject<{
8986
8986
  _additionalInstructions?: string | undefined;
8987
8987
  } | {
8988
8988
  target: {
8989
- type: "Event" | "Command" | "State";
8989
+ type: "Command" | "Event" | "State";
8990
8990
  name: string;
8991
8991
  fields?: Record<string, unknown> | undefined;
8992
8992
  };
@@ -9011,7 +9011,7 @@ declare const NarrativeSchema: z.ZodObject<{
9011
9011
  _additionalInstructions?: string | undefined;
9012
9012
  _withState?: {
9013
9013
  target: {
9014
- type: "Event" | "Command" | "State";
9014
+ type: "Command" | "Event" | "State";
9015
9015
  name: string;
9016
9016
  fields?: Record<string, unknown> | undefined;
9017
9017
  };
@@ -9078,7 +9078,7 @@ declare const NarrativeSchema: z.ZodObject<{
9078
9078
  }[];
9079
9079
  data?: ({
9080
9080
  target: {
9081
- type: "Event" | "Command" | "State";
9081
+ type: "Command" | "Event" | "State";
9082
9082
  name: string;
9083
9083
  fields?: Record<string, unknown> | undefined;
9084
9084
  };
@@ -9106,7 +9106,7 @@ declare const NarrativeSchema: z.ZodObject<{
9106
9106
  _additionalInstructions?: string | undefined;
9107
9107
  } | {
9108
9108
  target: {
9109
- type: "Event" | "Command" | "State";
9109
+ type: "Command" | "Event" | "State";
9110
9110
  name: string;
9111
9111
  fields?: Record<string, unknown> | undefined;
9112
9112
  };
@@ -9131,7 +9131,7 @@ declare const NarrativeSchema: z.ZodObject<{
9131
9131
  _additionalInstructions?: string | undefined;
9132
9132
  _withState?: {
9133
9133
  target: {
9134
- type: "Event" | "Command" | "State";
9134
+ type: "Command" | "Event" | "State";
9135
9135
  name: string;
9136
9136
  fields?: Record<string, unknown> | undefined;
9137
9137
  };
@@ -9244,7 +9244,7 @@ declare const NarrativeSchema: z.ZodObject<{
9244
9244
  }[];
9245
9245
  data?: {
9246
9246
  target: {
9247
- type: "Event" | "Command" | "State";
9247
+ type: "Command" | "Event" | "State";
9248
9248
  name: string;
9249
9249
  fields?: Record<string, unknown> | undefined;
9250
9250
  };
@@ -9269,7 +9269,7 @@ declare const NarrativeSchema: z.ZodObject<{
9269
9269
  _additionalInstructions?: string | undefined;
9270
9270
  _withState?: {
9271
9271
  target: {
9272
- type: "Event" | "Command" | "State";
9272
+ type: "Command" | "Event" | "State";
9273
9273
  name: string;
9274
9274
  fields?: Record<string, unknown> | undefined;
9275
9275
  };
@@ -9340,7 +9340,7 @@ declare const NarrativeSchema: z.ZodObject<{
9340
9340
  }[];
9341
9341
  data?: {
9342
9342
  target: {
9343
- type: "Event" | "Command" | "State";
9343
+ type: "Command" | "Event" | "State";
9344
9344
  name: string;
9345
9345
  fields?: Record<string, unknown> | undefined;
9346
9346
  };
@@ -9406,7 +9406,7 @@ declare const NarrativeSchema: z.ZodObject<{
9406
9406
  }[];
9407
9407
  data?: ({
9408
9408
  target: {
9409
- type: "Event" | "Command" | "State";
9409
+ type: "Command" | "Event" | "State";
9410
9410
  name: string;
9411
9411
  fields?: Record<string, unknown> | undefined;
9412
9412
  };
@@ -9434,7 +9434,7 @@ declare const NarrativeSchema: z.ZodObject<{
9434
9434
  _additionalInstructions?: string | undefined;
9435
9435
  } | {
9436
9436
  target: {
9437
- type: "Event" | "Command" | "State";
9437
+ type: "Command" | "Event" | "State";
9438
9438
  name: string;
9439
9439
  fields?: Record<string, unknown> | undefined;
9440
9440
  };
@@ -9459,7 +9459,7 @@ declare const NarrativeSchema: z.ZodObject<{
9459
9459
  _additionalInstructions?: string | undefined;
9460
9460
  _withState?: {
9461
9461
  target: {
9462
- type: "Event" | "Command" | "State";
9462
+ type: "Command" | "Event" | "State";
9463
9463
  name: string;
9464
9464
  fields?: Record<string, unknown> | undefined;
9465
9465
  };
@@ -9547,7 +9547,7 @@ declare const NarrativeSchema: z.ZodObject<{
9547
9547
  }[];
9548
9548
  data?: {
9549
9549
  target: {
9550
- type: "Event" | "Command" | "State";
9550
+ type: "Command" | "Event" | "State";
9551
9551
  name: string;
9552
9552
  fields?: Record<string, unknown> | undefined;
9553
9553
  };
@@ -9572,7 +9572,7 @@ declare const NarrativeSchema: z.ZodObject<{
9572
9572
  _additionalInstructions?: string | undefined;
9573
9573
  _withState?: {
9574
9574
  target: {
9575
- type: "Event" | "Command" | "State";
9575
+ type: "Command" | "Event" | "State";
9576
9576
  name: string;
9577
9577
  fields?: Record<string, unknown> | undefined;
9578
9578
  };
@@ -9643,7 +9643,7 @@ declare const NarrativeSchema: z.ZodObject<{
9643
9643
  }[];
9644
9644
  data?: {
9645
9645
  target: {
9646
- type: "Event" | "Command" | "State";
9646
+ type: "Command" | "Event" | "State";
9647
9647
  name: string;
9648
9648
  fields?: Record<string, unknown> | undefined;
9649
9649
  };
@@ -9709,7 +9709,7 @@ declare const NarrativeSchema: z.ZodObject<{
9709
9709
  }[];
9710
9710
  data?: ({
9711
9711
  target: {
9712
- type: "Event" | "Command" | "State";
9712
+ type: "Command" | "Event" | "State";
9713
9713
  name: string;
9714
9714
  fields?: Record<string, unknown> | undefined;
9715
9715
  };
@@ -9737,7 +9737,7 @@ declare const NarrativeSchema: z.ZodObject<{
9737
9737
  _additionalInstructions?: string | undefined;
9738
9738
  } | {
9739
9739
  target: {
9740
- type: "Event" | "Command" | "State";
9740
+ type: "Command" | "Event" | "State";
9741
9741
  name: string;
9742
9742
  fields?: Record<string, unknown> | undefined;
9743
9743
  };
@@ -9762,7 +9762,7 @@ declare const NarrativeSchema: z.ZodObject<{
9762
9762
  _additionalInstructions?: string | undefined;
9763
9763
  _withState?: {
9764
9764
  target: {
9765
- type: "Event" | "Command" | "State";
9765
+ type: "Command" | "Event" | "State";
9766
9766
  name: string;
9767
9767
  fields?: Record<string, unknown> | undefined;
9768
9768
  };
@@ -10064,11 +10064,11 @@ export declare const modelSchema: z.ZodObject<{
10064
10064
  name: z.ZodString;
10065
10065
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10066
10066
  }, "strip", z.ZodTypeAny, {
10067
- type: "Event" | "Command" | "State";
10067
+ type: "Command" | "Event" | "State";
10068
10068
  name: string;
10069
10069
  fields?: Record<string, unknown> | undefined;
10070
10070
  }, {
10071
- type: "Event" | "Command" | "State";
10071
+ type: "Command" | "Event" | "State";
10072
10072
  name: string;
10073
10073
  fields?: Record<string, unknown> | undefined;
10074
10074
  }>;
@@ -10135,11 +10135,11 @@ export declare const modelSchema: z.ZodObject<{
10135
10135
  name: z.ZodString;
10136
10136
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10137
10137
  }, "strip", z.ZodTypeAny, {
10138
- type: "Event" | "Command" | "State";
10138
+ type: "Command" | "Event" | "State";
10139
10139
  name: string;
10140
10140
  fields?: Record<string, unknown> | undefined;
10141
10141
  }, {
10142
- type: "Event" | "Command" | "State";
10142
+ type: "Command" | "Event" | "State";
10143
10143
  name: string;
10144
10144
  fields?: Record<string, unknown> | undefined;
10145
10145
  }>;
@@ -10205,7 +10205,7 @@ export declare const modelSchema: z.ZodObject<{
10205
10205
  _additionalInstructions: z.ZodOptional<z.ZodString>;
10206
10206
  }, "strip", z.ZodTypeAny, {
10207
10207
  target: {
10208
- type: "Event" | "Command" | "State";
10208
+ type: "Command" | "Event" | "State";
10209
10209
  name: string;
10210
10210
  fields?: Record<string, unknown> | undefined;
10211
10211
  };
@@ -10233,7 +10233,7 @@ export declare const modelSchema: z.ZodObject<{
10233
10233
  _additionalInstructions?: string | undefined;
10234
10234
  }, {
10235
10235
  target: {
10236
- type: "Event" | "Command" | "State";
10236
+ type: "Command" | "Event" | "State";
10237
10237
  name: string;
10238
10238
  fields?: Record<string, unknown> | undefined;
10239
10239
  };
@@ -10262,7 +10262,7 @@ export declare const modelSchema: z.ZodObject<{
10262
10262
  }>>>;
10263
10263
  }, "strip", z.ZodTypeAny, {
10264
10264
  target: {
10265
- type: "Event" | "Command" | "State";
10265
+ type: "Command" | "Event" | "State";
10266
10266
  name: string;
10267
10267
  fields?: Record<string, unknown> | undefined;
10268
10268
  };
@@ -10287,7 +10287,7 @@ export declare const modelSchema: z.ZodObject<{
10287
10287
  _additionalInstructions?: string | undefined;
10288
10288
  _withState?: {
10289
10289
  target: {
10290
- type: "Event" | "Command" | "State";
10290
+ type: "Command" | "Event" | "State";
10291
10291
  name: string;
10292
10292
  fields?: Record<string, unknown> | undefined;
10293
10293
  };
@@ -10316,7 +10316,7 @@ export declare const modelSchema: z.ZodObject<{
10316
10316
  } | undefined;
10317
10317
  }, {
10318
10318
  target: {
10319
- type: "Event" | "Command" | "State";
10319
+ type: "Command" | "Event" | "State";
10320
10320
  name: string;
10321
10321
  fields?: Record<string, unknown> | undefined;
10322
10322
  };
@@ -10341,7 +10341,7 @@ export declare const modelSchema: z.ZodObject<{
10341
10341
  _additionalInstructions?: string | undefined;
10342
10342
  _withState?: {
10343
10343
  target: {
10344
- type: "Event" | "Command" | "State";
10344
+ type: "Command" | "Event" | "State";
10345
10345
  name: string;
10346
10346
  fields?: Record<string, unknown> | undefined;
10347
10347
  };
@@ -10577,7 +10577,7 @@ export declare const modelSchema: z.ZodObject<{
10577
10577
  }[];
10578
10578
  data?: {
10579
10579
  target: {
10580
- type: "Event" | "Command" | "State";
10580
+ type: "Command" | "Event" | "State";
10581
10581
  name: string;
10582
10582
  fields?: Record<string, unknown> | undefined;
10583
10583
  };
@@ -10602,7 +10602,7 @@ export declare const modelSchema: z.ZodObject<{
10602
10602
  _additionalInstructions?: string | undefined;
10603
10603
  _withState?: {
10604
10604
  target: {
10605
- type: "Event" | "Command" | "State";
10605
+ type: "Command" | "Event" | "State";
10606
10606
  name: string;
10607
10607
  fields?: Record<string, unknown> | undefined;
10608
10608
  };
@@ -10660,7 +10660,7 @@ export declare const modelSchema: z.ZodObject<{
10660
10660
  }[];
10661
10661
  data?: {
10662
10662
  target: {
10663
- type: "Event" | "Command" | "State";
10663
+ type: "Command" | "Event" | "State";
10664
10664
  name: string;
10665
10665
  fields?: Record<string, unknown> | undefined;
10666
10666
  };
@@ -10685,7 +10685,7 @@ export declare const modelSchema: z.ZodObject<{
10685
10685
  _additionalInstructions?: string | undefined;
10686
10686
  _withState?: {
10687
10687
  target: {
10688
- type: "Event" | "Command" | "State";
10688
+ type: "Command" | "Event" | "State";
10689
10689
  name: string;
10690
10690
  fields?: Record<string, unknown> | undefined;
10691
10691
  };
@@ -10750,7 +10750,7 @@ export declare const modelSchema: z.ZodObject<{
10750
10750
  }[];
10751
10751
  data?: {
10752
10752
  target: {
10753
- type: "Event" | "Command" | "State";
10753
+ type: "Command" | "Event" | "State";
10754
10754
  name: string;
10755
10755
  fields?: Record<string, unknown> | undefined;
10756
10756
  };
@@ -10775,7 +10775,7 @@ export declare const modelSchema: z.ZodObject<{
10775
10775
  _additionalInstructions?: string | undefined;
10776
10776
  _withState?: {
10777
10777
  target: {
10778
- type: "Event" | "Command" | "State";
10778
+ type: "Command" | "Event" | "State";
10779
10779
  name: string;
10780
10780
  fields?: Record<string, unknown> | undefined;
10781
10781
  };
@@ -10846,7 +10846,7 @@ export declare const modelSchema: z.ZodObject<{
10846
10846
  }[];
10847
10847
  data?: {
10848
10848
  target: {
10849
- type: "Event" | "Command" | "State";
10849
+ type: "Command" | "Event" | "State";
10850
10850
  name: string;
10851
10851
  fields?: Record<string, unknown> | undefined;
10852
10852
  };
@@ -10871,7 +10871,7 @@ export declare const modelSchema: z.ZodObject<{
10871
10871
  _additionalInstructions?: string | undefined;
10872
10872
  _withState?: {
10873
10873
  target: {
10874
- type: "Event" | "Command" | "State";
10874
+ type: "Command" | "Event" | "State";
10875
10875
  name: string;
10876
10876
  fields?: Record<string, unknown> | undefined;
10877
10877
  };
@@ -10931,11 +10931,11 @@ export declare const modelSchema: z.ZodObject<{
10931
10931
  name: z.ZodString;
10932
10932
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10933
10933
  }, "strip", z.ZodTypeAny, {
10934
- type: "Event" | "Command" | "State";
10934
+ type: "Command" | "Event" | "State";
10935
10935
  name: string;
10936
10936
  fields?: Record<string, unknown> | undefined;
10937
10937
  }, {
10938
- type: "Event" | "Command" | "State";
10938
+ type: "Command" | "Event" | "State";
10939
10939
  name: string;
10940
10940
  fields?: Record<string, unknown> | undefined;
10941
10941
  }>;
@@ -11001,7 +11001,7 @@ export declare const modelSchema: z.ZodObject<{
11001
11001
  _additionalInstructions: z.ZodOptional<z.ZodString>;
11002
11002
  }, "strip", z.ZodTypeAny, {
11003
11003
  target: {
11004
- type: "Event" | "Command" | "State";
11004
+ type: "Command" | "Event" | "State";
11005
11005
  name: string;
11006
11006
  fields?: Record<string, unknown> | undefined;
11007
11007
  };
@@ -11029,7 +11029,7 @@ export declare const modelSchema: z.ZodObject<{
11029
11029
  _additionalInstructions?: string | undefined;
11030
11030
  }, {
11031
11031
  target: {
11032
- type: "Event" | "Command" | "State";
11032
+ type: "Command" | "Event" | "State";
11033
11033
  name: string;
11034
11034
  fields?: Record<string, unknown> | undefined;
11035
11035
  };
@@ -11264,7 +11264,7 @@ export declare const modelSchema: z.ZodObject<{
11264
11264
  }[];
11265
11265
  data?: {
11266
11266
  target: {
11267
- type: "Event" | "Command" | "State";
11267
+ type: "Command" | "Event" | "State";
11268
11268
  name: string;
11269
11269
  fields?: Record<string, unknown> | undefined;
11270
11270
  };
@@ -11321,7 +11321,7 @@ export declare const modelSchema: z.ZodObject<{
11321
11321
  }[];
11322
11322
  data?: {
11323
11323
  target: {
11324
- type: "Event" | "Command" | "State";
11324
+ type: "Command" | "Event" | "State";
11325
11325
  name: string;
11326
11326
  fields?: Record<string, unknown> | undefined;
11327
11327
  };
@@ -11385,7 +11385,7 @@ export declare const modelSchema: z.ZodObject<{
11385
11385
  }[];
11386
11386
  data?: {
11387
11387
  target: {
11388
- type: "Event" | "Command" | "State";
11388
+ type: "Command" | "Event" | "State";
11389
11389
  name: string;
11390
11390
  fields?: Record<string, unknown> | undefined;
11391
11391
  };
@@ -11455,7 +11455,7 @@ export declare const modelSchema: z.ZodObject<{
11455
11455
  }[];
11456
11456
  data?: {
11457
11457
  target: {
11458
- type: "Event" | "Command" | "State";
11458
+ type: "Command" | "Event" | "State";
11459
11459
  name: string;
11460
11460
  fields?: Record<string, unknown> | undefined;
11461
11461
  };
@@ -11506,11 +11506,11 @@ export declare const modelSchema: z.ZodObject<{
11506
11506
  name: z.ZodString;
11507
11507
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11508
11508
  }, "strip", z.ZodTypeAny, {
11509
- type: "Event" | "Command" | "State";
11509
+ type: "Command" | "Event" | "State";
11510
11510
  name: string;
11511
11511
  fields?: Record<string, unknown> | undefined;
11512
11512
  }, {
11513
- type: "Event" | "Command" | "State";
11513
+ type: "Command" | "Event" | "State";
11514
11514
  name: string;
11515
11515
  fields?: Record<string, unknown> | undefined;
11516
11516
  }>;
@@ -11577,11 +11577,11 @@ export declare const modelSchema: z.ZodObject<{
11577
11577
  name: z.ZodString;
11578
11578
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11579
11579
  }, "strip", z.ZodTypeAny, {
11580
- type: "Event" | "Command" | "State";
11580
+ type: "Command" | "Event" | "State";
11581
11581
  name: string;
11582
11582
  fields?: Record<string, unknown> | undefined;
11583
11583
  }, {
11584
- type: "Event" | "Command" | "State";
11584
+ type: "Command" | "Event" | "State";
11585
11585
  name: string;
11586
11586
  fields?: Record<string, unknown> | undefined;
11587
11587
  }>;
@@ -11647,7 +11647,7 @@ export declare const modelSchema: z.ZodObject<{
11647
11647
  _additionalInstructions: z.ZodOptional<z.ZodString>;
11648
11648
  }, "strip", z.ZodTypeAny, {
11649
11649
  target: {
11650
- type: "Event" | "Command" | "State";
11650
+ type: "Command" | "Event" | "State";
11651
11651
  name: string;
11652
11652
  fields?: Record<string, unknown> | undefined;
11653
11653
  };
@@ -11675,7 +11675,7 @@ export declare const modelSchema: z.ZodObject<{
11675
11675
  _additionalInstructions?: string | undefined;
11676
11676
  }, {
11677
11677
  target: {
11678
- type: "Event" | "Command" | "State";
11678
+ type: "Command" | "Event" | "State";
11679
11679
  name: string;
11680
11680
  fields?: Record<string, unknown> | undefined;
11681
11681
  };
@@ -11704,7 +11704,7 @@ export declare const modelSchema: z.ZodObject<{
11704
11704
  }>>>;
11705
11705
  }, "strip", z.ZodTypeAny, {
11706
11706
  target: {
11707
- type: "Event" | "Command" | "State";
11707
+ type: "Command" | "Event" | "State";
11708
11708
  name: string;
11709
11709
  fields?: Record<string, unknown> | undefined;
11710
11710
  };
@@ -11729,7 +11729,7 @@ export declare const modelSchema: z.ZodObject<{
11729
11729
  _additionalInstructions?: string | undefined;
11730
11730
  _withState?: {
11731
11731
  target: {
11732
- type: "Event" | "Command" | "State";
11732
+ type: "Command" | "Event" | "State";
11733
11733
  name: string;
11734
11734
  fields?: Record<string, unknown> | undefined;
11735
11735
  };
@@ -11758,7 +11758,7 @@ export declare const modelSchema: z.ZodObject<{
11758
11758
  } | undefined;
11759
11759
  }, {
11760
11760
  target: {
11761
- type: "Event" | "Command" | "State";
11761
+ type: "Command" | "Event" | "State";
11762
11762
  name: string;
11763
11763
  fields?: Record<string, unknown> | undefined;
11764
11764
  };
@@ -11783,7 +11783,7 @@ export declare const modelSchema: z.ZodObject<{
11783
11783
  _additionalInstructions?: string | undefined;
11784
11784
  _withState?: {
11785
11785
  target: {
11786
- type: "Event" | "Command" | "State";
11786
+ type: "Command" | "Event" | "State";
11787
11787
  name: string;
11788
11788
  fields?: Record<string, unknown> | undefined;
11789
11789
  };
@@ -11816,11 +11816,11 @@ export declare const modelSchema: z.ZodObject<{
11816
11816
  name: z.ZodString;
11817
11817
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11818
11818
  }, "strip", z.ZodTypeAny, {
11819
- type: "Event" | "Command" | "State";
11819
+ type: "Command" | "Event" | "State";
11820
11820
  name: string;
11821
11821
  fields?: Record<string, unknown> | undefined;
11822
11822
  }, {
11823
- type: "Event" | "Command" | "State";
11823
+ type: "Command" | "Event" | "State";
11824
11824
  name: string;
11825
11825
  fields?: Record<string, unknown> | undefined;
11826
11826
  }>;
@@ -11886,7 +11886,7 @@ export declare const modelSchema: z.ZodObject<{
11886
11886
  _additionalInstructions: z.ZodOptional<z.ZodString>;
11887
11887
  }, "strip", z.ZodTypeAny, {
11888
11888
  target: {
11889
- type: "Event" | "Command" | "State";
11889
+ type: "Command" | "Event" | "State";
11890
11890
  name: string;
11891
11891
  fields?: Record<string, unknown> | undefined;
11892
11892
  };
@@ -11914,7 +11914,7 @@ export declare const modelSchema: z.ZodObject<{
11914
11914
  _additionalInstructions?: string | undefined;
11915
11915
  }, {
11916
11916
  target: {
11917
- type: "Event" | "Command" | "State";
11917
+ type: "Command" | "Event" | "State";
11918
11918
  name: string;
11919
11919
  fields?: Record<string, unknown> | undefined;
11920
11920
  };
@@ -12148,7 +12148,7 @@ export declare const modelSchema: z.ZodObject<{
12148
12148
  }[];
12149
12149
  data?: ({
12150
12150
  target: {
12151
- type: "Event" | "Command" | "State";
12151
+ type: "Command" | "Event" | "State";
12152
12152
  name: string;
12153
12153
  fields?: Record<string, unknown> | undefined;
12154
12154
  };
@@ -12176,7 +12176,7 @@ export declare const modelSchema: z.ZodObject<{
12176
12176
  _additionalInstructions?: string | undefined;
12177
12177
  } | {
12178
12178
  target: {
12179
- type: "Event" | "Command" | "State";
12179
+ type: "Command" | "Event" | "State";
12180
12180
  name: string;
12181
12181
  fields?: Record<string, unknown> | undefined;
12182
12182
  };
@@ -12201,7 +12201,7 @@ export declare const modelSchema: z.ZodObject<{
12201
12201
  _additionalInstructions?: string | undefined;
12202
12202
  _withState?: {
12203
12203
  target: {
12204
- type: "Event" | "Command" | "State";
12204
+ type: "Command" | "Event" | "State";
12205
12205
  name: string;
12206
12206
  fields?: Record<string, unknown> | undefined;
12207
12207
  };
@@ -12259,7 +12259,7 @@ export declare const modelSchema: z.ZodObject<{
12259
12259
  }[];
12260
12260
  data?: ({
12261
12261
  target: {
12262
- type: "Event" | "Command" | "State";
12262
+ type: "Command" | "Event" | "State";
12263
12263
  name: string;
12264
12264
  fields?: Record<string, unknown> | undefined;
12265
12265
  };
@@ -12287,7 +12287,7 @@ export declare const modelSchema: z.ZodObject<{
12287
12287
  _additionalInstructions?: string | undefined;
12288
12288
  } | {
12289
12289
  target: {
12290
- type: "Event" | "Command" | "State";
12290
+ type: "Command" | "Event" | "State";
12291
12291
  name: string;
12292
12292
  fields?: Record<string, unknown> | undefined;
12293
12293
  };
@@ -12312,7 +12312,7 @@ export declare const modelSchema: z.ZodObject<{
12312
12312
  _additionalInstructions?: string | undefined;
12313
12313
  _withState?: {
12314
12314
  target: {
12315
- type: "Event" | "Command" | "State";
12315
+ type: "Command" | "Event" | "State";
12316
12316
  name: string;
12317
12317
  fields?: Record<string, unknown> | undefined;
12318
12318
  };
@@ -12374,7 +12374,7 @@ export declare const modelSchema: z.ZodObject<{
12374
12374
  }[];
12375
12375
  data?: ({
12376
12376
  target: {
12377
- type: "Event" | "Command" | "State";
12377
+ type: "Command" | "Event" | "State";
12378
12378
  name: string;
12379
12379
  fields?: Record<string, unknown> | undefined;
12380
12380
  };
@@ -12402,7 +12402,7 @@ export declare const modelSchema: z.ZodObject<{
12402
12402
  _additionalInstructions?: string | undefined;
12403
12403
  } | {
12404
12404
  target: {
12405
- type: "Event" | "Command" | "State";
12405
+ type: "Command" | "Event" | "State";
12406
12406
  name: string;
12407
12407
  fields?: Record<string, unknown> | undefined;
12408
12408
  };
@@ -12427,7 +12427,7 @@ export declare const modelSchema: z.ZodObject<{
12427
12427
  _additionalInstructions?: string | undefined;
12428
12428
  _withState?: {
12429
12429
  target: {
12430
- type: "Event" | "Command" | "State";
12430
+ type: "Command" | "Event" | "State";
12431
12431
  name: string;
12432
12432
  fields?: Record<string, unknown> | undefined;
12433
12433
  };
@@ -12494,7 +12494,7 @@ export declare const modelSchema: z.ZodObject<{
12494
12494
  }[];
12495
12495
  data?: ({
12496
12496
  target: {
12497
- type: "Event" | "Command" | "State";
12497
+ type: "Command" | "Event" | "State";
12498
12498
  name: string;
12499
12499
  fields?: Record<string, unknown> | undefined;
12500
12500
  };
@@ -12522,7 +12522,7 @@ export declare const modelSchema: z.ZodObject<{
12522
12522
  _additionalInstructions?: string | undefined;
12523
12523
  } | {
12524
12524
  target: {
12525
- type: "Event" | "Command" | "State";
12525
+ type: "Command" | "Event" | "State";
12526
12526
  name: string;
12527
12527
  fields?: Record<string, unknown> | undefined;
12528
12528
  };
@@ -12547,7 +12547,7 @@ export declare const modelSchema: z.ZodObject<{
12547
12547
  _additionalInstructions?: string | undefined;
12548
12548
  _withState?: {
12549
12549
  target: {
12550
- type: "Event" | "Command" | "State";
12550
+ type: "Command" | "Event" | "State";
12551
12551
  name: string;
12552
12552
  fields?: Record<string, unknown> | undefined;
12553
12553
  };
@@ -12660,7 +12660,7 @@ export declare const modelSchema: z.ZodObject<{
12660
12660
  }[];
12661
12661
  data?: {
12662
12662
  target: {
12663
- type: "Event" | "Command" | "State";
12663
+ type: "Command" | "Event" | "State";
12664
12664
  name: string;
12665
12665
  fields?: Record<string, unknown> | undefined;
12666
12666
  };
@@ -12685,7 +12685,7 @@ export declare const modelSchema: z.ZodObject<{
12685
12685
  _additionalInstructions?: string | undefined;
12686
12686
  _withState?: {
12687
12687
  target: {
12688
- type: "Event" | "Command" | "State";
12688
+ type: "Command" | "Event" | "State";
12689
12689
  name: string;
12690
12690
  fields?: Record<string, unknown> | undefined;
12691
12691
  };
@@ -12756,7 +12756,7 @@ export declare const modelSchema: z.ZodObject<{
12756
12756
  }[];
12757
12757
  data?: {
12758
12758
  target: {
12759
- type: "Event" | "Command" | "State";
12759
+ type: "Command" | "Event" | "State";
12760
12760
  name: string;
12761
12761
  fields?: Record<string, unknown> | undefined;
12762
12762
  };
@@ -12822,7 +12822,7 @@ export declare const modelSchema: z.ZodObject<{
12822
12822
  }[];
12823
12823
  data?: ({
12824
12824
  target: {
12825
- type: "Event" | "Command" | "State";
12825
+ type: "Command" | "Event" | "State";
12826
12826
  name: string;
12827
12827
  fields?: Record<string, unknown> | undefined;
12828
12828
  };
@@ -12850,7 +12850,7 @@ export declare const modelSchema: z.ZodObject<{
12850
12850
  _additionalInstructions?: string | undefined;
12851
12851
  } | {
12852
12852
  target: {
12853
- type: "Event" | "Command" | "State";
12853
+ type: "Command" | "Event" | "State";
12854
12854
  name: string;
12855
12855
  fields?: Record<string, unknown> | undefined;
12856
12856
  };
@@ -12875,7 +12875,7 @@ export declare const modelSchema: z.ZodObject<{
12875
12875
  _additionalInstructions?: string | undefined;
12876
12876
  _withState?: {
12877
12877
  target: {
12878
- type: "Event" | "Command" | "State";
12878
+ type: "Command" | "Event" | "State";
12879
12879
  name: string;
12880
12880
  fields?: Record<string, unknown> | undefined;
12881
12881
  };
@@ -12963,7 +12963,7 @@ export declare const modelSchema: z.ZodObject<{
12963
12963
  }[];
12964
12964
  data?: {
12965
12965
  target: {
12966
- type: "Event" | "Command" | "State";
12966
+ type: "Command" | "Event" | "State";
12967
12967
  name: string;
12968
12968
  fields?: Record<string, unknown> | undefined;
12969
12969
  };
@@ -12988,7 +12988,7 @@ export declare const modelSchema: z.ZodObject<{
12988
12988
  _additionalInstructions?: string | undefined;
12989
12989
  _withState?: {
12990
12990
  target: {
12991
- type: "Event" | "Command" | "State";
12991
+ type: "Command" | "Event" | "State";
12992
12992
  name: string;
12993
12993
  fields?: Record<string, unknown> | undefined;
12994
12994
  };
@@ -13059,7 +13059,7 @@ export declare const modelSchema: z.ZodObject<{
13059
13059
  }[];
13060
13060
  data?: {
13061
13061
  target: {
13062
- type: "Event" | "Command" | "State";
13062
+ type: "Command" | "Event" | "State";
13063
13063
  name: string;
13064
13064
  fields?: Record<string, unknown> | undefined;
13065
13065
  };
@@ -13125,7 +13125,7 @@ export declare const modelSchema: z.ZodObject<{
13125
13125
  }[];
13126
13126
  data?: ({
13127
13127
  target: {
13128
- type: "Event" | "Command" | "State";
13128
+ type: "Command" | "Event" | "State";
13129
13129
  name: string;
13130
13130
  fields?: Record<string, unknown> | undefined;
13131
13131
  };
@@ -13153,7 +13153,7 @@ export declare const modelSchema: z.ZodObject<{
13153
13153
  _additionalInstructions?: string | undefined;
13154
13154
  } | {
13155
13155
  target: {
13156
- type: "Event" | "Command" | "State";
13156
+ type: "Command" | "Event" | "State";
13157
13157
  name: string;
13158
13158
  fields?: Record<string, unknown> | undefined;
13159
13159
  };
@@ -13178,7 +13178,7 @@ export declare const modelSchema: z.ZodObject<{
13178
13178
  _additionalInstructions?: string | undefined;
13179
13179
  _withState?: {
13180
13180
  target: {
13181
- type: "Event" | "Command" | "State";
13181
+ type: "Command" | "Event" | "State";
13182
13182
  name: string;
13183
13183
  fields?: Record<string, unknown> | undefined;
13184
13184
  };
@@ -13321,8 +13321,8 @@ export declare const modelSchema: z.ZodObject<{
13321
13321
  type: z.ZodLiteral<"event">;
13322
13322
  source: z.ZodDefault<z.ZodEnum<["internal", "external"]>>;
13323
13323
  }, "strip", z.ZodTypeAny, {
13324
- source: "internal" | "external";
13325
13324
  type: "event";
13325
+ source: "internal" | "external";
13326
13326
  name: string;
13327
13327
  fields: {
13328
13328
  type: string;
@@ -13463,7 +13463,7 @@ export declare const modelSchema: z.ZodObject<{
13463
13463
  }[];
13464
13464
  data?: {
13465
13465
  target: {
13466
- type: "Event" | "Command" | "State";
13466
+ type: "Command" | "Event" | "State";
13467
13467
  name: string;
13468
13468
  fields?: Record<string, unknown> | undefined;
13469
13469
  };
@@ -13488,7 +13488,7 @@ export declare const modelSchema: z.ZodObject<{
13488
13488
  _additionalInstructions?: string | undefined;
13489
13489
  _withState?: {
13490
13490
  target: {
13491
- type: "Event" | "Command" | "State";
13491
+ type: "Command" | "Event" | "State";
13492
13492
  name: string;
13493
13493
  fields?: Record<string, unknown> | undefined;
13494
13494
  };
@@ -13559,7 +13559,7 @@ export declare const modelSchema: z.ZodObject<{
13559
13559
  }[];
13560
13560
  data?: {
13561
13561
  target: {
13562
- type: "Event" | "Command" | "State";
13562
+ type: "Command" | "Event" | "State";
13563
13563
  name: string;
13564
13564
  fields?: Record<string, unknown> | undefined;
13565
13565
  };
@@ -13625,7 +13625,7 @@ export declare const modelSchema: z.ZodObject<{
13625
13625
  }[];
13626
13626
  data?: ({
13627
13627
  target: {
13628
- type: "Event" | "Command" | "State";
13628
+ type: "Command" | "Event" | "State";
13629
13629
  name: string;
13630
13630
  fields?: Record<string, unknown> | undefined;
13631
13631
  };
@@ -13653,7 +13653,7 @@ export declare const modelSchema: z.ZodObject<{
13653
13653
  _additionalInstructions?: string | undefined;
13654
13654
  } | {
13655
13655
  target: {
13656
- type: "Event" | "Command" | "State";
13656
+ type: "Command" | "Event" | "State";
13657
13657
  name: string;
13658
13658
  fields?: Record<string, unknown> | undefined;
13659
13659
  };
@@ -13678,7 +13678,7 @@ export declare const modelSchema: z.ZodObject<{
13678
13678
  _additionalInstructions?: string | undefined;
13679
13679
  _withState?: {
13680
13680
  target: {
13681
- type: "Event" | "Command" | "State";
13681
+ type: "Command" | "Event" | "State";
13682
13682
  name: string;
13683
13683
  fields?: Record<string, unknown> | undefined;
13684
13684
  };
@@ -13744,8 +13744,8 @@ export declare const modelSchema: z.ZodObject<{
13744
13744
  version: number;
13745
13745
  } | undefined;
13746
13746
  } | {
13747
- source: "internal" | "external";
13748
13747
  type: "event";
13748
+ source: "internal" | "external";
13749
13749
  name: string;
13750
13750
  fields: {
13751
13751
  type: string;
@@ -13818,7 +13818,7 @@ export declare const modelSchema: z.ZodObject<{
13818
13818
  }[];
13819
13819
  data?: {
13820
13820
  target: {
13821
- type: "Event" | "Command" | "State";
13821
+ type: "Command" | "Event" | "State";
13822
13822
  name: string;
13823
13823
  fields?: Record<string, unknown> | undefined;
13824
13824
  };
@@ -13843,7 +13843,7 @@ export declare const modelSchema: z.ZodObject<{
13843
13843
  _additionalInstructions?: string | undefined;
13844
13844
  _withState?: {
13845
13845
  target: {
13846
- type: "Event" | "Command" | "State";
13846
+ type: "Command" | "Event" | "State";
13847
13847
  name: string;
13848
13848
  fields?: Record<string, unknown> | undefined;
13849
13849
  };
@@ -13914,7 +13914,7 @@ export declare const modelSchema: z.ZodObject<{
13914
13914
  }[];
13915
13915
  data?: {
13916
13916
  target: {
13917
- type: "Event" | "Command" | "State";
13917
+ type: "Command" | "Event" | "State";
13918
13918
  name: string;
13919
13919
  fields?: Record<string, unknown> | undefined;
13920
13920
  };
@@ -13980,7 +13980,7 @@ export declare const modelSchema: z.ZodObject<{
13980
13980
  }[];
13981
13981
  data?: ({
13982
13982
  target: {
13983
- type: "Event" | "Command" | "State";
13983
+ type: "Command" | "Event" | "State";
13984
13984
  name: string;
13985
13985
  fields?: Record<string, unknown> | undefined;
13986
13986
  };
@@ -14008,7 +14008,7 @@ export declare const modelSchema: z.ZodObject<{
14008
14008
  _additionalInstructions?: string | undefined;
14009
14009
  } | {
14010
14010
  target: {
14011
- type: "Event" | "Command" | "State";
14011
+ type: "Command" | "Event" | "State";
14012
14012
  name: string;
14013
14013
  fields?: Record<string, unknown> | undefined;
14014
14014
  };
@@ -14033,7 +14033,7 @@ export declare const modelSchema: z.ZodObject<{
14033
14033
  _additionalInstructions?: string | undefined;
14034
14034
  _withState?: {
14035
14035
  target: {
14036
- type: "Event" | "Command" | "State";
14036
+ type: "Command" | "Event" | "State";
14037
14037
  name: string;
14038
14038
  fields?: Record<string, unknown> | undefined;
14039
14039
  };