@wildo-ai/platform-core-shared 1.1.4 → 1.1.5

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 (71) hide show
  1. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.d.ts.map +1 -1
  2. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.d.ts.map +1 -1
  3. package/dist/esm/index.d.ts +2 -1
  4. package/dist/esm/index.d.ts.map +1 -1
  5. package/dist/esm/index.js +2 -1
  6. package/dist/esm/index.js.map +1 -1
  7. package/dist/esm/runtime/application-backend-env.contracts.d.ts +28 -2
  8. package/dist/esm/runtime/application-backend-env.contracts.d.ts.map +1 -1
  9. package/dist/esm/runtime/application-backend-env.contracts.js +27 -1
  10. package/dist/esm/runtime/application-backend-env.contracts.js.map +1 -1
  11. package/dist/esm/runtime/runtime-topology.contracts.d.ts.map +1 -1
  12. package/dist/esm/security/authorizations/roles.custom.shared.definitions.d.ts.map +1 -1
  13. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts +60 -66
  14. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts.map +1 -1
  15. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts +60 -66
  16. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts.map +1 -1
  17. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js +2 -2
  18. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js.map +1 -1
  19. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts +6 -10
  20. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts.map +1 -1
  21. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts +6 -10
  22. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts.map +1 -1
  23. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js +26 -28
  24. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js.map +1 -1
  25. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts.map +1 -1
  26. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js.map +1 -1
  27. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts +27 -0
  28. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts.map +1 -1
  29. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js +56 -0
  30. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js.map +1 -1
  31. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.d.ts.map +1 -1
  32. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js.map +1 -1
  33. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts.map +1 -1
  34. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts +13 -0
  35. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts.map +1 -1
  36. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js +418 -1
  37. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js.map +1 -1
  38. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.d.ts +0 -98
  39. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.d.ts.map +0 -1
  40. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.js.map +0 -1
  41. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts +103 -0
  42. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts.map +1 -0
  43. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js +99 -0
  44. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js.map +1 -0
  45. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.d.ts +49 -0
  46. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.d.ts.map +1 -0
  47. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.js +42 -0
  48. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.js.map +1 -0
  49. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts +378 -11
  50. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts.map +1 -1
  51. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js +426 -5
  52. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js.map +1 -1
  53. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts +882 -9
  54. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts.map +1 -1
  55. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js +1154 -14
  56. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js.map +1 -1
  57. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts +117 -1
  58. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts.map +1 -1
  59. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js +160 -0
  60. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js.map +1 -1
  61. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts +184 -7
  62. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts.map +1 -1
  63. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js +1 -1
  64. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js.map +1 -1
  65. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts +2 -1
  66. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts.map +1 -1
  67. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js +10 -5
  68. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js.map +1 -1
  69. package/dist/tsconfig.build.tsbuildinfo +1 -1
  70. package/package.json +4 -13
  71. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.js +0 -86
@@ -25,6 +25,58 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
25
25
  updatedAt: z.ZodString;
26
26
  finishedAt: z.ZodOptional<z.ZodString>;
27
27
  kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowActorSystem_Kind.ACTOR>;
28
+ suspension: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
+ decision: z.ZodObject<{
30
+ decisionId: z.ZodString;
31
+ title: z.ZodString;
32
+ description: z.ZodString;
33
+ fields: z.ZodArray<z.ZodObject<{
34
+ ref: z.ZodString;
35
+ question: z.ZodString;
36
+ kind: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_FieldKind>;
37
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
+ why: z.ZodOptional<z.ZodString>;
39
+ }, z.core.$strip>>;
40
+ options: z.ZodArray<z.ZodObject<{
41
+ ref: z.ZodString;
42
+ label: z.ZodString;
43
+ intent: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_ResponseIntent>;
44
+ description: z.ZodOptional<z.ZodString>;
45
+ }, z.core.$strip>>;
46
+ requestedAt: z.ZodString;
47
+ expiresAt: z.ZodOptional<z.ZodString>;
48
+ }, z.core.$strip>;
49
+ suspendedAt: z.ZodISODateTime;
50
+ }, z.core.$strip>>>;
51
+ checkpoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
52
+ context: z.ZodAny;
53
+ checkpointedAt: z.ZodISODateTime;
54
+ resumedSuspension: z.ZodOptional<z.ZodObject<{
55
+ decision: z.ZodObject<{
56
+ decisionId: z.ZodString;
57
+ title: z.ZodString;
58
+ description: z.ZodString;
59
+ fields: z.ZodArray<z.ZodObject<{
60
+ ref: z.ZodString;
61
+ question: z.ZodString;
62
+ kind: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_FieldKind>;
63
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
+ why: z.ZodOptional<z.ZodString>;
65
+ }, z.core.$strip>>;
66
+ options: z.ZodArray<z.ZodObject<{
67
+ ref: z.ZodString;
68
+ label: z.ZodString;
69
+ intent: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_ResponseIntent>;
70
+ description: z.ZodOptional<z.ZodString>;
71
+ }, z.core.$strip>>;
72
+ requestedAt: z.ZodString;
73
+ expiresAt: z.ZodOptional<z.ZodString>;
74
+ }, z.core.$strip>;
75
+ suspendedAt: z.ZodISODateTime;
76
+ }, z.core.$strip>>;
77
+ interruptedContinuations: z.ZodOptional<z.ZodNumber>;
78
+ }, z.core.$strip>>>;
79
+ exclusiveSubject: z.ZodOptional<z.ZodString>;
28
80
  plan: z.ZodOptional<z.ZodObject<{
29
81
  _id: z.ZodString;
30
82
  goalDescription: z.ZodString;
@@ -134,7 +186,6 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
134
186
  }, z.core.$strip>>;
135
187
  }, z.core.$strip>>;
136
188
  errorStates: z.ZodOptional<z.ZodObject<{
137
- circuitBreakerStatus: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_CircuitBreaker_Status>>;
138
189
  errorItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
139
190
  type: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorType>;
140
191
  severity: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorSeverity>;
@@ -235,65 +286,12 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
235
286
  createdAt: z.ZodString;
236
287
  updatedAt: z.ZodString;
237
288
  }, z.core.$strip>>;
238
- walkthrough: z.ZodOptional<z.ZodObject<{
239
- _id: z.ZodString;
240
- name: z.ZodString;
241
- description: z.ZodString;
242
- status: z.ZodEnum<typeof FlowsActors_Status>;
243
- initiator: z.ZodObject<{
244
- organizationId: z.ZodOptional<z.ZodString>;
245
- userId: z.ZodOptional<z.ZodString>;
246
- applicationId: z.ZodOptional<z.ZodString>;
247
- machineCredential: z.ZodOptional<z.ZodObject<{
248
- authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
249
- credentialId: z.ZodString;
250
- }, z.core.$strip>>;
251
- consumableTokenId: z.ZodOptional<z.ZodString>;
252
- webhookProviderId: z.ZodOptional<z.ZodString>;
253
- anonymousUserId: z.ZodOptional<z.ZodString>;
254
- }, z.core.$strip>;
255
- relationships: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
256
- kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW>;
257
- relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
258
- flowId: z.ZodString;
259
- }, z.core.$strip>, z.ZodObject<{
260
- kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
261
- relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
262
- actorId: z.ZodString;
263
- actorSystemId: z.ZodString;
264
- }, z.core.$strip>, z.ZodObject<{
265
- kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
266
- relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
267
- flowId: z.ZodString;
268
- stepId: z.ZodString;
269
- }, z.core.$strip>, z.ZodObject<{
270
- kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
271
- relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
272
- taskId: z.ZodString;
273
- actorSystemId: z.ZodString;
274
- }, z.core.$strip>, z.ZodObject<{
275
- kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN>;
276
- relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
277
- planId: z.ZodString;
278
- actorSystemId: z.ZodString;
279
- }, z.core.$strip>, z.ZodObject<{
280
- kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
281
- relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
282
- planId: z.ZodString;
283
- planStepId: z.ZodString;
284
- actorSystemId: z.ZodString;
285
- }, z.core.$strip>, z.ZodObject<{
286
- kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR_SYSTEM>;
287
- relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
288
- actorSystemId: z.ZodString;
289
- }, z.core.$strip>], "kind">>;
290
- }, z.core.$strip>>;
291
289
  standaloneTasks: z.ZodArray<z.ZodObject<{
292
290
  _id: z.ZodString;
293
291
  title: z.ZodString;
294
292
  description: z.ZodString;
295
- topic: z.ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>;
296
- status: z.ZodEnum<typeof FlowsActors_Status>;
293
+ topic: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>>;
294
+ status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>;
297
295
  initiator: z.ZodObject<{
298
296
  organizationId: z.ZodOptional<z.ZodString>;
299
297
  userId: z.ZodOptional<z.ZodString>;
@@ -397,11 +395,10 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
397
395
  }, z.core.$strip>;
398
396
  }, z.core.$strip>;
399
397
  context: z.ZodObject<{
400
- journeyId: z.ZodOptional<z.ZodString>;
401
- playbookRef: z.ZodOptional<z.ZodString>;
402
- playbookVersion: z.ZodOptional<z.ZodString>;
403
- playbookRunId: z.ZodOptional<z.ZodString>;
404
- stepRef: z.ZodOptional<z.ZodString>;
398
+ correlation: z.ZodOptional<z.ZodObject<{
399
+ domain: z.ZodString;
400
+ refs: z.ZodRecord<z.ZodString, z.ZodString>;
401
+ }, z.core.$strip>>;
405
402
  }, z.core.$strip>;
406
403
  artifacts: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
407
404
  ref: z.ZodString;
@@ -514,7 +511,6 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
514
511
  }, z.core.$strip>>;
515
512
  }, z.core.$strip>>;
516
513
  errorStates: z.ZodOptional<z.ZodObject<{
517
- circuitBreakerStatus: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_CircuitBreaker_Status>>;
518
514
  errorItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
519
515
  type: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorType>;
520
516
  severity: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorSeverity>;
@@ -627,7 +623,6 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
627
623
  }, z.core.$strip>>;
628
624
  }, z.core.$strip>>;
629
625
  errorStates: z.ZodOptional<z.ZodObject<{
630
- circuitBreakerStatus: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_CircuitBreaker_Status>>;
631
626
  checkpointChecks: z.ZodArray<z.ZodObject<{
632
627
  checkpoint: z.ZodObject<{
633
628
  point: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -709,7 +704,7 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
709
704
  organizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
710
705
  wildoApplicationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
711
706
  systemRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
712
- status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>>;
707
+ status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>>>;
713
708
  }, z.core.$strip>;
714
709
  export type Wildo_Application_ActorSystem_Execution = z.infer<typeof Wildo_Application_ActorSystem_Execution_Schema>;
715
710
  /**
@@ -747,7 +742,6 @@ export declare const Wildo_Application_FlowSystem_Execution_Schema: z.ZodObject<
747
742
  }, z.core.$strip>>;
748
743
  }, z.core.$strip>>;
749
744
  errorStates: z.ZodOptional<z.ZodObject<{
750
- circuitBreakerStatus: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_CircuitBreaker_Status>>;
751
745
  checkpointChecks: z.ZodArray<z.ZodObject<{
752
746
  checkpoint: z.ZodObject<{
753
747
  point: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -828,7 +822,7 @@ export declare const Wildo_Application_FlowSystem_Execution_Schema: z.ZodObject<
828
822
  organizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
829
823
  wildoApplicationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
830
824
  systemRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
831
- status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>>;
825
+ status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>>>;
832
826
  }, z.core.$strip>;
833
827
  export type Wildo_Application_FlowSystem_Execution = z.infer<typeof Wildo_Application_FlowSystem_Execution_Schema>;
834
828
  //# sourceMappingURL=wildo-application-executions.custom.shared.schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-application-executions.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/wildo-application-executions/wildo-application-executions.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGL,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAK/B;;;GAGG;AACH,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMzD,CAAC;AACH,MAAM,MAAM,uCAAuC,GACjD,CAAC,CAAC,KAAK,CAAC,OAAO,8CAA8C,CAAC,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxD,CAAC;AACH,MAAM,MAAM,sCAAsC,GAChD,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAC"}
1
+ {"version":3,"file":"wildo-application-executions.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/wildo-application-executions/wildo-application-executions.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGL,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAK/B;;;GAGG;AACH,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ystem_Execut
11
11
  organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),
12
12
  wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),
13
13
  systemRef: z.string().min(1).isDBIndexed().isSummaryField(),
14
- status: z.enum(FlowsActors_Status).isDBIndexed().isSummaryField(),
14
+ status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),
15
15
  });
16
16
  /**
17
17
  * Flow executions follow the same platform ownership chain as actor executions:
@@ -22,6 +22,6 @@ export const Wildo_Application_FlowSystem_Execution_Schema = FlowSystem_Executio
22
22
  organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),
23
23
  wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),
24
24
  systemRef: z.string().min(1).isDBIndexed().isSummaryField(),
25
- status: z.enum(FlowsActors_Status).isDBIndexed().isSummaryField(),
25
+ status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),
26
26
  });
27
27
  //# sourceMappingURL=wildo-application-executions.custom.shared.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-application-executions.custom.shared.schemas.js","sourceRoot":"","sources":["../../../../src/wildo-application-executions/wildo-application-executions.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAErB;;;GAGG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAG,2BAA2B,CAAC,MAAM,CAAC;IAC/F,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CA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ai/saas-models';\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\n\ninitZodDecorators(z);\n\n/**\n * Platform-owned actor executions are persisted in the apps-manager database but\n * stay explicitly attached to the owning Wildo application row.\n */\nexport const Wildo_Application_ActorSystem_Execution_Schema = ActorSystem_ExecutionSchema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).isDBIndexed().isSummaryField(),\n});\nexport type Wildo_Application_ActorSystem_Execution =\n z.infer<typeof Wildo_Application_ActorSystem_Execution_Schema>;\n\n/**\n * Flow executions follow the same platform ownership chain as actor executions:\n * org-scoped in the apps-manager DB and child-linked to a single Wildo app.\n */\nexport const Wildo_Application_FlowSystem_Execution_Schema = FlowSystem_Execution_Schema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).isDBIndexed().isSummaryField(),\n});\nexport type Wildo_Application_FlowSystem_Execution =\n z.infer<typeof Wildo_Application_FlowSystem_Execution_Schema>;\n"]}
1
+ {"version":3,"file":"wildo-application-executions.custom.shared.schemas.js","sourceRoot":"","sources":["../../../../src/wildo-application-executions/wildo-application-executions.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;A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AAC,cAAc,EAAE;IAC3D,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE;CACnG,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n ActorSystem_ExecutionSchema,\n FlowSystem_Execution_Schema,\n FlowsActors_Status,\n} from '@wildo-ai/saas-models';\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\n\ninitZodDecorators(z);\n\n/**\n * Platform-owned actor executions are persisted in the apps-manager database but\n * stay explicitly attached to the owning Wildo application row.\n */\nexport const Wildo_Application_ActorSystem_Execution_Schema = ActorSystem_ExecutionSchema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n});\nexport type Wildo_Application_ActorSystem_Execution =\n z.infer<typeof Wildo_Application_ActorSystem_Execution_Schema>;\n\n/**\n * Flow executions follow the same platform ownership chain as actor executions:\n * org-scoped in the apps-manager DB and child-linked to a single Wildo app.\n */\nexport const Wildo_Application_FlowSystem_Execution_Schema = FlowSystem_Execution_Schema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n});\nexport type Wildo_Application_FlowSystem_Execution =\n z.infer<typeof Wildo_Application_FlowSystem_Execution_Schema>;\n"]}
@@ -7,7 +7,7 @@ type WildoApplicationActorTasks_CoreOperations = CoreResourceOperation.CREATE |
7
7
  */
8
8
  export declare const wildoApplicationActorTasks_ResourceConfiguration_InitializationFactory: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<any, WildoApplicationActorTasks_CoreOperations, import("zod").ZodObject<{
9
9
  description: import("zod").ZodString;
10
- topic: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>;
10
+ topic: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>>;
11
11
  initiator: import("zod").ZodObject<{
12
12
  organizationId: import("zod").ZodOptional<import("zod").ZodString>;
13
13
  userId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -111,11 +111,10 @@ export declare const wildoApplicationActorTasks_ResourceConfiguration_Initializa
111
111
  }, import("zod/v4/core").$strip>;
112
112
  }, import("zod/v4/core").$strip>;
113
113
  context: import("zod").ZodObject<{
114
- journeyId: import("zod").ZodOptional<import("zod").ZodString>;
115
- playbookRef: import("zod").ZodOptional<import("zod").ZodString>;
116
- playbookVersion: import("zod").ZodOptional<import("zod").ZodString>;
117
- playbookRunId: import("zod").ZodOptional<import("zod").ZodString>;
118
- stepRef: import("zod").ZodOptional<import("zod").ZodString>;
114
+ correlation: import("zod").ZodOptional<import("zod").ZodObject<{
115
+ domain: import("zod").ZodString;
116
+ refs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
117
+ }, import("zod/v4/core").$strip>>;
119
118
  }, import("zod/v4/core").$strip>;
120
119
  artifacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
121
120
  ref: import("zod").ZodString;
@@ -228,7 +227,6 @@ export declare const wildoApplicationActorTasks_ResourceConfiguration_Initializa
228
227
  }, import("zod/v4/core").$strip>>;
229
228
  }, import("zod/v4/core").$strip>>;
230
229
  errorStates: import("zod").ZodOptional<import("zod").ZodObject<{
231
- circuitBreakerStatus: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_CircuitBreaker_Status>>;
232
230
  errorItems: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
233
231
  type: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ErrorType>;
234
232
  severity: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ErrorSeverity>;
@@ -333,10 +331,8 @@ export declare const wildoApplicationActorTasks_ResourceConfiguration_Initializa
333
331
  organizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
334
332
  wildoApplicationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
335
333
  wildoApplicationActorSystemExecutionId: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
336
- continuityAttemptKey: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
337
- workbenchBuildPlanTaskId: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
338
334
  title: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
339
- status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Status>>>;
335
+ status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Status>>>>;
340
336
  updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
341
337
  }, import("zod/v4/core").$strip>>;
342
338
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-application-tasks.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../src/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,qBAAqB,EAGrB,oBAAoB,EAErB,MAAM,uBAAuB,CAAC;AAS/B,KAAK,yCAAyC,GAC1C,qBAAqB,CAAC,MAAM,GAC5B,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,MAAM,CAAC;AA2CjC;;;;GAIG;AACH,eAAO,MAAM,sEAAsE,GAChF,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAwB7C,CAAC"}
1
+ {"version":3,"file":"wildo-application-tasks.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../../src/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,qBAAqB,EAGrB,oBAAoB,EAErB,MAAM,uBAAuB,CAAC;AAS/B,KAAK,yCAAyC,GAC1C,qBAAqB,CAAC,MAAM,GAC5B,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,MAAM,CAAC;AA2CjC;;;;GAIG;AACH,eAAO,MAAM,sEAAsE,GAChF,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAwB7C,CAAC"}
@@ -8,7 +8,7 @@ import { FlowsActors_Status } from '@wildo-ai/saas-models';
8
8
  */
9
9
  export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
10
10
  description: z.ZodString;
11
- topic: z.ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>;
11
+ topic: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>>;
12
12
  initiator: z.ZodObject<{
13
13
  organizationId: z.ZodOptional<z.ZodString>;
14
14
  userId: z.ZodOptional<z.ZodString>;
@@ -112,11 +112,10 @@ export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
112
112
  }, z.core.$strip>;
113
113
  }, z.core.$strip>;
114
114
  context: z.ZodObject<{
115
- journeyId: z.ZodOptional<z.ZodString>;
116
- playbookRef: z.ZodOptional<z.ZodString>;
117
- playbookVersion: z.ZodOptional<z.ZodString>;
118
- playbookRunId: z.ZodOptional<z.ZodString>;
119
- stepRef: z.ZodOptional<z.ZodString>;
115
+ correlation: z.ZodOptional<z.ZodObject<{
116
+ domain: z.ZodString;
117
+ refs: z.ZodRecord<z.ZodString, z.ZodString>;
118
+ }, z.core.$strip>>;
120
119
  }, z.core.$strip>;
121
120
  artifacts: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
122
121
  ref: z.ZodString;
@@ -229,7 +228,6 @@ export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
229
228
  }, z.core.$strip>>;
230
229
  }, z.core.$strip>>;
231
230
  errorStates: z.ZodOptional<z.ZodObject<{
232
- circuitBreakerStatus: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_CircuitBreaker_Status>>;
233
231
  errorItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
234
232
  type: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorType>;
235
233
  severity: z.ZodEnum<typeof import("@wildo-ai/saas-models").ErrorSeverity>;
@@ -334,10 +332,8 @@ export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
334
332
  organizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
335
333
  wildoApplicationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
336
334
  wildoApplicationActorSystemExecutionId: z.ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>;
337
- continuityAttemptKey: z.ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>;
338
- workbenchBuildPlanTaskId: z.ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>;
339
335
  title: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
340
- status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>>;
336
+ status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FlowsActors_Status>>>>;
341
337
  updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
342
338
  }, z.core.$strip>;
343
339
  export type Wildo_Application_Actor_Task = z.infer<typeof Wildo_Application_Actor_Task_Schema>;
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-application-tasks.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAK/B;;;;;GAKG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuC9C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
1
+ {"version":3,"file":"wildo-application-tasks.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAK/B;;;;;GAKG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqC9C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
@@ -13,39 +13,37 @@ export const Wildo_Application_Actor_Task_Schema = Actors_Task_Schema.extend({
13
13
  organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),
14
14
  wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),
15
15
  wildoApplicationActorSystemExecutionId: z.string().isDBIndexed().isForeignKey().optional(),
16
- /**
17
- * Server-managed physical-attempt identity for continuity-bound Tasks.
16
+ /*
17
+ * `continuityAttemptKey` was here until 2026-09-19 (#1337), described as the "server-managed
18
+ * physical-attempt identity for continuity-bound Tasks" and carrying a sparse unique
19
+ * `(wildoApplicationId, continuityAttemptKey)` index as a database backstop against concurrent
20
+ * creation of one Execution-Binding attempt.
18
21
  *
19
- * `compoundWith` produces the required sparse unique
20
- * `(wildoApplicationId, continuityAttemptKey)` index: legacy/unbound Tasks
21
- * remain outside the index, while concurrent creation of one exact
22
- * Execution-Binding attempt has a database backstop. Retry receives a new
23
- * key and Task; this field is never rewritten in place.
22
+ * Execution bindings were demolished on 2026-08-23, and the field was measured to have ZERO
23
+ * writers anywhere — so every application was materializing a unique index, on every actor-task
24
+ * table, for a column that is always null, and the workbench rendered an always-empty field as a
25
+ * machine identity. Removed with its index, its UI field, its label, its interface member and
26
+ * the test that pinned the index shape.
24
27
  */
25
- continuityAttemptKey: z
26
- .string()
27
- .min(1)
28
- .isUnique({
29
- compoundWith: 'wildoApplicationId',
30
- sparse: true,
31
- })
32
- .excludeFromUpdate()
33
- .optional(),
34
- /**
35
- * The CROSS-PLANE join (creation board, Phase 4 R5): the workbench build-plan DISPATCH row this
36
- * task executes, as its SANITIZED identity (`sanitizeWorkbenchCreationPlaneIdentity(taskRef)` —
37
- * task refs are URL-safe by their own regex, so this is currently the ref verbatim).
28
+ /*
29
+ * `workbenchBuildPlanTaskId` was here until 2026-09-20 (#1348) — a foreign key from the GENERIC
30
+ * platform actor-task row into an app-creation workbench resource, and the last app-creation
31
+ * field on this row.
38
32
  *
39
- * OPTIONAL twice over: only coding/generation dispatches carry a build-plan task (flow-driven
40
- * actor tasks have none), and rows written before 2026-09-01 predate the field — the workbench
41
- * declares the REFERENCE edge dangling-tolerant for exactly that population. The edge itself is
42
- * declared WORKBENCH-SIDE only: this config is also registered by `platform-apps-manager`, where
43
- * no `workbenchBuildPlanTasks` resource exists, and there the field is inert data rather than a
44
- * dangling relationship.
33
+ * It is not folded away, it is MOVED: the association now travels in the engine's own
34
+ * `Actors_Task_Context.correlation` envelope as
35
+ * `{ domain: 'application-creation', refs: { buildPlanTaskRef } }`, which is durable on this same
36
+ * row and says nothing about what a build-plan task is. The traversable edge moved with it, to
37
+ * the plane that owns the vocabulary: `Workbench_BuildDispatch.codingTaskId` already pointed at
38
+ * this row and is now a DECLARED relationship.
39
+ *
40
+ * What that cost, recorded because it was the objection to folding: this row no longer renders
41
+ * the build-plan task as a summary field, and no longer declares the edge from its own side.
42
+ * Nothing queried the column — measured across the companion before removing it — so the loss is
43
+ * a rendered field on the generic row, which is the thing that should not have been here.
45
44
  */
46
- workbenchBuildPlanTaskId: z.string().min(1).isForeignKey().isSummaryField().optional(),
47
45
  title: z.string().min(1).isSummaryField(),
48
- status: z.enum(FlowsActors_Status).isDBIndexed().isSummaryField(),
46
+ status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),
49
47
  updatedAt: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }).isDBIndexed(),
50
48
  });
51
49
  //# sourceMappingURL=wildo-application-tasks.custom.shared.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-application-tasks.custom.shared.schemas.js","sourceRoot":"","sources":["../../../../src/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAErB;;;;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AAE,yBAAyB,EAAE,CAAC,CAAC,WAAW,EAAE;CACnH,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n Actors_Task_Schema,\n FlowsActors_Status,\n} from '@wildo-ai/saas-models';\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\n\ninitZodDecorators(z);\n\n/**\n * Actor-flow tasks are persisted as first-class platform records because task\n * content evolves independently of one execution snapshot. The execution link is\n * optional/updateable so tasks can outlive a specific run while still being\n * queryable from the current actor-system follow-up record.\n */\nexport const Wildo_Application_Actor_Task_Schema = Actors_Task_Schema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationActorSystemExecutionId: z.string().isDBIndexed().isForeignKey().optional(),\n /**\n * Server-managed physical-attempt identity for continuity-bound Tasks.\n *\n * `compoundWith` produces the required sparse unique\n * `(wildoApplicationId, continuityAttemptKey)` index: legacy/unbound Tasks\n * remain outside the index, while concurrent creation of one exact\n * Execution-Binding attempt has a database backstop. Retry receives a new\n * key and Task; this field is never rewritten in place.\n */\n continuityAttemptKey: z\n .string()\n .min(1)\n .isUnique({\n compoundWith: 'wildoApplicationId',\n sparse: true,\n })\n .excludeFromUpdate()\n .optional(),\n /**\n * The CROSS-PLANE join (creation board, Phase 4 R5): the workbench build-plan DISPATCH row this\n * task executes, as its SANITIZED identity (`sanitizeWorkbenchCreationPlaneIdentity(taskRef)` —\n * task refs are URL-safe by their own regex, so this is currently the ref verbatim).\n *\n * OPTIONAL twice over: only coding/generation dispatches carry a build-plan task (flow-driven\n * actor tasks have none), and rows written before 2026-09-01 predate the field — the workbench\n * declares the REFERENCE edge dangling-tolerant for exactly that population. The edge itself is\n * declared WORKBENCH-SIDE only: this config is also registered by `platform-apps-manager`, where\n * no `workbenchBuildPlanTasks` resource exists, and there the field is inert data rather than a\n * dangling relationship.\n */\n workbenchBuildPlanTaskId: z.string().min(1).isForeignKey().isSummaryField().optional(),\n title: z.string().min(1).isSummaryField(),\n status: z.enum(FlowsActors_Status).isDBIndexed().isSummaryField(),\n updatedAt: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }).isDBIndexed(),\n});\nexport type Wildo_Application_Actor_Task = z.infer<typeof Wildo_Application_Actor_Task_Schema>;\n"]}
1
+ {"version":3,"file":"wildo-application-tasks.custom.shared.schemas.js","sourceRoot":"","sources":["../../../../src/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAErB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,kBAAkB,CAAC,MAAM,CAAC;IAC3E,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE;IACtD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IAC5F,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IAChG,sCAAsC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,QAAQ,EAAE;IAC1F;;;;;;;;;;;OAWG;IACH;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,EAAE;IACzC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE;IAClG,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,yBAAyB,EAAE,CAAC,CAAC,WAAW,EAAE;CACnH,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n Actors_Task_Schema,\n FlowsActors_Status,\n} from '@wildo-ai/saas-models';\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\n\ninitZodDecorators(z);\n\n/**\n * Actor-flow tasks are persisted as first-class platform records because task\n * content evolves independently of one execution snapshot. The execution link is\n * optional/updateable so tasks can outlive a specific run while still being\n * queryable from the current actor-system follow-up record.\n */\nexport const Wildo_Application_Actor_Task_Schema = Actors_Task_Schema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationActorSystemExecutionId: z.string().isDBIndexed().isForeignKey().optional(),\n /*\n * `continuityAttemptKey` was here until 2026-09-19 (#1337), described as the \"server-managed\n * physical-attempt identity for continuity-bound Tasks\" and carrying a sparse unique\n * `(wildoApplicationId, continuityAttemptKey)` index as a database backstop against concurrent\n * creation of one Execution-Binding attempt.\n *\n * Execution bindings were demolished on 2026-08-23, and the field was measured to have ZERO\n * writers anywhere — so every application was materializing a unique index, on every actor-task\n * table, for a column that is always null, and the workbench rendered an always-empty field as a\n * machine identity. Removed with its index, its UI field, its label, its interface member and\n * the test that pinned the index shape.\n */\n /*\n * `workbenchBuildPlanTaskId` was here until 2026-09-20 (#1348) — a foreign key from the GENERIC\n * platform actor-task row into an app-creation workbench resource, and the last app-creation\n * field on this row.\n *\n * It is not folded away, it is MOVED: the association now travels in the engine's own\n * `Actors_Task_Context.correlation` envelope as\n * `{ domain: 'application-creation', refs: { buildPlanTaskRef } }`, which is durable on this same\n * row and says nothing about what a build-plan task is. The traversable edge moved with it, to\n * the plane that owns the vocabulary: `Workbench_BuildDispatch.codingTaskId` already pointed at\n * this row and is now a DECLARED relationship.\n *\n * What that cost, recorded because it was the objection to folding: this row no longer renders\n * the build-plan task as a summary field, and no longer declares the edge from its own side.\n * Nothing queried the column — measured across the companion before removing it — so the loss is\n * a rendered field on the generic row, which is the thing that should not have been here.\n */\n title: z.string().min(1).isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n updatedAt: z.string().refine((val) => !isNaN(Date.parse(val)), { error: 'Invalid datetime string' }).isDBIndexed(),\n});\nexport type Wildo_Application_Actor_Task = z.infer<typeof Wildo_Application_Actor_Task_Schema>;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-applications.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../src/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA6BH,eAAO,MAAM,6DAA6D,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAkJ9F,CAAC"}
1
+ {"version":3,"file":"wildo-applications.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../../src/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA6BH,eAAO,MAAM,6DAA6D,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAkJ9F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-applications.custom.shared.resources-config.schemas.js","sourceRoot":"","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E,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE;oBACjE,YAAY,EAAE;wBACZ,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;qBAC3B;oBACD,UAAU,EAAE,CAAC,SAAS,EAAE,gBAAgB,EAAE,WAAW,EAAE,WAAW,CAAU;oBAC5E,8BAA8B,EAAE,GAAG;iBACpC;aACF;SACF;QAED,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE;YAC9B,QAAQ,EAAE;gBACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,QAAQ;oBAClD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,WAAW,CAAC;oBACnC,SAAS,EAAE,0BAA0B,CAAC,GAAG;oBACzC,0CAA0C;iBAC3C;aACF;SACF;QAED,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE;YAC9B,QAAQ,EAAE;gBACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,QAAQ;oBAClD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC;oBAClC,SAAS,EAAE,0BAA0B,CAAC,GAAG;iBAC1C;aACF;SACF;KACF;IACD,iEAAiE;CAClE,CAAC,CAAC","sourcesContent":["/**\n * Billable Items Shared Resource Configuration\n * \n * Resource configuration for managing invoice line items and billable entries.\n * Handles creation, updates, and management of billable items across invoices.\n */\n\nimport { z } from 'zod';\n\n\nimport { coreResourceShared_FieldIdentifier, CoreResourceOperation, CoreResourceType, ResourceRelationship, CORE_APP_ROLES, ResourceSystemAccessMode } from '@wildo-ai/saas-models';\nimport { ResourcePrimaryScope, ResourceOperationVariantType, ResourceOperationRiskLevel } from '@wildo-ai/saas-models';\nimport { CoreUserNotificationTarget, CoreUserNotificationChannel } from '@wildo-ai/saas-models';\nimport { createResourceConfiguration_Initialization } from '@wildo-ai/saas-models';\nimport { CORE_ORG_ROLES } from '@wildo-ai/saas-models';\n\n\nimport {\n CustomShared_ResourceType,\n CustomShared_ResourceFieldIdentifier\n} from '../core/resources/resources-types.custom.shared.schemas';\nimport { Wildo_Application_Schema } from './wildo-applications.custom.shared.schemas';\n\n\nconst WildoApplications_Operations = undefined; \n\ntype WildoApplications_CoreOperations = \n | CoreResourceOperation.READ \n | CoreResourceOperation.LIST\n | CoreResourceOperation.SEARCH\n | CoreResourceOperation.CREATE\n | CoreResourceOperation.UPDATE\n | CoreResourceOperation.DELETE;\n\nexport const wildoApplications_ResourceConfiguration_InitializationFactory: (...args: any[]) => any = (resourcesRelationships: ResourceRelationship[]) => createResourceConfiguration_Initialization<\n typeof WildoApplications_Operations,\n WildoApplications_CoreOperations,\n typeof Wildo_Application_Schema\n>({\n mainSchema: Wildo_Application_Schema,\n resourceIdentifier: CustomShared_ResourceType.WILDO_APPLICATION,\n /**\n * A subject export never includes this row: it is a managed application's platform record (slug, status, topology) — infrastructure identity, no person.\n *\n * Answered explicitly because the privacy gate at boot asks every resource whether its rows\n * are about people. The unauthored default is already FORBIDDEN; writing it down is what turns\n * \"nobody asked\" into \"no\". Not `retentionPolicy: RETAIN_ONLY`, although it is the same claim:\n * that opt-in injects the `retentionStatus` / `impersonalizedAt` marker columns and demands the\n * retention write door (UPDATE_MANY) on a resource no erasure walk can reach — there is no\n * USERS edge — which is schema and surface for a path that never runs.\n */\n systemAccessPolicy: { exportSubject: ResourceSystemAccessMode.FORBIDDEN },\n /**\n * BOOTSTRAP-STORE pin RETIRED 2026-08-22 (item C). This resource now follows the platform's\n * configured engine like every other platform resource, instead of declaring MONGODB.\n *\n * The pin existed because this document was WRITTEN by a Mongo-wired plane an adapter override\n * could never redirect, so a PG-engined platform would READ it from PostgreSQL while the\n * bootstrap plane kept WRITING it to MongoDB. Its own contract named the two conditions that\n * would free it, and BOTH are now met — verified rather than assumed:\n *\n * 1. **The infra-manager's raw writers are ported.** `pnpm check:platform-bootstrap-raw-store`\n * inspects 49 files and reports no undeclared raw-driver access; its `--self-test` passes 14\n * cases, so the clean result is the checker working rather than a checker matching nothing.\n * The 8 remaining DECLARED exemptions all sit in the bootstrap seed, and they write\n * `organizations` and `applications` — neither of which is one of these six — through arms\n * that are already adapter-aware.\n * 2. **INIT's repository plane resolves the platform engine.** Phase 2.5\n * (`initializePlatformPostgresIfDeclared`, which calls\n * `setPlatformModeDefaultPersistenceAdapter`) runs BEFORE Phase 2.6 builds the registries —\n * an ordering the file marks as the one constraint that cannot be relaxed.\n *\n * Retired for all SIX declarations in one change, as the pin instructed (\"Never migrate one\n * declaration on its own\"): a partial retirement is precisely the split-brain the pin prevented.\n * `bootstrap-plane-persistence-adapter.test.ts` now asserts the inverse — that none of the six\n * declares an adapter — so re-pinning any single one fails the suite.\n *\n * NOTE the data consequence, which the pin never covered: flipping the engine does not MOVE\n * existing rows. A platform whose documents live in MongoDB must have them re-provisioned (or\n * migrated) into PostgreSQL, or it reads empty tables. See item G.\n */\n resourceFieldIdentifier: CustomShared_ResourceFieldIdentifier[CustomShared_ResourceType.WILDO_APPLICATION],\n resourceRelationships: resourcesRelationships,\n isSystemResource: false,\n \n coreOperations: [\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.SEARCH,\n CoreResourceOperation.CREATE,\n CoreResourceOperation.UPDATE,\n CoreResourceOperation.DELETE\n ],\n \n customOperation: WildoApplications_Operations,\n \n operationsConfiguration: {\n [CoreResourceOperation.CREATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.HIGH,\n // requestDto auto-derived from decorators\n }\n ],\n userNotifications: [\n {\n target: CoreUserNotificationTarget.USER_SELF,\n channel: CoreUserNotificationChannel.FRONT_END_SUCCESS,\n }\n ]\n },\n \n [CoreResourceOperation.READ]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n }\n ]\n },\n \n [CoreResourceOperation.LIST]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n }\n ]\n },\n\n [CoreResourceOperation.SEARCH]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.LOW,\n isSearchable: true,\n searchableFields: ['appSlug', 'organizationId'],\n searchableOptions: { caseSensitive: false, fullMatchOnly: false },\n filterFields: {\n organizationId: z.string(),\n },\n sortFields: ['appSlug', 'organizationId', 'createdAt', 'updatedAt'] as const,\n maxPaginatedResultPerPageLimit: 100,\n }\n ],\n },\n \n [CoreResourceOperation.UPDATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MANAGER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n // requestDto auto-derived from decorators\n }\n ]\n },\n \n [CoreResourceOperation.DELETE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n }\n ]\n },\n },\n // responseSummaryDto auto-derived from isSummaryField decorators\n}); "]}
1
+ {"version":3,"file":"wildo-applications.custom.shared.resources-config.schemas.js","sourceRoot":"","sources":["../../../../src/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAsC,qBAAqB,EAA0C,cAAc,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACpL,OAAO,EAAwB,4BAA4B,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAC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AQ,EAAE;gBACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,QAAQ;oBAClD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,WAAW,CAAC;oBACnC,SAAS,EAAE,0BAA0B,CAAC,GAAG;oBACzC,0CAA0C;iBAC3C;aACF;SACF;QAED,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE;YAC9B,QAAQ,EAAE;gBACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,QAAQ;oBAClD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC;oBAClC,SAAS,EAAE,0BAA0B,CAAC,GAAG;iBAC1C;aACF;SACF;KACF;IACD,iEAAiE;CAClE,CAAC,CAAC","sourcesContent":["/**\n * Billable Items Shared Resource Configuration\n * \n * Resource configuration for managing invoice line items and billable entries.\n * Handles creation, updates, and management of billable items across invoices.\n */\n\nimport { z } from 'zod';\n\n\nimport { coreResourceShared_FieldIdentifier, CoreResourceOperation, CoreResourceType, ResourceRelationship, CORE_APP_ROLES, ResourceSystemAccessMode } from '@wildo-ai/saas-models';\nimport { ResourcePrimaryScope, ResourceOperationVariantType, ResourceOperationRiskLevel } from '@wildo-ai/saas-models';\nimport { CoreUserNotificationTarget, CoreUserNotificationChannel } from '@wildo-ai/saas-models';\nimport { createResourceConfiguration_Initialization } from '@wildo-ai/saas-models';\nimport { CORE_ORG_ROLES } from '@wildo-ai/saas-models';\n\n\nimport {\n CustomShared_ResourceType,\n CustomShared_ResourceFieldIdentifier\n} from '../core/resources/resources-types.custom.shared.schemas';\nimport { Wildo_Application_Schema } from './wildo-applications.custom.shared.schemas';\n\n\nconst WildoApplications_Operations = undefined; \n\ntype WildoApplications_CoreOperations = \n | CoreResourceOperation.READ \n | CoreResourceOperation.LIST\n | CoreResourceOperation.SEARCH\n | CoreResourceOperation.CREATE\n | CoreResourceOperation.UPDATE\n | CoreResourceOperation.DELETE;\n\nexport const wildoApplications_ResourceConfiguration_InitializationFactory: (...args: any[]) => any = (resourcesRelationships: ResourceRelationship[]) => createResourceConfiguration_Initialization<\n typeof WildoApplications_Operations,\n WildoApplications_CoreOperations,\n typeof Wildo_Application_Schema\n>({\n mainSchema: Wildo_Application_Schema,\n resourceIdentifier: CustomShared_ResourceType.WILDO_APPLICATION,\n /**\n * A subject export never includes this row: it is a managed application's platform record (slug, status, topology) — infrastructure identity, no person.\n *\n * Answered explicitly because the privacy gate at boot asks every resource whether its rows\n * are about people. The unauthored default is already FORBIDDEN; writing it down is what turns\n * \"nobody asked\" into \"no\". Not `retentionPolicy: RETAIN_ONLY`, although it is the same claim:\n * that opt-in injects the `retentionStatus` / `impersonalizedAt` marker columns and demands the\n * retention write door (UPDATE_MANY) on a resource no erasure walk can reach — there is no\n * USERS edge — which is schema and surface for a path that never runs.\n */\n systemAccessPolicy: { exportSubject: ResourceSystemAccessMode.FORBIDDEN },\n /**\n * BOOTSTRAP-STORE pin RETIRED 2026-08-22 (item C). This resource now follows the platform's\n * configured engine like every other platform resource, instead of declaring MONGODB.\n *\n * The pin existed because this document was WRITTEN by a Mongo-wired plane an adapter override\n * could never redirect, so a PG-engined platform would READ it from PostgreSQL while the\n * bootstrap plane kept WRITING it to MongoDB. Its own contract named the two conditions that\n * would free it, and BOTH are now met — verified rather than assumed:\n *\n * 1. **The infra-manager's raw writers are ported.** `pnpm check:platform-bootstrap-raw-store`\n * inspects 49 files and reports no undeclared raw-driver access; its `--self-test` passes 14\n * cases, so the clean result is the checker working rather than a checker matching nothing.\n * The 8 remaining DECLARED exemptions all sit in the bootstrap seed, and they write\n * `organizations` and `applications` — neither of which is one of these six — through arms\n * that are already adapter-aware.\n * 2. **INIT's repository plane resolves the platform engine.** Phase 2.5\n * (`initializePlatformPostgresIfDeclared`, which calls\n * `setPlatformModeDefaultPersistenceAdapter`) runs BEFORE Phase 2.6 builds the registries —\n * an ordering the file marks as the one constraint that cannot be relaxed.\n *\n * Retired for all SIX declarations in one change, as the pin instructed (\"Never migrate one\n * declaration on its own\"): a partial retirement is precisely the split-brain the pin prevented.\n * `bootstrap-plane-persistence-adapter.test.ts` now asserts the inverse — that none of the six\n * declares an adapter — so re-pinning any single one fails the suite.\n *\n * NOTE the data consequence, which the pin never covered: flipping the engine does not MOVE\n * existing rows. A platform whose documents live in MongoDB must have them re-provisioned (or\n * migrated) into PostgreSQL, or it reads empty tables. See item G.\n */\n resourceFieldIdentifier: CustomShared_ResourceFieldIdentifier[CustomShared_ResourceType.WILDO_APPLICATION],\n resourceRelationships: resourcesRelationships,\n isSystemResource: false,\n \n coreOperations: [\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.SEARCH,\n CoreResourceOperation.CREATE,\n CoreResourceOperation.UPDATE,\n CoreResourceOperation.DELETE\n ],\n \n customOperation: WildoApplications_Operations,\n \n operationsConfiguration: {\n [CoreResourceOperation.CREATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.HIGH,\n // requestDto auto-derived from decorators\n }\n ],\n userNotifications: [\n {\n target: CoreUserNotificationTarget.USER_SELF,\n channel: CoreUserNotificationChannel.FRONT_END_SUCCESS,\n }\n ]\n },\n \n [CoreResourceOperation.READ]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n }\n ]\n },\n \n [CoreResourceOperation.LIST]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n }\n ]\n },\n\n [CoreResourceOperation.SEARCH]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.LOW,\n isSearchable: true,\n searchableFields: ['appSlug', 'organizationId'],\n searchableOptions: { caseSensitive: false, fullMatchOnly: false },\n filterFields: {\n organizationId: z.string(),\n },\n sortFields: ['appSlug', 'organizationId', 'createdAt', 'updatedAt'] as const,\n maxPaginatedResultPerPageLimit: 100,\n }\n ],\n },\n \n [CoreResourceOperation.UPDATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MANAGER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n // requestDto auto-derived from decorators\n }\n ]\n },\n \n [CoreResourceOperation.DELETE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n }\n ]\n },\n },\n // responseSummaryDto auto-derived from isSummaryField decorators\n}); "]}
@@ -11,6 +11,31 @@
11
11
  * All WAML resources reference wildoApplicationId as their parent.
12
12
  */
13
13
  import { z } from 'zod';
14
+ /**
15
+ * Whether the platform still schedules and serves this application (#1556).
16
+ *
17
+ * TWO members, and the pair is the whole point: an application is either live, or it has been
18
+ * WITHDRAWN without anything of its being destroyed. There is deliberately no member meaning
19
+ * "destroyed" — destruction is #1562 and is parked, so nothing in this vocabulary may be read as
20
+ * authorising it.
21
+ *
22
+ * The shape is the one `Organization` already uses for a marked tenant — *authorization-dead and
23
+ * data-alive* — one level up. That is not a coincidence to be tidied away later: a tenant and an
24
+ * application are both things an operator must be able to take out of service without losing what
25
+ * they contain, and the two should keep answering that question the same way.
26
+ */
27
+ export declare enum WildoApplicationStatus {
28
+ /** Scheduled, served, and re-registerable. The default and the state every application is created in. */
29
+ ACTIVE = "ACTIVE",
30
+ /**
31
+ * Withdrawn: the platform no longer schedules it, and its slug is refused for re-registration
32
+ * until it is restored. **Nothing of its data is touched** — its database, broker vhost, cache
33
+ * namespace, blobs and credentials are exactly as they were. `restore` returns it to
34
+ * {@link WildoApplicationStatus.ACTIVE} and the next boot re-establishes its cron schedule from
35
+ * its own code, because that schedule is DERIVED rather than stored authority.
36
+ */
37
+ DEREGISTERED = "DEREGISTERED"
38
+ }
14
39
  export declare const Wildo_Application_Schema: z.ZodObject<{
15
40
  _id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
16
41
  appId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodOptional<z.ZodString>>>;
@@ -18,6 +43,8 @@ export declare const Wildo_Application_Schema: z.ZodObject<{
18
43
  organizationId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
19
44
  lastVersion: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodOptional<z.ZodString>>>;
20
45
  gitRepositoryPath: z.ZodString;
46
+ status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodDefault<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof WildoApplicationStatus>>>>>>>;
47
+ deregisteredAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodOptional<z.ZodNullable<z.ZodDate>>>>>>;
21
48
  createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodDefault<z.ZodDate>>>>>;
22
49
  updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodDefault<z.ZodDate>>>>;
23
50
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-applications.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/wildo-applications/wildo-applications.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,wBAAwB;;;;;;;;;iBAyCnC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"wildo-applications.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/wildo-applications/wildo-applications.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;;;;;;;;;;;GAYG;AACH,oBAAY,sBAAsB;IAChC,yGAAyG;IACzG,MAAM,WAAW;IAEjB;;;;;;OAMG;IACH,YAAY,iBAAiB;CAC9B;AAED,eAAO,MAAM,wBAAwB;;;;;;;;;;;iBA0EnC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}